]> sourceware.org Git - glibc.git/blame - ChangeLog
NPTL: Initializer for .init_array-only configurations.
[glibc.git] / ChangeLog
CommitLineData
3846188b
RM
12015-02-13 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/init_array/pt-crti.S: New file.
4
95c26233
JM
52015-02-13 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #17967]
8 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9 __builtin_fmaf instead of relying on contraction of a * b + c.
10
3f293d61
WP
112015-02-12 J William Piggott <elseifthen@gmx.com>
12
13 [BZ #17969]
14 * manual/time.texi: correct the zoneinfo path in the TZ Variable
15 node.
16
e8bd5286
JM
172015-02-12 Joseph Myers <joseph@codesourcery.com>
18
19 [BZ #17964]
20 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21 __builtin_fma instead of relying on contraction of a * b + c.
22
04f5a636
RM
232015-02-12 Roland McGrath <roland@hack.frob.com>
24
96a15749
RM
25 * Makeconfig (ASFLAGS): Add -Werror=undef.
26 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
27 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29
04f5a636
RM
30 * Makeconfig (after-link): New variable.
31 (+link-pie, +link-pie-tests): Use it.
32 (+link-static, +link-static-tests): Likewise.
33 (+link, +link-tests): Likewise.
34 * Makerules (build-module, build-module-asneeded): Likewise.
35 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36 Likewise.
37 * elf/Makefile ($(objpfx)ld.so): Likewise.
38
87a629c5
RS
392015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
40
41 [BZ #17965]
42 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
43 both struct timeval and struct timespec.
44
03d95bd4
JM
452015-02-12 Joseph Myers <joseph@codesourcery.com>
46
47 [BZ #16560]
48 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49 and redefine.
50 (__ieee754_exp2l): Do not multiply small fractional parts by
51 M_LN2l.
52 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
53 small argument.
54 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
55 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
56 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
57 * math/auto-libm-test-in: Add more tests of exp2.
58 * math/auto-libm-test-out: Regenerated.
59
98408b95
RS
602015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61
62 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
63 unaligned path.
64
6f741503
AZ
652015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66
67 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
68 little endian.
69
2868e070
AS
702015-02-12 Andreas Schwab <schwab@suse.de>
71
72 [BZ #15790]
73 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
74 Filter out elision flags from value returned in kind.
75 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
76 * nptl/tst-pthread-mutexattr.c: New file.
77
ebf27d12
ST
782015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
79
80 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
81 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
82 into gnu-gnu, and update comment to refer to abi-tags.
83
d435569c
JM
842015-02-11 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #15467]
87 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
88 (__sincos): Set errno to EDOM for infinite argument.
89 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
90 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
91 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
92 (__sincosl): Set errno to EDOM for infinite argument.
93 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
94 (__sincosl): Set errno to EDOM for infinite argument.
95 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
96 (__sincosl): Set errno to EDOM for infinite argument.
97 * math/libm-test.inc (sincos_test_data): Test errno setting.
98
d35273f2
LH
992015-02-11 Leonhard Holz <leonhard.holz@web.de>
100
101 * string/strxfrm_l.c: Remove #define STRCMP.
102 * string/strcoll_l.c: Remove #define STRLEN.
103 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
104 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
105
306bc0d1
JM
1062015-02-10 Joseph Myers <joseph@codesourcery.com>
107
108 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
109 * sysdeps/mips/mips32/sfp-machine.h: ... here.
110 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
111 * sysdeps/mips/mips64/Makefile: ... here.
112 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
113 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
114 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
115 * sysdeps/mips/mips64/sfp-machine.h: ... here.
116 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
117 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
118 * sysdeps/mips/mips64/n64/Implies: Likewise.
119
92b67e8d
RM
1202015-02-10 Roland McGrath <roland@hack.frob.com>
121
122 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
123 <sys/time.h>, <string.h>, and <errno.h>.
124 (dest_offset, dest_address, value, zero): Remove unused variables.
125 (ldouble): Remove typedef.
126 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
127 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
128 1). Fix code style.
129 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
130 (check): Function removed.
131 (CHECK): New macro.
132 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
133 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
134 Don't call set_sigaction_FP and remove_sigaction_FP here.
135 (ldouble_test): Just use 'long double' as macro argument, no need for
136 the 'ldouble' typedef.
137 (do_test): Set up SIGFPE handler at start, using plain signal rather
138 than sigaction. Fix code style.
139
132a1328
EF
1402015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
141
142 [BZ #17949]
143 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
144 jump label.
145
3001e54c
AZ
1462015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
147
bc0cdc49
AZ
148 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
149 * sysdeps/powerpc/powerpc32/configure: Regenerated.
150
83658961
AZ
151 * sysdeps/powerpc/configure.ac: Remove file.
152 * sysdeps/powerpc/configure: Likewise.
153
10169938
AZ
154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
155 [sysdep_routines]: Remove wordcopy-power6 object.
156 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
157 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
159 (__memmove_ppc32): Likewise.
160 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
161 file.
162 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
163 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
164 Remove preprocessor.
165
8548a53d
AZ
166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
167 [sysdep_routines]: Remove wide chars objects.
168 [wcsmbs]: New rule for wide char objects.
169
b2692114
AZ
170 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
171 Remove wordcopy-power6 obejct.
172 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
173 Use local call for wordcopy and memcpy symbols.
174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
176 implementation for loader.
177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
178
18e270aa
AZ
179 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
180 Remove wordcopy-power7 object.
181 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
182 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
183 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
184 (_wordcopy_fwd_dest_aligned): Likewise.
185 (_wordcopy_bwd_aligned): Likewise.
186 (_wordcopy_bwd_dest_aligned): Likewise.
187
6f0993a6
AZ
188 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
189 Rewrite to call __memmove_ppc instead of include default
190 implementation.
191
3001e54c
AZ
192 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
193 Remove wide chars objects.
194 [wcsmbs]: New rule for wide char objects.
195
59b61c82
AS
1962015-02-09 Andreas Schwab <schwab@suse.de>
197
198 [BZ #17912]
199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
200 in terms of __O_DIRECTORY.
201
ebd7aede
ST
2022015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
203
204 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
205 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
206 call PTR_MANGLE.
207 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
208 PTR_DEMANGLE.
ebd7aede 209
3999d26e
PE
2102015-02-07 Paul Eggert <eggert@cs.ucla.edu>
211
212 Add ersatz _Static_assert on older C hosts
213 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
214 pre-C11 C platform that is not known to support _Static_assert.
215
e9a5bc1c
ST
2162015-02-07 Richard Braun <rbraun@sceen.net>
217
218 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
219 sigstate.
e86c5b64 220 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 221
e2049d17
ST
2222015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
223
224 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
225 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
226 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
227 instead of int.
228 * misc/fchflags.c (fchflags): Likewise.
229 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
230 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
231 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
232 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
233 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
234 Declare macros.
235 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
236 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
237 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
238 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
239 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
240 45.
a9a002fb
ST
241 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
242 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
243 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
244 MACH_RCV_TIMED_OUT.
f96ec27a
ST
245 * hurd/hurd/signal.h (_hurd_self_sigstate,
246 _hurd_critical_section_lock, _hurd_critical_section_unlock):
247 Explicit casts from void *.
4fc81a77 248 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 249 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 250
f05826f0
ST
251 [BZ #4719]
252 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
253 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
254 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
255 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
256 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
257 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
258
a5eb23de
ST
259 [BZ #17944]
260 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
261 duplicates ADDR->sun_path with sockaddr LEN limitation.
262 * sysdeps/mach/hurd/connect.c: Include <string.h>
263 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
264 * sysdeps/mach/hurd/sendmsg.c: Likewise.
265 * sysdeps/mach/hurd/sendto.c: Likewise.
266 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
267 implementing it by hand.
268
ac9e0e5e
RM
2692015-02-06 Roland McGrath <roland@hack.frob.com>
270
f8d1bb4c
RM
271 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
272 Use sfi_breg on ldr.
273 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
274 Likewise.
275
022f4812
RM
276 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
277 it's defined.
278 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
279 Test SIGSETXID only if it's defined.
280
1ac074e6
RM
281 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
282
f50ad78b
RM
283 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
284 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
285
9e7265f4
RM
286 * nptl/tst-align2.c: Moved ...
287 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
288 * nptl/Makefile (tests): Remove tst-align2.
289 * sysdeps/unix/sysv/linux/Makefile
290 [$(subdir) = nptl] (tests): Add tst-align-clone.
291 * nptl/tst-getpid1.c: Moved ...
292 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
293 * nptl/tst-getpid2.c: Moved ...
294 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
295 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
296 * sysdeps/unix/sysv/linux/Makefile
297 [$(subdir) = nptl] (tests): ... here.
298 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
299 * sysdeps/unix/sysv/linux/Makefile
300 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
301
62ad2abc
RM
302 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
303 Drop trailing \n from perror argument. Use return rather than exit.
304
cfa69b0b
RM
305 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
306 on [SA_SIGINFO].
307 * nptl/tst-cancel21.c (do_test): Likewise.
308 * debug/tst-backtrace6.c: Include <signal.h> first thing.
309 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
310 [!SA_SIGINFO]: Make it a stub test.
311
82727806
RM
312 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
313 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
314
da3a1594
RM
315 * posix/tst-getlogin.c: Move to ...
316 * login/tst-getlogin.c: ... here.
317 * posix/Makefile (tests): Move tst-getlogin to ...
318 * login/Makefile (tests): ... here.
319
b65c0ff9
RM
320 * libio/tst-atime.c (do_test): Move local variables SV and E
321 inside [ST_NOATIME] conditional.
322
56606ab3
RM
323 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
324
ebf7d6ee
RM
325 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
326
ca0e0675
RM
327 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
328 (wait_code): New function replaces macro.
329 Call nanosleep rather than syscall.
330
8c28bbc6
RM
331 * nptl/pt-system.c: Rewritten. Put everything under
332 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
333 Use IFUNC to redirect when possible.
334
ec2a88b3
RM
335 * nptl/pt-longjmp.c: Rewritten. Put everything under
336 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
337 Use IFUNC to redirect when possible.
338
beff1d13
RM
339 * nptl/pt-fork.c: Rewritten. Put everything under
340 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
341 Use IFUNC to redirect when possible.
342 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
343
ea02c6b8
RM
344 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
345 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
346 unconditionally nowadays. This included the only reference to
347 __vdso_clock_gettime that appears outside libc proper.
348 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
349 Remove version set (containing only __vdso_clock_gettime).
350 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
351 Add attribute_hidden.
352 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
353 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
354 libc_hidden_data_def.
355 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
356 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
357
a1309c2b
RM
358 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
359 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
360 setrpcent, and getrpcport to ...
361 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
362 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
363 getrpcbynumber_r, and getrpcent_r to ...
364 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
365 * inet/getrpcbyname.c: Moved ...
366 * sunrpc/getrpcbyname.c: ... here.
367 * inet/getrpcbyname_r.c: Moved ...
368 * sunrpc/getrpcbyname_r.c: ... here.
369 * inet/getrpcbynumber.c: Moved ...
370 * sunrpc/getrpcbynumber.c: ... here.
371 * inet/getrpcbynumber_r.c: Moved ...
372 * sunrpc/getrpcbynumber_r.c: ... here.
373 * inet/getrpcent.c: Moved ...
374 * sunrpc/getrpcent.c: ... here.
375 * inet/getrpcent_r.c: Moved ...
376 * sunrpc/getrpcent_r.c: ... here.
377 * inet/Makefile (routines): Move those to ...
378 * sunrpc/Makefile (routines): ... here.
379 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
380 the $(subdirs) list.
381 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
382 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
383 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
384 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
385
ac9e0e5e
RM
386 * elf/Makefile (routines): Include $(all-dl-routines), not just
387 $(dl-routines).
388 (rtld-routines): Likewise. Use = rather than :=.
389 * sysdeps/aarch64/Makefile [$(subdir) = elf]
390 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
391 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
392 * sysdeps/arm/Makefile: Likewise.
393 * sysdeps/i386/Makefile: Likewise.
394 * sysdeps/x86_64/Makefile: Likewise.
395 * sysdeps/hppa/Makefile [$(subdir) = elf]
396 (sysdep_routines, sysdep-rtld-routines): Don't add
397 $(sysdep-dl-routines) to these.
398 * sysdeps/ia64/Makefile: Likewise.
399 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
400 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
401 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
402 Don't add dl-static to these; sysdep-dl-routines alone is enough.
403 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
404 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
405 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
406 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
407 * sysdeps/powerpc/Makefile [$(subdir) = elf]
408 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
409 these; sysdep-dl-routines alone is enough.
410
639e42eb
JM
4112015-02-06 Joseph Myers <joseph@codesourcery.com>
412
1c7a4a51
JM
413 [BZ #17932]
414 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
415 where multiplication results in zero and third argument is finite
416 and nonzero.
417 * math/auto-libm-test-in: Add more tests of fma.
418 * math/auto-libm-test-out: Regenerated.
419
61f006c1
JM
420 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
421 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
422 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
423 (_FP_CMP_EQ): Likewise.
424 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
425
639e42eb
JM
426 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
427 extra argument CHECK_NAN. Redefine as wrapper around
428 _FP_EXTEND_CNAN.
429
3c0c543b
CD
4302015-02-06 Carlos O'Donell <carlos@systemhalted.org>
431
4e42b5b8
CD
432 * version.h (RELEASE): Set to "stable".
433 (VERSION): Set to "2.21"
434 * include/features.h (__GLIBC_MINOR__): Set to 21.
435
3c0c543b
CD
436 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
437
5bd80bfe 4382015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 439 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
440
441 [BZ #16618]
442 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
443 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
444 size in bytes. Store needed elements in wpmax. Use needed size
445 in bytes for extend_alloca.
446
3f823f48
CD
4472015-02-05 Carlos O'Donell <carlos@systemhalted.org>
448
04cb913d
CD
449 * manual/install.texi: Latest tested versions are GCC 4.9.2,
450 binutls 2.25, and texinfo 5.2.
451 * INSTALL: Regenerate.
452 * sysdeps/nios2/configure: Regenerate.
453 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
454 * manual/contrib.texi: Update.
455 * po/be.po: Update.
456 * po/bg.po: Update.
457 * po/ca.po: Update.
458 * po/cs.po: Update.
459 * po/da.po: Update.
460 * po/de.po: Update.
461 * po/el.po: Update.
462 * po/eo.po: Update.
463 * po/es.po: Update.
464 * po/fi.po: Update.
465 * po/fr.po: Update.
466 * po/gl.po: Update.
467 * po/hr.po: Update.
468 * po/hu.po: Update.
469 * po/ia.po: Update.
470 * po/id.po: Update.
471 * po/it.po: Update.
472 * po/ja.po: Update.
473 * po/ko.po: Update.
474 * po/lt.po: Update.
475 * po/nb.po: Update.
476 * po/nl.po: Update.
477 * po/pl.po: Update.
478 * po/pt_BR.po: Update.
479 * po/ru.po: Update.
480 * po/rw.po: Update.
481 * po/sk.po: Update.
482 * po/sl.po: Update.
483 * po/sv.po: Update.
484 * po/tr.po: Update.
485 * po/uk.po: Update.
486 * po/vi.po: Update.
487 * po/zh_CN.po: Update.
488 * po/zh_TW.po: Update.
489
3f823f48
CD
490 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
491 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
492 * sysdeps/hppa/dl-irel.h: Remove #warning.
493 * sysdeps/hppa/entry.h: Provide prototype for
494 __canonicalize_funcptr_for_compare and cast argument.
495 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
496 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
497 * sysdeps/hppa/sotruss-lib.c: New file.
498 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
499 (atomic_compare_and_exchange_val_acq): Use __typeof__.
500 (atomic_compare_and_exchange_bool_acq): Likewise.
501 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
502 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
503
504 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
505 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
506 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
507
34c56048
CLT
5082015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
509
510 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
511 called function in non-PIC case.
512
d4abeca5
DM
5132015-01-31 David S. Miller <davem@davemloft.net>
514
edac0a60
DM
515 * sysdeps/sparc/sparc32/bits/atomic.h
516 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
517 unlock not after it.
518 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
519 volatile register usage warnings from the compiler.
520
d4abeca5
DM
521 * sysdeps/sparc/nptl/sem_init.c: Delete.
522 * sysdeps/sparc/nptl/sem_post.c: Delete.
523 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
524 * sysdeps/sparc/nptl/sem_wait.c: Delete.
525 * sysdeps/sparc/sparc32/sem_init.c: New file.
526 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
527 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
528 padding explicitly initialized.
529 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
530 padding for in-semaphore spinlock.
531 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
532 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
533 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
534 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
535 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
536 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
537 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
538 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
539 version.
540 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
541 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
542
5f3d0b78
L
5432015-01-30 H.J. Lu <hongjiu.lu@intel.com>
544
545 [BZ #17801]
546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
547 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
548 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
549 New.
550 (index_AVX_Fast_Unaligned_Load): Likewise.
551 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
552 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
553 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
554 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
555 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
556 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
557 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
558 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
559 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
560
b658fdd8
AS
5612015-01-29 Andreas Schwab <schwab@suse.de>
562
563 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
564
3cb26316
SP
5652015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
566
567 [BZ #17892]
568 * nscd/nscd_stat.c (send_stats): Initialize DATA.
569
527de9e4
MS
5702015-01-28 Martin Sebor <msebor@redhat.com>
571
572 * math/README.libm-test: Clarify. Add "How to read the test output."
573
06991eb8
CM
5742015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
575
576 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
577 Define to 0.
578
df341342
JM
5792015-01-28 Joseph Myers <joseph@codesourcery.com>
580
581 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
582 (__HAVE_64B_ATOMICS): Define to 0.
583
08cee2a4
AZ
5842015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
585
d4d0ecb2
AZ
586 [BZ #17885]
587 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
588 value to set as new flag.
589
08cee2a4
AZ
590 [BZ #16576]
591 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
592 and use _ARCH_PPCSQ instead.
593 (__ieee754_sqrt): Likewise.
594 (__ieee754_sqrtf): Likewise.
595 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
596 _ARCH_PPCSQ is defined.
597 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
598 fsqrt instruction.
599 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
600 _ARCH_PPCSQ is defined.
601 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
602 fsqrts instruction.
603 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
604
5fe8e359
AK
6052015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
606
607 * iconv/loop.c: Suppress array out of bound warning caused by GCC
608 bug (GCC BZ #64739).
609
24bb7432
AS
6102015-01-25 Andreas Schwab <schwab@linux-m68k.org>
611
fa20da31
AS
612 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
613 Mark _retval as used.
614 (lll_futex_wake_unlock): Likewise.
615 (lll_futex_timed_wait_requeue_pi): Likewise.
616
45819cbc
AS
617 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
618 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
619 register variables.
620
403cc231
AS
621 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
622 libm_hidden_def.
623
24bb7432
AS
624 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
625 (__bswap_64): Mark as __always_inline.
626
9317ea65
B
6272015-01-25 Bram <bug_rh@spam.wizbit.be>
628
629 [BZ #15378]
630 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
631 when none of the search directories exist.
632
0e87343e
AZ
6332015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
634
bea58013
AZ
635 [BZ #17869]
636 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
637 power8 in .machine directive.
638
0e87343e
AZ
639 [BZ #17868]
640 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
641 set dependency from opd value.
642
ede0236c
L
6432015-01-23 H.J. Lu <hongjiu.lu@intel.com>
644
645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
646 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
647 architecture.
ede0236c 648
22971c35
L
6492015-01-23 H.J. Lu <hongjiu.lu@intel.com>
650
651 [BZ #17870]
652 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
653 with uint64_t.
654 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
655 (uint64_t) 1.
e0da28a1 656 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
657 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
658 Replace 1UL with (uint64_t) 1.
659 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
660 int with uint64_t.
661
da5bf245
RM
6622015-01-23 Roland McGrath <roland@hack.frob.com>
663
2ec2d703
RM
664 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
665 (if_freenameindex): Likewise.
666
da5bf245
RM
667 * resource/getrlimit64.c: Add missing libc_hidden_def.
668
d7423856
JM
6692015-01-22 Joseph Myers <joseph@codesourcery.com>
670
671 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
672 __label__.
673 (_FP_FMA): Likewise.
674 (_FP_TO_INT_ROUND): Likewise.
675 (_FP_FROM_INT): Likewise.
676
6b2ba95b
AZ
6772015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678
679 [BZ #16418]
680 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
681 Make code racy and cancel safe.
682
ccdb048d
CD
6832015-01-21 Carlos O'Donell <carlos@redhat.com>
684
191220b3
CD
685 * sysdeps/arm/unwind-resume.h: Fix copyright year.
686 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
687 attribution.
688
0897c551
CD
689 * pwd/tst-getpw.c: Rewrite.
690
ccdb048d
CD
691 [BZ #17702]
692 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
693 (modules-names): Add moddummy1 and moddummy2.
694 ($(objpfx)tst-rec-dlopen): Define.
695 * dlfcn/moddummy1.c: New file.
696 * dlfcn/moddummy2.c: New file.
697 * dlfcn/tst-rec-dlopen.c: New file.
698 * elf/dl-cache.c (_dl_load_cache_lookup):
699 Return char*. Copy result with alloca/strcpy/strdup.
700 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
701 returns char*. Free cached. If not saving realname
702 free cached.
703 * elf/dl-open.c (dl_open_worker): Do not assert that
704 _r_debug->r_state is RT_CONSISTENT.
705 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
706 returns char*.
707
042e1521
CD
7082015-01-21 Torvald Riegel <triegel@redhat.com>
709 Carlos O'Donell <carlos@redhat.com>
710
711 [BZ #12674]
712 * nptl/sem_waitcommon.c: New file.
713 * nptl/sem_wait.c: Include sem_waitcommon.c.
714 (__sem_wait_cleanup, do_futex_wait): Remove.
715 (__new_sem_wait): Adapt.
716 (__new_sem_trywait): New function.
717 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
718 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
719 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
720 (sem_timedwait): Adapt.
721 * nptl/sem_post.c (__new_sem_post): Adapt.
722 (futex_wake): New function.
723 (__old_sem_post): Add release MO fence.
724 * nptl/sem_open.c (sem_open): Adapt.
725 * nptl/sem_init.c (__new_sem_init): Adapt.
726 (futex_private_if_supported): New function.
727 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
728 (__old_sem_getvalue): Add using previous code.
729 * sysdeps/nptl/internaltypes.h: Adapt.
730 * nptl/tst-sem13.c (do_test): Adapt.
731 * nptl/tst-sem11.c (main): Adapt.
732 * nptl/sem_trywait.c: Remove.
733 * nptl/DESIGN-sem.txt: Remove.
734 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
735 (gen-as-const-headers): Remove structsem.sym.
736 * nptl/structsem.sym: Remove.
737 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
738 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
739 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
740 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
741 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
742 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
743 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
744 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
745 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
746 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
747 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
748 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
749 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
750 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
751 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
752 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
753 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
754 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
755 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
756 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
757 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
758 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
759
fe0e85af
CD
7602015-01-20 Carlos O'Donell <carlos@redhat.com>
761
a8db092e
CD
762 * INSTALL: Regenerated.
763
fe0e85af
CD
764 * po/libc.pot: Regenerated.
765
522e6ee3
CLT
7662015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
767 Sandra Loosemore <sandra@codesourcery.com>
768 Andrew Jenner <andrew@codesourcery.com>
769 Joseph Myers <joseph@codesourcery.com>
770 Nathan Sidwell <nathan@codesourcery.com>
771
772 * NEWS: Mention new Nios II port.
773 * sysdeps/nios2/Implies: New file.
774 * sysdeps/nios2/Makefile: New file.
775 * sysdeps/nios2/Subdirs: New file.
776 * sysdeps/nios2/Versions: New file.
777 * sysdeps/nios2/__longjmp.S: New file.
778 * sysdeps/nios2/abort-instr.h: New file.
779 * sysdeps/nios2/backtrace.c: New file.
780 * sysdeps/nios2/bits/endian.h: New file.
781 * sysdeps/nios2/bits/fenv.h: New file.
782 * sysdeps/nios2/bits/link.h: New file.
783 * sysdeps/nios2/bits/setjmp.h: New file.
784 * sysdeps/nios2/bsd-_setjmp.S: New file.
785 * sysdeps/nios2/bsd-setjmp.S: New file.
786 * sysdeps/nios2/configure: New generated file.
787 * sysdeps/nios2/configure.ac: New file.
788 * sysdeps/nios2/crti.S: New file.
789 * sysdeps/nios2/crtn.S: New file.
790 * sysdeps/nios2/dl-init.c: New file.
791 * sysdeps/nios2/dl-machine.h: New file.
792 * sysdeps/nios2/dl-sysdep.h: New file.
793 * sysdeps/nios2/dl-tls.h: New file.
794 * sysdeps/nios2/dl-trampoline.S: New file.
795 * sysdeps/nios2/gccframe.h: New file.
796 * sysdeps/nios2/gmp-mparam.h: New file.
797 * sysdeps/nios2/jmpbuf-offsets.h: New file.
798 * sysdeps/nios2/jmpbuf-unwind.h: New file.
799 * sysdeps/nios2/ldsodefs.h: New file.
800 * sysdeps/nios2/libc-tls.c: New file.
801 * sysdeps/nios2/libm-test-ulps: New file.
802 * sysdeps/nios2/machine-gmon.h: New file.
803 * sysdeps/nios2/math-tests.h: New file.
804 * sysdeps/nios2/math_private.h: New file.
805 * sysdeps/nios2/memusage.h: New file.
806 * sysdeps/nios2/nptl/Makefile: New file.
807 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
808 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
809 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
810 * sysdeps/nios2/nptl/pthreaddef.h: New file.
811 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
812 * sysdeps/nios2/nptl/tls.h: New file.
813 * sysdeps/nios2/preconfigure: New file.
814 * sysdeps/nios2/s_fma.c: New file.
815 * sysdeps/nios2/s_fmaf.c: New file.
816 * sysdeps/nios2/setjmp.S: New file.
817 * sysdeps/nios2/sfp-machine.h: New file.
818 * sysdeps/nios2/sotruss-lib.c: New file.
819 * sysdeps/nios2/stackguard-macros.h: New file.
820 * sysdeps/nios2/stackinfo.h: New file.
821 * sysdeps/nios2/start.S: New file.
822 * sysdeps/nios2/sysdep.h: New file.
823 * sysdeps/nios2/tls-macros.h: New file.
824 * sysdeps/nios2/tst-audit.h: New file.
825 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
826 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
827 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
828 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
829 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
830 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
831 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
832 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
833 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
834 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
835 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
836 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
837 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
838 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
839 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
840 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
841 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
842 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
843 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
844 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
845 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
846 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
847 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
848 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
849 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
850 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
851 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
852 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
853 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
854 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
855 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
856 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
857 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
858 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
859 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
860 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
861 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
862 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
863 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
864 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
865 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
866 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
867 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
868 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
869
026eb207
SL
8702015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
871
872 [BZ #17844]
873 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
874 (getutent): Use weak_alias in non SHARED case
875 and default_symbol_version in SHARED case.
876 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
877 (getutent_r, pututline): Likewise.
878 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
879 (getutid): Likewise.
880 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
881 (getutid_r): Likewise.
882 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
883 (getutline): Likewise.
884 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
885 (getutline_r): Likewise.
886 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
887 (updwtmp): Likewise.
888
1d532483
SL
8892015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
890
891 [BZ #17848]
892 * sysdeps/s390/s390-32/memcmp.S
893 (memcmp_g5): Rename to __memcmp_g5.
894 * sysdeps/s390/s390-32/memcpy.S
895 (memcpy_g5): Rename to __memcpy_g5.
896 Jump to __memcpy_mvcle instead of memcpy_mvcle.
897 (memcpy_mvcle) Rename to __memcpy_mvcle.
898 * sysdeps/s390/s390-32/memset.S
899 (memset_g5): Rename to __memset_g5.
900 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
901 (IFUNC_RESOLVE): Prefix ifunc-resolve function
902 and use prefixed functions.
903 * sysdeps/s390/s390-32/multiarch/memcmp.S
904 (memcmp_z196): Rename to __memcmp_z196.
905 (memcmp_z10): Rename to __memcmp_z10.
906 (memcmp): Set alias to __memcmp_g5.
907 (bcmp): Set alias to __memcmp_g5.
908 * sysdeps/s390/s390-32/multiarch/memcpy.S
909 (memcpy_z196): Rename to __memcpy_z196.
910 Jump to __memcpy_mvcle instead of memcpy_mvcle.
911 (memcpy_z10): Rename to __memcpy_z10.
912 Jump to __memcpy_mvcle instead of memcpy_mvcle.
913 (memcpy): Set alias to __memcpy_g5.
914 * sysdeps/s390/s390-32/multiarch/memset.S
915 (memset_z196): Rename to __memset_z196.
916 Jump to __memset_mvcle instead of memset_mvcle.
917 (memset_z10): Rename to __memset_z10.
918 Jump to __memset_mvcle instead of memset_mvcle.
919 (memset_mvcle) Rename to __memset_mvcle.
920 (memset): Set alias to __memset_g5.
921 * sysdeps/s390/s390-64/memcmp.S
922 (memcmp_z900): Rename to __memcmp_z900.
923 * sysdeps/s390/s390-64/memcpy.S
924 (memcpy_z900): Rename to __memcpy_z900.
925 Jump to __memcpy_mvcle instead of memcpy_mvcle.
926 (memcpy_mvcle) Rename to __memcpy_mvcle.
927 * sysdeps/s390/s390-64/memset.S
928 (memset_z900): Rename to __memset_z900.
929 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
930 (IFUNC_RESOLVE): Prefix ifunc-resolve function
931 and use prefixed functions.
932 * sysdeps/s390/s390-64/multiarch/memcmp.S
933 (memcmp_z196): Rename to __memcmp_z196.
934 (memcmp_z10): Rename to __memcmp_z10.
935 (memcmp): Set alias to __memcmp_z900.
936 (bcmp): Set alias to __memcmp_z900.
937 * sysdeps/s390/s390-64/multiarch/memcpy.S
938 (memcpy_z196): Rename to __memcpy_z196.
939 Jump to __memcpy_mvcle instead of memcpy_mvcle.
940 (memcpy_z10): Rename to __memcpy_z10.
941 Jump to __memcpy_mvcle instead of memcpy_mvcle.
942 (memcpy): Set alias to __memcpy_z900.
943 * sysdeps/s390/s390-64/multiarch/memset.S
944 (memset_z196): Rename to __memset_z196.
945 Jump to __memset_mvcle instead of memset_mvcle.
946 (memset_z10): Rename to __memset_z10.
947 Jump to __memset_mvcle instead of memset_mvcle.
948 (memset_mvcle) Rename to __memset_mvcle.
949 (memset): Set alias to __memset_z900.
950
53fbd169
JM
9512015-01-14 Joseph Myers <joseph@codesourcery.com>
952
953 [BZ #17748]
954 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
955 __fesetenv instead of fesetenv.
956
d639a363
SP
9572015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
958
959 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
960 macro.
961
d3b00f46
AZ
9622015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
963
ce6615c9
AZ
964 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
965 regression on LE.
966
d3b00f46
AZ
967 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
968 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
969 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
970 strncmp-power8 object.
971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
972 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
973 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
974 * NEWS: Update.
975
72607db0
RS
9762015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
977 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
978
979 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
980 trailing byte check.
981
54dc5461
DM
9822015-01-13 David S. Miller <davem@davemloft.net>
983
984 * include/signal.h (__sigreturn): Guard with __USE_MISC.
985
1c6e6f23
RM
9862015-01-13 Roland McGrath <roland@hack.frob.com>
987
988 * login/logout.c (logout): Use memset rather than bzero.
989 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
990 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
991 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
992 (_gethtbyaddr): Likewise.
993 * locale/programs/simple-hash.c (bcopy): Macro removed.
994
96d6fd6c
AZ
9952015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
8bedcb5f
AZ
997 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
998 Add strcmp-power8 object.
999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1000 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1001 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1002 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1003 __strcmp_power8 implementation.
1004 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1005 * NEWS: Update.
1006
f06a4faf
AZ
1007 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1008 Add strncpy-power8 and stpncpy-power8 objects.
1009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1010 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1011 implementations.
1012 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1013 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1014 __stpncpy_power8 implementation.
1015 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1016 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1017 __strncpy_power8 implementation.
1018 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1019 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1020 * NEWS: Update.
1021
9f2f36e5
AZ
1022 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1023 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1024 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1025
96d6fd6c 1026 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1027 strncat-power8 object.
1028 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1029 __strcat_power8 implementation.
1030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1031 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1032 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1033 optimized strcat for power8.
1034
1035 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1036 strcpy-power8 and stpcpy-power8 objects.
1037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1038 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1039 implementations.
1040 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1041 multiarch stpcpy implementation for POWER8.
1042 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1043 multiarch strcpy implementation for POWER8.
1044 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1045 __strcpy_power8 function.
1046 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1047 stpcpy for POWER8.
1048 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1049 strcpy for POWER8.
1050 * NEWS: Update.
1051
0f9e5854
LH
10522015-01-13 Leonhard Holz <leonhard.holz@web.de>
1053
1054 [BZ #16009]
1055 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1056 weights and rules. Use do_xfrm_cached if data fits in cache,
1057 do_xfrm otherwise. Moved former main loop to...
1058 * (do_xfrm_cached): New function.
1059 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1060 find_idx, find_position and stack_push.
1061 * (find_idx): New function.
1062 * (find_position): Likewise.
1063 * localedata/sort-test.sh: Added test run for do_xfrm.
1064 * localedata/xfrm-test.c (main): Added command line option
1065 -nocache to run the test with strings that are too large for
1066 the STRXFRM cache.
1067
c60ec0e0
TR
10682015-01-13 Torvald Riegel <triegel@redhat.com>
1069
1070 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1071 variable to lll_futex_wake call, not the value itself.
1072
34e93d6c
JM
10732015-01-12 Joseph Myers <joseph@codesourcery.com>
1074
5a9e4c09
JM
1075 [BZ #17803]
1076 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1077 twom64. Adjust value to 0x1p-64L.
1078 (__scalblnl): Only return standard underflowing result for K <=
1079 -64 not K <= -63; adjust exponent for underflowing result by 64
1080 not 63.
1081 * math/libm-test.inc (scalbn_test_data): Add more tests.
1082 (scalbln_test_data): Likewise.
1083
34e93d6c
JM
1084 [BZ #17834]
1085 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1086 0x1p63L.
1087 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1088 not HX.
1089 * math/libm-test.inc (scalbn_test_data): Add more tests.
1090 (scalbln_test_data): Likewise.
1091
ca677d3c
AZ
10922015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093 Stefani Seibold <stefani@seibold.net>
1094
1095 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1096 (sysdep_routines): Add dl-vdso here, ...
1097 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1098 (sysdep_routines): ... not here.
1099 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1100 fallback when vDSO is not presented.
1101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1102 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1103 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1104 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1105 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1106 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1107 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1109 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1110 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1111 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1112 fallback configurable symbol when vDSO is not available.
1113 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1114 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1115 be able to redefine fallback symbol when vDSO is not available.
1116 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1117 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1118
49a9f6ab 11192015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1120
56cf2763
AZ
1121 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1122 (TLS_INIT_TP): Add tm_capable initialization.
1123 (TLS_DEFINE_INIT_TP): Likewise.
1124 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1125 TCB.
1126 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1127 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1128 calculation.
1129 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1130 transactoion is lock elision is built and TCB tm_capable is set.
1131 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1133 (INTERNAL_SYSCALL_NCS): Likewise.
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1135 (INTERNAL_SYSCALL_NCS): Likewise.
1136 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1137
4b45943a
AZ
1138 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1139 for powerpc.
1140 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1141 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1142 and remove it for 32 bits case.
1143 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1145 initialization.
1146 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1147 Disable lock elision with rdlocks if elision is not available.
1148
8d2c0a59
AZ
1149 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1150 (sysdep_routines): Add lock elision objects.
1151 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1152 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1153 [pthread_mutex_t] (__elision): Add field.
1154 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1155 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1156 elision definitions for powerpc.
1157 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1158 implementation of lock elision for powerpc.
1159 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1160 implementation of timed lock elision for powerpc.
1161 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1162 implementation of trylock with lock elision for powerpc.
1163 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1164 implementaion of unlock for lock elision for powerpc.
1165 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1166 automatic enable lock elision for mutexes.
1167 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1168 transaction execution definitions for powerpc.
1169 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1170 definitions.
1171 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1172 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1173 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1175 * NEWS: Update.
1176
bc0ed9f7
RM
11772015-01-09 Roland McGrath <roland@hack.frob.com>
1178
1179 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1180 for #include of <shm-directory.h>.
1181
585d9c18
CLT
11822015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1183
1184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1185 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1186
aee6626c
MF
11872015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1188
1189 [BZ #17791]
1190 * NEWS: Mention bug fix.
1191 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1192 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1193 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1194
9e560f48
TR
11952015-01-09 Torvald Riegel <triegel@redhat.com>
1196
1197 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1198
e1cfbd0c
TR
11992015-01-09 Torvald Riegel <triegel@redhat.com>
1200
1201 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1202
cf71e44f
DH
12032015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1204
1205 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1206 pointer and cast to uintptr_t.
1207
b360ee62
DH
12082015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1209
1210 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1211 removed.
1212 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1213
caff764e
DH
12142015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1215
1216 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1217 of 0.
1218
59ff172f
RM
12192015-01-08 Roland McGrath <roland@hack.frob.com>
1220
c97d27f1
RM
1221 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1222 <nptl/pthreadP.h> instead.
1223 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1224
08734ccd
RM
1225 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1226 already defined.
1227 [__SIGRTMIN] (init): Function removed.
1228 [__SIGRTMIN] (initialized): Variable removed.
1229 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1230 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1231 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1232 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1233 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1234 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1235 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1236 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1237 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1238 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1239 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1240 * sysdeps/nptl/allocrtsig.c: New file.
1241 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1242 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1243 * sysdeps/generic/testrtsig.h: File removed.
1244
7b052e33
RM
1245 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1246 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1247
cc40d25e
RM
1248 * nptl/nptl-init.c (pthread_functions): Conditionalize
1249 .ptr__nptl_setxid initialization on [SIGSETXID].
1250
9287adf0
RM
1251 * sysdeps/nptl/sys/procfs.h: New file.
1252 * nptl_db/Makefile (headers): Add it.
1253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1254
59ff172f
RM
1255 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1256 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1257 * nptl/pthread_attr_setaffinity.c: Include it.
1258 * nptl/pthread_setattr_default_np.c: Likewise.
1259 * nptl/check-cpuset.h: New file.
1260
b9205857
RH
12612015-01-08 Richard Henderson <rth@redhat.com>
1262
1263 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1264 (CFLAGS-tst-execstack-prog.c): Likewise.
1265 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1266
1a0a8d15
CLT
12672015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1268 Sandra Loosemore <sandra@codesourcery.com>
1269 Andrew Jenner <andrew@codesourcery.com>
1270 Joseph Myers <joseph@codesourcery.com>
1271 Nathan Sidwell <nathan@codesourcery.com>
1272
1273 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1274 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1275 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1276 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1277 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1278 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1279 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1280 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1281 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1282 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1283 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1284 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1285 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1286 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1287 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1288 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1289 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1290
dd6e8af6
AZ
12912015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1292
1293 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1294 timespec struct member in syscall macro.
1295 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1296 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1297 first timeval struct member in syscall macro.
1298 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1299
8116321f
JM
13002015-01-07 Joseph Myers <joseph@codesourcery.com>
1301
1302 [BZ #17748]
1303 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1304 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1305 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1306 __feupdateenv and define as weak alias of __feupdateenv. Use
1307 libm_hidden_weak.
1308 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1309 libm_hidden_def.
1310 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1311 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1312 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1313 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1314 libm_hidden_def.
1315 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1316 __feupdateenv and define as weak alias of __feupdateenv. Use
1317 libm_hidden_weak.
1318 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1319 libm_hidden_def.
1320 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1321 __feupdateenv and define as weak alias of __feupdateenv. Use
1322 libm_hidden_weak.
1323 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1324 libm_hidden_def.
1325 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1326 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1327 (__feupdateenv): Likewise.
1328 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1329 __feupdateenv and define as weak alias of __feupdateenv. Use
1330 libm_hidden_weak.
1331 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1332 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1333 libm_hidden_def.
1334 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1335 function.
1336 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1337 libm_hidden_def.
1338 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1339 __feupdateenv instead of feupdateenv.
1340 (default_libc_feupdateenv_test): Likewise.
1341 (libc_feresetround_ctx): Likewise.
1342
882dfe18
AZ
13432015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344
1345 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1346 prototype.
1347
39a12f8d
CM
13482015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1349
1350 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1351 COLL_SYM in a couple of places to avoid uninitialized variable
1352 wanings on tilegx gcc 4.8.2.
1353
dc400d7b
RE
13542015-01-07 Richard Earnshaw <rearnsha@arm.com>
1355
1356 * sysdeps/aarch64/strcpy.S: New file.
1357 * sysdeps/aarch64/stpcpy.S: New file.
1358 * NEWS: Updated.
1359
ec582ca0
RE
13602015-01-07 Richard Earnshaw <rearnsha@arm.com>
1361
1362 * sysdeps/aarch64/strrchr.S: New file.
1363 * NEWS: Updated.
1364
d5b1c5ed
EB
13652015-01-07 Eric Biggers <ebiggers3@gmail.com>
1366
1367 [BZ #17658]
1368 * stdlib/setenv.c: Fix memory leak when setting large,
1369 duplicate string.
1370
fb87ee96
VN
13712015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1372
60f046a8 1373 [BZ #17273]
fb87ee96
VN
1374 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1375 and tabs from buffer before parsing fstab entry.
1376 * misc/tst-mntent.c (main): Add test for mount entry with
1377 trailing spaces and tabs.
1378
cd42798a
JM
13792015-01-06 Joseph Myers <joseph@codesourcery.com>
1380
01238691
JM
1381 [BZ #17748]
1382 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1383 * math/fesetround.c (fesetround): Rename to __fesetround and
1384 define as weak alias of __fesetround. Use libm_hidden_weak.
1385 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1386 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1387 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1388 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1389 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1390 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1391 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1392 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1393 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1394 __fesetround_inline.
1395 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1396 __fesetround_inline instead of __fesetround.
1397 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1398 __fesetround and define as weak alias of __fesetround. Use
1399 libm_hidden_weak. Call __fesetround_inline instead of
1400 __fesetround.
1401 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1402 __fesetround and define as weak alias of __fesetround. Use
1403 libm_hidden_weak.
1404 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1405 Likewise.
1406 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1407 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1408 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1409 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1410 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1411 __fesetround and define as weak alias of __fesetround. Use
1412 libm_hidden_weak.
1413 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1414 __fesetround instead of fesetround.
1415 (default_libc_feholdexcept_setround): Likewise.
1416 (libc_feholdsetround_ctx): Likewise.
1417 (libc_feholdsetround_noex_ctx): Likewise.
1418
cd42798a
JM
1419 [BZ #17748]
1420 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1421 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1422 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1423 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1424 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1425 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1426 define as weak alias of __fesetenv. Use libm_hidden_weak.
1427 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1428 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1429 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1430 define as weak alias of __fesetenv. Use libm_hidden_weak.
1431 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1432 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1433 define as weak alias of __fesetenv. Use libm_hidden_weak.
1434 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1435 libm_hidden_def.
1436 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1437 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1438 Likewise.
1439 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1440 define as weak alias of __fesetenv. Use libm_hidden_weak.
1441 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1442 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1443 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1444 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1445 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1446 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1447 __fesetenv instead of fesetenv.
1448 (libc_feresetround_noex_ctx): Likewise.
1449 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1450 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1451 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1452 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1453 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1454 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1455 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1456 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1457 (__feupdateenv): Likewise.
1458 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1459 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1460 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1461 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1462
38949026
AJ
14632015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1464
1cf98e27 1465 [BZ #17806]
38949026
AJ
1466 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1467 addresses have been freed.
1468
5fe55e9c
AJ
14692015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1470
1471 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1472 and nservall.
1473
dc8ab018
OB
14742015-01-06 Ondřej Bílka <neleai@seznam.cz>
1475
1476 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1477 Clean up check_pf allocation pattern. addresses
1478
14bb4e57
AZ
14792015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480
1481 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1482 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1483 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1484 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1485 * nptl/pthread_join.c (pthread_join): Likewise.
1486 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1487 * sysdeps/posix/waitid.c (__waitid): Likewise.
1488 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1489 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1490 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1491 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1492 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1493 Likewise.
1494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1495 (__libc_pread64): Likewise.
1496 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1497 (__libc_pwrite): Likewise.
1498 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1499 (__libc_pwrite64): Likewsie.
1500 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1501 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1502 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1503 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1504 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1505 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1506 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1508 Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1510 (__libc_pread64): Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1512 Likewise.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1514 (__libc_pwrite64): Likewise.
1515 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1516 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1517 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1518 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1519 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1520 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1521 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1522 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1523 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1524 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1525 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1526 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1527 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1528 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1529 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1530 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1531 Likewise.
1532
10a5e112
AS
15332015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1534
1535 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1536 (CFLAGS-test-double.c): Likewise.
1537 (CFLAGS-test-ldouble.c): Likewise.
1538 (CPPFLAGS-test-ifloat.c): Likewise.
1539 (CPPFLAGS-test-idouble.c): Likewise.
1540 (CPPFLAGS-test-ildoubl.c): Likewise.
1541 (CFLAGS-test-test-fenv.c): Remove variable.
1542 (CFLAGS-test-misc.c): Likewise.
1543
57ada0e7
L
15442015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 [BZ #17797]
1547 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1548 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1549 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1550 CLOCKS_PER_SEC == 1000000.
1551 * time/clocktest.c (main): Replace %ld with %jd and cast to
1552 intmax_t.
1553
46abb64d
RM
15542015-01-05 Roland McGrath <roland@hack.frob.com>
1555
1556 * sysdeps/generic/unwind-resume.h: New file.
1557 * sysdeps/gnu/unwind-resume.c: Include it.
1558 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1559 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1560 argument list.
1561 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1562 global rather than static.
1563 (_Unwind_Resume): Update user.
1564 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1565 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1566 rather than static. Add __attribute__ ((cold)).
1567 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1568 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1569 * sysdeps/arm/arm-unwind-resume.S: New file.
1570 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1571 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1572 * sysdeps/arm/Makefile [$(subdir) = csu]
1573 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1574 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1575 Add rt-arm-unwind-resume.
1576 [$(subdir) = nptl]
1577 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1578 Add pt-arm-unwind-resume.
1579 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1580 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1581
ef9faf13
JM
15822015-01-05 Joseph Myers <joseph@codesourcery.com>
1583
1584 [BZ #17748]
1585 * include/fenv.h (__feholdexcept): Declare. Use
1586 libm_hidden_proto.
1587 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1588 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1589 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1590 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1591 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1592 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1593 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1594 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1595 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1596 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1597 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1598 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1599 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1600 (feholdexcept): Likewise.
1601 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1602 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1603 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1604 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1605 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1606 __feholdexcept instead of feholdexcept.
1607 (default_libc_feholdexcept_setround): Likewise.
1608
295a453e
SE
16092015-01-05 Steve Ellcey <sellcey@imgtec.com>
1610
1611 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1612 to avoid using stl/str to align destination.
1613
882c4b9f
SE
16142015-01-05 Steve Ellcey <sellcey@imgtec.com>
1615
1616 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1617
ac4c11f5
JM
16182015-01-05 Joseph Myers <joseph@codesourcery.com>
1619
1620 [BZ #17796]
1621 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1622 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1623 Define as weak alias not strong alias.
1624
03403e30
SE
16252015-01-05 Steve Ellcey <sellcey@imgtec.com>
1626
1627 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1628 bltzal with addiupc.
1629 (RTLD_START): Ditto.
1630
1dca195e
CM
16312015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1632
00b8b9ba
SP
1633 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1634 for __vdso_* functions in declarations.
1635 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1636 definitions.
1637 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1638 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1639
1dca195e
CM
1640 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1641 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1642 function with cast from llround().
1643 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1644 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1645 Define.
1646
a287953a
JM
16472015-01-05 Joseph Myers <joseph@codesourcery.com>
1648
ab70da77
JM
1649 [BZ #17793]
1650 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1651 Define as weak alias not strong alias.
1652
b8986484
JM
1653 [BZ #17635]
1654 * ctype/ctype-c99.c: New file. isblank implementation moved from
1655 ...
1656 * ctype/ctype-extn.c: ... here.
1657 (__isblank_l): Move to ...
1658 * ctype/ctype-c99_l.c: ... here. New file.
1659 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1660 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1661 Remove variable.
1662 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1663 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1664 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1665 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1666 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1667
a287953a
JM
1668 [BZ #17777]
1669 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1670 (posix_fadvise64): Define as weak alias not strong alias.
1671 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1672 (posix_fallocate64): Likewise.
1673 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1674 Remove variable.
1675 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1676 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1677 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1678 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1679 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1680
b1efe3bb
MF
16812015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1682
1683 [BZ #16191]
1684 * NEWS: Mention bug fix.
1685 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1686 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1687 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1688 (HOST_STACK_END_ADDR): Likewise.
1689
9706dc5f
JM
16902015-01-02 Joseph Myers <joseph@codesourcery.com>
1691
b93c2205
JM
1692 [BZ #17748]
1693 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1694 * math/fegetround.c (fegetround): Rename to __fegetround and
1695 define as weak alias of __fegetround. Use libm_hidden_weak.
1696 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1697 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1698 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1699 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1700 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1701 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1702 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1703 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1704 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1705 Undefine after rather than before function definition; use
1706 parentheses around function name in definition.
1707 (__fegetround): Also undefine macro after function definition.
1708 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1709 __fegetround and define as weak alias of __fegetround. Use
1710 libm_hidden_weak. Do not undefine as macro.
1711 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1712 Likewise.
1713 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1714 __fegetround and define as weak alias of __fegetround. Use
1715 libm_hidden_weak.
1716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1717 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1718 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1719 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1720 __fegetround and define as weak alias of __fegetround. Use
1721 libm_hidden_weak.
1722 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1723 __fegetround instead of fegetround.
1724
253a59cc
JM
1725 [BZ #17782]
1726 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1727 Condition macro definition on [__USE_MISC].
1728
27dae011
JM
1729 [BZ #17781]
1730 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1731 (struct sigaction): Change type of sa_flags field to int.
1732
172019c0
JM
1733 [BZ #17780]
1734 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1735 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1736 __glibc_reserved0.
1737
522ad1d6
JM
1738 * nptl/version.c (banner): Use single year in copyright notice.
1739
9706dc5f
JM
1740 * NEWS: Update copyright dates.
1741 * catgets/gencat.c (print_version): Likewise.
1742 * csu/version.c (banner): Likewise.
1743 * debug/catchsegv.sh: Likewise.
1744 * debug/pcprofiledump.c (print_version): Likewise.
1745 * debug/xtrace.sh (do_version): Likewise.
1746 * elf/ldconfig.c (print_version): Likewise.
1747 * elf/ldd.bash.in: Likewise.
1748 * elf/pldd.c (print_version): Likewise.
1749 * elf/sotruss.sh: Likewise.
1750 * elf/sprof.c (print_version): Likewise.
1751 * iconv/iconv_prog.c (print_version): Likewise.
1752 * iconv/iconvconfig.c (print_version): Likewise.
1753 * locale/programs/locale.c (print_version): Likewise.
1754 * locale/programs/localedef.c (print_version): Likewise.
1755 * login/programs/pt_chown.c (print_version): Likewise.
1756 * malloc/memusage.sh (do_version): Likewise.
1757 * malloc/memusagestat.c (print_version): Likewise.
1758 * malloc/mtrace.pl: Likewise.
1759 * manual/libc.texinfo: Likewise.
1760 * nptl/version.c (banner): Likewise.
1761 * nscd/nscd.c (print_version): Likewise.
1762 * nss/getent.c (print_version): Likewise.
1763 * nss/makedb.c (print_version): Likewise.
1764 * posix/getconf.c (main): Likewise.
1765 * scripts/test-installation.pl: Likewise.
1766 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1767
b8607aac
WN
17682015-01-02 Will Newton <will.newton@linaro.org>
1769
1770 * sysdeps/arm/armv7/configure: Removed.
1771 * sysdeps/arm/armv7/configure.ac: Likewise.
1772
b168057a
JM
17732015-01-02 Joseph Myers <joseph@codesourcery.com>
1774
1775 * All files with FSF copyright notices: Update copyright dates
1776 using scripts/update-copyrights.
1777 * intl/plural.c: Regenerated.
1778 * locale/programs/charmap-kw.h: Likewise.
1779 * locale/programs/locfile-kw.h: Likewise.
1780
b217c15f
SP
17812015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1782
1783 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1784
73a268c7
JM
17852014-12-31 Joseph Myers <joseph@codesourcery.com>
1786
1787 [BZ #17748]
1788 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1789 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1790 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1791 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1792 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1793 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1794 define as weak alias of __fegetenv. Use libm_hidden_weak.
1795 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1796 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1797 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1798 define as weak alias of __fegetenv. Use libm_hidden_weak.
1799 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1800 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1801 define as weak alias of __fegetenv. Use libm_hidden_weak.
1802 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1803 libm_hidden_def.
1804 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1805 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1806 Likewise.
1807 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1808 define as weak alias of __fegetenv. Use libm_hidden_weak.
1809 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1810 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1811 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1812 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1813 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1814 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1815 __fegetenv instead of fegetenv.
1816 (libc_feholdsetround_noex_ctx): Likewise.
1817
0bd95672
MF
18182014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1819
1820 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1821 (Elf_MIPS_ABIFlags_v0): New structure.
1822 (EF_MIPS_FP64): Define.
1823 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1824 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1825 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1826 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1827 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1828 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1829 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1830 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1831 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1832 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1833 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1834 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1835 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1836 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1837 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1838 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1839 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1840 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1841 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1842 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1843 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1844 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1845 field.
1846 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1847 EF_MIPS_FP64.
1848 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1849 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1850 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1851 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1852 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1853 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1854 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1855 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1856 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1857 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1858 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1859 record the current FP ABI extension.
1860 (mips-mode-switch): Define to show if kernel headers support mode
1861 switching.
1862 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1863 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1864 supported SYSV ABI version to 3.
1865 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1866 feature.
1867
f59ad976
RS
18682014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1869 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1870
1871 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1872 path.
1873 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1874
4a3d3999
JM
18752014-12-31 Joseph Myers <joseph@codesourcery.com>
1876
1877 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1878 __fegetround and redefine to call __fegetround. Remove condition
1879 on [!__NO_MATH_INLINES].
1880 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1881 function.
1882 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1883 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1884 Remove macro.
1885 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1886 instead of <fenv_libc.h>.
1887 (__llrintl): Call fegetround instead of __fegetround.
1888 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1889 instead of <fenv_libc.h>.
1890 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1891 (__lrintl): Call fegetround instead of __fegetround.
1892 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1893 instead of <fenv_libc.h>.
1894 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1895 (__rintl): Call fegetround instead of __fegetround.
1896
195f3afc
SP
18972014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1898
1899 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1900 arrays.
1901
7062bd42
L
19022014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 [BZ #17775]
1905 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1906 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1907 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1908
07256e18
AS
19092014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1910
1911 * sysdeps/i386/tls-macros.h: Include <features.h>.
1912 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1913 (TLS_IE): Likewise.
1914 (TLS_LD): Likewise.
1915 (TLS_GD): Likewise.
1916 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1917 define for GCC >= 5.0.
1918
1ff950ad
CM
19192014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1920
1921 * math/test-fenv.c (test_single_exception, set_single_exc,
1922 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1923 feexcp_mask_test, feenable_test, fe_single_test): Add
1924 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1925 case where they are not used.
1926 * math/libm-test.inc: Likewise.
1927 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1928 unused in the absence of FP rounding/exception support.
1929 * stdio-common/tst-printf-round.c: Likewise.
1930 * stdlib/tst-strtod-round.c: Likewise.
1931 * stdlib/tst-strtod-underflow.c: Likewise.
1932
0747f818
JM
19332014-12-30 Joseph Myers <joseph@codesourcery.com>
1934
1935 [BZ #17723]
1936 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1937 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1938 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1939 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1940 libm_hidden_weak.
1941 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1942 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1943 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1944 libm_hidden_def.
1945 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1946 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1947 libm_hidden_weak.
1948 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1949 Likewise.
1950 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1951 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1952 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1953 libm_hidden_weak.
1954 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1955 libm_hidden_def.
1956 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1957 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1958 (__feraiseexcept): Likewise.
1959 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1960 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1961 libm_hidden_weak.
1962 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1963 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1964 libm_hidden_def.
1965 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1966 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1967 Use libm_hidden_def.
1968 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1969 libm_hidden_def.
1970 (feraiseexcept): Define as weak not strong alias. Use
1971 libm_hidden_weak.
1972 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1973 New inline function. Factored out of ...
1974 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1975 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1976 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1977 feraiseexcept.
1978 * math/w_acos.c (__acos): Likewise.
1979 * math/w_asin.c (__asin): Likewise.
1980 * math/w_ilogb.c (__ilogb): Likewise.
1981 * math/w_j0.c (y0): Likewise.
1982 * math/w_j1.c (y1): Likewise.
1983 * math/w_jn.c (yn): Likewise.
1984 * math/w_log.c (__log): Likewise.
1985 * math/w_log10.c (__log10): Likewise.
1986 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1987 * sysdeps/aarch64/fpu/math_private.h
1988 (libc_feupdateenv_test_aarch64): Likewise.
1989 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1990 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1991 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1992 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1993 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1994 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1995 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1996 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1997 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1998 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1999
8d2b2763
L
20002014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2001
2002 [BZ #17732]
2003 * io/test-utime.c (main): Replace %ld with %jd and cast to
2004 intmax_t.
41fad830 2005 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2006 * nptl/tst-mutex5.c: Include <stdint.h>.
2007 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2008 * posix/tst-regex.c (run_test): Likewise.
2009 (run_test_backwards): Likewise.
5d619de4
L
2010 * rt/tst-clock.c: Include <stdint.h>.
2011 (clock_test): Replace %ld with %jd and cast to intmax_t.
2012 * rt/tst-cpuclock1.c: Include <stdint.h>.
2013 (do_test): Replace %lu with %ju and cast to uintmax_t.
2014 * rt/tst-cpuclock2.c: Include <stdint.h>.
2015 (do_test): Replace %lu with %ju and cast to uintmax_t.
2016 * rt/tst-mqueue1.c: Include <stdint.h>.
2017 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2018 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2019 intmax_t.
2020 * rt/tst-mqueue4.c (do_test): Likewise.
2021 * rt/tst-timer4.c: Include <stdint.h>.
2022 (check_ts): Replace %ld with %jd and cast to intmax_t.
2023 (do_test): Likewise.
ad86fbc3
L
2024 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2025 and cast to intmax_t.
37f46900 2026 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2027 * time/clocktest.c (main): Likewise.
2028 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2029 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2030
8b4416d8
AS
20312014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2032 H.J. Lu <hongjiu.lu@intel.com>
2033
2034 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2035 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2036 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2037 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2038 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2039 version if bit_Fast_Unaligned_Load is set.
2040 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2043 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2044 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2045 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2047 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2048 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2049 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2050 to 4.
2051 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2052 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2053 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2054 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2055
e47b8d3b
CM
20562014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2057
6d6d7fde
CM
2058 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2059 instead of #if to avoid a Wundef warning.
2060 * stdlib/tst-limits.c (do_test): Likewise.
2061
cd2c37c9
CM
2062 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2063 parallel other exception macros.
2064 (fegetenv): Convert from macro to extern inline so that it applies
2065 retroactively to inline functions already seen by the compiler.
2066 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2067
e47b8d3b
CM
2068 * posix/Makefile (before-compile): Use $(objpfx) for
2069 posix-conf-vars-def.h.
2070
4a6aca7b
SP
20712014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2072
7910c2ae
SP
2073 * posix/getconf.c (main): Use size_t for type of I.
2074 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2075 NSPEC.
2076
50cbbaa9
SP
2077 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2078 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2079 * posix/posix-envs.def: Likewise.
2080 * sysdeps/posix/sysconf.c: Likewise.
2081 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2082 (specs): Remove array.
2083 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2084 array.
2085
3b566046
SP
2086 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2087 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2088 (__sysconf): Use CONF_IS_* macros.
2089
4a6aca7b
SP
2090 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2091 ($(objpfx)posix-conf-vars-def.h): New target.
2092 * posix/posix-conf-vars.list: New file.
2093 * posix/posix-conf-vars.h: New file.
2094 * posix/confstr.c: Include posix-conf-vars.h.
2095 (confstr): Use CONF_IS_* macros.
2096 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2097 CONF_IS_* macros.
2098 * scripts/gen-posix-conf-vars.awk: New file.
2099
7c1395a7
CM
21002014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2101
0025b4cc
CM
2102 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2103 fegetround): Add no-op macros to avoid linknamespace issues.
2104
d8aaf74b
CM
2105 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2106 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2107
5d24aa60
CM
2108 * sysdeps/unix/sysv/linux/tile/sysdep.h
2109 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2110 assembly-specific section to avoid a redefinition warning.
2111
7c1395a7
CM
2112 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2113 long before casting to pointer to avoid a cast warning.
2114
3c87c616
CM
21152014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2116
2117 * sysdeps/tile/tilegx/Implies: New file.
2118
f559d8cf
RE
21192014-12-23 Richard Earnshaw <rearnsha@arm.com>
2120
2121 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2122
7d81e8d6
FW
21232014-12-23 Florian Weimer <fweimer@redhat.com>
2124
2125 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2126
90aa3d09
JM
21272014-12-22 Joseph Myers <joseph@codesourcery.com>
2128
2129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2130 not define.
2131 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2132 <kernel-features.h>.
2133 (__utimes) [__NR_utimes]: Make code unconditional.
2134 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2135 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2136 (__ASSUME_UTIMES): Do not undefine.
2137 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2138 (__ASSUME_UTIMES): Likewise.
2139 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2140 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2141 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2142 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2143
4c0c0e2a
SE
21442014-12-22 Steve Ellcey <sellcey@imgtec.com>
2145
2146 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2147
0dacd7a3
CM
21482014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2149
b638f96a
CM
2150 [BZ #17747]
2151 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2152 alias to weak alias for j0l, y0l.
2153 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2154 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2155
0dacd7a3
CM
2156 [BZ #17746]
2157 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2158 conversion.
2159
528479c4
SE
21602014-12-22 Steve Ellcey <sellcey@imgtec.com>
2161
2162 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2163 to zero if not already defined.
2164
f56f9124
JM
21652014-12-22 Joseph Myers <joseph@codesourcery.com>
2166
2167 [BZ #17724]
2168 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2169 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2170 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2171 (char *) casts added.
2172 * sysdeps/ieee754/k_standardf.c: New file.
2173 * sysdeps/ieee754/k_standardl.c: Likewise.
2174 * math/Makefile (libm-support): Remove k_standard.
2175 (libm-calls): Add k_standard.
2176
8622d556
WD
21772014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2178
2179 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2180 Optimize to avoid an unnecessary FPCR read.
2181
f3806bdb
WD
21822014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2183
2184 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2185 Optimize to reduce FPCR/FPSR accesses.
2186
9b47df58
WD
21872014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2188
2189 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2190 Call libc_fetestexcept_aarch64.
2191
97be3cac
WD
21922014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2193
2194 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2195 Call libc_fesetround_aarch64.
2196
935ab817
JM
21972014-12-22 Joseph Myers <joseph@codesourcery.com>
2198
2199 [BZ #17733]
2200 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2201 (__bind): Do not define as weak alias.
2202 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2203 define.
2204 (__getsockname): Do not define as weak alias.
2205
cc8623f1
WN
22062014-12-22 Will Newton <will.newton@linaro.org>
2207
2208 * manual/install.texi: Document that we require bison 2.7
2209 or above.
2210 * INSTALL: Regenerate.
2211 * configure.ac: Use AC_CHECK_PROG_VER instead of
2212 AC_PATH_PROG when checking for bison and check for
2213 version 2.7 or above.
2214 * configure: Regenerate.
2215
a19ca65a
CM
22162014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2217
92901170 2218 [BZ #17745]
e969965a
CM
2219 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2220 * sysdeps/tile/ffsll.c (ffsll): To here.
2221
a19ca65a
CM
2222 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2223
050f7298
L
22242014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2225
2226 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2227 if not defined.
2228 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2229 definition.
2230 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2231 hidden ___tls_get_addr.
2232 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2233 hidden __tls_get_addr.
2234 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2235 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2236 Likewise.
2237
6df5547e
AS
22382014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2239
2240 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2241 _dl_init call.
2242
7432d613
L
22432014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2244
2245 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2246 from "call _dl_init@PLT".
2247 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2248
98fe149e
AK
22492014-12-21 Anders Kaseorg <andersk@mit.edu>
2250
2251 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2252 guarantees.
2253
d12455f5
CM
22542014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2255
2256 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2257
95dee05f
CM
22582014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2259
92901170 2260 [BZ #17744]
95dee05f
CM
2261 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2262 strnlen.
2263
2ef4b74a
SE
22642014-12-19 Steve Ellcey <sellcey@imgtec.com>
2265
2266 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2267 of multu on MIPSr6.
2268 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2269 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2270 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2271 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2272 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2273
22742014-12-19 Steve Ellcey <sellcey@imgtec.com>
2275
2276 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2277 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2278 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2279 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2280 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2281 mips32r6/mips64r6.
2282 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2283
3eb38795
OB
22842014-12-19 Ondřej Bílka <neleai@seznam.cz>
2285
2286 * string/strncat.c (STRNCAT): Simplify implementation.
2287
6d4188dd
DM
22882014-12-19 David S. Miller <davem@davemloft.net>
2289
0d4ba8be
DM
2290 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2291 access the quad as both a long double and as a series of 4 words.
2292
6d4188dd
DM
2293 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2294 link_map->l_info array access.
2295
4ef91cdc
CM
22962014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2297
804c54f7
CM
2298 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2299
4ef91cdc
CM
2300 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2301 * math/atest-exp2.c (TIMEOUT): Likewise.
2302 * math/atest-sincos.c (TIMEOUT): Likewise.
2303
afd176d6
L
23042014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2305
2306 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2307 -Wno-error with -fno-builtin-lround.
2308
a4a43a90
TR
23092014-12-19 Torvald Riegel <triegel@redhat.com>
2310
2311 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2312 Contains futex constants and functions moved over from ...
2313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2314 <lowlevellock-futex.h>.
2315 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2316 (lll_timedwait_tid): Add comments and parentheses around macro
2317 arguments.
2318
76f71081
TR
23192014-12-19 Torvald Riegel <triegel@redhat.com>
2320
2321 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2322 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2323 (__lll_private_flag): Remove.
2324 (lll_futex_wait): Likewise.
2325 (lll_futex_timed_wait): Likewise.
2326 (lll_futex_wake): Likewise.
2327 (lll_futex_requeue): Likewise.
2328 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2329 (__lll_timedwait_tid): Spell out argument names.
2330 (lll_timedwait_tid): Add comments and parentheses around macro
2331 arguments.
2332 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2333 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2334
6b814909
TR
23352014-12-19 Torvald Riegel <triegel@redhat.com>
2336
2337 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2338 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2339 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2340 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2341 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2342 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2343 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2344 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2345 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2347 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2348 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2349 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2350 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2351 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2352 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2353 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2354 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2355 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2356
9cd4d4ab
L
23572014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2358
2359 * sysdeps/x86_64/x32/Makefile: New file.
2360
c9c1a2d0
L
23612014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2364 1L with (mp_limb_t) 1.
2365
af102d95
RM
23662014-12-17 Roland McGrath <roland@hack.frob.com>
2367
dd690454
RM
2368 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2369 * nptl/libc_pthread_init.c: ... here.
2370 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2371 * nptl/register-atfork.c: ... here.
2372
74eb826c
RM
2373 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2374 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2375 Use assert_perror to check its return value.
2376 (__gai_create_helper_thread): Likewise.
2377
c9ce306b
RM
2378 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2379
af102d95
RM
2380 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2381
8ac5a76a
JM
23822014-12-17 Joseph Myers <joseph@codesourcery.com>
2383
ea41469b
JM
2384 [BZ #17725]
2385 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2386 __profil_counter.
2387 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2388 Likewise.
2389 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2390 Likewise.
2391 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2392 Likewise.
2393 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2394 (profil_counter): Likewise.
2395 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2396 (profil_counter): Likewise.
2397 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2398 Likewise.
2399 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2400 Likewise.
2401 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2402 (profil_counter): Likewise.
2403 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2404 Likewise.
2405 [!__profil_counter] (profil_counter): Define as weak alias of
2406 __profil_counter.
2407 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2408 (profil_counter): Rename to __profil_counter.
2409 [!__profil_counter] (profil_counter): Define as weak alias of
2410 __profil_counter.
2411 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2412 (profil_counter): Rename to __profil_counter.
2413 [!__profil_counter] (profil_counter): Define as weak alias of
2414 __profil_counter.
2415 * sysdeps/posix/profil.c: Update comment referring to
2416 profil_counter.
2417 (__profil): Use __profil_counter instead of profil_counter.
2418 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2419 __profil_counter. Use __profil_counter_ushort and
2420 __profil_counter_uint in definitions.
2421 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2422 instead of profil_counter_uint and profil_counter_ushort.
2423
8ac5a76a
JM
2424 [BZ #17722]
2425 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2426 define as weak alias of __inet_makeaddr.
2427 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2428 as weak alias of __inet_addr.
2429 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2430 as weak alias of __inet_pton. Use libc_hidden_weak.
2431 * include/arpa/inet.h (__inet_pton): Declare. Use
2432 libc_hidden_proto.
2433 (inet_makeaddr): Don't use libc_hidden_proto.
2434 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2435 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2436 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2437 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2438 Remove variable.
2439 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2440 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2441
66ce3cb1
SE
24422014-12-17 Steve Ellcey <sellcey@imgtec.com>
2443
2444 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2445
d22ce01b
SL
24462014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2447
2448 * stdio-common/bug-vfprintf-nargs.c (do_test):
2449 Cast value to intptr_t to avoid format warning
2450 for usage with PRIdPTR printing macro.
2451
eca2772b
SL
24522014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2453
2454 * libio/tst-widetext.c (do_test):
2455 Use format type %td instead of %Zd for ptrdiff_t
2456 in order to avoid format warning.
2457
bdf079da
AS
24582014-12-17 Andreas Schwab <schwab@suse.de>
2459
2460 * nscd/mem.c (gc): Add size_t cast to match printf format.
2461
3eb5d2fc
RM
24622014-12-16 Roland McGrath <roland@hack.frob.com>
2463
2464 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2465 (init): Apply PTR_MANGLE to pointers before storing them.
2466 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2467 before using them.
2468
d003ada2
JM
24692014-12-16 Joseph Myers <joseph@codesourcery.com>
2470
380292ba
JM
2471 [BZ #17719]
2472 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2473 define as weak alias of __memrchr.
2474 (__memrchr): Do not define as strong alias of memrchr.
2475 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2476 Remove variable.
2477 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2478 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2479 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2480
9a44d530
JM
2481 [BZ #17717]
2482 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2483 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2484 (if_indextoname): Rename to __if_indextoname and define as weak
2485 alias of __if_indextoname. Use libc_hidden_weak.
2486 (if_freenameindex): Rename to __if_freenameindex and define as
2487 weak alias of __if_freenameindex.
2488 (if_nameindex): Rename to __if_nameindex and define as weak alias
2489 of __if_nameindex.
2490 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2491 __if_nametoindex and define as weak alias of __if_nametoindex.
2492 Use libc_hidden_weak.
2493 (if_freenameindex): Rename to __if_freenameindex and define as
2494 weak alias of __if_freenameindex.
2495 (if_nameindex): Rename to __if_nameindex and define as weak alias
2496 of __if_nameindex.
2497 (if_indextoname): Rename to __if_indextoname and define as weak
2498 alias of __if_indextoname. Use libc_hidden_weak.
2499 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2500 __if_nametoindex and define as weak alias of __if_nametoindex.
2501 Use libc_hidden_weak.
2502 (if_freenameindex): Rename to __if_freenameindex and define as
2503 weak alias of __if_freenameindex. Use libc_hidden_weak.
2504 (if_nameindex_netlink): Use __if_freenameindex instead of
2505 if_freenameindex.
2506 (if_nameindex): Rename to __if_nameindex and define as weak alias
2507 of __if_nameindex. Use libc_hidden_weak.
2508 (if_indextoname): Rename to __if_indextoname and define as weak
2509 alias of __if_indextoname. Use libc_hidden_weak.
2510 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2511 libc_hidden_proto.
2512 [!_ISOMAC] (__if_freenameindex): Likewise.
2513 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2514 if_nametoindex.
2515 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2516 variable.
2517 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2518 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2519 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2520 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2521 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2522 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2523 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2524
d003ada2
JM
2525 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2526 Remove variable.
2527 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2528 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2529
a0d424ef
SP
25302014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2531
0cd85520
SP
2532 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2533 subscript above bounds'
2534
a0d424ef
SP
2535 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2536 bounds.
2537
0e426475
AS
25382014-12-16 Arjun Shankar <arjun.is@lostca.se>
2539
8b460906
AS
2540 * libio/tst-fopenloc.c: Use test-skeleton.c.
2541
fa13e15b
AS
2542 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2543 (entry): Rename to ITEM.
2544 (do_test, comp): Adjust.
2545
0e426475
AS
2546 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2547
4f646bce
TR
25482014-12-16 Torvald Riegel <triegel@redhat.com>
2549
2550 * string/tester.c: Include <libc-internal.h>.
2551 (test_memset): Ignore -Wmemset-transposed-args.
2552
a07c4427
TR
25532014-12-16 Torvald Riegel <triegel@redhat.com>
2554
2555 * misc/tst-mntent2.c (do_test): Fix warning.
2556
1469f466
TR
25572014-12-16 Torvald Riegel <triegel@redhat.com>
2558
2559 * elf/tst-unique4lib.cc(a): Mark as used.
2560
11e3417a
FW
25612014-12-16 Florian Weimer <fweimer@redhat.com>
2562
2563 [BZ #17630]
2564 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2565 names.
2566
ae61fc7b
AM
25672014-12-16 Allan McRae <allan@archlinux.org>
2568
2569 * stdio-common/Makefile (tests): Re-add bug26.
2570
363a9899
OB
25712014-12-15 Ondřej Bílka <neleai@seznam.cz>
2572
2573 [BZ #17657]
2574 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2575 static array.
2576
d52c62df
TR
25772014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2578
2579 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2580 (__lll_lock_wait): Likewise.
2581 (__lll_timedlock_wait): Likewise.
2582 (__lll_timedwait_tid): Likewise.
2583 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2584 (__lll_robust_timedlock_wait): Likewise.
2585 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2586 (lll_cond_trylock): Likewise.
2587 (__lll_lock): Likewise.
2588 (__lll_robust_lock): Likewise.
2589 (__lll_cond_lock): Likewise.
2590 (lll_robust_cond_lock): Likewise.
2591 (__lll_timedlock): Likewise.
2592 (__lll_robust_timedlock): Likewise.
2593 (__lll_unlock): Likewise.
2594 (__lll_robust_unlock): Likewise.
2595 (lll_wait_tid): Likewise.
2596 (lll_timedwait_tid): Likewise.
2597
045a6bcd
TR
25982014-12-15 Torvald Riegel <triegel@redhat.com>
2599
2600 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2601
7f786dc1
TR
26022014-12-15 Torvald Riegel <triegel@redhat.com>
2603
2604 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2605
e7e21cba
AZ
26062014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2607
2608 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2609 * stdio-common/tst-sprintf.c: Likewise.
2610
bc89c0fc
TR
26112014-12-15 Torvald Riegel <triegel@redhat.com>
2612
2613 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2614
a5357b7c
JL
26152014-12-15 Jeff Law <law@redhat.com>
2616
2617 [BZ #16617]
2618 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2619 on the heap. (CVE-2012-3406)
2620 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2621 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2622 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2623
3a12c70f
WN
26242014-12-15 Will Newton <will.newton@linaro.org>
2625
2626 * manual/install.texi: Bump required version of texinfo
2627 to 4.7 from 4.5.
2628 * INSTALL: Regenerated.
2629 * configure.ac: Check for makeinfo version 4.7 and above.
2630 * configure: Regenerated.
2631
e4f639e4
RM
26322014-12-12 Roland McGrath <roland@hack.frob.com>
2633
2634 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2635 PREFIX, string constant to insert between directory and name.
2636 * sysdeps/posix/shm_open.c: Update caller.
2637 * sysdeps/posix/shm_unlink.c: Likewise.
2638 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2639 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2640 (SEM_SHM_PREFIX): New macro.
2641 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2642 [$(have-thread-library) = no].
2643 * nptl/Makefile (libpthread-routines): Add shm-directory.
2644 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2645 * sysdeps/nptl/shm-directory.h: New file.
2646 * sysdeps/posix/shm-directory.c
2647 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2648 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2649 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2650 INTERNAL_SYSCALL.
2651 (__where_is_shmfs): Function removed.
2652 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2653 Variables removed.
2654 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2655 Use SHM_GET_NAME.
2656 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2657
2658 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2659 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2660 unconditional for use inside libpthread.
2661 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2662
439c43f6
RM
26632014-12-12 Roland McGrath <roland@hack.frob.com>
2664
c76d1ff5
RM
2665 * nptl/pthread_getaffinity.c: New file.
2666 * nptl/pthread_setaffinity.c: New file.
2667 * nptl/pthread_getname.c: New file.
2668 * nptl/pthread_setname.c: New file.
2669
439c43f6
RM
2670 * nptl/pthread_create.c (START_THREAD_DEFN)
2671 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2672
48e435cd
SL
26732014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2674 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2675
2676 * resolv/res_send.c (send_vc): Disable warning resplen may
2677 be used uninitialized.
2678
9d9c0019
SL
26792014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2680
2681 * nptl/tst-mutex6.c
2682 (ATTR_NULL): New define checks ATTR against NULL.
2683 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2684 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2685
9173840b
JL
26862014-12-11 James Lemke <jwlemke@codesourcery.com>
2687
2688 [BZ #17581]
2689 * malloc/hooks.c
2690 (mem2mem_check): Revert my previous change.
2691 (malloc_check_get_size): Revert my previous change.
2692 (mem2chunk_check): Revert my previous change.
2693
78e21c5d
RM
26942014-12-11 Roland McGrath <roland@hack.frob.com>
2695
2696 * sysdeps/posix/shm-directory.c: New file.
2697 * sysdeps/posix/shm-directory.h: New file.
2698 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2699 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2700 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2701 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2702 Transmute EPERM to EACCES.
2703 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2704 from ...
2705 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2706 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2707
f82c43af
KK
27082014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2709
2710 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2711 pointer and cast to uintptr_t.
2712 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2713 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2714 Add cast to avoid warning.
2715 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2716
fc00cf7b
JM
27172014-12-11 Joseph Myers <joseph@codesourcery.com>
2718
2719 * nptl/semaphore.h: Move to ...
2720 * sysdeps/pthread/semaphore.h: ... here.
2721 * Makefile (installed-headers): Change nptl/semaphore.h to
2722 sysdeps/pthread/semaphore.h.
2723
1c4053db
RM
27242014-12-11 Roland McGrath <roland@hack.frob.com>
2725
73b0c1a1
RM
2726 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2727 generated error format strings.
2728
1c4053db
RM
2729 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2730 -Wformat-extra-args warnings for scanf formats.
2731 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2732 test of zero-length format (duh).
2733 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2734 corner-case scanf format test.
2735 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2736 generated fprintf format string.
2737 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2738 corner-case sprintf format tests.
2739 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2740 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2741 -Wformat-extra-args warnings throughout.
2742 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2743 (CFLAGS-scanf4.c): Likewise.
2744 (CFLAGS-scanf7.c): Likewise.
2745 (CFLAGS-tst-sprintf.c): Likewise.
2746 (CFLAGS-tst-printf.c): Likewise.
2747 (CFLAGS-tst-printfsz.c): Likewise.
2748
47d51f4f
JM
27492014-12-11 Joseph Myers <joseph@codesourcery.com>
2750
a1edbf3c
JM
2751 * include/cpio.h: New file.
2752 * include/fmtmsg.h: Likewise.
2753
47d51f4f
JM
2754 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2755 corresponding format argument to size_t.
2756 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2757 arguments.
2758 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2759 corresponding format argument to size_t.
2760 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2761 arguments.
2762 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2763 corresponding format argument to size_t.
2764 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2765 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2766 (CFLAGS-tst-mbswcs2.c): Likewise.
2767 (CFLAGS-tst-mbswcs3.c): Likewise.
2768 (CFLAGS-tst-mbswcs4.c): Likewise.
2769 (CFLAGS-tst-mbswcs5.c): Likewise.
2770 (CFLAGS-tst-trans.c): Likewise
2771
e9813cfb
RM
27722014-12-11 Roland McGrath <roland@hack.frob.com>
2773
2774 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2775 rather than assuming they won't contain any '%'s.
2776
f627ca82
CM
27772014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2778
2779 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2780 inhibit_loop_to_libcall to avoid recursive calls.
2781 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2782 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2783
7f296942
AZ
27842014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2785
2786 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2787 prototype.
2788
d0276e18
SE
27892014-12-11 Steve Ellcey <sellcey@imgtec.com>
2790
2791 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2792 integer value instead of boolean.
2793
fc56e970
SE
27942014-12-11 Steve Ellcey <sellcey@imgtec.com>
2795
2796 * malloc/malloc.c: Fix powerof2 check.
2797
40e53917
SL
27982014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2799
2800 * locale/programs/locfile.h (maybe_swap_uint32):
2801 Remove inline and add unused attribute.
2802
1ea166df
SL
28032014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2804
9d9c0019 2805 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2806 Truncating assembler expression to a .long expression.
2807
acf869f4
AS
28082014-12-11 Andreas Schwab <schwab@suse.de>
2809
2810 * elf/rtld.c (struct map_args): Constify str member.
2811 (do_preload): Constify fname argument.
2812
9d969099
AZ
28132014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2814
2815 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2816 constants definition.
2817
da5bcaa4
AS
28182014-12-11 Andreas Schwab <schwab@suse.de>
2819
b0a3c164
AS
2820 [BZ #16657]
2821 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2822 FORCE_ELISION instead of DO_ELISION.
2823 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2824 Remove.
2825 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2826 Likewise.
2827
da5bcaa4
AS
2828 * iconvdata/gconv-modules: Remove duplicate entry.
2829
6d248857
WN
28302014-12-11 Will Newton <will.newton@linaro.org>
2831
2832 Merge gettext 0.19.3 into intl/.
2833
2834 This involves a number of cosmetic changes to comments
2835 and ANSI function definitions and prototypes throughout
2836 all the files. The gettext copyright header is used but
2837 with the date ranges taken from the glibc copy.
2838
2839 * NEWS: Add gettext merge to 2.21.
2840 * intl/bindtextdom.c: Switch to gettext copyright.
2841 Use ANSI definitions and prototypes.
2842 Use gl_* locking primitives rather than __libc_* ones.
2843 Use __builtin_expect rather than __glibc_likely/unlikely.
2844 * intl/dcgettext.c: Switch to gettext copyright.
2845 Use ANSI definitions and prototypes.
2846 * intl/dcigettext.c: Switch to gettext copyright.
2847 Use ANSI definitions and prototypes.
2848 (INTDIV0_RAISES_SIGFPE): New define.
2849 Use gl_* locking primitives rather than __libc_* ones.
2850 Include eval-plural.h instead of plural-eval.c.
2851 Use __builtin_expect rather than __glibc_likely/unlikely.
2852 * intl/dcngettext.c: Switch to gettext copyright.
2853 Use ANSI definitions and prototypes.
2854 * intl/dgettext.c: Likewise.
2855 * intl/dngettext.c: Likewise.
2856 * intl/plural-eval.c: Renamed to...
2857 * intl/eval-plural.h: ...this.
2858 * intl/explodename.c: Switch to gettext copyright.
2859 Use ANSI definitions and prototypes.
2860 (_nl_explode_name): Use strchr instead of __rawmemchr.
2861 * intl/finddomain.c: Switch to gettext copyright.
2862 Use ANSI definitions and prototypes.
2863 Use gl_* locking primitives rather than __libc_* ones.
2864 (_nl_find_domain): Use malloc rather than alloca for
2865 allocation of temporary locale name.
2866 * intl/gettext.c: Switch to gettext copyright.
2867 Use ANSI definitions and prototypes.
2868 * intl/gettextP.h: Switch to gettext copyright.
2869 Use ANSI definitions and prototypes.
2870 Use gl_* locking primitives rather than __libc_* ones.
2871 * intl/gmo.h: Switch to gettext copyright.
2872 (struct sysdep_string): Move struct segment_pair outside of
2873 struct definition.
2874 * intl/hash-string.c: Use ANSI definitions and prototypes.
2875 * intl/hash-string.h: Switch to gettext copyright.
2876 Use ANSI definitions and prototypes.
2877 * intl/l10nflist.c: Switch to gettext copyright.
2878 Use ANSI definitions and prototypes.
2879 (_nl_normalize_codeset): Avoid integer overflow.
2880 * intl/loadinfo.h: Switch to gettext copyright.
2881 Use ANSI definitions and prototypes.
2882 (LIBINTL_DLL_EXPORTED): New define.
2883 (PATH_SEPARATOR): New define.
2884 * intl/loadmsgcat.c: Switch to gettext copyright.
2885 * intl/localealias.c: Switch to gettext copyright.
2886 Use ANSI definitions and prototypes.
2887 (_nl_expand_alias): Use PATH_SEPARATOR.
2888 * intl/ngettext.c: Switch to gettext copyright.
2889 Use ANSI definitions and prototypes.
2890 * intl/plural-exp.c: Likewise.
2891 * intl/plural-exp.h: Switch to gettext copyright.
2892 Use ANSI definitions and prototypes.
2893 (struct expression): Move definition of enum operator outside
2894 of struct definition.
2895 * intl/plural.c: Regenerate.
2896 * intl/plural.y: Switch to gettext copyright.
2897 Use ANSI definitions and prototypes.
2898 Port to bison 3.0.
2899 * intl/textdomain.c: Switch to gettext copyright.
2900 Use ANSI definitions and prototypes.
2901 Use gl_* locking primitives rather than __libc_* ones.
2902
48c43298
SE
29032014-12-10 Steve Ellcey <sellcey@imgtec.com>
2904
2905 * debug/warning-nop.c: Add used atrribute.
2906
2b89bce9
JM
29072014-12-10 Joseph Myers <joseph@codesourcery.com>
2908
c153ac9f
JM
2909 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2910
2b89bce9
JM
2911 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2912 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2913 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2914
2cfbdb9a
JM
29152014-12-10 Joseph Myers <joseph@codesourcery.com>
2916 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917
2918 [BZ #17634]
2919 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2920 Undefine after defining function. Define as weak alias of
2921 __wcschr. Use libc_hidden_weak.
2922 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2923 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2924 (libc_hidden_def): Also define __GI___wcschr alias.
2925 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2926 __wcschr and define as weak alias of __wcschr.
2927 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2928 __wcschr.
2929 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2930 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2931 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2932 libc_hidden_weak. Do not use libc_hidden_def.
2933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2934 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2935 __GI___wcschr alias.
2936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2937 [IS_IN (libc)] (wcschr): Define as macro expanding to
2938 __redirect_wcschr.
2939 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2940 [IS_IN (libc)] (__wcschr_power6): Likewise.
2941 [IS_IN (libc)] (__wcschr_power7): Likewise.
2942 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2943 instead of wcschr.
2944 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2945 __libc_wcschr.
2946 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2947 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2948 __wcschr and define as weak alias of __wcschr. Use
2949 libc_hidden_builtin_def.
2950 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2951 as weak alias of __wcschr. Use libc_hidden_weak.
2952 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2953 wcschr.
2954 * time/era.c (_nl_init_era_entries): Likewise.
2955 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2956 variable.
2957 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2958 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2959
1b8bf351
JM
29602014-12-10 Joseph Myers <joseph@codesourcery.com>
2961
2962 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2963 format for long int variable.
2964
f5f46d51
AK
29652014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2966
2967 [BZ #10672]
07008f7d 2968 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2969 qsort stable.
2970
217a74a8
AS
29712014-12-10 Andreas Schwab <schwab@suse.de>
2972
2973 [BZ #12847]
2974 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2975 user-controlled locks.
2976
aa76a5c7
RE
29772014-12-10 Richard Earnshaw <rearnsha@arm.com>
2978
2979 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2980 register.
2981
2084e7ca
JM
29822014-12-10 Joseph Myers <joseph@codesourcery.com>
2983
a4ecc9eb
JM
2984 * configure.ac (--disable-werror): New configure option.
2985 (enable_werror): New AC_SUBST.
2986 * configure: Regenerated.
2987 * config.make.in (enable-werror): New variable.
2988 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2989 -Wno-error=undef.
2990 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2991 * manual/install.texi (Configuring and compiling): Document
2992 --disable-werror.
2993 * INSTALL: Regenerated.
2994 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2995 (CFLAGS-tst-chk2.c): Likewise.
2996 (CFLAGS-tst-chk3.c): Likewise.
2997 (CFLAGS-tst-chk4.cc): Likewise.
2998 (CFLAGS-tst-chk5.cc): Likewise.
2999 (CFLAGS-tst-chk6.cc): Likewise.
3000 (CFLAGS-tst-lfschk1.c): Likewise.
3001 (CFLAGS-tst-lfschk2.c): Likewise.
3002 (CFLAGS-tst-lfschk3.c): Likewise.
3003 (CFLAGS-tst-lfschk4.cc): Likewise.
3004 (CFLAGS-tst-lfschk5.cc): Likewise.
3005 (CFLAGS-tst-lfschk6.cc): Likewise.
3006
0f88636c
JM
3007 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3008 (main): Disable -Wdeprecated-declarations around calls to
3009 register_printf_function.
3010
c81e9deb
JM
3011 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3012 (do_test): Disable -Wdiv-by-zero around some calls to
3013 fwrite_unlocked and fread_unlocked.
3014
2084e7ca
JM
3015 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3016 (DIAG_POP_NEEDS_COMMENT): Likewise.
3017 (_DIAG_STR1): Likewise.
3018 (_DIAG_STR): Likewise.
3019 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3020 * stdio-common/bug21.c: Include <libc-internal.h>.
3021 (do_test): Disable -Wformat around call to sscanf.
3022 * stdio-common/scanf14.c: Include <libc-internal.h>.
3023 (main): Disable -Wformat around some calls to scanf functions.
3024
df7ecc6b
TR
30252014-12-09 Torvald Riegel <triegel@redhat.com>
3026
3027 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3028
2aa3862e
AZ
30292014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3030
3031 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3032 stack variable alignment.
3033
c5c2b7c3
JM
30342014-12-06 Joseph Myers <joseph@codesourcery.com>
3035
3036 [BZ #17682]
3037 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3038 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3039 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3040 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3041 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3042 __getrlimit instead of getrlimit.
3043 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3044 __gettimeofday instead of gettimeofday.
3045 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3046 Likewise.
3047 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3048 Likewise.
3049 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3050 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3051 Remove variable.
3052 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3053 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3054
9752c3cd
AZ
30552014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056
3057 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3058 for wide-character tests.
3059
4bee4cd9
RM
30602014-12-04 Roland McGrath <roland@hack.frob.com>
3061
3062 * io/openat64.c: #include <libc-internal.h>
3063 (__openat64): Prototypify. Use ignore_value on MODE.
3064 * io/openat.c: Likewise.
3065 * misc/reboot.c: #include <libc-internal.h>
3066 (reboot): Prototypify. Use ignore_value on HOWTO.
3067 * misc/ptrace.c: #include <libc-internal.h>
3068 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3069
84dbedb6
JM
30702014-12-04 Joseph Myers <joseph@codesourcery.com>
3071
3072 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3073 XPG4, UNIX98 and XOPEN2K.
3074 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3075 Remove variable.
3076 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3077
b7a3e1c4 30782014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3079
af50dfc1 3080 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3081 * libio/iofopen.c: Likewise.
3082 * libio/wfileops.c: Likewise.
3083
fe8b4d98
SP
3084 [BZ #17653]
3085 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3086 offset on EOF.
3087 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3088 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3089 (fgets_func): Function pointer to fgets and fgetws.
3090 (do_ftell_test): Add test to verify ftell value after read
3091 EOF.
3092 (do_test): Set fgets_func.
3093
61b4f792
SP
3094 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3095 O_TRUNC flag for w and w+ modes.
3096 (do_rewind_test): Likewise.
3097 (do_ftell_test): Likewise.
3098 (do_write_test): Likewise.
3099
be349d70
SP
3100 [BZ #17647]
3101 * libio/fileops.c (do_ftell): Seek only when there are
3102 unflushed writes.
3103 * libio/wfileops.c (do_ftell_wide): Likewise.
3104 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3105 test case.
3106 (do_one_test): Call it.
3107
e3d6dba5
JM
31082014-12-03 Joseph Myers <joseph@codesourcery.com>
3109
3110 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3111 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3112 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3113 Remove variable.
3114 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3115 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3116 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3117
7f994279
JM
31182014-12-02 Joseph Myers <joseph@codesourcery.com>
3119
28a91e8f
JM
3120 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3121 Remove variable.
3122 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3123
7f994279
JM
3124 [BZ #17668]
3125 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3126 as weak alias of __getifaddrs. Use libc_hidden_weak.
3127 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3128 __freeifaddrs. Use libc_hidden_weak.
3129 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3130 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3131 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3132 __freeifaddrs. Use libc_hidden_weak.
3133 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3134 __getifaddrs and define as weak alias of __getifaddrs. Use
3135 libc_hidden_weak.
3136 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3137 __freeifaddrs. Use libc_hidden_weak.
3138 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3139 Remove variable.
3140 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3141 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3142
bbe4c142
PJ
31432014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3144
3145 [BZ #17601]
3146 * sysdeps/mips/start.S (__start): Use indirect jump to call
3147 __libc_start_main.
3148
66cadc05
JM
31492014-12-02 Joseph Myers <joseph@codesourcery.com>
3150
909e16d9
JM
3151 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3152
4e0b9016
JM
3153 * nptl/tst-mutex1.c: Include <stdbool.h>.
3154 [!ATTR] (ATTR_NULL): New macro.
3155 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3156 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3157 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3158
b1aff6a4
JM
3159 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3160 to char *.
3161
266865c0
JM
3162 [BZ #17665]
3163 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3164 Change conditional to [__USE_MISC].
3165
84e5e756
JM
3166 [BZ #17664]
3167 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3168 fgets_unlocked.
3169 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3170 __fgets_unlocked.
3171 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3172 fgets_unlocked.
3173 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3174 Remove variable.
3175 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3176 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3177 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3178 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3179 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3180 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3181 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3182 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3183 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3184
66cadc05
JM
3185 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3186
2e8a2de2 31872014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3188
3189 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3190 Remove strpbrk objects.
3191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3192 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3193 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3194 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3195 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3196 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3197
bb2542e0
AZ
3198 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3199 Remove strcspn objects.
3200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3201 (__libc_ifunc_impl_list): Remove strcspn implementation.
3202 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3203 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3204 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3205 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3206
3207 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3208 Remove strspn objetcs.
3209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3210 (__libc_ifunc_impl_list): Remove strspn implementation.
3211 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3212 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3213 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3214 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3215
08f1e1d2
JL
32162014-12-01 James Lemke <jwlemke@codesourcery.com>
3217
3218 [BZ #17581]
3219 * malloc/hooks.c
3220 (mem2mem_check): Add a terminator to the chain of checking blocks.
3221 (malloc_check_get_size): Use it here.
3222 (mem2chunk_check): Ditto.
3223
a8a7d7d2
RS
32242014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3225
3226 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3227 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3228
97114a38
CD
32292014-11-29 Carlos O'Donell <carlos@redhat.com>
3230
c8dc1727
CD
3231 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3232
6d03458e
CD
3233 * nptl/nptl-init.c: Include libc-internal.h.
3234 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3235
97114a38
CD
3236 * elf/ldconfig.c (search_dir): Expand comment.
3237
0e7e69ba
JM
32382014-11-29 Joseph Myers <joseph@codesourcery.com>
3239
3240 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3241 variable.
3242 (linknamespace-symlist-stdlibs-tests): Likewise.
3243 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3244 instead of $(objpfx)symlist-stdlibs.
3245 (linknamespace-libs-isoc): New variable.
3246 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3247 (linknamespace-libs-ISO): New variable.
3248 (linknamespace-libs-ISO99): Likewise.
3249 (linknamespace-libs-ISO11): Likewise.
3250 (linknamespace-libs-XPG3): Likewise.
3251 (linknamespace-libs-XPG4): Likewise.
3252 (linknamespace-libs-POSIX): Likewise.
3253 (linknamespace-libs-UNIX98): Likewise.
3254 (linknamespace-libs-XOPEN2K): Likewise.
3255 (linknamespace-libs-POSIX2008): Likewise.
3256 (linknamespace-libs-XOPEN2K8): Likewise.
3257 ($(objpfx)symlist-stdlibs): Replace by
3258 $(linknamespace-symlist-stdlibs-tests). Use
3259 $(linknamespace-libs-$*) as set of libraries.
3260 ($(linknamespace-header-tests)): Update dependencies. Use
3261 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3262 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3263 * conform/linknamespace.pl: Remove comment about considering
3264 definitions of symbols from irrelevant libraries.
3265
d8dd0080
L
32662014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 [BZ #13862]
3269 * elf/dl-tls.c: Include <atomic.h>.
3270 (oom): Remove #ifdef SHARED/#endif.
3271 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3272 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3273 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3274 big enough.
3275 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3276 * nptl/Makefile (tests): Add tst-stack4.
3277 (modules-names): Add tst-stack4mod.
3278 ($(objpfx)tst-stack4): New.
3279 (tst-stack4mod.sos): Likewise.
3280 ($(objpfx)tst-stack4.out): Likewise.
3281 ($(tst-stack4mod.sos)): Likewise.
3282 (clean): Likewise.
3283 * nptl/tst-stack4.c: New file.
3284 * nptl/tst-stack4mod.c: Likewise.
3285
167da422
B
32862014-11-27 J. Brown <jb999@gmx.de>
3287
3288 * sysdeps/x86/bits/string.h: Add recent CPUs.
3289
9114625b
JM
32902014-11-27 Joseph Myers <joseph@codesourcery.com>
3291
6b5189eb
JM
3292 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3293 sigblock.
3294
49051f8e
JM
3295 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3296 feof.
3297
9114625b
JM
3298 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3299 variable.
3300
e7300fef
SL
33012014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3302
3303 * nscd/connections.c: Include libc-internal.h because of macro
3304 usage ignore_value.
3305
1721f0a4
SP
33062014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3307
3308 * string/bits/string3.h (__warn_memset_zero_len): Don't
3309 declare for gcc newer than 5.0.
3310 (memset): Don't test for zero-length __LEN for gcc newer than
3311 5.0.
3312
be970916
JM
33132014-11-27 Joseph Myers <joseph@codesourcery.com>
3314
d88548f4
JM
3315 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3316 size_t for %zu format.
3317
be970916
JM
3318 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3319 difference, not %ju.
3320
3b20fd5c
JM
33212014-11-26 Joseph Myers <joseph@codesourcery.com>
3322
8915eace
JM
3323 * include/libc-internal.h (ignore_value): New macro.
3324 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3325 with ignore_value.
3326
f1a5a0e3
JM
3327 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3328 definition.
3329
59ef1715
JM
3330 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3331 pthread_cleanup_push to void *.
3332
a6f3079b
JM
3333 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3334 Undefine.
3335
706688aa
JM
3336 [BZ #16619]
3337 [BZ #16740]
3338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3339 instead of 1L << 52.
3340
12da14a5
JM
3341 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3342 * libio/bug-rewind2.c (do_test): Likewise.
3343
bd5dadac
JM
3344 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3345 * debug/test-strcpy_chk-ifunc.c: Likewise.
3346 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3347 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3348 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3349 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3350 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3351 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3352 * Rules [$(multi-arch) = no] (tests): Do not filter out
3353 $(tests-ifunc).
3354 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3355 * debug/Makefile (tests-ifunc): Remove variable.
3356 (tests): Do not add $(tests-ifunc).
3357 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3358 (tests): Do not add $(tests-ifunc).
3359 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3360 [TEST_IFUNC]: Remove conditionals.
3361 * string/test-string.h (TEST_IFUNC): Remove macro.
3362 [TEST_IFUNC]: Remove conditionals.
3363
3b20fd5c
JM
3364 * string/test-strchr.c [!WIDE] (L): New macro.
3365 [WIDE] (L): Likewise.
3366 (check1): Use CHAR instead of char. Use L on string and character
3367 constants.
3368
704f7947
AZ
33692014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3370
3371 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3372 tests.
3373 * sysdeps/powerpc/bits/atomic.h
3374 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3375 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3376 (atomic_exchange_and_add_acq): Likewise.
3377 (atomic_exchange_and_add_rel): Likewise.
3378 * sysdeps/powerpc/powerpc32/bits/atomic.h
3379 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3380 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3381 * sysdeps/powerpc/powerpc64/bits/atomic.h
3382 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3383 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3384
cdcb42d7
TR
33852014-11-26 Torvald Riegel <triegel@redhat.com>
3386
3387 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3388 Change synchronization of __sched_fifo_min_prio and
3389 __sched_fifo_max_prio.
3390 * nptl/pthread_mutexattr_getprioceiling.c
3391 (pthread_mutexattr_getprioceiling): Likewise.
3392 * nptl/pthread_mutexattr_setprioceiling.c
3393 (pthread_mutexattr_setprioceiling): Likewise.
3394 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3395 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3396 Likewise.
3397
c82f5c0c
JM
33982014-11-26 Joseph Myers <joseph@codesourcery.com>
3399
3400 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3401 void.
3402
439e1ad6
JM
34032014-11-25 Joseph Myers <joseph@codesourcery.com>
3404
3405 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3406 third argument const.
3407
b1eda10e
PE
34082014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3409
3410 fnmatch: work around GCC compiler warning bug with uninit var
3411 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3412 This works around a bug with x86-64 GCC 4.9.2 and earlier
3413 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3414 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3415 used uninitialized in this function [-Wmaybe-uninitialized]".
3416
bde2667a
JM
34172014-11-25 Joseph Myers <joseph@codesourcery.com>
3418
3419 * posix/bug-regex31.c (main): Return RES not 0.
3420
5fbb5691
AB
34212014-11-25 Anton Blanchard <anton@samba.org>
3422
3423 * sysdeps/powerpc/bits/atomic.h
3424 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3425
467fec0b
BM
34262014-11-24 Sterling Augustine <saugustine@google.com>
3427
3428 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3429
e9ff8efb
RC
34302014-11-24 Ryan Cumming <etaoins@gmail.com>
3431
3432 [BZ #17608]
3433 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3434
9744496f
JM
34352014-11-24 Joseph Myers <joseph@codesourcery.com>
3436
3437 [BZ #17633]
3438 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3439 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3440 variable.
3441 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3442 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3443
6423d475
WD
34442014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3445
3446 * string/strncpy.c (strncpy): Improve performance by using memset.
3447
34482014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3449
3450 * string/strcpy.c (strcpy):
3451 Improve performance by using strlen and memcpy.
3452
5d178c37
LH
34532014-11-24 Leonhard Holz <leonhard.holz@web.de>
3454
3455 * string/strcoll_l.c (get_next_seq): __always_inline.
3456 * string/strcoll_l.c (do_compare): __always_inline.
3457
279bc5b3
SP
34582014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3459
7a9ebfa1
SP
3460 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3461 defined.
3462 * include/mqueue.h: Likewise.
3463 * include/stdlib.h: Likewise.
3464
4f41c682
SP
3465 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3466 (get_null_defines): Adjust.
3467 * sunrpc/Makefile: Adjust comment.
3468 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3469 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3470 (CFLAGS-interp.c): Likewise.
3471 (CFLAGS-ldconfig.c): Likewise.
3472 (CPPFLAGS-.os): Likewise.
3473 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3474 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3475 * extra-modules.mk (extra-modules.mk): Likewise.
3476 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3477 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3478 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3479 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3480 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3481 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3482 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3483 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3484 * iconvdata/Makefile (CPPFLAGS): Likewise.
3485 (cpp-srcs-left): Add libof for all iconvdata routines.
3486 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3487 * include/assert.h: Likewise.
3488 * include/ctype.h: Likewise.
3489 * include/errno.h: Likewise.
3490 * include/libc-symbols.h: Likewise.
3491 * include/math.h: Likewise.
3492 * include/netdb.h: Likewise.
3493 * include/resolv.h: Likewise.
3494 * include/stdio.h: Likewise.
3495 * include/stdlib.h: Likewise.
3496 * include/string.h: Likewise.
3497 * include/sys/stat.h: Likewise.
3498 * include/wctype.h: Likewise.
3499 * intl/l10nflist.c: Likewise.
3500 * libidn/idn-stub.c: Likewise.
3501 * libio/libioP.h: Likewise.
3502 * nptl/libc_multiple_threads.c: Likewise.
3503 * nptl/pthreadP.h: Likewise.
3504 * posix/regex_internal.h: Likewise.
3505 * resolv/res_hconf.c: Likewise.
3506 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3507 * sysdeps/arm/memmove.S: Likewise.
3508 * sysdeps/arm/sysdep.h: Likewise.
3509 * sysdeps/generic/_itoa.h: Likewise.
3510 * sysdeps/generic/symbol-hacks.h: Likewise.
3511 * sysdeps/gnu/errlist.awk: Likewise.
3512 * sysdeps/gnu/errlist.c: Likewise.
3513 * sysdeps/i386/i586/memcpy.S: Likewise.
3514 * sysdeps/i386/i586/memset.S: Likewise.
3515 * sysdeps/i386/i686/memcpy.S: Likewise.
3516 * sysdeps/i386/i686/memmove.S: Likewise.
3517 * sysdeps/i386/i686/mempcpy.S: Likewise.
3518 * sysdeps/i386/i686/memset.S: Likewise.
3519 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3521 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3523 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3526 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3527 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3529 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3530 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3532 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3536 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3548 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3550 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3556 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3566 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3571 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3574 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3577 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3580 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3581 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3582 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3583 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3584 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3585 * sysdeps/posix/closedir.c: Likewise.
3586 * sysdeps/posix/opendir.c: Likewise.
3587 * sysdeps/posix/readdir.c: Likewise.
3588 * sysdeps/posix/rewinddir.c: Likewise.
3589 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3590 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3591 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3592 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3593 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3594 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3595 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3600 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3601 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3602 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3603 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3604 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3605 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3606 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3607 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3608 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3610 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3617 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3621 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3623 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3624 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3625 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3626 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3627 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3628 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3629 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3630 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3631 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3632 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3633 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3634 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3635 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3636 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3637 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3638 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3639 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3640 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3641 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3642 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3643 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3646 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3647 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3648 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3649 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3650 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3651 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3652 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3653 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3654 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3655 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3656 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3657 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3658 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3659 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3660 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3661 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3662 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3663 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3664 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3665 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3666 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3667 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3668 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3669 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3670 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3671 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3672 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3673 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3674 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3675 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3676 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3677 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3678 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3679 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3680 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3681 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3683 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3685 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3687 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3688 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3689 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3690 * sysdeps/unix/alpha/sysdep.S: Likewise.
3691 * sysdeps/unix/alpha/sysdep.h: Likewise.
3692 * sysdeps/unix/make-syscalls.sh: Likewise.
3693 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3695 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3696 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3697 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3698 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3699 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3700 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3701 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3702 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3703 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3704 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3706 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3707 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3708 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3709 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3710 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3711 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3712 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3713 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3714 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3715 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3716 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3717 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3718 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3719 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3722 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3723 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3725 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3731 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3732 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3733 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3734 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3735 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3736 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3740 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3743 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3744 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3745 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3746 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3747 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3748 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3749 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3751 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3752 * sysdeps/x86_64/memcpy.S: Likewise.
3753 * sysdeps/x86_64/memmove.c: Likewise.
3754 * sysdeps/x86_64/memset.S: Likewise.
3755 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3756 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3757 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3758 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3759 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3762 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3763 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3764 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3765 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3766 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3767 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3768 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3769 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3770 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3772 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3773 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3774 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3775 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3776 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3779 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3780 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3781 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3782 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3783 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3784 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3785 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3786 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3787 * sysdeps/x86_64/strcmp.S: Likewise.
3788
76ca86a5
SP
3789 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3790
a3848485
SP
3791 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3792 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3793 * elf/rtld-Rules: Likewise.
3794 * elf/setup-vdso.h: Likewise.
3795 * include/assert.h: Likewise.
3796 * include/bits/stdlib-float.h: Likewise.
3797 * include/errno.h: Likewise.
3798 * include/sys/stat.h: Likewise.
3799 * include/unistd.h: Likewise.
3800 * sysdeps/aarch64/setjmp.S: Likewise.
3801 * sysdeps/alpha/setjmp.S: Likewise.
3802 * sysdeps/arm/__longjmp.S: Likewise.
3803 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3804 * sysdeps/arm/setjmp.S: Likewise.
3805 * sysdeps/arm/sysdep.h: Likewise.
3806 * sysdeps/generic/_itoa.h: Likewise.
3807 * sysdeps/generic/dl-sysdep.h: Likewise.
3808 * sysdeps/generic/ldsodefs.h: Likewise.
3809 * sysdeps/i386/dl-tls.h: Likewise.
3810 * sysdeps/i386/setjmp.S: Likewise.
3811 * sysdeps/m68k/setjmp.c: Likewise.
3812 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3813 * sysdeps/mach/hurd/opendir.c: Likewise.
3814 * sysdeps/posix/getcwd.c: Likewise.
3815 * sysdeps/posix/opendir.c: Likewise.
3816 * sysdeps/posix/profil.c: Likewise.
3817 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3818 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3819 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3820 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3821 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3822 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3823 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3824 * sysdeps/s390/dl-tls.h: Likewise.
3825 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3826 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3827 * sysdeps/sh/sh3/setjmp.S: Likewise.
3828 * sysdeps/sh/sh4/setjmp.S: Likewise.
3829 * sysdeps/unix/alpha/sysdep.h: Likewise.
3830 * sysdeps/unix/arm/sysdep.S: Likewise.
3831 * sysdeps/unix/i386/sysdep.S: Likewise.
3832 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3833 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3834 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3835 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3837 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3838 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3839 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3840 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3841 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3842 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3843 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3844 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3847 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3850 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3851 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3852 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3855 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3856 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3857 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3859 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3860 * sysdeps/x86_64/setjmp.S: Likewise.
3861
a109996e
SP
3862 * include/math.h: Use IS_IN instead of IS_IN_libm.
3863 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3875 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3883 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3884 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3885 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3886 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3887 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3888 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3890 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3891 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3892 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3893 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3895 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3897 Likewise.
3898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3899 Likewise.
3900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3901 Likewise.
3902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3903 Likewise.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3905 Likewise.
3906 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3909 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3917 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3929 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3930 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3932 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3933
ce9f10f7
SP
3934 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3935 * nptl/pthreadP.h: Likewise.
3936 * nptl_db/structs.def: Likewise.
3937 * sysdeps/arm/sysdep.h: Likewise.
3938 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3939 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3940 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3941 * sysdeps/unix/alpha/sysdep.h: Likewise.
3942 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3943 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3944 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3945 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3946 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3947 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3949 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3950 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3951 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3952 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3953 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3954 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3955 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3960 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3963 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3964 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3965 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3966 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3967 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3968
016afc75
SP
3969 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3970 * nptl/pthreadP.h: Likewise.
3971 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3972 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3973 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3974 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3975 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3976 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3977 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3978 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3979 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3980 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3981 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3982 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3984 Likewise.
3985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3986 Likewise.
3987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3989 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3992 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3993 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3994 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3995
9b42a0b3
SP
3996 * dlfcn/dladdr.c: Use IS_IN.
3997 * dlfcn/dladdr1.c: Likewise.
3998 * dlfcn/dlclose.c: Likewise.
3999 * dlfcn/dlerror.c: Likewise.
4000 * dlfcn/dlinfo.c: Likewise.
4001 * dlfcn/dlmopen.c: Likewise.
4002 * dlfcn/dlopen.c: Likewise.
4003 * dlfcn/dlsym.c: Likewise.
4004 * dlfcn/dlvsym.c: Likewise.
4005
85f36372
SP
4006 * include/ifaddrs.h: Use IS_IN.
4007 * inet/check_pf.c: Likewise.
4008 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4009 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4010
fb6784e3
SP
4011 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4012 IS_IN_ldconfig.
4013 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4014 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4015
2886d2d1
SP
4016 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4017 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4018 IS_IN (libc).
4019
9a484857
SP
4020 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4021
a10178bd
SP
4022 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4023 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4024 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4025 * include/libc-symbols.h (IS_IN_LIB): New macro.
4026 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4027 * include/netdb.h: Likewise.
4028 * include/stap-probe.h: Remove all uses of IN_LIB.
4029
279bc5b3
SP
4030 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4031 instead of IN_MODULE.
4032 * include/libc-symbols.h (IN_MODULE): Define using
4033 MODULE_NAME.
4034 (PASTE_NAME, PASTE_NAME1): New macros.
4035 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4036 of IN_LIB.
4037 (STAP_PROBE_ASM): Likewise.
4038
e0cfa510
ST
40392014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4040
4041 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4042 __mach_init in dlopened libc.
4043
34d97d87
MF
40442014-11-22 Mike Frysinger <vapier@gentoo.org>
4045
4046 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4047 * sysdeps/arm/preconfigure: Regenerate.
4048
33cd1f74
RM
40492014-11-21 Roland McGrath <roland@hack.frob.com>
4050
4051 * nptl/pthread_create.c (__pthread_create_2_1): Set
4052 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4053 when copying values from IATTR into PD.
4054
8c230039
WN
40552014-11-21 Will Newton <will.newton@linaro.org>
4056 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4057
6d3db89b
AP
4058 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4059 Refactor inline-asm. Also add comment.
4060
01194ba1
WN
4061 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4062 ElfW macro instead of hardcoded Elf64 types.
4063 (la_aarch64_gnu_pltenter): Likewise.
4064 * sysdeps/aarch64/dl-machine.h
4065 (elf_machine_runtime_setup): Use ElfW(Addr).
4066
8c230039
WN
4067 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4068 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4069 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4070 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4071 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4072 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4073 (R_AARCH64_TLS_DTPMOD): This.
4074 (R_AARCH64_TLS_DTPREL64): Rename to ...
4075 (R_AARCH64_TLS_DTPREL): This.
4076 (R_AARCH64_TLS_TPREL64): Rename to ...
4077 (R_AARCH64_TLS_TPREL): This.
4078 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4079 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4080 R_AARCH64_TLS_TPREL64.
4081 (elf_machine_rela): Likewise.
4082
0d79fa53
TR
40832014-11-21 Torvald Riegel <triegel@redhat.com>
4084
4085 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4086 by setting it to 0. 64b atomics are not supported currently.
4087
b59d114b
AO
40882014-11-21 Alexandre Oliva <aoliva@redhat.com>
4089
4090 [BZ #16469]
4091 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4092 search domain names.
4093
f3d945d5
AO
40942014-11-21 Alexandre Oliva <aoliva@redhat.com>
4095
4096 [BZ #16469]
4097 * NEWS: Update.
4098 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4099 trailing dot.
4100 * posix/tst-getaddrinfo5.c: New.
4101 * posix/Makefile (tests): Add it.
4102
49698902
AO
41032014-11-21 Alexandre Oliva <aoliva@redhat.com>
4104
4105 [BZ #14498]
4106 * NEWS: Fixed.
4107 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4108 after parsing line but before break_if_match.
4109 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4110 if there is a protocol mismatch.
4111
81959214
MS
41122014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4113
4114 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4115 because the potential race is on the user-supplied stream.
4116
7729e0e9
AO
41172014-11-21 Alexandre Oliva <aoliva@redhat.com>
4118
4119 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4120 string literal if not passed a buffer.
4121 * manual/job.texi (ctermid): Update reasoning, note deviation
4122 from posix, suggest mtasurace when not passed a buffer, for
4123 future non-preliminary safety notes.
4124
a4ea5e28
AO
41252014-11-21 Alexandre Oliva <aoliva@redhat.com>
4126
4127 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4128 of not passing it a buffer.
4129 Reported by Peng Haitao.
4130
a2b581cb
AO
41312014-11-21 Alexandre Oliva <aoliva@redhat.com>
4132
4133 * manual/Makefile ($(objpfx)stamp-summary): Require
4134 check-safety.sh to pass.
4135 * manual/check-safety.sh: Wish for verification that every
4136 @deftypefn and @deftypefun is followed by a @safety remark.
4137
f214ff74
RM
41382014-11-20 Roland McGrath <roland@hack.frob.com>
4139
7f0dfae0
RM
4140 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4141
2f531bbb
RM
4142 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4143 PTHREAD_CANCEL_ASYNCHRONOUS.
4144 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4145 send SIGCANCEL.
4146
f214ff74
RM
4147 * nptl/default-sched.h: New file.
4148 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4149 * nptl/pthread_create.c: Include it.
4150 (__pthread_create_2_1): Use collect_default_sched instead of making
4151 Linux syscalls here directly.
4152
e37c91d4
TR
41532014-11-20 Torvald Riegel <triegel@redhat.com>
4154
4155 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4156 __pthread_once): Use C11 atomics.
4157
1eccfecd
TR
41582014-11-20 Torvald Riegel <triegel@redhat.com>
4159
4160 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4161
ff871426
TR
41622014-11-20 Torvald Riegel <triegel@redhat.com>
4163
4164 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4165 atomic_thread_fence_acquire, atomic_thread_fence_release,
4166 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4167 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4168 atomic_compare_exchange_weak_relaxed,
4169 atomic_compare_exchange_weak_acquire,
4170 atomic_compare_exchange_weak_release,
4171 atomic_exchange_acquire, atomic_exchange_release,
4172 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4173 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4174 atomic_fetch_and_acquire,
4175 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4176
1ea339b6
TR
41772014-11-20 Torvald Riegel <triegel@redhat.com>
4178
4179 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4180 USE_ATOMIC_COMPILER_BUILTINS): Define.
4181 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4183 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4185 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4187 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4189 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4191 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4193 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4197 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4199 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4201 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4203 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4205 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4207 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4209 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4211 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4212 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4213 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4215 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4216 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4217 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4218 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4219 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4220 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4221
cbd463e2
RM
42222014-11-19 Roland McGrath <roland@hack.frob.com>
4223
d960211f
RM
4224 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4225 the sched_priority value here. It was already checked when the user
4226 called pthread_attr_setschedparam.
4227
cbd463e2
RM
4228 * nptl/tst-bad-schedattr.c: New file.
4229 * nptl/Makefile (tests): Add it.
4230
a39208bd
CD
42312014-11-19 Carlos O'Donell <carlos@redhat.com>
4232 Florian Weimer <fweimer@redhat.com>
4233 Joseph Myers <joseph@codesourcery.com>
4234 Adam Conrad <adconrad@0c3.net>
4235 Andreas Schwab <schwab@suse.de>
4236 Brooks <bmoses@google.com>
4237
4238 [BZ #17625]
4239 * wordexp-test.c (__dso_handle): Add prototype.
4240 (__register_atfork): Likewise.
4241 (__app_register_atfork): New function.
4242 (registered_forks): New global.
4243 (register_fork): New function.
4244 (test_case): Add 3 new tests for WRDE_CMDSUB.
4245 (main): Call __app_register_atfork.
4246 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4247 fork count is non-zero fail the test.
4248 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4249 is set.
4250 (parse_dollars): Remove check for WRDE_NOCMD.
4251 (parse_dquote): Likewise.
4252
9cd47470
SP
42532014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4254
130ac68c
SP
4255 * Makeconfig (built-modules): List non-library modules to be
4256 built.
4257 (module-cppflags): Include libc-modules.h for
4258 everything except shlib-versions.v.i.
4259 (CPPFLAGS): Use it.
4260 (before-compile): Add libc-modules.h.
4261 ($(common-objpfx)libc-modules.h,
4262 $(common-objpfx)libc-modules.stmp): New targets.
4263 (common-generated): Add libc-modules.h and libc-modules.stmp.
4264 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4265 * include/libc-symbols.h: Don't include libc-modules.h.
4266 * include/libc-modules.h: Remove file.
4267 * scripts/gen-libc-modules.awk: New script to generate
4268 libc-modules.h.
4269 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4270 Depend on libc-modules.stmp.
4271
286663c3
SP
4272 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4273
9cd47470
SP
4274 * Makeconfig (in-module): Get value of libof set for the
4275 translation unit.
4276 (CPPFLAGS): Use $(in-module).
4277 * Makerules: Don't suffix routine names for nonlib.
4278 * include/libc-modules.h: New file.
4279 * include/libc-symbols.h: Include libc-modules.h
4280 (IS_IN): New macro to replace IS_IN_* macros.
4281 * elf/Makefile: Set libof-* for each routine.
4282 * elf/rtld-Rules: Likewise.
4283 * extra-modules.mk: Likewise.
4284 * iconv/Makefile: Likewise.
4285 * iconvdata/Makefile: Likewise.
4286 * locale/Makefile: Likewise.
4287 * malloc/Makefile: Likewise.
4288 * nss/Makefile: Likewise.
4289 * sysdeps/gnu/Makefile: Likewise.
4290 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4291 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4292 * sysdeps/s390/s390-64/Makefile: Likewise.
4293 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4294 CPPFLAGS for nscd instead of nonlib.
4295
32fed10f
RM
42962014-11-18 Roland McGrath <roland@hack.frob.com>
4297
d71035bd
RM
4298 * nptl/createthread.c: New file.
4299
6540b991
RM
4300 * nptl/createthread.c: Moved ...
4301 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4302
32fed10f
RM
4303 * nptl/createthread.c: Add proper top-line comment.
4304 (do_clone): Folded into ...
4305 (create_thread): ... here. Take new arguments STOPPED_START and
4306 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4307 increment __nptl_threads, do event-reporting logic, do
4308 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4309 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4310 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4311 just send SIGCANCEL.
4312 * nptl/pthread_create.c: Forward-declare create_thread before
4313 including createthread.c.
4314 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4315 declaration, and new macro START_THREAD_SELF to replace argument.
4316 Remove return statement.
4317 (report_thread_creation): New function.
4318 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4319 synchronization logic, and __nptl_nthreads increment here, around
4320 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4321 PD->parent_cancelhandling here, before create_thread. When
4322 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4323 __deallocate_stack, and ENOMEM translation here.
4324
107a5bf0
JM
43252014-11-18 Joseph Myers <joseph@codesourcery.com>
4326
4327 [BZ #17616]
4328 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4329 (mptwo): Rename to __mptwo.
4330 (__inv): Use __mptwo instead of mptwo.
4331 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4332 (mptwo): Rename to __mptwo.
4333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4334 of mpone and __mptwo instead of mptwo.
4335 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4336 instead of mpone.
4337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4338 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4339 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4340 of mpone and __mptwo instead of mptwo.
4341 (__mpranred): Use __mpone instead of mpone.
4342 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4343 variable.
4344 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4345 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4346 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4347 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4348 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4349 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4350 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4351 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4352 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4353 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4354 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4355 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4356 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4357 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4358 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4359 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4360 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4361 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4362 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4363
3b679ab3
TV
43642014-11-18 Tom de Vries <tom@codesoucery.com>
4365
4366 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4367 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4368
43692014-11-17 Richard Henderson <rth@redhat.com>
4370
4371 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4372 (_FP_PACK_RAW_2): Remove.
4373 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4374 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4375 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4376 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4377 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4378 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4379 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4380 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4381 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4382 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4383 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4384 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4385 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4386 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4387 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4388 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4389
0781a777
RM
43902014-11-14 Roland McGrath <roland@hack.frob.com>
4391
4392 * signal/signal.h [__USE_MISC]
4393 (struct sigvec): Remove type.
4394 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4395 (sigvec): Remove declaration.
4396 * sysdeps/posix/sigvec.c: Moved ...
4397 * signal/sigvec.c: ... here, replacing old file.
4398 (struct sigvec): New type, copied from old signal.h definition.
4399 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4400 (__sigvec): Convert definition to prototype.
4401 (sigvec): Replace weak_alias with compat_symbol.
4402 * signal/Versions (libc: GLIBC_2.21): New version set.
4403 * include/signal.h: Remove __sigvec declaration.
4404 * sysdeps/unix/bsd/sigvec.c: Remove file.
4405 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4406 * manual/signal.texi (BSD Handler): Remove subsection.
4407 Move siginterrupt up to ...
4408 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4409 (Blocking in BSD): Fold subsection into its parent.
4410 * NEWS: Mention sigvec removal.
4411
a4733812
JM
44122014-11-14 Joseph Myers <joseph@codesourcery.com>
4413
5ae4fe60
JM
4414 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4415 (DLA_FMS): Make definition conditional only on [__FMA4__].
4416 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4417 definition.
4418
6a0dd472
JM
4419 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4420 Make definition conditional only on [PROF].
4421 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4422 definition.
4423 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4424 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4425
a4733812
JM
4426 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4427 !__GNUC__].
4428 * include/signal.h (__sigpause): Move declaration above call to
4429 libc_hidden_proto.
4430 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4431 variable.
4432 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4433 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4434
cf7246dd
DM
44352014-11-14 David S. Miller <davem@davemloft.net>
4436
4437 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4438 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4439
c1b0aadc
JM
44402014-11-14 Joseph Myers <joseph@codesourcery.com>
4441
4863355a
JM
4442 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4443 * configure: Regenerated.
4444 * manual/install.texi (Tools for Compilation): Document a
4445 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4446 compiler verified to work.
4447 * INSTALL: Regenerated.
4448
c1b0aadc
JM
4449 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4450 redeclare with asm name.
4451 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4452 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4453 including <string.h>.
4454 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4455 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4456 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4457 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4458 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4459 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4460 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4461
2a1cfd94
JM
44622014-11-13 Joseph Myers <joseph@codesourcery.com>
4463
bf438382
JM
4464 * stdlib/strtol.c (__strtol): Use prototype definition.
4465
2a1cfd94
JM
4466 [BZ #17594]
4467 * stdlib/strtol.c (SYM__): New macro.
4468 (SYM__1): Likewise.
4469 (__strtol): Likewise.
4470 (strtol): Rename to __strtol and define as weak alias of
4471 __strtol. Use libc_hidden_weak.
4472
20ed0d26
SL
44732014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4474
4475 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4476 Use numbered labels in inline assembly.
4477
53244a4e
SL
44782014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4479
4480 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4481 Add setjmp LIBC_PROBE.
4482 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4483 Likewise.
4484 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4485 Add longjmp, longjmp_target LIBC_PROBE.
4486 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4487 Likewise.
4488
47df8251
SL
44892014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4490
4491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4492 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4493 to get rid of unused variable warning.
4494
618cebef
SL
44952014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4496
4497 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4498 Check for unwind_backtrace == NULL only in SHARED case.
4499 (__backchain_backtrace): Compile only in SHARED case.
4500 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4501 Likewise.
4502 (__backchain_backtrace): Declare as static.
4503
c6aab2cb
RM
45042014-11-12 Roland McGrath <roland@hack.frob.com>
4505
4506 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4507 (__libc_multiple_threads_ptr): Variable moved ...
4508 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4509
5a6fa4d7
JM
45102014-11-12 Joseph Myers <joseph@codesourcery.com>
4511
24f4f825
JM
4512 * conform/GlibcConform.pm: New file.
4513 * conform/conformtest.pl: Use GlibcConform module.
4514 * conform/linknamespace.pl: New file.
4515 * conform/list-header-symbols.pl: Likewise.
4516 * conform/Makefile (linknamespace-symlists-base): New variable.
4517 (linknamespace-symlists-tests): Likewise.
4518 (linknamespace-header-base): Likewise.
4519 (linknamespace-header-tests): Likewise.
4520 (tests-special): Add new tests.
4521 ($(linknamespace-symlists-tests)): New rule.
4522 (linknamespace-libs): New variable.
4523 ($(objpfx)symlist-stdlibs): New rule.
4524 ($(linknamespace-header-tests)): Likewise.
4525 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4526 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4527 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4528 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4529 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4530 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4531 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4532 (test-xfail-ISO/math.h/linknamespace): Likewise.
4533 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4534 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4535 (test-xfail-ISO/time.h/linknamespace): Likewise.
4536 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4537 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4538 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4539 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4540 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4541 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4542 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4543 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4544 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4545 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4546 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4547 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4548 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4549 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4550 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4551 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4552 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4553 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4554 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4555 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4556 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4557 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4558 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4559 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4560 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4561 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4562 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4563 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4564 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4565 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4566 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4567 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4568 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4569 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4570 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4571 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4572 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4573 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4574 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4575 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4576 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4577 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4578 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4579 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4580 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4581 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4582 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4583 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4584 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4585 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4586 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4587 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4588 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4589 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4590 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4591 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4592 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4593 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4594 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4595 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4596 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4597 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4598 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4599 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4600 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4601 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4602 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4603 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4604 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4605 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4606 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4607 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4608 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4609 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4610 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4611 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4612 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4613 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4614 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4615 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4616 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4617 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4618 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4619 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4620 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4621 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4622 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4623 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4624 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4625 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4626 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4627 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4628 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4629 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4630 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4631 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4632 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4633 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4634 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4635 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4636 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4637 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4638 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4639 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4640 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4641 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4642 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4643 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4644 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4645 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4646 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4647 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4648 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4649 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4650 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4651 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4652 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4653 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4654 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4655 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4656 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4657 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4658 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4659 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4660 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4661 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4662 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4663 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4664 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4665 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4666 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4667 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4668 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4669 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4670 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4671 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4672 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4673 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4674 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4675 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4676 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4677 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4678 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4680 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4681 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4682 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4683 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4684 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4685 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4686
cc67478e
JM
4687 [BZ #17589]
4688 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4689 of fgets_unlocked.
4690
9975e3d3
JM
4691 [BZ #17585]
4692 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4693 (memmem): Rename to __memmem and define as weak alias of
4694 __memmem. Use libc_hidden_weak.
4695 (__memmem): Use libc_hidden_def.
4696 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4697 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4698 memmem.
4699
c4eae752
JM
4700 [BZ #17582]
4701 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4702 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4703 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4704 and define as weak alias of __fgets_unlocked. Use
4705 libc_hidden_weak.
4706 (__fgets_unlocked): Use libc_hidden_def.
4707 * include/stdio.h (__fgets_unlocked): Declare. Use
4708 libc_hidden_proto.
4709 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4710 __fgets_unlocked instead of fgets_unlocked.
4711 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4712 (GET_NPROCS_CONF_PARSER): Likewise.
4713 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4714 (GET_NPROCS_CONF_PARSER): Likewise.
4715
01cad84e
JM
4716 [BZ #17574]
4717 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4718 weak alias of __wmemset. Use libc_hidden_weak.
4719 (__wmemset): Use libc_hidden_def.
4720 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4721 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4722 of wmemset.
4723
939da411
JM
4724 [BZ #17573]
4725 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4726 with asm name __mempcpy.
4727 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4728
293d9a41
JM
4729 [BZ #17572]
4730 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4731 and define as weak alias of __rawmemchr.
4732 (__rawmemchr): Do not define as strong alias of rawmemchr.
4733
bef8fd60
JM
4734 [BZ #17571]
4735 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4736 alias of __qsort_r.
4737 (qsort): Call __qsort_r instead of qsort_r.
4738 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4739 (__qsort_r): Declare. Call libc_hidden_proto.
4740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4741 instead of qsort_r.
4742 * nscd/gai.c (__qsort_r): Define to qsort_r.
4743 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4744 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4745 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4746
c52ff39e
JM
4747 [BZ #17570]
4748 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4749 define as weak alias of __malloc_info.
4750
2f5c1b00
JM
4751 [BZ #17584]
4752 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4753 as weak alias of __rewinddir. Don't use libc_hidden_def.
4754 (__rewinddir): Use libc_hidden_def.
4755 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4756 as weak alias of __rewinddir. Don't use libc_hidden_def.
4757 (__rewinddir): Use libc_hidden_def.
4758 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4759 weak alias of __rewinddir. Don't use libc_hidden_def.
4760 (__rewinddir): Use libc_hidden_def.
4761 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4762 (__rewinddir): Use libc_hidden_proto.
4763 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4764 rewinddir.
4765 (__getcwd): Use __rewinddir instead of rewinddir.
4766
5a6fa4d7
JM
4767 [BZ #17583]
4768 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4769 alias of __fileno. Use libc_hidden_weak.
4770 (__fileno): Use libc_hidden_def.
4771 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4772 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4773 alias of __ftello.
4774 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4775 __ftello.
4776 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4777 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4778 libc_hidden_def.
4779 (fread_unlocked): Don't use libc_hidden_ver.
4780 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4781 and define as weak alias of __fread_unlocked. Don't use
4782 libc_hidden_def.
4783 (__fread_unlocked): Use libc_hidden_def.
4784 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4785 (ftello): Don't use libc_hidden_proto.
4786 (__ftello): Declare. Use libc_hidden_proto.
4787 (fread_unlocked): Don't use libc_hidden_proto.
4788 (__fread_unlocked): Declare. Use libc_hidden_proto.
4789 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4790 and __ftello instead of fileno, fread_unlocked and ftello.
4791
2581b98e
SP
47922012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4793
4794 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4795 GOT12.
4796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4797 Likewise.
4798 (_dl_start_user): Likewise.
4799 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4800
533bb7c2
SP
48012014-11-12 Carlos O'Donell <carlos@redhat.com>
4802 Siddhesh Poyarekar <siddhesh@redhat.com>
4803
4804 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4805 Move argv and envp down instead of moving argc up.
4806 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4807
fffa1cf8
LH
48082014-11-12 Leonhard Holz <leonhard.holz@web.de>
4809
4810 [BZ #17506]
4811 * test-skeleton.c (main): Return successful if one of
4812 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4813 * string/tst-strcoll-overflow.c: Define expected status.
4814
fb89b46d
TU
48152014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4816
4817 [BZ #17475]
4818 * locale/iso-639.def: Define Bhili and Tulu language codes.
4819
5c40c3ba
AH
48202014-11-11 Alan Hayward <alan.hayward@arm.com>
4821
4822 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4823
b17fe01b 48242014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4825
4826 [BZ #17555]
4827 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4828
bd805071
AS
48292014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4830
4831 * configure.ac: Updated check of minimal required version to
4832 2.22.
4833 * manual/install.texi (Tools for Compilation): Updated version
4834 number.
4835 * configure: Regenerated.
4836 * INSTALL: Likewise.
4837
1400983e
AS
48382014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4839
4840 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4841 __tls_get_addr.
4842
2c46a66a
JM
48432014-11-07 Joseph Myers <joseph@codesourcery.com>
4844
4845 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4846 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4847 (__waitpid): Don't define as alias. Use libc_hidden_def not
4848 libc_hidden_weak.
4849 (waitpid): Define as alias of __waitpid.
4850 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4851 __waitpid.
4852 (__waitpid): Don't define as alias. Use libc_hidden_def not
4853 libc_hidden_weak.
4854 (waitpid): Define as alias of __waitpid.
4855 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4856 __libc_waitpid alias.
4857 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4858 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4859 Likewise.
4860 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4861 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4862 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4863 alias.
4864 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4865 __waitpid.
4866 (__waitpid): Don't define as alias. Use libc_hidden_def not
4867 libc_hidden_weak.
4868 (waitpid): Define as alias of __waitpid.
4869
da53d6db
CD
48702014-11-06 Carlos O'Donell <carlos@redhat.com>
4871
a2887bdb
CD
4872 * manual/llio.texi: Add comment that write safety has been
4873 fixed in Linux.
4874
da53d6db
CD
4875 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4876 (localplt-build-dso): Add elf/ld.so.
4877 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4878 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4879 and free for ld.so.
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4881 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4883 Likewise.
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4885 Likewise.
4886 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4887 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4888 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4889 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4890 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4891 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4892 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4893 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4894 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4895 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4896 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4897
9cf27b8d
JM
48982014-11-05 Joseph Myers <joseph@codesourcery.com>
4899
4900 [BZ #14132]
4901 * include/libc-symbols.h (INTUSE): Remove macro.
4902 (INTDEF): Likewise.
4903 (INTVARDEF): Likewise.
4904 (_INTVARDEF): Likewise.
4905 (INTDEF2): Likewise.
4906 (INTVARDEF2): Likewise.
4907 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4908 rtld_hidden_def instead of INTVARDEF.
4909 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4910 (_dl_starting_up_internal): Remove declaration.
4911 (_dl_starting_up): Use rtld_hidden_proto.
4912 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4913 declaration.
4914 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4915 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4916 _dl_starting_up.
4917 * elf/dl-writev.h (_dl_writev): Likewise.
4918 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4919 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4920 _dl_starting_up_internal.
4921
af83568d
AZ
49222014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4923
4924 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4925 test-skeleton.c.
4926
b01ee67c
WN
49272014-11-05 Will Newton <will.newton@linaro.org>
4928
4929 * benchtests/Makefile: (bench-malloc): Add malloc thread
4930 scalability benchmark.
4931 * benchtests/bench-malloc-threads.c: New file.
4932
be9d4ccc
RE
49332014-11-05 Richard Earnshaw <rearnsha@arm.com>
4934
4935 * sysdeps/aarch64/strchrnul.S: New file.
4936
7110166d
AZ
49372014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4938
4939 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4940 definition.
4941 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4942 Likwise.
4943 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4944 Likewise.
4945 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4946 Likewise.
4947 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4948 Likewise.
4949 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4950 Likewise.
4951
49522014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4953
4954 * catgets/test-gencat.c: Use test-skeleton.c.
4955 * catgets/tst-catgets.c: Likewise.
4956 * csu/tst-empty.c: Likewise.
4957 * elf/tst-audit2.c: Likewise.
4958 * elf/tst-global1.c: Likewise.
4959 * elf/tst-pathopt.c: Likewise.
4960 * elf/tst-piemod1.c: Likewise.
4961 * elf/tst-tls10.c: Likewise.
4962 * elf/tst-tls11.c: Likewise.
4963 * elf/tst-tls12.c: Likewise.
4964 * gnulib/tst-gcc.c: Likewise.
4965 * iconvdata/tst-e2big.c: Likewise.
4966 * iconvdata/tst-loading.c: Likewise.
4967 * iconv/tst-iconv1.c: Likewise.
4968 * iconv/tst-iconv2.c: Likewise.
4969 * inet/test-inet6_opt.c: Likewise.
4970 * inet/tst-gethnm.c: Likewise.
4971 * inet/tst-network.c: Likewise.
4972 * inet/tst-ntoa.c: Likewise.
4973 * intl/tst-codeset.c: Likewise.
4974 * intl/tst-gettext2.c: Likewise.
4975 * intl/tst-gettext3.c: Likewise.
4976 * intl/tst-ngettext.c: Likewise.
4977 * intl/tst-translit.c: Likewise.
4978 * io/test-stat.c: Likewise.
4979 * libio/test-fmemopen.c: Likewise.
4980 * libio/tst-freopen.c: Likewise.
4981 * libio/tst-sscanf.c: Likewise.
4982 * libio/tst-ungetwc1.c: Likewise.
4983 * libio/tst-ungetwc2.c: Likewise.
4984 * libio/tst-widetext.c: Likewise.
4985 * localedata/tst-ctype.c: Likewise.
4986 * localedata/tst-digits.c: Likewise.
4987 * localedata/tst-leaks.c: Likewise.
4988 * localedata/tst-mbswcs1.c: Likewise.
4989 * localedata/tst-mbswcs2.c: Likewise.
4990 * localedata/tst-mbswcs3.c: Likewise.
4991 * localedata/tst-mbswcs4.c: Likewise.
4992 * localedata/tst-mbswcs5.c: Likewise.
4993 * localedata/tst-setlocale.c: Likewise.
4994 * localedata/tst-trans.c: Likewise.
4995 * localedata/tst-wctype.c: Likewise.
4996 * localedata/tst-xlocale1.c: Likewise.
4997 * login/tst-grantpt.c: Likewise.
4998 * malloc/tst-calloc.c: Likewise.
4999 * malloc/tst-malloc.c: Likewise.
5000 * malloc/tst-mallocstate.c: Likewise.
5001 * malloc/tst-mcheck.c: Likewise.
5002 * malloc/tst-mtrace.c: Likewise.
5003 * malloc/tst-obstack.c: Likewise.
5004 * math/atest-exp2.c: Likewise.
5005 * math/atest-exp.c: Likewise.
5006 * math/atest-sincos.c: Likewise.
5007 * math/test-matherr.c: Likewise.
5008 * math/test-misc.c: Likewise.
5009 * math/test-powl.c: Likewise.
5010 * math/tst-definitions.c: Likewise.
5011 * misc/tst-dirname.c: Likewise.
5012 * misc/tst-efgcvt.c: Likewise.
5013 * misc/tst-fdset.c: Likewise.
5014 * misc/tst-hsearch.c: Likewise.
5015 * misc/tst-mntent2.c: Likewise.
5016 * nptl/tst-sem7.c: Likewise.
5017 * nptl/tst-sem8.c: Likewise.
5018 * nptl/tst-sem9.c: Likewise.
5019 * nss/test-netdb.c: Likewise.
5020 * posix/tst-fnmatch.c: Likewise.
5021 * posix/tst-getlogin.c: Likewise.
5022 * posix/tst-gnuglob.c: Likewise.
5023 * posix/tst-mmap.c: Likewise.
5024 * pwd/tst-getpw.c: Likewise.
5025 * resolv/tst-inet_ntop.c: Likewise.
5026 * rt/tst-timer.c: Likewise.
5027 * stdio-common/test-fseek.c: Likewise.
5028 * stdio-common/test-popen.c: Likewise.
5029 * stdio-common/test-vfprintf.c: Likewise.
5030 * stdio-common/tst-cookie.c: Likewise.
5031 * stdio-common/tst-fileno.c: Likewise.
5032 * stdio-common/tst-gets.c: Likewise.
5033 * stdio-common/tst-obprintf.c: Likewise.
5034 * stdio-common/tst-perror.c: Likewise.
5035 * stdio-common/tst-sprintf2.c: Likewise.
5036 * stdio-common/tst-sprintf3.c: Likewise.
5037 * stdio-common/tst-sprintf.c: Likewise.
5038 * stdio-common/tst-swprintf.c: Likewise.
5039 * stdio-common/tst-tmpnam.c: Likewise.
5040 * stdio-common/tst-unbputc.c: Likewise.
5041 * stdio-common/tst-wc-printf.c: Likewise.
5042 * stdlib/tst-environ.c: Likewise.
5043 * stdlib/tst-fmtmsg.c: Likewise.
5044 * stdlib/tst-limits.c: Likewise.
5045 * stdlib/tst-rand48-2.c: Likewise.
5046 * stdlib/tst-rand48.c: Likewise.
5047 * stdlib/tst-random2.c: Likewise.
5048 * stdlib/tst-random.c: Likewise.
5049 * stdlib/tst-strtol.c: Likewise.
5050 * stdlib/tst-strtoll.c: Likewise.
5051 * stdlib/tst-tls-atexit.c: Likewise.
5052 * stdlib/tst-xpg-basename.c: Likewise.
5053 * string/test-ffs.c: Likewise.
5054 * string/tst-bswap.c: Likewise.
5055 * string/tst-inlcall.c: Likewise.
5056 * string/tst-strtok.c: Likewise.
5057 * string/tst-strxfrm.c: Likewise.
5058 * sysdeps/x86_64/tst-audit10.c: Likewise.
5059 * sysdeps/x86_64/tst-audit3.c: Likewise.
5060 * sysdeps/x86_64/tst-audit4.c: Likewise.
5061 * sysdeps/x86_64/tst-audit5.c: Likewise.
5062 * time/tst-ftime_l.c: Likewise.
5063 * time/tst-getdate.c: Likewise.
5064 * time/tst-mktime3.c: Likewise.
5065 * time/tst-mktime.c: Likewise.
5066 * time/tst-posixtz.c: Likewise.
5067 * time/tst-strptime2.c: Likewise.
5068 * time/tst-strptime3.c: Likewise.
5069 * wcsmbs/tst-btowc.c: Likewise.
5070 * wcsmbs/tst-mbrtowc.c: Likewise.
5071 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5072 * wcsmbs/tst-wchar-h.c: Likewise.
5073 * wcsmbs/tst-wcpncpy.c: Likewise.
5074 * wcsmbs/tst-wcrtomb.c: Likewise.
5075 * wcsmbs/tst-wcsnlen.c: Likewise.
5076 * wcsmbs/tst-wcstof.c: Likewise.
5077
2004e7fb
JM
50782014-11-04 Joseph Myers <joseph@codesourcery.com>
5079
ab97ee8f
JM
5080 [BZ #14132]
5081 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5082 INTDEF.
5083 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5084 declaration.
5085 (_dl_mcount): Use rtld_hidden_proto.
5086 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5087 _dl_mcount.
5088 * elf/rtld.c (_rtld_global_ro): Likewise.
5089
c5684fdb
JM
5090 [BZ #14132]
5091 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5092 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5093 of _dl_init_internal.
5094 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5095 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5096 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5097 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5098 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5099 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5100 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5101 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5102 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5103 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5104 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5105 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5106 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5107 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5108 * sysdeps/tile/dl-start.S (_start): Likewise.
5109 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5110 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5111
4243cbea
JM
5112 [BZ #14132]
5113 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5114 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5115 (rtld_progname): Make macro definition unconditional.
5116 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5117 INTDEF.
5118 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5119 (dl_main): Likewise.
5120 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5121 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5122 instead of _dl_argv_internal.
5123 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5124 __GI__dl_argv instead of INTUSE(_dl_argv).
5125 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5126 __GI__dl_argv instead of _dl_argv_internal.
5127
2004e7fb
JM
5128 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5129 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5130 macro.
5131 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5132 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5133 New macro.
5134 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5135 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5136 macro.
5137 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5138 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5139
97827bfc
AS
51402014-11-04 Andreas Schwab <schwab@suse.de>
5141
5142 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5143
5e4df284
AZ
51442014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5145
5146 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5147 mtvsrd instruction in binary form.
5148
04b76b5a
AS
51492014-11-03 Andreas Schwab <schwab@suse.de>
5150
5151 [BZ #17522]
5152 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5153 for less than MB_LEN_MAX use a local buffer of that size.
5154 * libio/tst-fputws.c: New file.
5155 * libio/Makefile (tests): Add tst-fputws.
5156
4c6da7da
JM
51572014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5158
5159 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5160 the size of the fpu_fr.fpu_dregs[] array.
5161
1679ba8e
JM
51622014-11-01 Joseph Myers <joseph@codesourcery.com>
5163
5164 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5165 (__nanosleep): Do not define as alias.
5166 (nanosleep): Define as alias of __nanosleep.
5167 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5168 __libc_nanosleep name.
5169
2626c183
JM
51702014-10-31 Joseph Myers <joseph@codesourcery.com>
5171
5172 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5173 install.texi in comment.
5174
7f981fc2
TR
51752014-10-31 Torvald Riegel <triegel@redhat.com>
5176
5177 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5178 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5179 ... add here and use lwsync or sync ...
5180 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5181 ... and add here using lwsync.
5182
d6f373d2
MF
51832014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5184
5185 * elf/dl-machine-reject-phdr.h: New file.
5186 * elf/dl-load.c: #include that.
5187 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5188 if that returned true.
5189
67c37987
RM
51902014-10-31 Roland McGrath <roland@hack.frob.com>
5191
5192 [BZ #17496]
5193 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5194 gen-as-const-headers chunk. Add a big scare comment after the last
5195 safe place to touch before-compile.
5196
94a42455 51972014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5198
f3f5d895
JM
5199 * manual/install.texi (Tools for Compilation): Update autoconf
5200 version requirements.
5201 * INSTALL: Regenerated.
5202
f62ff286
JM
5203 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5204 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5205 (__libc_pselect): Likewise.
94a42455
JM
5206
5207 [BZ #14138]
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5212
ff9dbdc0
TR
52132014-10-31 Torvald Riegel <triegel@redhat.com>
5214
5215 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5216 correct barrier instruction.
5217 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5218 Likewise.
5219 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5220 Likewise.
5221
b4f66884
RM
52222014-10-30 Roland McGrath <roland@hack.frob.com>
5223
5224 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5225 after defining inlines. Instead, just use parens to defeat macro
5226 expansion of __isctype in its declaration.
5227
e19c95fd
JM
52282014-10-30 Joseph Myers <joseph@codesourcery.com>
5229
5230 * include/sys/uio.h (__libc_readv): Remove declaration.
5231 (__libc_writev): Likewise.
5232 * misc/readv.c (__libc_readv): Rename to __readv.
5233 (__readv): Do not define as alias.
5234 (readv): Define as alias of __readv.
5235 * misc/writev.c (__libc_writev): Rename to __writev.
5236 (__writev): Do not define as alias.
5237 (writev): Define as alias of __writev.
5238 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5239 (__readv): Do not define as alias.
5240 (readv): Define unconditionally as alias of __readv.
5241 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5242 (__writev): Do not define as alias.
5243 (writev): Define unconditionally as alias of __writev.
5244 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5245 name.
5246 (writev): Do not define __libc_writev name.
5247
65b00b6c
RM
52482014-10-30 Roland McGrath <roland@hack.frob.com>
5249
5250 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5251 (convert_charseq): New function, broken out of ...
5252 (use_from_charmap): ... here. Call it.
5253 (use_to_charmap): Use convert_charseq and free instead of duplicating
5254 its code with a variable-length stack struct.
5255
d4e157aa
JM
52562014-10-30 Joseph Myers <joseph@codesourcery.com>
5257
5258 * include/fcntl.h (__libc_creat): Remove declaration.
5259 * io/creat.c (__libc_creat): Rename to creat.
5260 (creat): Do not define as alias.
5261 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5262 of creat instead of __libc_creat.
5263 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5264 to creat.
5265 (creat): Do not define as alias.
5266 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5267 __libc_creat.
5268 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5269 __libc_creat name.
5270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5271 Likewise.
5272
0c6891a0
CD
52732014-10-29 Carlos O'Donell <carlos@redhat.com>
5274
5275 * manual/llio.texi: Add comments discussing why write() may be
5276 considered MT-unsafe on Linux.
5277
cc00cece
CD
52782014-10-28 Carlos O'Donell <carlos@redhat.com>
5279
5280 * dl-load.c (local_strdup): Remove.
5281 (expand_dynamic_string_token): Use __strdup.
5282 (decompose_rpath): Likewise.
5283 (_dl_map_object): Likewise.
5284
51e623f2
JM
52852014-10-28 Joseph Myers <joseph@codesourcery.com>
5286
5287 [BZ #14132]
5288 * sysdeps/generic/unwind-dw2-fde.c
5289 (__register_frame_info_bases_internal): Do not declare.
5290 (__register_frame_info_table_bases_internal): Likewise.
5291 (__deregister_frame_info_bases_internal): Likewise.
5292 (__register_frame_info_bases): Declare and use hidden_proto before
5293 definition. Use hidden_def instead of INTDEF.
5294 (__register_frame_info_table_bases): Likewise.
5295 (__deregister_frame_info_bases): Likewise.
5296 (__register_frame_info): Do not use INTUSE.
5297 (__register_frame): Likewise.
5298 (__register_frame_info_table): Likewise.
5299 (__register_frame_table): Likewise.
5300 (__deregister_frame_info): Likewise.
5301 (__deregister_frame): Likewise.
5302
03d41216
GC
53032014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5304
5305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5306 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5307 not undefine.
5308 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5309 Likewise.
5310 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5311 Likewise.
5312
a4b3624d
JM
53132014-10-27 Joseph Myers <joseph@codesourcery.com>
5314
5315 [BZ #14138]
5316 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5317 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5318 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5319 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5320 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5321 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5322 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5323 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5324 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5325 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5326 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5327 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5328 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5329 syscall.
5330 (setfsuid): Likewise.
5331 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5332 (setfsuid): Likewise.
5333 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5334 (setfsuid): Likewise.
5335 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5336 Likewise.
5337 (setfsuid): Likewise.
5338 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5339 (setfsuid): Likewise.
5340 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5341 Likewise.
5342 (setfsuid): Likewise.
5343
3574f2fd
AS
53442014-10-27 Andreas Schwab <schwab@suse.de>
5345
5346 [BZ #17501]
5347 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5348 check for Slow_SSE4_2 feature bit.
5349 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5350 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5351 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5352 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5353
70996a37
RM
53542014-10-24 Roland McGrath <roland@hack.frob.com>
5355
461a7b1e
RM
5356 * configure.ac: Validate compiler version with a empirical test of
5357 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5358 $CC -v output.
5359 * configure: Regenerated.
5360
70996a37
RM
5361 * inet/htons.c (htons): Prototypify.
5362 * inet/htonl.c (htonl): Likewise.
5363
e80514b5
WD
53642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5365
5366 * string/strncat.c (strncat): Improve performance by using strlen.
5367
6e46de42
WD
53682014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5369
5370 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5371
6a9ad2fa
WD
53722014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5373
5374 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5375 Call libc_fetestexcept_aarch64.
5376
1c8810ed
WD
53772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5378
5379 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5380 Call libc_feholdexcept_aarch64.
5381
8b1af712
WD
53822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5383
5384 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5385 Call get_rounding_mode.
5386
a7b00c11
WD
53872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5388
5389 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5390 Simplify logic.
5391
3a84f1a6
WD
53922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5393
5394 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5395 Simplify logic.
5396
48eb7a94
JM
53972014-10-24 Joseph Myers <joseph@codesourcery.com>
5398
c8bc4038
JM
5399 [BZ #14138]
5400 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5401 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5402 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5403 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5404 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5405 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5406 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5407 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5408 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5409 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5410 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5411 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5412 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5413 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5414 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5415 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5416 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5417 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5418 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5419 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5420 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5421 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5422 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5423 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5424 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5425 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5426 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5427 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5428 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5429 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5430 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5431 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5432 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5433 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5434 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5435 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5438 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5439 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5440 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5441 syscall.
5442 (geteuid): Likewise.
5443 (getgid): Likewise.
5444 (getuid): Likewise.
5445 (getresgid): Likewise.
5446 (getresuid): Likewise.
5447 (getgroups): Likewise.
5448 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5449 (geteuid): Likewise.
5450 (getgid): Likewise.
5451 (getuid): Likewise.
5452 (getresgid): Likewise.
5453 (getresuid): Likewise.
5454 (getgroups): Likewise.
5455 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5456 (geteuid): Likewise.
5457 (getgid): Likewise.
5458 (getuid): Likewise.
5459 (getresgid): Likewise.
5460 (getresuid): Likewise.
5461 (getgroups): Likewise.
5462 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5463 Likewise.
5464 (geteuid): Likewise.
5465 (getgid): Likewise.
5466 (getuid): Likewise.
5467 (getresgid): Likewise.
5468 (getresuid): Likewise.
5469 (getgroups): Likewise.
5470 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5471 (geteuid): Likewise.
5472 (getgid): Likewise.
5473 (getuid): Likewise.
5474 (getresgid): Likewise.
5475 (getresuid): Likewise.
5476 (getgroups): Likewise.
5477 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5478 Likewise.
5479 (geteuid): Likewise.
5480 (getgid): Likewise.
5481 (getuid): Likewise.
5482 (getgroups): Likewise.
5483
48eb7a94
JM
5484 [BZ #14138]
5485 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5486 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5487 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5488 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5489 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5490 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5491 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5492 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5493 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5494 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5495 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5496 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5497 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5498 __chown.
5499 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5500 (lchown): Likewise.
5501 (fchown): Likewise.
5502 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5503 Likewise.
5504 (lchown): Likewise.
5505 (fchown): Likewise.
5506 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5507 (lchown): Likewise.
5508 (fchown): Likewise.
5509 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5510 Likewise.
5511 (lchown): Likewise.
5512 (fchown): Likewise.
5513
ea9a7c8b
WD
55142014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5515
5516 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5517 Simplify logic.
5518
e226de33
WD
55192014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5520
5521 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5522 Cleanup logic.
5523
6e3d8ed3
WD
55242014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5525
5526 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5527 Remove unused include.
5528
eb04247d
WD
55292014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5530
5531 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5532 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5533 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5534 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5535
13d84554
CD
55362014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5537 Helge Deller <deller@gmx.de>
5538
5539 [BZ #17508]
5540 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5541 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5542 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5543
15f9c5df
JM
55442014-10-23 Joseph Myers <joseph@codesourcery.com>
5545
5546 [BZ #14132]
5547 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5548 Remove macro definition.
5549 (__ashrdi3_v_glibc20): Likewise.
5550 (__lshrdi3_v_glibc20): Likewise.
5551 (__cmpdi2_v_glibc20): Likewise.
5552 (__ucmpdi2_v_glibc20): Likewise.
5553 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5554 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5555 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5556 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5557 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5558 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5559
c6dfed24
RM
55602014-10-22 Roland McGrath <roland@hack.frob.com>
5561
5562 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5563 old GNU extension [0] syntax.
5564 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5565 alloca rather than an array member with variable length.
5566 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5567 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5568 (parse_opt): ... here. Likewise use alloca there.
5569 Validate the -i argument before checking for rootness.
5570 (send_shutdown): New function, broken out of ...
5571 (parse_opt): ... here.
5572
8c2b1ed8
RM
55732014-10-22 Roland McGrath <roland@hack.frob.com>
5574
5575 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5576 macro to get at the _rt_local_ro field.
5577 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5578 ([PIC] case) or _dl_hwcap ([!PIC] case).
5579 * sysdeps/arm/setjmp.S: Likewise.
5580
5581 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5582 * sysdeps/arm/configure.ac: New check to define it.
5583 * sysdeps/arm/configure: Regenerated.
5584 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5585 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5586 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5587 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5588 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5589 Use move/movt pair instead of a load.
5590 (LDST_GLOBAL): Macro removed.
5591 (LDR_GLOBAL): New macro replaces it.
5592 (LDR_HIDDEN): New macro.
5593 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5594 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5595
5596 * setjmp/tst-setjmp-static.c: New file.
5597 * setjmp/Makefile (tests): Add it.
5598 (tests-static): New variable.
5599
b5af9297
MR
56002014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5601
5602 [BZ #17485]
5603 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5604
a13d0d74
JM
56052014-10-21 Joseph Myers <joseph@codesourcery.com>
5606
5607 [BZ #14132]
5608 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5609
f05e73f6
RM
56102014-10-21 Roland McGrath <roland@hack.frob.com>
5611
5612 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5613
6ab1d1ea
RM
56142014-10-20 Roland McGrath <roland@hack.frob.com>
5615
5616 * io/fts.c (dirent_not_directory): New function.
5617 (fts_build): Call it.
5618
ab49e763
RM
56192014-10-20 Roland McGrath <roland@hack.frob.com>
5620
e436eb79
RM
5621 * nptl/version.c (__nptl_main): Use normal __write rather than
5622 INTERNAL_SYSCALL.
5623 (banner): Update copyright years.
5624
6af246cf
RM
5625 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5626 gettimeofday.
5627 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5628 * nptl/pthread_cond_timedwait.c: Likewise.
5629 * nptl/pthread_mutex_timedlock.c: Likewise.
5630 * nptl/sem_timedwait.c: Likewise.
5631
ab49e763
RM
5632 * sysdeps/nptl/bits/libc-lock.h
5633 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5634 (__libc_lock_init_recursive): Return void, not 0.
5635 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5636 (__libc_rwlock_init): Likewise.
5637 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5638
f50277c1
TR
56392014-10-20 Torvald Riegel <triegel@redhat.com>
5640
5641 [BZ #15215]
5642 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5643 (__pthread_once_slow): ... here.
5644 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5645 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5646
63668b70
TR
56472014-10-20 Torvald Riegel <triegel@redhat.com>
5648
5649 [BZ #15215]
5650 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5651 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5652 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5653 * nptl/pthread_once.c (__pthread_once): Likewise.
5654 Update comments.
5655
42b7f5d4
JM
56562014-10-20 Joseph Myers <joseph@codesourcery.com>
5657
5658 [BZ #14138]
5659 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5660 name.
5661 (writev): Use __libc_writev as strong name.
5662 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5663 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5664
b0643088
RM
56652014-10-17 Roland McGrath <roland@hack.frob.com>
5666
114c4e09
RM
5667 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5668
674b8978
RM
5669 * sysdeps/i386/nptl/tls.h
5670 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5671 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5672 New macros.
5673 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5674 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5675 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5676 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5677 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5678 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5679
184ee940
RM
5680 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5681 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5682 on [__NR_futex].
5683 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5684 broken out of ...
5685 (__pthread_mutex_init): ... here. Call it.
5686 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5687 Conditionalize PI cases on [__NR_futex].
5688 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5689 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5690 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5691
327ae257
RM
5692 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5693 conditional on [SIGSETXID].
5694 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5695 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5696 is defined. Likewise for SIGSETXID.
5697 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5698 Conditionalize definitions on [SIGSETXID].
5699 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5700 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5701 unblocking on [SIGCANCEL].
5702
b0643088
RM
5703 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5704 [__NR_set_robust_list].
5705
33cc770b
SP
57062014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5707
5708 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5709 (do_compare): Likewise.
5710
0742aef6
LH
57112014-10-17 Leonhard Holz <leonhard.holz@web.de>
5712
5713 [BZ #15884]
5714 * string/strcoll_l.c: Don't include stdio.h.
5715 (coll_seq): Remove members idxarr and rulearr.
5716 (get_next_seq_cached): Remove function.
5717 (get_next_seq): Likewise.
5718 (get_next_seq_nocache): Rename to get_next_seq.
5719 (do_compare): Remove function.
5720 (do_compare_nocache): Rename to do_compare.
5721 (STRCOLL): Remove weight and rules cache.
5722
ee54ce44
RM
57232014-10-16 Roland McGrath <roland@hack.frob.com>
5724
5725 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5726 * sysdeps/arm/sfp-machine.h: ... to here.
5727 * sysdeps/arm/Implies: Remove arm/soft-fp.
5728
a75d3b02
JM
57292014-10-14 Joseph Myers <joseph@codesourcery.com>
5730
5731 * conform/data/sys/utsname.h-data (*_t): Allow.
5732 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5733 [POSIX] (WEXITED): Do not expect constant.
5734 [POSIX] (WSTOPPED): Likewise.
5735 [POSIX] (WNOHANG): Likewise.
5736 [POSIX] (WNOWAIT): Likewise.
5737 [POSIX] (siginfo_t): Do not expect type or elements.
5738 [POSIX] (pid_t): Do not expect type.
5739 [POSIX] (signal.h): Do not allow header.
5740 [POSIX] (sys/resource.h): Likewise.
5741 [POSIX] (si_*): Do not allow pattern.
5742 [POSIX] (W*): Likewise.
5743 [POSIX] (P_*): Likewise.
5744 [POSIX] (BUS_*): Likewise.
5745 [POSIX] (CLD_*): Likewise.
5746 [POSIX] (FPE_*): Likewise.
5747 [POSIX] (ILL_*): Likewise.
5748 [POSIX] (POLL_*): Likewise.
5749 [POSIX] (SEGV_*): Likewise.
5750 [POSIX] (SI_*): Likewise.
5751 [POSIX] (TRAP_*): Likewise.
5752 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5753 variable.
5754
fda389c8
SP
57552014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5756
5757 [BZ #12926]
5758 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5759 infinite loop when __recvmsg returns 0.
5760
6bc6bd3b
JM
57612014-10-10 Joseph Myers <joseph@codesourcery.com>
5762
fcb32af1
JM
5763 * CANCEL-FCT-WAIVE: Remove file.
5764 * CANCEL-FILE-WAIVE: Likewise.
5765
6bc6bd3b
JM
5766 [BZ #14132]
5767 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5768 instead of INTVARDEF.
5769 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5770 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5771 rtld_hidden_data_def instead of INTVARDEF.
5772 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5773 * elf/dl-deps.c (expand_dst): Likewise.
5774 * elf/dl-load.c (_dl_dst_count): Likewise.
5775 (_dl_dst_substitute): Likewise.
5776 (decompose_rpath): Likewise.
5777 (_dl_init_paths): Likewise.
5778 (open_path): Likewise.
5779 (_dl_map_object): Likewise.
5780 * elf/rtld.c (dl_main): Likewise.
5781 (process_dl_audit): Likewise.
5782 (process_envvars): Likewise.
5783 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5784 Remove declaration.
5785 (__libc_enable_secure): Use rtld_hidden_proto.
5786
b8c80a7e
KS
57872014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5788
5789 * elf/dl-load.c
5790 (add_path): New function broken out of _dl_rtld_di_serinfo.
5791 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5792
ff12c11f
JM
57932014-10-09 Joseph Myers <joseph@codesourcery.com>
5794
5c0508a3
JM
5795 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5796 parentheses around macro arguments.
5797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5799 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5800 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5801 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5802 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5803 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5804 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5805 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5806 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5807 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5808 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5809 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5810 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5811 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5812 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5813 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5816 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5817 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5818 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5822 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5825 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5826 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5827 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5828 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5829 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5830 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5831 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5832 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5833 Likewise.
5834 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5835 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5836 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5837 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5838 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5839 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5840 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5841 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5842 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5843 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5844 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5845 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5846 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5847 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5848 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5849 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5850 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5852 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5853 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5854 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5855 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5856 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5857 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5858 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5859 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5860 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5861 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5862 (_FP_FRAC_SRS_1): Likewise.
5863 (_FP_FRAC_CLZ_1): Likewise.
5864 (_FP_MUL_MEAT_1_imm): Likewise.
5865 (_FP_MUL_MEAT_1_wide): Likewise.
5866 (_FP_MUL_MEAT_1_hard): Likewise.
5867 (_FP_SQRT_MEAT_1): Likewise.
5868 (_FP_FRAC_ASSEMBLE_1): Likewise.
5869 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5870 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5871 (__FP_CLZ_2): Likewise.
5872 (_FP_MUL_MEAT_2_wide): Likewise.
5873 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5874 (_FP_MUL_MEAT_2_gmp): Likewise.
5875 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5876 (_FP_SQRT_MEAT_2): Likewise.
5877 (_FP_FRAC_ASSEMBLE_2): Likewise.
5878 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5879 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5880 (_FP_FRAC_CLZ_4): Likewise.
5881 (_FP_MUL_MEAT_4_wide): Likewise.
5882 (_FP_MUL_MEAT_4_gmp): Likewise.
5883 (_FP_SQRT_MEAT_4): Likewise.
5884 (_FP_FRAC_ASSEMBLE_4): Likewise.
5885 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5886 * soft-fp/op-common.h (_FP_CMP): Likewise.
5887 (_FP_CMP_EQ): Likewise.
5888 (_FP_CMP_UNORD): Likewise.
5889 (_FP_TO_INT): Likewise.
5890 (_FP_FROM_INT): Likewise.
5891 [!__FP_CLZ] (__FP_CLZ): Likewise.
5892 (_FP_DIV_HELP_imm): Likewise.
5893 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5894 Likewise.
5895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5898 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5899 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5900 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5901 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5902 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5903 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5904 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5905 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5906 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5907 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5908 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5909 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5910 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5911 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5914 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5916 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5917 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5918 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5919 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5922 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5923 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5924 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5925 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5926 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5927 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5928 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5929 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5930 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5931 (FP_UNPACK_RAW_SP): Likewise.
5932 (FP_PACK_RAW_S): Likewise.
5933 (FP_PACK_RAW_SP): Likewise.
5934 (FP_UNPACK_S): Likewise.
5935 (FP_UNPACK_SP): Likewise.
5936 (FP_UNPACK_SEMIRAW_S): Likewise.
5937 (FP_UNPACK_SEMIRAW_SP): Likewise.
5938 (FP_PACK_S): Likewise.
5939 (FP_PACK_SP): Likewise.
5940 (FP_PACK_SEMIRAW_S): Likewise.
5941 (FP_PACK_SEMIRAW_SP): Likewise.
5942 (_FP_SQRT_MEAT_S): Likewise.
5943 (FP_CMP_S): Likewise.
5944 (FP_CMP_EQ_S): Likewise.
5945 (FP_CMP_UNORD_S): Likewise.
5946 (FP_TO_INT_S): Likewise.
5947 (FP_FROM_INT_S): Likewise.
5948
a736ec37
JM
5949 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5950
ff12c11f
JM
5951 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5952 (FP_EX_INVALID_IMZ): Likewise.
5953 (FP_EX_INVALID_IMZ_FMA): Likewise.
5954 (FP_EX_INVALID_ISI): Likewise.
5955 (FP_EX_INVALID_ZDZ): Likewise.
5956 (FP_EX_INVALID_IDI): Likewise.
5957 (FP_EX_INVALID_SQRT): Likewise.
5958 (FP_EX_INVALID_CVI): Likewise.
5959 (FP_EX_INVALID_VC): Likewise.
5960 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5961 "invalid" exceptions.
5962 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5963 (_FP_ADD_INTERNAL): Likewise.
5964 (_FP_MUL): Likewise.
5965 (_FP_FMA): Likewise.
5966 (_FP_DIV): Likewise.
5967 (_FP_CMP_CHECK_NAN): Likewise.
5968 (_FP_SQRT): Likewise.
5969 (_FP_TO_INT): Likewise.
5970 (FP_EXTEND): Likewise.
5971
b6dcfe8c
AM
59722014-10-09 Allan McRae <allan@archlinux.org>
5973
5974 * po/fr.po: Update French translation from translation project.
5975
2d6a47ba
JM
59762014-10-09 Joseph Myers <joseph@codesourcery.com>
5977
cb831245
JM
5978 [BZ #14132]
5979 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5980 of INTDEF.
5981 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5982 (__cxa_atexit): Use libc_hidden_proto.
5983 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5984
5deeb190
JM
5985 [BZ #14132]
5986 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5987 declaration.
5988 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5989 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5990 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5991 [!_ISOMAC] (__iswctype_internal): Likewise.
5992 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5993 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5994 alias.
5995 (fcntl): Remove __fcntl_internal alias.
5996 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5997 __connect_internal alias.
5998 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5999 Likewise.
6000
454ac701
JM
6001 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6002 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6003 FP_DENORM_ZERO.
6004 (_FP_CHECK_FLUSH_ZERO): New macro.
6005 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6006 (_FP_CMP): Likewise.
6007 (_FP_CMP_EQ): Likewise.
6008 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6009 FP_DENORM_ZERO.
6010 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6011 (FP_TRUNC): Likewise.
6012
0022e688
JM
6013 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6014 treated as invalid conversion, not as normal exponent.
6015
73e28d9c
JM
6016 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6017 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6018 (_FP_CMP_EQ): Likewise.
6019 (_FP_CMP_UNORD): Likewise.
6020 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6021 (FP_CMP_EQ_D): Likewise.
6022 (FP_CMP_UNORD_D): Likewise.
6023 * soft-fp/extended.h (FP_CMP_E): Likewise.
6024 (FP_CMP_EQ_E): Likewise.
6025 (FP_CMP_UNORD_E): Likewise.
6026 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6027 (FP_CMP_EQ_Q): Likewise.
6028 (FP_CMP_UNORD_Q): Likewise.
6029 * soft-fp/single.h (FP_CMP_S): Likewise.
6030 (FP_CMP_EQ_S): Likewise.
6031 (FP_CMP_UNORD_S): Likewise.
6032 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6033 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6034 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6035 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6036 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6037 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6038 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6039 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6040 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6041 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6042 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6043 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6044 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6045 to FP_CMP_Q.
6046 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6047 FP_CMP_Q.
6048 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6049 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6050 FP_CMP_EQ_Q.
6051 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6052 FP_CMP_Q.
6053 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6054 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6055 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6056 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6057 FP_CMP_EQ_Q.
6058 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6059 FP_CMP_Q.
6060 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6061 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6062 FP_CMP_EQ_Q.
6063 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6064 FP_CMP_Q.
6065 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6066 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6067 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6068 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6069 FP_CMP_EQ_Q.
6070
43059f42
JM
6071 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6072 a subnormal result, set the underflow exception if trapping on
6073 underflow is enabled.
6074 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6075 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6076 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6077 redefine to 0.
6078 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6079 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6080 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6081 * soft-fp/extendxftf2.c (__extendxftf2): Use
6082 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6083
2d6a47ba
JM
6084 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6085 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6086 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6087 FP_HANDLE_EXCEPTIONS.
6088 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6089 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6090 FP_HANDLE_EXCEPTIONS.
6091 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6092 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6093 FP_HANDLE_EXCEPTIONS.
6094 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6095 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6096 FP_HANDLE_EXCEPTIONS.
6097
620f462e
JM
60982014-10-08 Joseph Myers <joseph@codesourcery.com>
6099
6100 [BZ #14132]
6101 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6102 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6103 use INTUSE.
6104 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6105 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6106 Remove alias.
6107 (__adjtimex): Define using libc_hidden_ver.
6108 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6109 Remove declaration.
6110 (ntp_gettime): Call __adjtimex directly.
6111 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6112 Remove declaration.
6113 (ntp_gettimex): Call __adjtimex directly.
6114 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6115 __adjtimex_internal alias.
6116
c763c5d2
RM
61172014-10-08 Roland McGrath <roland@hack.frob.com>
6118
6119 [BZ #17460]
6120 * nscd/nscd.c (more_help): Rewrite list of tables collection
6121 using xstrdup and asprintf.
6122
6123 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6124
7b8fb2b8
RM
61252014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6126 Roland McGrath <roland@hack.frob.com>
6127
6128 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6129 (do_lookup_unique): ... local function 'enter' here; update callers.
6130
abb280f7
JM
61312014-10-06 Joseph Myers <joseph@codesourcery.com>
6132
f7b42517
JM
6133 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6134 compat_symbol calls on [SHARED].
6135 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6136 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6137 Remove.
6138 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6139 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6140 (oldsetrlimit): Remove.
6141 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6143 (lchown): New syscall entry.
6144 (oldsetrlimit): Remove.
6145 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6146 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6147 (oldsetrlimit): Remove.
6148 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6149
abb280f7
JM
6150 [BZ #14138]
6151 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6152 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6153 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6154 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6155 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6156 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6157 (fchown): Likewise.
6158 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6159 (fchown): Likewise.
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6161 Likewise.
6162
47d46237
AZ
61632014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6164
6165 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6166 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6167 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6168 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6169 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6170 Likewise.
6171 (__old_sem_post): Likewise.
6172
61732014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6174
845a7343
CM
6175 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6176 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6177 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6178 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6179 Use INLINE_VSYSCALL macro.
6180 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6181 __vdso_clock_gettime.
6182 * sysdeps/unix/sysv/linux/tile/init-first.c
6183 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6184 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6185 __vdso_clock_gettime.
6186
83d641ef
CM
6187 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6188 to set up frame more cleanly.
6189
d9cd52e6
CM
6190 * sysdeps/tile/memcmp.c: New file.
6191
4b68ea11
CM
6192 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6193
c86f7b80
CM
6194 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6195 * sysdeps/tile/tilegx/strcasestr.c: New file.
6196 * sysdeps/tile/tilegx/strnlen.c: New file.
6197 * sysdeps/tile/tilegx/strstr.c: New file.
6198
1c4c1a6f
CM
6199 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6200
99d86ea3
AS
62012014-10-06 Arjun Shankar <arjun.is@lostca.se>
6202
6203 * nptl/tst-setuid3.c: Write errors to stdout.
6204
06210a44
KS
62052014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6206
6207 * elf/dl-deps.c
6208 (preload): New functions broken out of _dl_map_object_deps.
6209 (_dl_map_object_deps): Remove a nested function. Update call sites.
6210
6268f532
JM
62112014-10-01 Joseph Myers <joseph@codesourcery.com>
6212
6213 [BZ #14138]
6214 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6215 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6216
b925285f
SE
62172014-10-01 Steve Ellcey <sellcey@mips.com>
6218
6219 * sysdeps/mips/strcmp.S: New.
6220
754a15c6
JM
62212014-09-30 Joseph Myers <joseph@codesourcery.com>
6222
6223 [BZ #14138]
6224 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6225 (linkat): Likewise.
6226 (mkdirat): Likewise.
6227 (readlinkat): Likewise.
6228 (renameat): Likewise.
6229 (symlinkat): Likewise.
6230 (unlinkat): Likewise.
6231 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6232 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6233 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6234 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6235 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6236 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6237 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6238
85bb81c9
WN
62392014-09-30 Will Newton <will.newton@linaro.org>
6240
dc6fe23b
WN
6241 * math/math.h: Define long double math functions if
6242 _LIBC_TEST is defined.
6243 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6244
85bb81c9
WN
6245 * localedata/Makefile: Move assignment to tests-special
6246 into an ifdef testing run-built-tests.
6247 * timezone/Makefile: Likewise.
6248
b7e02da4
JM
62492014-09-29 Joseph Myers <joseph@codesourcery.com>
6250
6251 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6252 with $(BASH) not $(SHELL).
6253
62058ce6
CD
62542014-09-29 Carlos O'Donell <carlos@redhat.com>
6255 Matthew LeGendre <legendre1@llnl.gov>
6256
6257 [BZ #17411]
6258 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6259 l_reloc_result.
6260
8e257a29
KS
62612014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6262
6263 * stdio-common/printf_fp.c
6264 (hack_digit): New function, broken out of ...
6265 (__printf_fp): ... local function here. Update call sites.
6266 hack_digit now takes an additional parameter that is a pointer
6267 to a struct of the referenced locals. Those locals moved inside
6268 the struct and references updated.
6269
f4a58f0d
L
62702014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6271
6272 * aclocal.m4: Require autoconf 2.69.
6273 * configure: Regenerated.
6274 * sysdeps/aarch64/configure: Likewise.
6275 * sysdeps/alpha/configure: Likewise.
6276 * sysdeps/arm/armv7/configure: Likewise.
6277 * sysdeps/arm/configure: Likewise.
6278 * sysdeps/ia64/configure: Likewise.
6279 * sysdeps/mach/configure: Likewise.
6280 * sysdeps/mips/configure: Likewise.
6281 * sysdeps/s390/configure: Likewise.
6282 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6284
6285 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6286 file.
6287 * sysdeps/ia64/configure.ac: Likewise.
6288
93ae1eba
JM
62892014-09-26 Joseph Myers <joseph@codesourcery.com>
6290
1810d3ab
JM
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6292 specify symbol version for ld.so. Do not include entry for
6293 libpthread.
6294 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6295 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6296 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6297
93ae1eba
JM
6298 [BZ #14171]
6299 * Makeconfig [$(build-shared) = yes]
6300 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6301 makefiles.
6302 [$(build-shared) = yes && $(soversions.mk-done) = t]
6303 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6304 [$(build-shared) = yes && $(soversions.mk-done) = t]
6305 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6306 to Makerules.
6307 [$(build-shared) = yes && $(soversions.mk-done) = t]
6308 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6309 here.
6310 [$(build-shared) = yes && $(soversions.mk-done) = t]
6311 (common-generated): Don't append gnu/lib-names.h and
6312 gnu/lib-names.stmp here.
6313 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6314 (lib-names-h-abi): New variable.
6315 [$(build-shared) = yes && $(soversions.mk-done) = t]
6316 (lib-names-stmp-abi): Likewise.
6317 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6318 abi-variants] (before-compile): Append
6319 $(common-objpfx)$(lib-names-h-abi).
6320 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6321 abi-variants] (common-generated): Append gnu/lib-names.h.
6322 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6323 abi-variants] (install-others-nosubdir): Depend on
6324 $(inst_includedir)/$(lib-names-h-abi).
6325 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6326 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6327 [$(build-shared) = yes && $(soversions.mk-done) = t]
6328 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6329 [$(build-shared) = yes && $(soversions.mk-done) = t]
6330 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6331 [$(build-shared) = yes && $(soversions.mk-done) = t]
6332 (common-generated): Append $(lib-names-h-abi) and
6333 $(lib-names-stmp-abi).
6334 * scripts/lib-names.awk: Do not handle multi being set.
6335 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6336 Remove variable.
6337 (abi-lp64_be-ld-soname): Likewise.
6338 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6339 Likewise.
6340 (abi-hard-ld-soname): Likewise.
6341 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6342 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6343 Remove variable.
6344 (abi-o32_hard-ld-soname): Likewise.
6345 (abi-o32_soft_2008-ld-soname): Likewise.
6346 (abi-o32_hard_2008-ld-soname): Likewise.
6347 (abi-n32_soft-ld-soname): Likewise.
6348 (abi-n32_hard-ld-soname): Likewise.
6349 (abi-n32_soft_2008-ld-soname): Likewise.
6350 (abi-n32_hard_2008-ld-soname): Likewise.
6351 (abi-n64_soft-ld-soname): Likewise.
6352 (abi-n64_hard-ld-soname): Likewise.
6353 (abi-n64_soft_2008-ld-soname): Likewise.
6354 (abi-n64_hard_2008-ld-soname): Likewise.
6355 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6356 Likewise.
6357 (abi-64-v2-ld-soname): Likewise.
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6359 ld.so entries.
6360 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6361 variable.
6362 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6363 entry.
6364 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6365 variable.
6366 (abi-64-ld-soname): Likewise.
6367 (abi-x32-ld-soname): Likewise.
6368 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6369 entry.
6370 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6371
68870f12
JM
63722014-09-23 Joseph Myers <joseph@codesourcery.com>
6373
6374 [BZ #14138]
6375 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6376 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6377 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6378 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6379 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6380 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6381 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6382 syscall entry for GLIBC_2.2 symbol version.
6383 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6384 Likewise.
6385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6386 (setrlimit): Likewise.
6387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6388 Likewise.
6389
ea58f202
WN
63902014-09-23 Will Newton <will.newton@linaro.org>
6391
6392 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6393 _LINUX_ARM_SYSDEP_H include guard too.
6394 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6395 define.
6396
69eb9a18
RV
63972014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6398
6399 * sysdeps/unix/sysv/linux/eventfd.c:
6400 Make first argument unsigned.
6401 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6402 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6403
20e5a5f7
OB
64042014-09-20 Ondřej Bílka <neleai@seznam.cz>
6405
6406 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6407 * socket/sys/socket.h: Likewise
6408 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6409
d3c827e7
AK
64102014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6411
6412 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6413
fe1cc35a
AS
64142014-09-17 Arjun Shankar <arjun.is@lostca.se>
6415
6416 * time/tst-ftime.c: New test.
6417 * time/Makefile (tests): Add tst-ftime.
6418
4e8afe69
JM
64192014-09-17 Joseph Myers <joseph@codesourcery.com>
6420
c4fe3ea7
JM
6421 * soft-fp/extended.h: Fix comment formatting.
6422 * soft-fp/op-1.h: Likewise.
6423 * soft-fp/op-2.h: Likewise.
6424 * soft-fp/op-4.h: Likewise.
6425 * soft-fp/op-8.h: Likewise.
6426 * soft-fp/op-common.h: Likewise.
6427 * soft-fp/soft-fp.h: Likewise.
6428
4e8afe69
JM
6429 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6430
af296fcd
JM
64312014-09-16 Joseph Myers <joseph@codesourcery.com>
6432
6433 [BZ #6652]
6434 * Makeconfig (soversions-default-setname): Remove variable.
6435 ($(common-objpfx)soversions.i): Don't pass default_setname to
6436 soversions.awk.
6437 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6438 oldest_abi to abi-versions.awk.
6439 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6440 * config.make.in (oldest-abi): Remove variable.
6441 * configure.ac (--enable-oldest-abi): Remove configure option.
6442 * configure: Regenerated.
6443 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6444 text.
6445 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6446 * scripts/soversions.awk: Do not handle default_setname variable.
6447 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6448 variable.
6449 * sysdeps/mach/hurd/configure: Regenerated.
6450 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6451 variable.
6452 * sysdeps/unix/sysv/linux/configure: Regenerated.
6453
545583d6
SP
64542014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6455
d330b980
SP
6456 * elf/Makefile (CFLAGS-interp.c): Remove.
6457 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6458 path string.
6459 * elf/interp.c: Include generated runtime-linker.h
6460
02657da2
SP
6461 * Makerules (lib%.so): Don't include $(+interp) in
6462 prerequisites.
6463 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6464 * dlfcn/eval.c: Remove file.
6465
653b1080
SP
6466 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6467 macros.
6468
602f80ec
SP
6469 [BZ #17266]
6470 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6471 4.2 and newer.
6472
545583d6
SP
6473 [BZ #17370]
6474 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6475
884ddc50
SP
64762014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6477 Jakub Jelinek <jakub@redhat.com>
6478
6479 [BZ #17266]
6480 * libio/stdio.h: Check definition of __fortify_function
6481 instead of __extern_always_inline to include bits/stdio2.h.
6482 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6483 check if __extern_always_inline is defined.
6484 [__USE_MISC || __USE_XOPEN]: Likewise.
6485 [__USE_ISOC99] Likewise.
6486 * misc/sys/cdefs.h (__fortify_function): Define only if
6487 __extern_always_inline is defined.
6488 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6489 __extern_always_inline and __extern_inline only for g++-4.3
6490 and newer or a compatible gcc.
6491
a7b87268
AS
64922014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6493
6494 [BZ #17371]
6495 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6496 last change to handle zero prefix length.
6497
3f41521d
SP
64982014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6499
61fe374a
SP
6500 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6501 _SC_REGEX_VERSION.
6502
3f41521d
SP
6503 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6504 _POSIX_RAW_SOCKETS.
6505
d8f879ee
AM
65062014-09-13 Allan McRae <allan@archlinux.org>
6507
6508 * po/ru.po: Update Russian translation from translation project.
6509
c079afb7
RM
65102014-09-12 Roland McGrath <roland@hack.frob.com>
6511
a62b3c15
RM
6512 * locale/programs/locale.c (show_locale_vars): Inline local function
6513 into its sole call site. Clean up some style nits.
6514 (print_item): New function, broken out of ...
6515 (show_info): ... local function here. Clean up style nits.
6516
d7e49b19
RM
6517 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6518 out of ...
6519 (set_class_defaults): ... local function set_default here.
6520 Define set_default as a macro locally to pass constant parameters.
6521 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6522 rather than a shared local.
6523
c079afb7
RM
6524 * stdlib/rpmatch.c (try): New function, broken out of ...
6525 (rpmatch): ... local function here. Also, prototypify definition.
6526
0bd72468
JM
65272014-09-12 Joseph Myers <joseph@codesourcery.com>
6528
ba90e050
JM
6529 * scripts/soversions.awk: Do not handle configuration names.
6530 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6531 vendor and os variables to soversions.awk.
6532 * configure.ac: Do not modify gnu-* host_os.
6533 * configure: Regenerated
6534 * shlib-versions: Remove first column with configuration names.
6535 * nptl/shlib-versions: Likewise.
6536 * nptl_db/shlib-versions: Likewise.
6537 * sysdeps/hppa/shlib-versions: Likewise.
6538 * sysdeps/m68k/shlib-versions: Likewise.
6539 * sysdeps/mach/hurd/shlib-versions: Likewise.
6540 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6541 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6542 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6543 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6544 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6545 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6546 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6547 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6549 Likewise.
6550 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6551 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6552 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6554 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6555 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6556 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6557 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6558
73a39112
JM
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6560 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6562 Regenerated.
6563 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6565 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6566
c729e7c1
JM
6567 * shlib-versions: Remove OS-specific entries. Moved to files in
6568 sysdeps.
6569 * sysdeps/mach/hurd/shlib-versions: New file.
6570 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6571
dc932a24
JM
6572 * nptl/shlib-versions: Remove architecture-specific entries.
6573 Moved to files in sysdeps.
6574 * shlib-versions: Likewise.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6576 file.
6577 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6578 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6579 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6581
0bd72468
JM
6582 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6583 (UDP_NO_CHECK6_RX): Likewise.
6584
920238e0
SP
65852014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6586
6587 * sysdeps/posix/sysconf.c (__sysconf): Spell
6588 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6589
ba7b4d29
FW
65902014-08-12 Florian Weimer <fweimer@redhat.com>
6591
6592 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6593 loading.
6594 * iconv/Versions (__gconv_transliterate): Export for use from
6595 gconv modules.
6596 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6597 (struct __gconv_trans_data, __gconv_trans_fct,
6598 __gconv_trans_context_fct, __gconv_trans_query_fct,
6599 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6600 definitions.
6601 (struct __gconv_step_data): Remove __trans member.
6602 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6603 longer hidden. Remove unused trans_data argument.
6604 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6605 (__gconv_translit_find): Remove declaration.
6606 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6607 prototype.
6608 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6609 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6610 trans_data argument. Add hidden definition.
6611 (__gconv_translit_find): Remove.
6612 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6613 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6614 * iconv/skeleton.c: Remove transliteration initialization.
6615 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6616 __gconv_step_data initialization.
6617 * libio/iofwide.c (__libio_translit_): Remove.
6618 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6619 * wcsmbs/btowc.c (__btowc): Likewise.
6620 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6621 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6622 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6623 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6624 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6625 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6626 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6627 * wcsmbs/wctob.c (wctob): Likewise.
6628
5379aebd
SP
66292014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6630
6631 [BZ #16194]
6632 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6633 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6634 register usage.
6635 * sysdeps/x86/Makefile: Adjust.
6636
8c0ab919
RM
66372014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6638 Roland McGrath <roland@hack.frob.com>
6639
6640 * locale/weight.h: Add include guard.
6641 (findidx): Make static rather than auto; take new parameters
6642 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6643 * locale/weightwc.h: Likewise.
6644 * posix/fnmatch_loop.c
6645 (FCT): Change type of EXTRA from int32_t to wint_t.
6646 Don't include either header inside the function.
6647 Call FINDIDX rather than findidx, and pass new arguments.
6648 #undef FINDIDX at the end of the file.
6649 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6650 FINDIDX before including fnmatch_loop.c for the non-wide version.
6651 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6652 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6653 for the wide version.
6654 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6655 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6656 Pass new arguments to findidx.
6657 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6658 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6659 Don't #include it inside the function. Pass new arguments to findidx.
6660 * posix/regex_internal.h
6661 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6662 (re_string_elem_size_at): Don't #include it inside the function.
6663 Pass new arguments to findidx.
6664 * string/strcoll_l.c: #include WEIGHT_H at top level.
6665 (get_next_seq): Don't #include it inside the function.
6666 Pass new arguments to findidx.
6667 (get_next_seq_nocache): Likewise.
6668 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6669 (STRXFRM): Don't #include it inside the function.
6670 Pass new arguments to findidx.
6671
52ffbdf2
FW
66722014-09-11 Florian Weimer <fweimer@redhat.com>
6673
6674 [BZ #17344]
6675 * malloc/malloc.c (unlink): Turn asserts into a call to
6676 malloc_printerr.
6677
984c0ea9
TL
66782014-09-11 Tim Lammens <tim.lammens@gmail.com>
6679
6680 [BZ #17370]
6681 * libio/wfileops (do_ftell_wide): Free OUT.
6682
3daee107
CM
66832014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6684
6685 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6686
58b930ae
SP
66872014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6688
6689 [BZ #17363]
6690 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6691 group if the current group is empty.
6692
3b473fec
AZ
66932014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6694
71ae8647
AZ
6695 * benchtests/bench-memset.c (test_main): Add more test from size
6696 from 32 to 512 bytes.
6697 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6698 Add POWER8 memset object.
6699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6700 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6701 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6702 implementation.
6703 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6704 Likewise.
6705 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6706 multiarch POWER8 memset optimization.
6707 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6708 POWER8 memset optimization.
6709
3b473fec
AZ
6710 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6711 Remove bzero multiarch objects.
6712 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6713 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6714 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6715 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6716 Remove define.
6717 [__bzero]: Redefine to specific name.
6718 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6719 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6720 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6721 define.
6722 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6723 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6724
e6fb9587
FW
67252014-09-10 Florian Weimer <fweimer@redhat.com>
6726
6727 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6728 warnings into errors.
6729
6730 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6731 __cxa_thread_atexit_impl prototype.
6732
9d3a350b
SE
67332014-09-09 Steve Ellcey <sellcey@mips.com>
6734
6735 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6736 Fix capitalization of error message.
6737
0febba23
SE
67382014-09-09 Steve Ellcey <sellcey@mips.com>
6739
6740 * sysdeps/mips/preconfigure: Modify ABI tests.
6741
645a0e9c
CD
67422014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6743
6744 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6745
d83f0734
CD
67462014-09-07 Roland McGrath <roland@hack.frob.com>
6747 Carlos O'Donell <carlos@systemhalted.org>
6748
6749 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6750 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6751 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6752 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6753 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6754 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6755 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6756 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6757 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6758 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6759 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6762 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6764 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6766 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6767 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6768 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6769 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6770 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6771 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6772 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6773 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6774 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6775 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6776 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6777 Deconditionalize the code that was previously under [RESET_PID].
6778 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6779 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6780 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6781 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6782 include sysdep.h.
6783
21c83793
AM
67842014-09-08 Allan McRae <allan@archlinux.org>
6785
6786 * version.h (RELEASE): Set to "development".
6787 (VERSION): Set to "2.20.90"
6788
1cd9b65c
AM
67892014-09-07 Allan McRae <allan@archlinux.org
6790
b8079dd0
AM
6791 * version.h (RELEASE): Set to "stable".
6792 (VERSION): Set to "2.20"
6793 * include/features.h (__GLIBC_MINOR__): Set to 20.
6794
c46303ef
AM
6795 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6796 Liebler.
6797
1cd9b65c
AM
6798 * po/ko.po: Update Korean translation from translation project.
6799
8622092d
CM
68002014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6801
6802 [BZ #17354]
6803 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6804 macro for handling signed relocations.
6805
41488498
FW
68062014-09-03 Florian Weimer <fweimer@redhat.com>
6807
6808 [BZ #17325]
6809 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6810 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6811 assert.
6812 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6813 * iconvdata/ibm935.c (BODY): Likewise.
6814 * iconvdata/ibm937.c (BODY): Likewise.
6815 * iconvdata/ibm939.c (BODY): Likewise.
6816 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6817 assert.
6818 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6819 script.
6820 * iconvdata/run-iconv-test.sh: New test loop for checking for
6821 decoder crashers.
6822
a78b712d
KR
68232014-09-02 Khem Raj <raj.khem@gmail.com>
6824
6825 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6826 libm_hidden_ver.
6827
cb08abc6
AM
68282014-09-01 Allan McRae <allan@archlinux.org>
6829
2c31e102
AM
6830 * po/eo.po: Update Esperanto translation from translation project.
6831
cb08abc6
AM
6832 * po/ca.po: Update Catalan translation from translation project.
6833
17a62de1
ST
68342014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6835
6836 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6837 __proc_dostop call.
6838
9570bc53
MW
68392014-08-27 Mark Wielaard <mjw@redhat.com>
6840
6841 [BZ #17319]
6842 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6843 to call set_thread_area instead of hand written asm.
6844 (__NR_set_thread_area): Removed define.
6845 (TLS_FLAG_WRITABLE): Likewise.
6846 (__ASSUME_SET_THREAD_AREA): Remove check.
6847 (TLS_EBX_ARG): Remove define.
6848 (TLS_LOAD_EBX): Likewise.
6849
b0f955c9
ST
68502014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6851
6852 Simplify atomicity of socket creation in bind.
6853
6854 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6855 looking up the name after linking the file.
6856
529bf515
AM
68572014-08-27 Allan McRae <allan@archlinux.org>
6858
6859 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6860
a1a6a401
FW
68612014-08-26 Florian Weimer <fweimer@redhat.com>
6862
6863 [BZ #17187]
6864 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6865 trans_compare, open_translit, __gconv_translit_find):
6866 Remove module loading code.
6867
686ab290
AM
68682014-08-26 Allan McRae <allan@archlinux.org>
6869
e4e7cfd2
AM
6870 * po/vi.po: Update Vietnamese translation from translation project.
6871
6aa09f71
AM
6872 * po/uk.po: Update Ukrainian translation from translation project.
6873
edc0660e
AM
6874 * po/fr.po: Update French translation from translation project.
6875
7eea72ac
AM
6876 * po/ru.po: Update Russian translation from translation project.
6877
93c49eff
AM
6878 * po/pl.po: Update Polish translation from translation project.
6879
46acaf63
AM
6880 * po/cs.po: Update Czech translation from translation project.
6881
a9f5ce98
AM
6882 * po/de.po: Update German translation from translation project.
6883
373f2b78
AM
6884 * po/bg.po: Update Bulgarian translation from translation project.
6885
e7548bd8
AM
6886 * po/sv.po: Update Sweedish translation from translation project.
6887
c526bf4d
AM
6888 * po/nl.po: Update Dutch translation from translation project.
6889
686ab290
AM
6890 * po/es.po: Update Spanish translation from translation project.
6891
eb72478a
SP
68922014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6893
dd763fdb
SP
6894 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6895
318c7a58
SP
6896 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6897 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6898 (CPPFLAGS-iconvconfig): Likewise.
6899 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6900
eb72478a
SP
6901 * include/libc-symbols.h: Remove unnecessary check for
6902 NOT_IN_libc.
6903 * nptl/pthreadP.h: Likewise.
6904 * sysdeps/aarch64/setjmp.S: Likewise.
6905 * sysdeps/alpha/setjmp.S: Likewise.
6906 * sysdeps/arm/sysdep.h: Likewise.
6907 * sysdeps/i386/setjmp.S: Likewise.
6908 * sysdeps/m68k/setjmp.c: Likewise.
6909 * sysdeps/posix/getcwd.c: Likewise.
6910 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6911 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6912 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6913 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6914 * sysdeps/sh/sh3/setjmp.S: Likewise.
6915 * sysdeps/sh/sh4/setjmp.S: Likewise.
6916 * sysdeps/unix/alpha/sysdep.h: Likewise.
6917 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6919 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6920 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6925 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6928 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6930 * sysdeps/x86_64/setjmp.S: Likewise.
6931
d44a052c
JM
69322014-08-13 Joseph Myers <joseph@codesourcery.com>
6933
6934 [BZ #17263]
6935 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6936 <stdint.h>.
6937 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6938 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6939
508ce3ac
SP
69402014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6941
e44c8b0e
SP
6942 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6943
508ce3ac
SP
6944 [BZ #17262]
6945 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6946 and __x86_64__ when disabling x87 inline functions.
6947
b4acef1f
L
69482014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6949
6950 [BZ #17259]
6951 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6952 asm statement with __cpuid_count.
6953
61b1ef6e
MF
69542014-08-12 Mike Frysinger <vapier@gentoo.org>
6955
6956 * configure.ac: Change __ehdr_start code to dereference the struct.
6957 Run readelf on the output to look for relocations.
6958 * configure: Regenerated.
6959
898c62f4
JM
69602014-08-12 Joseph Myers <joseph@codesourcery.com>
6961
6962 [BZ #17261]
6963 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6964 value to 0.
6965 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6966
9a8a5720
RM
69672014-08-12 Roland McGrath <roland@hack.frob.com>
6968
6969 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6970
4e75751c
BO
69712014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6972
6973 [BZ #16892]
6974 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6975 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6976
bb2ce416
SA
69772014-08-12 Sean Anderson <seanga2@gmail.com>
6978
6979 * malloc/malloc.c: Fix typo in comment.
6980
7950a4ee
AM
69812014-08-09 Allan McRae <allan@archlinux.org>
6982
6983 * Regenerate libc.po.
6984
f469c49f
MF
69852014-08-08 Mike Frysinger <vapier@gentoo.org>
6986
6987 * intl/tst-gettext2.sh: Check every lang file for creation.
6988
656b84c2
WD
69892014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6990
6991 * sysdeps/aarch64/fpu/math_private.h
6992 (libc_feholdsetround_noex_aarch64_ctx): New function.
6993
538e9e45
W
69942014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6995
6996 * sysdeps/arm/armv6/strcpy.S (strcpy):
6997 Fix performance issue in misaligned cases.
6998
d4795e4a
AZ
69992014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7000
7001 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7002 Move definition from termios.h.
7003 (struct termio): Likewise.
7004 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7005 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7006 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7007 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7008 Likewise.
7009 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7010 Move definition to ioctl-types.h
7011 (struct termio): Likewise.
7012 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7013 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7014 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7015 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7016 Likewise.
7017
64accb62
RH
70182014-08-05 Richard Henderson <rth@redhat.com>
7019
27bb6dc0
RH
7020 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7021 exceptions.
7022 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7023 Add fraiseexcpt.
7024 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7025 Use __feraiseexcept.
7026 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7027 Protect libm symbols with IS_IN_libm.
7028
64accb62
RH
7029 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7030
e5292691
BO
70312014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7032
7033 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7034
5b4bd2d4
WN
70352014-08-04 Will Newton <will.newton@linaro.org>
7036
7037 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7038 file.
7039
fcadaeef
MF
70402014-08-04 Mike Frysinger <vapier@gentoo.org>
7041
7042 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7043 variants for each function.
7044
43a94c64
RM
70452014-08-04 Roland McGrath <roland@hack.frob.com>
7046
7047 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7048 appended ...
7049 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7050 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7051 appended ...
7052 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7053 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7054 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7055 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7056 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7057 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7058 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7059 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7060 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7061 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7062 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7064 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7065 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7066 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7067 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7068 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7069 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7070 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7072 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7075 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7076 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7080 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7081 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7082 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7083 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7084 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7086 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7087 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7088 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7089 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7090 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7091 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7092 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7093 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7094 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7096 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7098 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7099 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7100 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7101 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7102 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7103 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7104 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7105 Update #include.
7106 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7107 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7108
8f3c1fa4
RM
71092014-08-04 Roland McGrath <roland@hack.frob.com>
7110
7111 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7112 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7113 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7114 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7115 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7116 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7117
ca08746f
RM
71182014-08-04 Roland McGrath <roland@hack.frob.com>
7119
7120 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7121 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7122 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7123 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7124
9c925ff9
RM
71252014-08-04 Roland McGrath <roland@hack.frob.com>
7126
7127 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7128 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7129 (__libc_vfork): Define function under this name.
7130 (__vfork): Define as an alias.
7131 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7132 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7133
e641054c
RM
71342014-08-04 Roland McGrath <roland@hack.frob.com>
7135
7136 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7137 that was previously under [RESET_PID].
7138 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7139
dacdc867
AS
71402014-08-04 Andreas Schwab <schwab@suse.de>
7141
7142 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7143
41f725ff
MF
71442014-08-03 Mike Frysinger <vapier@gentoo.org>
7145
7146 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7147 (main): Likewise.
7148
277cfb31
RM
71492014-08-01 Roland McGrath <roland@hack.frob.com>
7150
7151 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7152
4896f049
RH
71532014-08-01 Richard Henderon <rth@redhat.com>
7154
7155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7156 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7157 typo in exact zero test.
7158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7159 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7161
6f64e7d7
RM
71622014-08-01 Roland McGrath <roland@hack.frob.com>
7163
7164 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7165 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7166 * sysdeps/arm/sysdep.h: ... here.
7167 [!__ASSEMBLER__]: Include <stdint.h>.
7168
3f3dd810
SP
71692014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7170
a476ac4b
SP
7171 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7172 (HAVE_WCTYPE_H): Likewise.
7173 (HAVE_ISWCTYPE): Likewise.
7174 (ENABLE_NLS): Likewise.
7175 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7176 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7177
78dd658a
SP
7178 * posix/regex_internal.c: Check if DEBUG is defined and is
7179 set.
7180
3f3dd810
SP
7181 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7182 (HAVE_MBSRTOWCS): Likewise.
7183 * posix/fnmatch.c: Include string.h unconditionally.
7184
95ee7fb1
SL
71852014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7186
7187 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7188 reversal.
7189
23fe486b
RM
71902014-07-31 Roland McGrath <roland@hack.frob.com>
7191
f61a113f
RM
7192 * sysdeps/generic/safe-fatal.h: New file.
7193 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7194 * nptl/forward.c: Include it.
7195 (__pthread_unwind): Use __safe_fatal as default action, rather
7196 than a bogus use of INTERNAL_SYSCALL that could never work.
7197
9fe7e787
RM
7198 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7199 * configure.ac (libc_cv_builtin_trap): New test.
7200 * configure: Regenerated.
7201 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7202 (ABORT_INSTRUCTION): Define using __builtin_trap.
7203
23fe486b
RM
7204 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7205 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7206 * sysdeps/nptl/nptl-signals.h: New file.
7207 * nptl/pthreadP.h: Include <nptl-signals.h>.
7208
f349489e
SL
72092014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7210
7211 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7212 (ONE_DIRECTION): Define.
7213 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7214 (ONE_DIRECTION): Define.
7215 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7216 (ONE_DIRECTION): Define.
7217
2f438e20
SL
72182014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7219
7220 * sysdeps/s390/Makefile: Delete file.
7221 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7222 * sysdeps/s390/__longjmp.c: Delete file.
7223 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7224 Remove fields __flags and __reserved.
7225 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7226 and add versioning.
7227 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7228 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7229 * sysdeps/s390/rtld-setjmp.S: Likewise.
7230 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7231 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7232 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7233 * sysdeps/s390/s390-32/setjmp.S: ... here.
7234 Add versioning.
7235 (__sigsetjmp): Remove setting __flags field.
7236 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7237 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7238 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7239 * sysdeps/s390/s390-64/setjmp.S: ... here.
7240 Add versioning.
7241 (__sigsetjmp): Remove setting __flags field.
7242 * sysdeps/s390/setjmp.S: Delete file.
7243 * sysdeps/s390/sigjmp.c: Likewise.
7244 * sysdeps/s390/v1-longjmp.c: Likewise.
7245 * sysdeps/s390/v1-setjmp.h: Likewise.
7246 * sysdeps/s390/v1-sigjmp.c: Likewise.
7247 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7248 Remove v1-longjmp_chk.
7249 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7250 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7251 Include debug/longjmp_chk.c and add versioning.
7252 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7253 Include nptl/pt-longjmp.c and add versioning.
7254 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7255 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7256 Include __longjmp.c.
7257 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7258 Move to ...
7259 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7260 (__getcontext): Remove setting __flags field.
7261 Add versioning.
7262 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7263 Don't restore upper high grps.
7264 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7265 Likewise.
7266 (__swapcontext): Remove setting uc_flags field.
7267 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7268 Delete file.
7269 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7270 Include __longjmp.c.
7271 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7272 Move to ...
7273 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7274 (__getcontext): Remove setting __flags field.
7275 Add versioning.
7276 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7277 (__swapcontext): Remove setting uc_flags field.
7278 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7279 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7280 Remove fields uc_high_gprs and __reserved.
7281 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7282 New file with reverted content.
7283 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7285 Regenerated.
7286 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7287 Regenerated.
7288
6c9578a2
AS
72892014-07-31 Andreas Schwab <schwab@suse.de>
7290
7291 * config.h.in (HAVE_IFUNC): Define to 0.
7292 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7293 definedness.
7294
05f3633d
LM
72952014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7296
7297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7298 memmove-avx-unaligned, memcpy-avx-unaligned and
7299 mempcpy-avx-unaligned.
7300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7301 Add tests for AVX memcpy functions.
7302 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7304 memcpy_chk.
7305 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7306 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7307 memmove_chk.
7308 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7309 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7310 mempcpy_chk.
7311 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7312 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7313 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7314
a53fbd8e
AZ
73152013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7316
7317 [BZ #17213]
7318 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7319 powerpc64le.
7320
0961f7e1
JL
73212014-07-29 Jeff Layton <jlayton@poochiereds.net>
7322
7323 [BZ #16839]
7324 * manual/llio.texi: Add section about open file description locks.
7325 * manual/examples/ofdlocks.c: Example of open file description
7326 lock usage.
7327 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7328 F_OFD_SETLK, and F_OFD_SETLKW.
7329
cc5fb300
AM
73302014-07-23 Allan McRae <allan@archlinux.org>
7331
7332 * po/es.po: Update Spanish translation from translation project.
7333
23329dca
AS
73342014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7335
7336 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7337
9c82da17
MR
73382014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7339
7340 [BZ #17078]
7341 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7342 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7343 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7344
29c4f53e
JM
73452014-07-17 Joseph Myers <joseph@codesourcery.com>
7346
831b9896
JM
7347 [BZ #17088]
7348 * math/fesetenv.c (__fesetenv)
7349 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7350 * math/feupdateenv.c (__feupdateenv)
7351 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7352
b21c2d50
JM
7353 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7354 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7355 (__ASSUME_SOCKETCALL): Do not define.
7356
067764ef
JM
7357 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7358 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7359 (__ASSUME_SOCKETCALL): Do not define.
7360 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7361 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7362 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7363 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7364 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7365 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7366 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7367 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7368
642530c1
JM
7369 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7370 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7371 (__ASSUME_SOCKETCALL): Do not define.
7372 (__ASSUME_IPC64): Define unconditionally.
7373 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7374 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7375 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7376 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7377 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7378 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7379 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7380 Likewise.
7381
03f77315
JM
7382 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7383 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7384 (__ASSUME_SOCKETCALL): Do not define.
7385 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7386 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7387 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7388 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7389 (__ASSUME_REQUEUE_PI): Define unconditionally.
7390 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7391 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7392 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7393 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7394 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7395 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7396
083b1f7c
JM
7397 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7398 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7399 (__ASSUME_SOCKETCALL): Do not define.
7400 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7401 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7402 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7403 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7404 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7405 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7406
5be44ea6
JM
7407 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7408 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7409 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7410 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7411 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7412 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7413 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7414 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7415 (__ASSUME_GETCPU_SYSCALL): Likewise.
7416
d95ffd4c
JM
7417 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7418 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7419 cases for individual architectures.
7420 * sysdeps/gnu/configure: Regenerated.
7421 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7422 LIBC_SLIBDIR_RTLDDIR.
7423 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7424 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7425 LIBC_SLIBDIR_RTLDDIR.
7426 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7428 LIBC_SLIBDIR_RTLDDIR.
7429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7430 Regenerated.
7431 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7432 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7433 file.
7434 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7435 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7436 file.
7437 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7438 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7439 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7440 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7441
29c4f53e
JM
7442 * sysdeps/aarch64/shlib-versions: Move to ...
7443 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7444 * sysdeps/alpha/shlib-versions: Move to ...
7445 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7446 * sysdeps/arm/shlib-versions: Move to ...
7447 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7448 * sysdeps/hppa/shlib-versions: Move all contents except for
7449 libgcc_s entry to ...
7450 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7451 entry from ...
7452 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7453 * sysdeps/ia64/shlib-versions: Move to ...
7454 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7455 entry from ...
7456 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7457 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7458 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7459 * sysdeps/microblaze/shlib-versions: Move to ...
7460 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7461 * sysdeps/mips/shlib-versions: Move to ...
7462 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7463 entry from ...
7464 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7465 * sysdeps/tile/shlib-versions: Move to ...
7466 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7467 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7468 from ...
7469 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7470 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7471 entry from ...
7472 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7473
32bead5b
WN
74742014-07-17 Will Newton <will.newton@linaro.org>
7475
57977c4b
WN
7476 * sysdeps/arm/bits/atomic.h
7477 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7478 (__arch_compare_and_exchange_bool_16_int): Likewise.
7479 (__arch_compare_and_exchange_bool_64_int): Likewise.
7480
32bead5b
WN
7481 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7482 into an #else block.
7483
37fccd41
RM
74842014-07-16 Roland McGrath <roland@hack.frob.com>
7485
7486 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7487 just Linux configurations. Test empirically that the compiler sets
7488 __ARM_EABI__, rather than using the tuple to decide.
7489 * sysdeps/arm/preconfigure: Regenerated.
7490 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7491 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7492 contents appended ...
7493 * sysdeps/arm/configure.ac: ... here.
7494 * sysdeps/arm/configure: Regenerated.
7495
b365f3ec
RM
74962014-07-15 Roland McGrath <roland@hack.frob.com>
7497
8badf496
RM
7498 * nptl/pthread_kill.c: New file.
7499 * nptl/pthread_sigmask.c: New file.
7500 * nptl/pthread_sigqueue.c: New file.
7501
3df6f22e
RM
7502 * sysdeps/nptl/lowlevellock.h: New file.
7503 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7504 * sysdeps/nptl/lowlevellock-futex.h: New file.
7505
b365f3ec
RM
7506 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7507 Remove dead declarations.
7508
f2fef657
L
75092014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7510
7511 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7512 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7513 config-cflags-avx2.
7514 * sysdeps/x86_64/configure.ac: Likewise.
7515 * sysdeps/i386/configure: Regenerated.
7516 * sysdeps/x86_64/configure: Likewise.
7517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7518 memset-avx2 only if config-cflags-avx2 is yes.
7519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7520 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7521 defined.
7522 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7523 only if HAVE_AVX2_SUPPORT is defined.
7524 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7525
f6c44d47
AM
75262014-07-14 Alan Modra <amodra@gmail.com>
7527
7528 [BZ #17153]
7529 * elf/elf.h (DT_PPC64_NUM): Correct value.
7530 * NEWS: Add to fixed bug list.
7531
7ee03f00
JM
75322014-07-13 Jim Meyering <meyering@fb.com>
7533
7534 [BZ 17150]
7535 regex: don't deref NULL upon heap allocation failure
7536 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7537 failure in one more place.
7538 To trigger the segfault, configure grep -with-included-regex,
7539 build it, and run these commands:
7540 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7541
9d39d517
AS
75422014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7543
7544 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7545
a75b89b7
RH
75462014-07-11 Richard Henderson <rth@redhat.com>
7547
7548 * sysdeps/aarch64/libm-test-ulps: Update.
7549
771eb141
FW
75502014-07-10 Florian Weimer <fweimer@redhat.com>
7551
7552 [BZ #17135]
7553 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7554 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7555 (__nptl_setxid): Initialize error member. Call
7556 __nptl_setxid_error.
7557 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7558 * nptl/descr.h (struct xid_command): Add error member.
7559 * nptl/tst-setuid3.c: New file.
7560 * nptl/Makefile (tests): Add it.
7561
bc1da176
AZ
75622014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7563
7564 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7565 New define.
7566 (__lll_trylock): Use __lll_base_trylock.
7567 (__lll_cond_trylock): Likewise.
7568
887865fc
RM
75692014-07-10 Roland McGrath <roland@hack.frob.com>
7570
c0c6bac9
RM
7571 * nptl/pthread_create.c (start_thread): Use atomic_or and
7572 lll_futex_wake directly rather than lll_robust_dead.
7573 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7574 (lll_robust_dead): Macro removed.
6a42be57 7575 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7576 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7577 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7578 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7579 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7580 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7581 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7582 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7583 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7584 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7585 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7586 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7587 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7588 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7589 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7590
887865fc
RM
7591 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7592 Use atomic_compare_and_exchange_val_acq directly rather than
7593 lll_robust_trylock.
7594 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7595 (__lll_robust_trylock, lll_robust_trylock): Removed.
7596 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7597 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7598 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7599 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7600 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7601 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7602 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7603 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7604 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7605 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7606 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7607 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7608 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7609 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7610
58536726
FW
76112014-07-02 Florian Weimer <fweimer@redhat.com>
7612
7613 * manual/locale.texi (Locale Names): New section documenting
7614 locale name syntax. Adjust menu and node chaining accordingly.
7615 (Choosing Locale): Reference Locale Names, Locale Categories.
7616 Mention setting LC_ALL=C. Reflect that name syntax is now
7617 documented.
7618 (Locale Categories): New section title. Reference Locale Names.
7619 LC_ALL is an environment variable, but not a category.
7620 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7621 description, now in Locale Name. Reference that section. Locale
7622 name syntax is now documented.
7623
4e8f95a0
FW
76242014-07-02 Florian Weimer <fweimer@redhat.com>
7625
7626 [BZ #17137]
7627 * locale/findlocale.c (name_present, valid_locale_name): New
7628 functions.
7629 (_nl_find_locale): Use the loc_name variable to store name
7630 candidates. Call name_present and valid_locale_name to check and
7631 validate locale names. Return an error if the locale is invalid.
7632
d1836456
FW
76332014-07-02 Florian Weimer <fweimer@redhat.com>
7634
7635 * locale/setlocale.c (setlocale): Use strdup for allocating
7636 composite name copy.
7637
d69b7f5a
SP
76382014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7639
888c679b
SP
7640 Sync up with gnulib.
7641 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7642 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7643 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7644 and _GL_ARG_NONNULL.
7645 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7646 [!_LIBC]: Include code for Windows and Cygwin.
7647 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7648 Include prototype for int strerror_r.
7649 [!_LIBC] (is_open): New function.
7650 (flush_stdout): New function.
7651 (print_errno_message): Use it.
7652 (error): Likewise.
7653 (error_at_line): Likewise.
7654 (error_tail) Add function attribute macros. Use
7655 __builtin_expect.
7656
180e0e4b
SP
7657 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7658
d22f1fe2
SP
7659 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7660
12f2254b
SP
7661 * io/ftw.c: Include sys/param.h unconditionally.
7662
c3c7c360
SP
7663 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7664
d62aa75a
SP
7665 [BZ #17125]
7666 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7667 libc_freeres_ptr.
7668 (freecache): New function to free CACHE on exit.
7669
d69b7f5a
SP
7670 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7671 initialization.
7672
5efe06a1
DM
76732014-07-09 David S. Miller <davem@davemloft.net>
7674
7675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7676
7000d82e
DM
7677 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7678 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7679 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7680 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7681 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7682 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7683 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7684 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7685 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7686 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7687 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7688 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7689 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7690
c213442d
AS
76912014-07-09 Andreas Schwab <schwab@suse.de>
7692
4a2552c3
AS
7693 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7694 output.
7695 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7696 (do_test): Likewise.
7697
c213442d
AS
7698 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7699
82374e65
WN
77002014-07-09 Will Newton <will.newton@linaro.org>
7701
7702 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7703 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7704 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7705 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7706 * sysdeps/hppa/start.S (_start): Likewise.
7707
6680738a
SP
77082014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7709
6ee3eab4
SP
7710 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7711
6680738a
SP
7712 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7713 defined.
7714
80b5c505
SP
77152014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7716
e35c53e3
SP
7717 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7718 after checking that it is non-NULL.
7719
80b5c505
SP
7720 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7721
91f4b564
AZ
77222014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7723
27b75f56
AZ
7724 * sysdeps/powerpc/memmove.c: Remove file.
7725 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7726 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7727 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7728 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7729 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7730 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7731 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7732 string memmove instead of removed powerpc one.
7733
e7f95bb5
AZ
7734 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7735 [weak_alias]: Fix compiler warning due trailing data.
7736 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7737 [weak_alias]: Likewise.
7738 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7739 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7740
91f4b564
AZ
7741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7742 (__libc_ifunc_impl_list): Add memmove functions.
7743
7c33f1e5
SP
77442014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7745
7746 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7747 Remove code.
7748 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7749 Likewise
7750 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7751 Likewise
7752 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7753 Likewise
7754 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7755 Likewise
7756 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7757 Likewise
7758 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7759 Likewise
7760 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7761 Likewise
7762 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7763 Likewise
7764 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7765 Likewise
7766 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7767 Likewise
7768 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7769 Likewise
7770 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7771 Likewise
7772 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7773 Likewise
7774 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7775 Likewise
7776 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7777 Likewise
7778 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7779 Likewise
7780
3f17b03b
AZ
77812014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7782
87868c24
AZ
7783 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7784 to avoid alignment traps in non-cacheable memory.
7785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7786
07aedd78
AZ
7787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7788 multiarch objects.
7789 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7790 file: multiarch power7 memmove.
7791 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7792 multiarch default memmove.
7793 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7794 multiarch memove for powerpc32/power4.
7795
17762f66
AZ
7796 * string/bcopy.c: Use full path to include memmove.c.
7797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7798 multiarch objects.
7799 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7800 bcopy for powerpc64.
7801 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7802 bcopy for powerpc64.
7803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7804 and memmove implementations.
7805 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7806 optimized multiarch memmove for POWER7/powerpc64.
7807 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7808 default multiarch memmove for powerpc64.
7809 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7810 multiarch for powerpc64.
7811 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7812 for POWER7/powerpc64.
7813 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7814 memmove for POWER7/powerpc64.
7815
d6f68bbe
AZ
7816 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7817 glibc default one.
7818
3f17b03b
AZ
7819 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7820 __ELF_NATIVE_CLASS equal to 64.
7821
08192659
RM
78222014-07-07 Roland McGrath <roland@hack.frob.com>
7823
f4c4021b
RM
7824 * sysdeps/nptl/lowlevellock.h: File removed.
7825
f083450f
RM
7826 * NEWS: NPTL is no longer an add-on!
7827 * nptl/internaltypes.h: Moved ...
7828 * sysdeps/nptl/internaltypes.h: ... here.
7829 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7830 * sysdeps/nptl/fork.c: Likewise.
7831 * sysdeps/nptl/gai_misc.h: Likewise.
7832 * sysdeps/nptl/librt-cancellation.c: Likewise.
7833 * sysdeps/nptl/jmp-unwind.c: Likewise.
7834 * sysdeps/nptl/setxid.h: Likewise.
7835 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7836 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7837 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7838 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7839 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7840 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7841 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7842 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7843 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7844 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7845 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7846 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7847 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7848 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7849 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7850 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7851 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7852 * nptl/Makeconfig: Moved ...
7853 * sysdeps/nptl/Makeconfig: ... here.
7854 * nptl/configure: File removed.
7855 * nptl/ANNOUNCE: File removed.
7856 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7857 * sysdeps/unix/sysv/linux/configure: Regenerated.
7858
08192659
RM
7859 * nptl/Makefile (routines): Add libc_pthread_init,
7860 libc_multiple_threads, register-atfork and unregister-atfork.
7861 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7862 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7863 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7864 pthread-pi-defines.sym, structsem.sym.
7865 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7866 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7867 [$(subdir) = nptl] (tests): Add tst-setgetname.
7868 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7869 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7870 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7871 [!LIBC_SIGACTION]: Remove aliases.
7872 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7873 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7874 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7875 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7876 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7877 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7878 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7879 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7880 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7881 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7882 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7883 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7884 __libc_allocate_rtsig_private.
7885 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7886 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7887 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7888 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7889 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7890 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7891 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7892 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7893 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7894 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7895 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7896 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7897 * nptl/internaltypes.h: ... here.
7898 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7899 * sysdeps/nptl/jmp-unwind.c: ... here.
7900 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7901 * nptl/libc-lowlevellock.c: ... here.
7902 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7903 * nptl/libc_multiple_threads.c: ... here.
7904 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7905 * nptl/libc_pthread_init.c: ... here.
7906 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7907 * nptl/lowlevelbarrier.sym: ... here.
7908 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7909 * nptl/lowlevelcond.sym: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7911 * nptl/lowlevellock.c: ... here.
7912 * nptl/lowlevellock.h: Moved ...
7913 * sysdeps/nptl/lowlevellock.h: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7915 * nptl/lowlevelrobustlock.c: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7917 * nptl/lowlevelrobustlock.sym: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7919 * nptl/lowlevelrwlock.sym: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7921 * nptl/pt-fork.c: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7923 * nptl/pthread-pi-defines.sym: ... here.
7924 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7925 * nptl/pthread_attr_getaffinity.c: ... here.
7926 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7927 * nptl/pthread_attr_setaffinity.c: ... here.
7928 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7929 * nptl/pthread_mutex_cond_lock.c: ... here.
7930 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7931 Update #include.
7932 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7933 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7934 * nptl/pthread_once.c: ... here, replacing old file.
7935 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7936 * nptl/pthread_yield.c: ... here.
7937 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7938 * nptl/register-atfork.c: ... here.
7939 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7940 * nptl/sem_post.c: ... here.
7941 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7942 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7943 * nptl/sem_timedwait.c: ... here.
7944 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7945 * nptl/sem_trywait.c: ... here.
7946 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7947 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7948 * nptl/sem_wait.c: ... here.
7949 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7950 * nptl/structsem.sym: ... here.
7951 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7952 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7953 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7954 * nptl/unregister-atfork.c: ... here.
7955 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7956 * nptl/unwindbuf.sym: ... here.
7957 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7958 * sysdeps/nptl/fork.c: ... here.
7959 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7960 * sysdeps/nptl/fork.h: ... here.
7961 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7962 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7963 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7964 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7965 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7966 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7967 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7968 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7969 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7971 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7972 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7973 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7974 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7975 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7976 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7977 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7978 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7979 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7980 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7981 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7982 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7983 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7985 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7987 * sysdeps/unix/sysv/linux/raise.c: ... here.
7988 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7989 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7990 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7991 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7993 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7994 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7995 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7996 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7997 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7998 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7999 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8000 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8001 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8002 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8003
96baf6ff
SP
80042014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8005
8006 * sysdeps/generic/memcopy.h: Add comment for
8007 MEMCPY_OK_FOR_FWD_MEMMOVE.
8008
6b7b14b2
WN
80092014-07-04 Will Newton <will.newton@linaro.org>
8010
1570a72b
WN
8011 * string/memchr.c: Merge from gnulib.
8012 [_LIBC]: Remove conditionals.
8013 (__ptr_t): Remove define.
8014 (LONG_MAX_32_BITS): Likewise.
8015 (LONG_MAX): Likewise.
8016 (MEMCHR): Use ANSI prototype and optimize algorithm.
8017
6b7b14b2
WN
8018 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8019
38851324
SP
80202014-07-03 Roland McGrath <roland@hack.frob.com>
8021
3d9eb57c
RM
8022 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8023 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8024
78b984ae
RM
8025 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8026 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8027 in a bare environment with no <stdlib.h> installed.
8028 * sysdeps/nptl/configure: Regenerated.
8029
2d5976a5
RM
8030 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8031
c1f5acd4
RM
8032 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8033 AC_EGREP_CPP for kernel header checks, so they only succeed if
8034 including <linux/version.h> actually works right.
8035 * sysdeps/unix/sysv/linux/configure: Regenerated.
8036
4d614fe5
RM
8037 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8038 value so it's not diagnosed as unused.
8039
38851324
SP
8040 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8041 thing) with "ifeq ($(subdir),rt)".
8042
b3ec00e5
RH
80432014-07-03 Richard Henderson <rth@redhat.com>
8044
69862e25
RH
8045 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8046 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8047 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8048
d5e16ade
RH
8049 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8050 (math_force_eval): New.
8051
ca7b945c
RH
8052 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8053 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8054
cd1175a3
RH
8055 * sysdeps/alpha/fpu/s_round.c: Remove file.
8056 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8057
b3ec00e5
RH
8058 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8059 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8060 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8061 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8062 (_dl_start, print_statistics): Likewise.
8063 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8064 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8065
8066 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8067 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8068 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8069 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8070 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8071 (HP_SMALL_TIMING_AVAIL): Define.
8072 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8073 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8074 (HP_SMALL_TIMING_AVAIL): Define.
8075 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8076 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8077
8078 * sysdeps/aarch64/hp-timing.h: New file.
8079
8080 * sysdeps/generic/hp-timing.h: Remove dead comment.
8081 * sysdeps/generic/hp-timing-common.h: New file.
8082 * sysdeps/alpha/hp-timing.h: Include it.
8083 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8084 * sysdeps/i386/i686/hp-timing.h: Likewise.
8085 * sysdeps/ia64/hp-timing.h: Likewise.
8086 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8087 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8088 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8089 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8090 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8091 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8092 (hp_timing_t): New.
8093
8094 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8095 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8096 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8097 * elf/rtld.c (_dl_start_final): Likewise.
8098 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8099 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8100 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8101 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8102 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8103 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8104 (HP_TIMING_DIFF_INIT): Remove.
8105 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8106 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8107 (HP_TIMING_DIFF_INIT): Remove.
8108 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8109 * sysdeps/i386/i686/hp-timing.c: Remove file.
8110 * sysdeps/x86_64/hp-timing.c: Remove file.
8111 * sysdeps/ia64/hp-timing.c: Remove file.
8112 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8113 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8115 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8116
8117 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8118 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8119 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8120 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8121 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8122 (HP_TIMING_ACCUM): Remove.
8123 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8124 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8125 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8126
8127 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8128 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8129 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8130 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8131 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8132 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8133 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8134 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8135
8136 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8137
225f410f
MR
81382014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8139
8140 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8141
3247f285
SP
81422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8143
8144 Sync up with gettext.
8145 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8146 [_MSC_VER]: Include malloc.h
8147 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8148 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8149 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8150 TEMP_FAILURE_RETRY. Cast return of alloca.
8151 [!_LIBC] Call gl_rwlock_init.
8152 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8153
d12704c7
SP
81542014-07-02 Roland McGrath <roland@hack.frob.com>
8155
8156 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8157 before checking its value.
8158
99f8dc92
SP
81592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8160
05fdac77
SP
8161 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8162
99f8dc92
SP
8163 * debug/memcpy_chk.c: Don't include pagecopy.h.
8164 * debug/mempcpy_chk.c: Likewise.
8165 * string/memcpy.c: Likewise.
8166 * string/memmove.c: Likewise.
8167 * sysdeps/powerpc/memmove.c: Likewise.
8168 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8169 definition of PAGE_COPY_FWD_MAYBE here...
8170 * sysdeps/generic/pagecopy.h: ... from here.
8171 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8172
bc8ea385
VR
81732014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8174 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8175
8176 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8178 optimizations.
8179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8180 (__libc_ifunc_impl_list): Likewise.
8181 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8182 multiarch strcat for PPC64.
8183 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8184 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8185
fe5f34e4
RM
81862014-07-02 Roland McGrath <roland@hack.frob.com>
8187
8188 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8189
256aa665
SP
81902014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8191
d4eb8195
SP
8192 * intl/loadmsgcat.c: Remove declaration of
8193 get_sysdep_segment_value.
8194 (get_sysdep_segment_value): Use ISO C style.
8195 (_nl_load_domain): Use ISO C style. Get rid of redundant
8196 semicolon. Fix typo and formatting in comment.
8197 (_nl_unload_domain): Use ISO C style.
8198
256aa665
SP
8199 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8200
b100f9aa
WN
82012014-07-02 Will Newton <will.newton@linaro.org>
8202
8203 * malloc/obstack.c: Merge from gnulib master.
8204 [HAVE_CONFIG_H]: Remove conditional code.
8205 [!_LIBC]: Include config.h.
8206 [!ELIDE_CODE]: Don't include inttypes.h, include
8207 stdint.h unconditionally.
8208 (print_and_abort): Mark as _Noreturn.
8209 (_obstack_allocated_p): Mark as __attribute_pure__.
8210 (obstack_free): Rename to __obstack_free.
8211 [!__attribute__]: Remove conditional code.
8212 * malloc/obstack.h: Merge from gnulib master.
8213 [__cplusplus]: Move conditional down.
8214 [!__attribute_pure__]: Define __attribute_pure__ here
8215 if it is not already defined.
8216 (_obstack_memory_used): Mark as __attribute_pure__.
8217 [!__obstack_free]: Define as obstack_free.
8218 [__GNUC__]: Remove check for ancient NeXT gcc.
8219
c4c41244
PE
82202014-07-02 Will Newton <will.newton@linaro.org>
8221 Paul Eggert <eggert@cs.ucla.edu>
8222
8223 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8224
e1e041c4
SP
82252014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8226
8227 * resolv/gethnamaddr.c: Add comment warning that the file is
8228 not maintained.
8229
ccf431ff
CD
82302014-07-01 Carlos O'Donell <carlos@redhat.com>
8231
d34570a6
CD
8232 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8233 entries.
8234
ccf431ff
CD
8235 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8236 entry for aio_cancel and aio_cancel64.
8237 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8238 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8239 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8240 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8241 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8242 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8243 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8244 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8245 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8246 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8247 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8248 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8249 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8250
ca06321d
RM
82512014-07-01 Roland McGrath <roland@hack.frob.com>
8252
8253 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8254 * nptl/pthread_mutex_lock.c: Likewise.
8255 * nptl/pthread_mutex_timedlock.c: Likewise.
8256 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8257
a1ac3184
RH
82582014-07-01 Richard henderson <rth@redhat.com>
8259
631021e0
RH
8260 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8261 (__isnan, __isnanl): Remove.
8262 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8263
a1ac3184
RH
8264 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8265
0c1d731f
SL
82662014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8267
8268 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8269
76985d3e
SP
82702014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8271
8272 * resolv/nss_dns/dns-host.c (getanswer_r)
8273 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8274
b0cb3096
JM
82752014-07-01 Joseph Myers <joseph@codesourcery.com>
8276
8277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8278 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8279 undefine.
8280 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8281 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8282
4d76cb39
RM
82832014-07-01 Roland McGrath <roland@hack.frob.com>
8284
8285 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8286 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8287
8288 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8289 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8290
8291 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8292 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8293 ... here.
8294 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8295 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8296
8297 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8298 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8299 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8300 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8301
8302 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8303 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8304 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8305 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8306 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8307 Moved ...
8308 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8309 ... here.
8310 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8311 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8313 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8315 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8319 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8320 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8321 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8323 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8324 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8325 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8326 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8327 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8328 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8329 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8330 ... here.
8331 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8332 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8333 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8334 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8335 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8336 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8337 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8338 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8339
0cdcad17
DH
83402014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8341
8342 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8343 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8344 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8345 Add sysdep.
8346
9b71d0e3
AZ
83472014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8348
8349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8350
665390c2
JM
83512014-06-30 Joseph Myers <joseph@codesourcery.com>
8352
ae05a9d7
JM
8353 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8354 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8355
a7672a2f
JM
8356 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8357
665390c2
JM
8358 * sysdeps/arm/libm-test-ulps: Regenerated.
8359
d7a05d07
MR
83602014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8361 Roland McGrath <roland@hack.frob.com>
8362
8363 * test-skeleton.c (signal_handler): Kill the whole process group
8364 before killing the child individually.
8365 (main): Report any failure on `setpgid'.
8366
46f1d8a6
RM
83672014-06-30 Roland McGrath <roland@hack.frob.com>
8368
8369 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8370 from _TLS_H to _ARM_NPTL_TLS_H.
8371 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8372 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8373
9c37ec0b
JM
83742014-06-30 Joseph Myers <joseph@codesourcery.com>
8375
ce9c5b3e
JM
8376 [BZ #16539]
8377 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8378 (__expm1l): Return argument unchanged when small but not
8379 subnormal.
8380
3a6e9887
JM
8381 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8382 include macro name.
8383 (_FP_UNPACK_RAW_1_P): Likewise.
8384 (_FP_PACK_RAW_1): Likewise.
8385 (_FP_PACK_RAW_1_P): Likewise.
8386 (_FP_MUL_MEAT_1_wide): Likewise.
8387 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8388 (_FP_MUL_MEAT_1_hard): Likewise.
8389 (_FP_DIV_MEAT_1_imm): Likewise.
8390 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8391 (_FP_DIV_MEAT_1_udiv): Likewise.
8392 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8393 (_FP_UNPACK_RAW_2): Likewise.
8394 (_FP_UNPACK_RAW_2_P): Likewise.
8395 (_FP_PACK_RAW_2): Likewise.
8396 (_FP_PACK_RAW_2_P): Likewise.
8397 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8398 (_FP_MUL_MEAT_2_wide): Likewise.
8399 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8400 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8401 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8402 (_FP_MUL_MEAT_2_gmp): Likewise.
8403 (_FP_DIV_MEAT_2_udiv): Likewise.
8404 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8405 (_FP_FRAC_SRL_4): Likewise.
8406 (_FP_FRAC_SRST_4): Likewise.
8407 (_FP_FRAC_SRS_4): Likewise.
8408 (_FP_UNPACK_RAW_4): Likewise.
8409 (_FP_UNPACK_RAW_4_P): Likewise.
8410 (_FP_PACK_RAW_4): Likewise.
8411 (_FP_PACK_RAW_4_P): Likewise.
8412 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8413 (_FP_MUL_MEAT_4_wide): Likewise.
8414 (_FP_MUL_MEAT_4_gmp): Likewise.
8415 (umul_ppppmnnn): Likewise.
8416 (_FP_DIV_MEAT_4_udiv): Likewise.
8417 (__FP_FRAC_ADD_4): Likewise.
8418 (__FP_FRAC_SUB_3): Likewise.
8419 (__FP_FRAC_SUB_4): Likewise.
8420 (__FP_FRAC_DEC_3): Likewise.
8421 (__FP_FRAC_DEC_4): Likewise.
8422 (__FP_FRAC_ADDI_4): Likewise.
8423 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8424 (_FP_FRAC_SRL_8): Likewise.
8425 (_FP_FRAC_SRS_8): Likewise.
8426
9c37ec0b
JM
8427 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8428 include macro name.
8429 (FP_UNPACK_RAW_EP): Likewise.
8430 (FP_PACK_RAW_E): Likewise.
8431 (FP_PACK_RAW_EP): Likewise.
8432 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8433 (_FP_ISSIGNAN): Likewise.
8434 (_FP_ADD_INTERNAL): Likewise.
8435 (_FP_FMA): Likewise.
8436 (_FP_CMP): Likewise.
8437 (_FP_SQRT): Likewise.
8438 (_FP_TO_INT): Likewise.
8439 (_FP_FROM_INT): Likewise.
8440 (FP_EXTEND): Likewise.
8441 (_FP_DIV_MEAT_N_loop): Likewise.
8442
2125f674
MR
84432014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8444
8445 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8446 throughout.
8447
edea4028
JM
84482014-06-29 Joseph Myers <joseph@codesourcery.com>
8449
8450 [BZ #17097]
8451 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8452 result with correct sign in case of exponents that produce
8453 overflow except for X very close to 1.
8454
dd0ba018
PE
84552014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8456
8457 mktime: merge #if/#ifdef usage from glibc
8458 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8459 as that works with both Glibc's and Gnulib's style.
8460 See thread starting at Siddhesh Poyarekar's bug report at:
8461 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8462
64df73c2
SP
84632014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8464
8465 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8466 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8467 * sysdeps/tile/tilegx/memmove.c: Remove file.
8468
f1eafb41
JM
84692014-06-27 Joseph Myers <joseph@codesourcery.com>
8470
8471 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8472 abi-name definition.
8473 * scripts/soversions.awk: Do not handle or generate ABI lines.
8474 * shlib-versions: Remove ABI entries.
8475 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8476 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8477
58eb0862
RM
84782014-06-27 Roland McGrath <roland@hack.frob.com>
8479
37caf178
RM
8480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8481 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8482 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8483 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8485 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8487 Moved ...
8488 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8489 ... here.
8490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8491 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8493 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8497 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8499 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8501 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8503 Moved ...
8504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8506 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8508 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8510 Moved ...
8511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8513 Moved ...
8514 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8515 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8516 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8518 Moved ...
8519 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8521 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8523 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8525 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8527 Moved ...
8528 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8529 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8530 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8531 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8532 Moved ...
8533 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8534 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8535 Moved ...
8536 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8538 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8539 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8540 Moved ...
8541 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8542 ... here.
8543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8544 Identical file removed.
8545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8546 Moved ...
8547 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8548 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8549 Identical file removed.
8550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8551 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8553 Moved ...
8554 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8556 Identical file removed.
8557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8558 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8560 Identical file removed.
8561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8562 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8564 Identical file removed.
8565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8566 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8568 Identical file removed.
8569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8570 Moved ...
8571 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8573 Identical file removed.
8574 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8575 Moved ...
8576 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8578 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8580 Identical file removed.
8581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8582 Moved ...
8583 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8584 ... here.
8585 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8586 Identical file removed.
8587 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8588 Moved ...
8589 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8590 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8591 Identical file removed.
8592 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8593 Moved ...
8594 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8596 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8597 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8600 Moved ...
8601 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8603 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8604
58eb0862
RM
8605 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8606 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8607 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8608 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8609 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8610
6f12d062
AS
86112014-06-27 Arjun Shankar <arjun.is@lostca.se>
8612
8613 [BZ #17092]
8614 * nscd/nscd.c (monitor_child): Return exit status of child
8615 instead of return value from wait syscall.
8616
be254932
JM
86172014-06-27 Joseph Myers <joseph@codesourcery.com>
8618
cb403c34
JM
8619 * configure.ac (libc_commonpagesize): Remove variable.
8620 (libc_relro_required): Likewise.
8621 (libc_cv_z_relro): Remove configure test.
8622 * configure: Regenerated.
8623 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8624 variable.
8625 (libc_relro_required): Likewise.
8626 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8627 (libc_relro_required): Likewise.
8628 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8629 (libc_relro_required): Likewise.
8630 * sysdeps/arm/preconfigure: Regenerated.
8631 * sysdeps/ia64/preconfigure: Remove file.
8632 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8633 variable.
8634 (libc_relro_required): Likewise.
8635
be254932
JM
8636 [BZ #16561]
8637 [BZ #16562]
8638 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8639 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8640 recompute overflowing results in original rounding mode.
8641 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8642 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8643 recompute overflowing results in original rounding mode.
8644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8645 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8646 recompute overflowing results in original rounding mode.
8647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8648 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8649 recompute overflowing results in original rounding mode.
8650 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8651 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8652 recompute overflowing results in original rounding mode.
8653 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8654 (libc_feholdsetround_ctx): New macro.
8655 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8656 * sysdeps/i386/fpu/libm-test-ulps: Update.
8657 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8658
b351d85a
JM
86592014-06-26 Joseph Myers <joseph@codesourcery.com>
8660
8661 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8662 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8663 corresponding .cpsetup call.
8664
3cb4de47
RM
86652014-06-26 Roland McGrath <roland@hack.frob.com>
8666
8667 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8668 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8669 * sysdeps/arm/Makefile [$(subdir) = csu]
8670 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8671 (static-only-routines): Add aeabi_read_tp here.
8672 (shared-only-routines): Add libc-aeabi_read_tp here.
8673 (CFLAGS-libc-start.c): Add -fexceptions here.
8674 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8675 (sysdep_routines, static-only-routines, shared-only-routines):
8676 Don't add to these here.
8677 (CFLAGS-libc-start.c): Likewise.
8678
8679 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8680 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8681 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8682 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8683 * sysdeps/arm/Makefile [$(subdir) = rt]
8684 (librt-sysdep_routines, librt-shared-only-routines):
8685 Append rt-aeabi_unwind_cpp_pr1 here.
8686 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8687 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8688 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8689 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8690 Append nptl-aeabi_unwind_cpp_pr1 here.
8691 (tests): Filter out tst-cleanupx4 here.
8692 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8693 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8694 Don't do those here.
8695
354426bb
JM
86962014-06-26 Joseph Myers <joseph@codesourcery.com>
8697
8698 * scripts/list-sources.sh: Do not handle ports specially.
8699
28b0a8c9
RM
87002014-06-26 Roland McGrath <roland@hack.frob.com>
8701
a3dd035d
RM
8702 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8703 * sysdeps/arm/feupdateenv.c: Likewise.
8704
28b0a8c9
RM
8705 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8706
e66a8203
JM
87072014-06-26 Joseph Myers <joseph@codesourcery.com>
8708
8709 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8710 trailing whitespace removed.
8711 * scripts/config.guess: Update to version 2014-03-23.
8712 * scripts/config.sub: Update to version 2014-05-01
8713 * scripts/install-sh: Update to version 2013-12-25.23.
8714 * scripts/move-if-change: Update from gnulib.
8715
74171115
SP
87162014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8717
b97c9ce5
SP
8718 * debug/memmove_chk.c: Remove pagecopy.h include.
8719
4000f892
SP
87202014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8721
74171115
SP
8722 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8723 identical to gnulib mktime.
8724
a8779c28
JM
87252014-06-26 Joseph Myers <joseph@codesourcery.com>
8726
e64708de
JM
8727 * configure.ac: Do not test for machine being rs6000. Do not test
8728 for powerpc*-*soft.
8729 * configure: Regenerated.
8730
a8779c28
JM
8731 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8732 test.
8733 * configure: Regenerated.
8734 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8735 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8736 Remove configure test.
8737 * sysdeps/arm/configure: Regenerated.
8738 * sysdeps/nptl/configure.ac: Do not check
8739 libc_cv_asm_cfi_directives.
8740 * sysdeps/nptl/configure: Regenerated.
8741 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8742 * sysdeps/x86_64/nptl/configure: Remove generated file.
8743 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8744 unconditional.
8745 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8746
2aac0a86
SP
87472014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8748
059bf913
SP
8749 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8750 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8751 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8752 it is defined.
8753
4cf5b6d0
SP
8754 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8755 instead of whether it is defined.
8756 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8757 * sysdeps/hppa/dl-machine.h: Likewise.
8758 * sysdeps/ia64/dl-machine.h: Likewise.
8759 * sysdeps/m68k/dl-machine.h: Likewise.
8760 * sysdeps/microblaze/dl-machine.h: Likewise.
8761 * sysdeps/mips/dl-machine.: Likewise.
8762 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8763 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8764 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8765 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8766 * sysdeps/sh/dl-machine.h: Likewise.
8767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8768 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8769 * sysdeps/tile/dl-machine.h: Likewise.
8770 * sysdeps/x86_64/dl-machine.h: Likewise.
8771
2aac0a86
SP
8772 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8773 code.
8774 (verify_persistent_db): Likewise.
8775
6ad2df0b
RM
87762014-06-26 Roland McGrath <roland@hack.frob.com>
8777
d8a483f3
RM
8778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8779 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8781 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8783 Moved ...
8784 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8785 ... here.
8786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8789 Identical file removed.
8790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8791 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8795 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8797 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8799 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8801 Moved ...
8802 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8804 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8806 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8808 Moved ...
8809 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8811 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8813 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8815 Identical file removed.
8816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8817 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8819 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8821 Moved ...
8822 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8823 ... here.
8824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8825 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8827 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8829 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8833 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8835 Moved ...
8836 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8838 Moved ...
8839 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8843 Moved ...
8844 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8846 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8847
52ae23b4
RM
8848 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8849 folded into ...
8850 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8851 * sysdeps/unix/sysv/linux/s390/Versions
8852 (libpthread: GLIBC_2.19): New version set.
8853 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8854 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8855 (librt: GLIBC_2.3.3): New version set.
8856 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8857 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8858 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8859 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8860 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8861 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8862 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8863 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8864 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8865 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8866 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8867 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8868 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8869 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8870 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8871 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8872 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8873 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8874 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8876 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8878 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8880 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8882 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8884 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8886 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8887 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8892 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8896 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8897 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8898 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8899 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8900 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8901
39507e4a
RM
8902 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8903 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8904 (__libc_vfork): Define the function under this name.
8905 [!NOT_IN_libc] (__vfork): Make this an alias.
8906 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8908 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8909 (__libc_vfork): Define the function under this name.
8910 [!NOT_IN_libc] (__vfork): Make this an alias.
8911 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8912 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8913 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8914 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8915 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8916 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8917
e549ee56
RM
8918 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8919 code that was previously under [RESET_PID].
8920 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8921 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8923
6ad2df0b
RM
8924 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8925 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8926 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8927 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8928 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8929 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8930 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8931 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8932 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8933 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8934 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8935 Moved ...
8936 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8937 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8938 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8939 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8940 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8942 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8944 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8945 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8946 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8947 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8948 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8950 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8956 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8957 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8958 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8959 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8960 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8961 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8962 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8963 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8964 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8965
7c1c1d8e
RM
89662014-06-25 Roland McGrath <roland@hack.frob.com>
8967
8968 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8969 that was previously under [RESET_PID].
8970 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8971
3e239be6
JM
89722014-06-25 Joseph Myers <joseph@codesourcery.com>
8973
74385da5
JM
8974 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8975 not undefine and redefine.
8976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8977 [O_CLOEXEC]: Make code unconditional.
8978 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8979 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8980 <kernel-features.h>.
8981 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8982 conditional variable definition.
8983 (shm_open) [O_CLOEXEC]: Make code unconditional.
8984 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8985 code.
8986
c2570a0b
JM
8987 * configure.ac (USE_REGPARMS): Don't define here.
8988 * configure: Regenerated.
8989 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8990 * sysdeps/i386/configure: Regenerated.
8991
11b076bb
JM
8992 * nptl/createthread.c: Don't include kernel-features.h.
8993 * nptl/pthread_cancel.c: Likewise.
8994 * nptl/pthread_condattr_setclock.c: Likewise.
8995 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8996 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8997 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8998 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8999 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9000 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9001 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9002 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9003 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9004 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9005 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9006 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9007 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9008 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9009 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9010 * nscd/gai.c: Likewise.
9011 * nss/nss_db/db-open.c: Likewise.
9012 * sysdeps/generic/ldsodefs.h: Likewise.
9013 * sysdeps/sh/nptl/tls.h: Likewise.
9014 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9015 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9016 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9017 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9018 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9019 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9020 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9021 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9022 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9023 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9024 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9025 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9026 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9027 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9028 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9029 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9030 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9031 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9032 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9033 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9036 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9037 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9038 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9039 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9040 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9041 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9042 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9043 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9044 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9045 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9046 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9047 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9048 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9049 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9050 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9051 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9052 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9053 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9054 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9055 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9056 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9057 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9058 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9059 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9060 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9061 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9062 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9063 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9064 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9065 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9066 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9067 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9068 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9069 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9070 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9071 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9094 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9095 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9096 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9097 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9098 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9099 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9101 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9102 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9103 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9104 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9105 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9106 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9107 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9108 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9109 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9110 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9111 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9112 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9113 * sysdeps/unix/sysv/linux/system.c: Likewise.
9114 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9115 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9116 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9117 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9118 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9119 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9120 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9121
92072d57
JM
9122 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9123 * configure: Regenerated.
9124 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9125
3e239be6
JM
9126 * configure.ac (base_machine): Do not set specially for particular
9127 machines here.
9128 * configure: Regenerated.
9129 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9130 settings from configure.ac.
9131 * sysdeps/i386/preconfigure: New file.
9132 * sysdeps/s390/preconfigure: Likewise.
9133 * sysdeps/sh/preconfigure: Likewise.
9134 * sysdeps/sparc/preconfigure: Likewise.
9135
06d50baa
RM
91362014-06-25 Roland McGrath <roland@hack.frob.com>
9137
74836003
RM
9138 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9139 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9140 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9141 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9142 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9143 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9144 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9145 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9146 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9147 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9148 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9149 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9150 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9151 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9152 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9153 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9154 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9155 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9156 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9157
9158 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9159 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9160 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9161 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9162 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9163 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9164 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9165 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9166 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9167 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9168 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9169 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9170 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9171 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9172 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9173 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9174 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9175 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9176 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9177 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9179 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9183 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9184 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9185 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9186 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9187 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9189 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9191 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9192 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9193 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9194 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9195 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9196
06d50baa
RM
9197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9198 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9200 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9202 Moved ...
9203 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9204 ... here.
9205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9206 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9208 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9210 Moved ...
9211 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9213 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9215 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9217 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9219 Moved ...
9220 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9222 Moved ...
9223 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9227 Moved ...
9228 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9230 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9232 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9234 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9236 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9238 Moved ...
9239 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9240 ... here.
9241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9242 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9244 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9246 Moved ...
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9251 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9253 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9255 Moved ...
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9258 Moved ...
9259 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9263 Moved ...
9264 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9266 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9268 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9269
a4ccbc9b
JM
92702014-06-25 Joseph Myers <joseph@codesourcery.com>
9271
0828edbf
JM
9272 * timezone/checktab.awk: Update from tzcode 2014e.
9273 * timezone/private.h: Likewise.
9274 * timezone/tzfile.h: Likewise.
9275 * timezone/zdump.c: Likewise.
9276 * timezone/zic.c: Likewise.
9277
a4ccbc9b
JM
9278 * sysdeps/unix/sysv/linux/kernel-features.h
9279 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9281 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9282 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9283 Remove conditional code.
9284
9aea0cb8
WN
92852014-06-25 Will Newton <will.newton@linaro.org>
9286
9287 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9288 (_dl_arm_cap_flags): Add HWCAP2 values.
9289 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9290 (_DL_HWCAP_COUNT): Increase to 37.
9291 (_DL_HWCAP_LAST): New define.
9292 (_DL_HWCAP2_LAST): New define.
9293 (_dl_procinfo): Add support for printing
9294 AT_HWCAP2 entries.
9295 (_dl_string_hwcap): Use _dl_hwcap_string.
9296
6eaa65ce
AZ
92972014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9298
9299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9300
0f5b7185
JM
93012014-06-25 Joseph Myers <joseph@codesourcery.com>
9302
cfd2ea50
JM
9303 * README: Do not mention ports directory.
9304
cecf2ed4
JM
9305 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9306 Remove macro.
9307 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9308 <kernel-features.h>.
9309 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9310 conditional variable definition.
9311 (__futimes): Update comment.
9312 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9313 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9314
a638de82
JM
9315 [BZ #16560]
9316 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9317 arguments close to 0.
9318 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9319 Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9321 Likewise.
9322 * math/auto-libm-test-in: Add more tests of exp10.
9323 * math/auto-libm-test-out: Regenerated.
9324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9325
0f5b7185
JM
9326 * sysdeps/unix/sysv/linux/kernel-features.h
9327 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9328 * sysdeps/unix/sysv/linux/readv.c: Do not include
9329 <kernel-features.h>.
9330 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9331 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9332 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9333 unconditional.
9334 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9335 conditional code.
9336 * sysdeps/unix/sysv/linux/writev.c: Do not include
9337 <kernel-features.h>.
9338 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9339 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9340 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9341 unconditional.
9342 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9343 conditional code.
9344
c7aec4be
WN
93452014-06-25 Will Newton <will.newton@linaro.org>
9346
9347 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9348 comment changes throughout the file. Remove checks
9349 for HAVE_*_H definitions that are not required.
9350 (__gen_tempname): Call abort if an unknown kind value is
9351 passed.
9352
c5241f95
AS
93532014-06-25 Andreas Schwab <schwab@suse.de>
9354
9355 [BZ #17086]
9356 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9357 scalbln, scalblnf, scalblnl in libc.
9358
911422da
SP
93592014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9360
9361 [BZ #17086]
9362 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9363 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9364 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9365
0d749bbe
RM
93662014-06-24 Roland McGrath <roland@hack.frob.com>
9367
9368 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9369 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9370 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9371 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9372 Update #include.
9373 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9374 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9375 Update #include.
9376 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9377 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9378 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9379 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9380 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9381 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9382 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9383 * sysdeps/x86/bits/semaphore.h: ... here.
9384 * sysdeps/x86/nptl/elide.h: Moved ...
9385 * sysdeps/x86/elide.h: ... here.
9386 * sysdeps/x86_64/nptl/Implies: File removed.
9387 * sysdeps/i386/nptl/Implies: File removed.
9388
0ea5d373
JM
93892014-06-24 Joseph Myers <joseph@codesourcery.com>
9390
4060283d
JM
9391 [BZ #16539]
9392 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9393 return the argument for normal arguments with exponent below -64.
9394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9395 Likewise.
9396 * math/auto-libm-test-in: Add another test of expm1.
9397 * math/auto-libm-test-out: Regenerated.
9398
e7dd3c8c
JM
9399 [BZ #16287]
9400 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9401 calling __erfcl for arguments at least 16.
9402 * math/auto-libm-test-in: Add more tests of erf.
9403 * math/auto-libm-test-out: Regenerated.
9404
0ea5d373
JM
9405 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9406 individual architectures.
9407 * sysdeps/unix/sysv/linux/configure: Regenerated.
9408 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9409 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9410 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9411 (ldd_rewrite_script): Define variable.
9412 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9414 file.
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9416 generated file.
9417 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9418 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9419 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9420 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9421 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9422 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9423 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9424 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9425
2307e126
SP
94262014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9427
9428 [BZ #17084]
9429 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9430 Rename member __data.d to __data.__elision_data.
9431
c0a4ed77
W
94322014-06-24 Wilco <wdijkstr@arm.com>
9433
9434 * NEWS: Add 16918 to fixed bug list.
9435
b8c00573
W
94362014-06-24 Wilco <wdijkstr@arm.com>
9437
9438 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9439
b5570d92
W
94402014-06-24 Wilco <wdijkstr@arm.com>
9441
9442 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9443 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9444 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9445 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9446 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9447 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9448 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9449 Use _FPU_MASK_RM.
9450
947bdca2
W
94512014-06-24 Wilco <wdijkstr@arm.com>
9452
9453 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9454
00f669ed
W
94552014-06-24 Wilco <wdijkstr@arm.com>
9456
9457 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9458 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9459 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9460 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9461
db59bad3
W
94622014-06-24 Wilco <wdijkstr@arm.com>
9463
9464 [BZ #16918]
9465 * sysdeps/arm/feupdateenv.c (feupdateenv):
9466 Rewrite to reduce FPSCR accesses and fix return value.
9467
001f7b77
W
94682014-06-24 Wilco <wdijkstr@arm.com>
9469
9470 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9471 Optimize to avoid unnecessary FPSCR writes.
9472 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9473 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9474 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9475 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9476
4841e6a6
W
94772014-06-24 Wilco <wdijkstr@arm.com>
9478
9479 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9480 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9481 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9482 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9483 Call libc_fetestexcept_vfp.
9484 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9485 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9486 __SOFTFP__ ifdef so that they can be built for softfp.
9487
0813022c
SP
94882014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9489
08e5862f
SP
9490 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9491 argument type signed char.
9492
0813022c
SP
9493 * Makerules (check-abi): Dump diff of symlist if the test
9494 fails.
9495
3fc7236a
RM
94962014-06-23 Roland McGrath <roland@hack.frob.com>
9497
aba8ef95
RM
9498 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9499 using abort.
9500
3fc7236a
RM
9501 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9502 Remove unused variable ST.
9503
4da6db51
JM
95042014-06-23 Joseph Myers <joseph@codesourcery.com>
9505
4648909d
JM
9506 [BZ #16354]
9507 [BZ #17061]
9508 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9509 small arguments before calling __expm1.
9510 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9511 small arguments before calling __expm1f.
9512 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9513 small arguments before calling __expm1l.
9514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9515 Likewise.
9516 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9517 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9518 spurious underflow for some cosh tests.
9519 * math/auto-libm-test-out: Regenerated.
9520 * sysdeps/i386/fpu/libm-test-ulps: Update.
9521
46a3d3c7
JM
9522 [BZ #17050]
9523 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9524 (__ieee754_y1): Set errno if return value overflows.
9525 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9526 (__ieee754_y1f): Set errno if return value overflows.
9527 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9528 (__ieee754_y1l): Set errno if return value overflows.
9529 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9530 (__ieee754_y1l): Set errno if return value overflows.
9531 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9532 * math/auto-libm-test-out: Regenerated.
9533
863893ec
JM
9534 * math/gen-auto-libm-tests.c: Document use of
9535 ignore-zero-inf-sign.
9536 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9537 (input_flags): Add ignore-zero-inf-sign.
9538 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9539 * math/gen-libm-test.pl (generate_testfile): Handle
9540 ignore-zero-inf-sign.
9541 * math/auto-libm-test-in: Mark some cpow tests with
9542 ignore-zero-inf-sign and some with xfail-rounding.
9543 * math/auto-libm-test-out: Regenerated.
9544 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9545 * sysdeps/i386/fpu/libm-test-ulps: Update.
9546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9547
4da6db51
JM
9548 [BZ #16315]
9549 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9550 overflowing or underflowing operations take place with sign of
9551 result.
9552 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9553 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9554 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9555 (__ieee754_pow): Recompute overflowing and underflowing results in
9556 original rounding mode.
9557 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9558 (__powl_helper): Allow negative argument X and scale negated value
9559 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9560 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9561 overflowing or underflowing operations take place with sign of
9562 result.
9563 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9564 Include <math.h>.
9565 * math/auto-libm-test-in: Add more tests of pow.
9566 * math/auto-libm-test-out: Regenerated.
9567 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9568 (pow_tonearest_test_data): Remove.
9569 (pow_test_tonearest): Likewise.
9570 (pow_towardzero_test_data): Likewise.
9571 (pow_test_towardzero): Likewise.
9572 (pow_downward_test_data): Likewise.
9573 (pow_test_downward): Likewise.
9574 (pow_upward_test_data): Likewise.
9575 (pow_test_upward): Likewise.
9576 (main): Don't call removed functions.
9577 * sysdeps/i386/fpu/libm-test-ulps: Update.
9578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9579
5686b236
RM
95802014-06-23 Roland McGrath <roland@hack.frob.com>
9581
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9583 Moved ...
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9586 Moved ...
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9589 Moved ...
9590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9592 Moved ...
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9595 File removed.
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9597 File removed.
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9599 File removed.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9601 File removed.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9603 File removed.
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9605 File removed.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9607 File removed.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9609 File removed.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9611 File removed.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9613 File removed.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9615 File removed.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9617 File removed.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9619 Moved ...
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9622 Moved ...
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9624 ... here.
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9626 Moved ...
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9629 Moved ...
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9632 Moved ...
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9635 Moved ...
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9638 Moved ...
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9641 Moved ...
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9644 Moved ...
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9648 ... here.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9650 Moved ...
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9653 Moved ...
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9655 ... here.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9657 Moved ...
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9659 ... here.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9661 Moved ...
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9663 ... here.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9665 Moved ...
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9668 Moved ...
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9673 Moved ...
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9675 ... here.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9677 Moved ...
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9679 ... here.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9681 Moved ...
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9684 Moved ...
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9687 Moved ...
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9690 Moved ...
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9693 Moved ...
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9695 ... here.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9697 Moved ...
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9700 Moved ...
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9703 Moved ...
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9706 Moved ...
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9711 Moved ...
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9714 Moved ...
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9717 Moved ...
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9719 ... here.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9721 Moved ...
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9723 ... here.
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9725 Moved ...
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9727 ... here.
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9729 Moved ...
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9732 Moved ...
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9735 Moved ...
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9738 Moved ...
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9740 ... here.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9742 Moved ...
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9744 ... here.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9746 Moved ...
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9748 ... here.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9750 Moved ...
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9753 Moved ...
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9755
e6d90d67
WD
97562014-06-23 Will Newton <will.newton@linaro.org>
9757 Wilco <wdijkstr@arm.com>
9758
9759 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9760 implementation. Include get-rounding-mode.h.
9761 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9762 [!libc_feholdsetround_noex_ctx]: Define
9763 libc_feholdsetround_noex_ctx.
9764 [!libc_feholdsetround_noexf_ctx]: Define
9765 libc_feholdsetround_noexf_ctx.
9766 [!libc_feholdsetround_noexl_ctx]: Define
9767 libc_feholdsetround_noexl_ctx.
9768 (libc_feholdsetround_ctx): New function.
9769 (libc_feresetround_ctx): New function.
9770 (libc_feholdsetround_noex_ctx): New function.
9771 (libc_feresetround_noex_ctx): New function.
9772
d42df555
RM
97732014-06-23 Roland McGrath <roland@hack.frob.com>
9774
88a46474
RM
9775 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9776 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9777 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9778 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9779 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9780 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9781
15bed472
RM
9782 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9783 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9784 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9785 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9786 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9787 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9789 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9793 Moved ...
9794 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9795 ... here.
9796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9799 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9801 Moved ...
9802 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9804 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9806 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9808 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9809 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9810 Moved ...
9811 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9813 Moved ...
9814 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9815 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9816 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9818 Moved ...
9819 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9821 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9823 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9824 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9825 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9826 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9827 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9829 Moved ...
9830 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9831 ... here.
9832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9837 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9845 Moved ...
9846 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9850 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9852 Moved ...
9853 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9857 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9858
d42df555
RM
9859 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9860 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9861 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9884 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9886 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9887
76e5216e
JM
98882014-06-23 Joseph Myers <joseph@codesourcery.com>
9889
9890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9891 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9892 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9893 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9894 (IPV6_PMTUDISC_INTERFACE): Likewise.
9895 (IPV6_PMTUDISC_OMIT): Likewise.
9896
7a81cbcc
AS
98972014-06-23 Andreas Schwab <schwab@suse.de>
9898
9899 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9900 Remove unused errout label.
9901
db224009
AZ
99022014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9903
9904 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9905 macro: hardware supports Vector Crypto instructions.
9906
f393b4aa
WN
99072014-06-23 Will Newton <will.newton@linaro.org>
9908
cc7d0447
WN
9909 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9910 rather than __builtin_expect.
9911
d6d06225
WN
9912 * elf/dl-lookup.c (undefined_msg): Remove variable.
9913 (_dl_lookup_symbol_x): Replace undefined_msg with string
9914 literal.
9915
f393b4aa
WN
9916 * elf/dl-lookup.c (do_lookup_unique): New function.
9917 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9918 to a separate function.
9919
ac60763e
AS
99202014-06-23 Andreas Schwab <schwab@suse.de>
9921
9922 [BZ #17079]
9923 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9924 before reading the next line.
9925
c5c13355
WN
99262014-06-23 Will Newton <will.newton@linaro.org>
9927
9928 * test-skeleton.c (signal_handler): Use printf and %m
9929 rather than perror. Use printf rather than fprintf to
9930 stderr. Use puts rather than fputs to stderr.
9931 (main): Likewise.
9932
bd3675f9
LC
99332014-06-22 Ludovic Courtès <ludo@gnu.org>
9934
9935 * nscd/nscd.c (thread_info_t): Remove typedef.
9936 (thread_info): Remove variable.
9937
d03efb2f
AM
99382014-06-21 Allan McRae <allan@archlinux.org>
9939
9940 * NEWS: Mention CVE-2014-4043.
9941
bc4a86fa
RM
99422014-06-20 Roland McGrath <roland@hack.frob.com>
9943
dc9a54f8
RM
9944 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9945 * nptl/smp.h: ... here.
9946
bd7022c4
RM
9947 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9948
26ffd5e6
RM
9949 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9950 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9951 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9952 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9953
93a6d082
RM
9954 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9955 * nptl/stack-aliasing.h: New file.
9956 * sysdeps/i386/i686/stack-aliasing.h: New file.
9957 * sysdeps/i386/i686/nptl/Makefile: File removed.
9958 * sysdeps/x86_64/stack-aliasing.h: New file.
9959 * sysdeps/x86_64/nptl/Makefile
9960 (CFLAGS-pthread_create.c): Variable removed.
9961
bc4a86fa
RM
9962 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9963 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9964 old file.
9965 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9966 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9967 old file.
9968
2272ffc1
JM
99692014-06-21 Joseph Myers <joseph@codesourcery.com>
9970
9971 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9972 (__ASSUME_SIGFRAME_V2): Remove macro.
9973 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9974 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9975 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9976 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9977 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9978 Declare as function. Remove conditional macro definitions.
9979 (__default_rt_sa_restorer): Likewise.
9980 (__default_sa_restorer_v1): Remove declaration.
9981 (__default_sa_restorer_v2): Likewise.
9982 (__default_rt_sa_restorer_v1): Likewise.
9983 (__default_rt_sa_restorer_v2): Likewise.
9984 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9985 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9986 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9987
4b88139b
RM
99882014-06-20 Roland McGrath <roland@hack.frob.com>
9989
9990 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9991 (libpthread-routines): Add sysdep.
9992 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9993 * sysdeps/unix/sysv/linux/sparc/Versions
9994 (libpthread: GLIBC_2.3.3): New version set.
9995 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9996 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9997 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9998 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9999 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10000 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10001 Moved ...
10002 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10004 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10006 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10007 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10008 * sysdeps/sparc/nptl/sem_init.c: ... here.
10009 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10010 * sysdeps/sparc/nptl/sem_post.c: ... here.
10011 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10012 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10013 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10014 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10015 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10016 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10017 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10018 (libpthread-routines): Add cpu_relax.
10019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10020 File removed.
10021 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10022 (librt: GLIBC_2.3.3): New version set.
10023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10024 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10025 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10026 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10029 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10031 Moved ...
10032 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10034 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10036 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10038 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10040 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10042 Moved ...
10043 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10044 Update #include.
10045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10046 Moved ...
10047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10048 Update #include.
10049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10050 Moved ...
10051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10052 Update #include.
10053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10054 Moved ...
10055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10056 Update #include.
10057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10058 Moved ...
10059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10060 Update #include.
10061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10062 Moved ...
10063 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10064 Update #include.
10065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10066 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10072 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10074 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10076 Moved ...
10077 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10079 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10081 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10082
d7109027
JM
100832014-06-20 Joseph Myers <joseph@codesourcery.com>
10084
9bc6103d
JM
10085 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10086 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10087 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10088 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10089 * nscd/nscd.c: Likewise.
10090 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10091 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10092 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10093 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10094
d7109027
JM
10095 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10096 <kernel-features.h>.
10097 (init_mq_netlink): Remove conditional have_sock_cloexec
10098 definitions. Remove code conditional on have_sock_cloexec < 0.
10099 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10100 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10101 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10102 <kernel-features.h>.
10103 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10104 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10105
d92d8f8a
L
101062014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10107
10108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10109 Add tests for memset_chk and memset.
10110
10111 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10112 with AVX2_Usable.
10113
4e6d2347
MR
101142014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10115
257ce712
MR
10116 [BZ #16046]
10117 * elf/tst-dl-iter-static.c: New file.
10118 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10119
4e6d2347
MR
10120 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10121 error.
10122
a2a76afe
JM
101232014-06-20 Joseph Myers <joseph@codesourcery.com>
10124
7fd00f99
JM
10125 * sysdeps/unix/sysv/linux/kernel-features.h
10126 (__ASSUME_F_GETOWN_EX): Remove macro.
10127 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10128 <kernel-features.h>.
10129 (miss_F_GETOWN_EX): Remove variable or macro.
10130 (do_fcntl): Do not check miss_F_GETOWN_EX.
10131 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10132
4a103975
JM
10133 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10134 Remove macro.
10135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10136 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10137 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10138
a2a76afe
JM
10139 * sysdeps/unix/sysv/linux/kernel-features.h
10140 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10141 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10142 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10143 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10144
90e5dd48
MR
101452014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10146
10147 [BZ #17075]
10148 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10149 Fix calculation of the symbol's value.
10150 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10151 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10152 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10153 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10154 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10155 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10156 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10157 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10158 (modules-names): Add `tst-armtlsdescmod',
10159 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10160 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10161 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10162 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10163 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10164 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10165 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10166 ($(objpfx)tst-armtlsdescloc): New dependency.
10167 ($(objpfx)tst-armtlsdescextnow): Likewise.
10168 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10169 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10170 TLS scheme support.
10171 * sysdeps/arm/configure: Regenerate.
10172
809fdf0d
JM
101732014-06-20 Joseph Myers <joseph@codesourcery.com>
10174
10175 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10176 (__atfct_seterrno_2): Likewise.
10177 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10178 <kernel-features.h>.
10179 (__ASSUME_ATFCTS): Do not undefine and redefine.
10180 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10181 (__have_atfcts): Remove conditional definition.
10182 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10183 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10184 unreachable if [__ASSUME_ATFCTS].
10185 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10186 not undefine and redefine.
10187 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10188 <kernel-features.h>.
10189 (faccessat) [__NR_faccessat]: Make code unconditional.
10190 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10191 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10192 <kernel-features.h>.
10193 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10194 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10195 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10196 <kernel-features.h>.
10197 (fchownat) [__NR_fchownat]: Make code unconditional.
10198 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10199 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10200 <kernel-features.h>.
10201 (futimesat) [__NR_futimesat]: Make code unconditional.
10202 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10203 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10204 <kernel-features.h>.
10205 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10206 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10207 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10208 <kernel-features.h>.
10209 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10210 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10211 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10212 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10213 <kernel-features.h>.
10214 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10215 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10216 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10217 <kernel-features.h>.
10218 (linkat) [__NR_linkat]: Make code unconditional.
10219 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10220 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10221 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10222 <kernel-features.h>.
10223 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10224 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10225 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10226 <kernel-features.h>.
10227 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10228 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10229 * sysdeps/unix/sysv/linux/openat.c: Do not include
10230 <kernel-features.h>.
10231 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10232 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10233 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10234 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10235 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10236 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10237 <kernel-features.h>.
10238 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10239 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10240 result of INLINE_SYSCALL directly, not via int variable.
10241 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10242 <kernel-features.h>.
10243 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10244 (renameat) [__NR_renameat]: Make code unconditional.
10245 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10246 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10247 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10248 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10249 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10250 (__ASSUME_ATFCTS): Do not undefine and redefine.
10251 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10252 <kernel-features.h>.
10253 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10254 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10255 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10256 <kernel-features.h>.
10257 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10258 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10259 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10260 (__ASSUME_ATFCTS): Do not undefine and redefine.
10261 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10262 <kernel-features.h>.
10263 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10264 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10265 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10266 <kernel-features.h>.
10267 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10268 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10269
224c6c51
L
102702014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10271
10272 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10273
aa6ec754
AS
102742014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10275
10276 [BZ #17069]
10277 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10278 constructed tree before returning error.
10279 * posix/bug-regexp36.c: Expand test case.
10280
d8c2869d
SL
102812014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10282
3ef6b850
SL
10283 [BZ #6803]
10284 * math/libm-test.inc (scalbln_test_date):
10285 Add errno expectations.
10286 * math/w_scalblnf.c: New File.
10287 Add wrapper which checks for setting errno to ERANGE.
10288 Add weak_alias for corresponding scalbln function.
10289 * math/w_scalbln.c: Likewise.
10290 * math/w_scalblnl.c: Likewise.
10291 * math/Makefile (libm-calls): Add w_scalbln.
10292 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10293 Remove weak_alias for corresponding scalbln function.
10294 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10298 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10299 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10300 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10301 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10302 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10303 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10304 Remove long_double_symbol for scalblnl function in libm, libc.
10305 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10306 Add wrapper which checks for setting errno to ERANGE.
10307 Add long_double_symbol for scalblnl function in libm, libc.
10308 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10309 Remove long_double_symbol for scalblnl in libm.
10310 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10311 Add wrapper which checks for setting errno to ERANGE.
10312 Add long_double_symbol for scalblnl function in libm.
10313 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10314 Do not use wrapper because of own implementation.
10315
c8daec5c
L
103162014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10317
10318 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10319 3 bytes for __pad1 for x32.
10320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10321
5c74e47c
LM
103222014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10323 H.J. Lu <hongjiu.lu@intel.com>
10324
10325 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10326 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10327 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10328 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10329 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10330
4d43ef1e
AS
103312014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10332
10333 [BZ #17069]
10334 * posix/regcomp.c (parse_expression): Deallocate partially
10335 constructed tree before returning error.
10336 * posix/Makefile.c (tests): Add bug-regex36.
10337 (generated): Add bug-regex36.mtrace.
10338 (tests-special): Add $(objpfx)bug-regex36-mem.out
10339 (bug-regex36-ENV): New variable.
10340 ($(objpfx)bug-regex36-mem.out): New rule.
10341 * posix/bug-regex36.c: New file.
10342
51a7380b
WN
103432014-06-19 Will Newton <will.newton@linaro.org>
10344
10345 * malloc/malloc.c (systrim): If extra is zero then return
10346 early.
10347
91b84fe5
SP
103482014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10349
10350 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10351
f940b965
RE
103522014-06-19 Richard Earnshaw <rearnsha@arm.com>
10353
10354 * sysdeps/aarch64/strchr.S: New file.
10355
4ba7a00f
JM
103562014-06-18 Joseph Myers <joseph@codesourcery.com>
10357
10358 [BZ #17022]
10359 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10360 from arguments -2 or below.
10361 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10362 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10363
b3a9f56b
AS
103642014-06-18 Andreas Schwab <schwab@suse.de>
10365
10366 [BZ #17062]
10367 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10368 of a bracket expr not to run off the end of the string.
10369 * posix/Makefile (tests): Add tst-fnmatch3.
10370 * posix/tst-fnmatch3.c: New file.
10371
85d89278
JM
103722014-06-18 Joseph Myers <joseph@codesourcery.com>
10373
10374 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10375 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10376 [$(cross-compiling) = no]: Likewise.
10377 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10378 [$(cross-compiling) = no]: Likewise.
10379
754c5a08
RS
103802014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10381
10382 [BZ #17031]
10383 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10384 double, adjusted for any remainder from the high double.
10385 * math/libm-test.inc (nearbyint): Add tests.
10386 (rint): Likewise.
10387
556f529d
AZ
103882014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10389
10390 * nptl/sysdeps/powerpc/Makefile: Moved ...
10391 * sysdeps/powerpc/nptl/Makefile: ... here.
10392 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10393 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10394 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10395 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10396 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10397 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10398 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10399 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10400 * nptl/sysdeps/powerpc/tls.h: Moved ...
10401 * sysdeps/powerpc/nptl/tls.h: ... here.
10402
91c03c53
JM
104032014-06-16 Joseph Myers <joseph@codesourcery.com>
10404
10405 [BZ #16681]
10406 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10407 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10408 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10409 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10410 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10411 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10412 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10413 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10414 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10415
a76e63c5
AS
104162014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10417
10418 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10419
f2f6d82f
AS
104202014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10421
ea8a15f6
AS
10422 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10423 defined operator.
10424
f2f6d82f
AS
10425 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10426 $TIMEOUTFACTOR.
10427
a7291117
FW
104282014-06-16 Florian Weimer <fweimer@redhat.com>
10429
10430 [BZ #17058]
10431 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10432 non-executed part of the test.
10433
3d7c00e3
AS
104342014-06-16 Andreas Schwab <schwab@suse.de>
10435
10436 * string/bits/string2.h (strdup, strndup): Update feature guard.
10437
6957fb31
DM
104382014-06-14 David S. Miller <davem@davemloft.net>
10439
10440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10441
11b9e55b
AS
104422014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10443
1d2a0492
AS
10444 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10445 that was previously under [RESET_PID].
10446 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10447
11b9e55b
AS
10448 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10449 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10450 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10451 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10452 (__libc_vfork): New strong alias.
10453 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10454
0f6901d0
AK
104552014-06-14 Andi Kleen <ak@linux.intel.com>
10456
10457 * sysdeps/generic/elide.h: New file.
10458
38bbbb9f
SL
104592014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10460
10461 * Makefile (installed-headers): Adjust path of pthread.h header.
10462
45193bb8
RM
104632014-06-13 Roland McGrath <roland@hack.frob.com>
10464
9a25fd1e
RM
10465 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10466 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10467 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10468 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10469
4004f7e4
RM
10470 * nptl/sysdeps/s390/Makefile: Moved ...
10471 * sysdeps/s390/nptl/Makefile: ... here.
10472 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10473 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10474 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10475 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10476 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10477 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10478 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10479 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10480 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10481 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10482 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10483 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10484 * nptl/sysdeps/s390/tls.h: Moved ...
10485 * sysdeps/s390/nptl/tls.h: ... here.
10486
45193bb8
RM
10487 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10488 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10489
f6fdf533
DM
104902014-06-13 David S. Miller <davem@davemloft.net>
10491
10492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10495 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10499 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10500 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10501 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10502 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10503 Remove RESET_PID cpp guards.
10504 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10505 Remove RESET_PID cpp guards.
10506 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10507
f5d71e14
AS
105082014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10509
10510 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10511 __sp to uintptr_t.
10512
b7aa8caa
AK
105132014-06-13 Andi Kleen <ak@linux.intel.com>
10514
4b266200
AZ
10515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10516 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10517 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10518 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10519 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10521 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10522 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10523 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10524 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10526 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10527 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10528 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10529 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10531 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10532 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10533 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10534 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10535
10536 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10537 (pthread_rwlock_rdlock): Add elision.
10538 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10539 (pthread_rwlock_wrlock): Add elision.
10540 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10541 (pthread_rwlock_trywrlock): Add elision.
10542 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10543 (pthread_rwlock_tryrdlock): Add elision.
10544 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10545 (pthread_rwlock_tryrdlock): Add elision unlock.
10546 * nptl/sysdeps/pthread/pthread.h:
10547 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10548 (PTHREAD_RWLOCK_INITIALIZER,
10549 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10550 Handle new elision field.
10551 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10552 * sysdeps/arm/nptl/bits/pthreadtypes.h
10553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10554 * sysdeps/sh/nptl/bits/pthreadtypes.h
10555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10556 * sysdeps/tile/nptl/bits/pthreadtypes.h
10557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10558 * sysdeps/a/nptl/bits/pthreadtypes.h
10559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10560 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10562 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10564 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10566 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10568 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10570 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10572 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10574 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10576 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10577 (elision_init): Set try_xbegin to zero when no RTM.
10578 * sysdeps/x86/nptl/bits/pthreadtypes.h
10579 (pthread_rwlock_t): Change __pad1 to __rwelision.
10580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10581
a832bdd3
AK
105822014-06-13 Andi Kleen <ak@linux.intel.com>
10583
10584 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10585 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10586 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10587 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10588
995a46bb
MI
105892014-06-13 Meador Inge <meadori@codesourcery.com>
10590
10591 [BZ #16996]
03ed7738 10592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10593 that the cached result has been set before returning it.
10594
45262aee
RM
105952014-06-12 Roland McGrath <roland@hack.frob.com>
10596
febf6cc5
RM
10597 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10598 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10599 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10600 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10601 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10602 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10603
e2682246
RM
10604 * nptl/sysdeps/sparc/Makefile: Moved ...
10605 * sysdeps/sparc/nptl/Makefile: ... here.
10606 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10607 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10608 * nptl/sysdeps/sparc/tls.h: Moved ...
10609 * sysdeps/sparc/nptl/tls.h: ... here.
10610 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10611 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10612 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10613 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10614 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10615 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10616 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10617 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10618 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10619 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10620 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10621 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10622 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10623 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10624 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10625 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10626 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10627 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10628 Update #include.
10629 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10630 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10631 Update #include.
10632 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10633 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10634 Update #include.
10635 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10636 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10637 Update #include.
10638
b0725f43
RM
10639 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10640
b14368b8
RM
10641 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10642 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10643
c5620eb3
RM
10644 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10645 (struct list_links): Type removed.
10646 (struct thread_node, struct timer_node): Replace struct list_links
10647 with struct list_head.
10648 (list_unlink_ip): Likewise.
10649 * sysdeps/pthread/timer_routines.c
10650 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10651 (list_append, list_insbefore): Likewise.
10652 (list_init): Function removed.
10653 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10654 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10655 * sysdeps/pthread/Makefile: ... here, new file.
10656
10657 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10658 * sysdeps/nptl/Implies: ... here.
10659 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10660 * nptl/sysdeps/pthread/list.h: Moved ...
10661 * include/list.h: ... here.
10662 * nptl/sysdeps/pthread/createthread.c: Moved ...
10663 * nptl/createthread.c: ... here.
10664 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10665 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10666 * nptl/pt-longjmp.c: ... here.
10667 * nptl/sysdeps/pthread/Makefile: Moved ...
10668 * sysdeps/nptl/Makefile: ... here.
10669 * nptl/sysdeps/pthread/Subdirs: Moved ...
10670 * sysdeps/nptl/Subdirs: ... here.
10671 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10672 * sysdeps/nptl/aio_misc.h: ... here.
10673 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10674 * sysdeps/nptl/bits/libc-lock.h: ... here.
10675 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10676 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10677 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10678 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10679 * nptl/sysdeps/pthread/configure: Moved ...
10680 * sysdeps/nptl/configure: ... here.
10681 * nptl/sysdeps/pthread/configure.ac: Moved ...
10682 * sysdeps/nptl/configure.ac: ... here.
10683 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10684 * sysdeps/nptl/gai_misc.h: ... here.
10685 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10686 * sysdeps/nptl/librt-cancellation.c: ... here.
10687 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10688 * sysdeps/nptl/malloc-machine.h: ... here.
10689 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10690 * sysdeps/nptl/pthread-functions.h: ... here.
10691 * nptl/sysdeps/pthread/pthread.h: Moved ...
10692 * sysdeps/nptl/pthread.h: ... here.
10693 * nptl/sysdeps/pthread/setxid.h: Moved ...
10694 * sysdeps/nptl/setxid.h: ... here.
10695 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10696 * sysdeps/nptl/sigfillset.c: ... here.
10697 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10698 * sysdeps/nptl/tcb-offsets.h: ... here.
10699 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10700 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10701 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10702 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10703 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10704 * sysdeps/pthread/allocalim.h: ... here.
10705 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10706 * sysdeps/pthread/bits/sigthread.h: ... here.
10707 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10708 * sysdeps/pthread/flockfile.c: ... here.
10709 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10710 * sysdeps/pthread/ftrylockfile.c: ... here.
10711 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10712 * sysdeps/pthread/funlockfile.c: ... here.
10713 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10714 * sysdeps/pthread/posix-timer.h: ... here.
10715 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10716 * sysdeps/pthread/timer_create.c: ... here.
10717 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10718 * sysdeps/pthread/timer_delete.c: ... here.
10719 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10720 * sysdeps/pthread/timer_getoverr.c: ... here.
10721 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10722 * sysdeps/pthread/timer_gettime.c: ... here.
10723 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10724 * sysdeps/pthread/timer_routines.c: ... here.
10725 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10726 * sysdeps/pthread/timer_settime.c: ... here.
10727 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10728 * sysdeps/pthread/tst-timer.c: ... here.
10729 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10730 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10731
e876b090
RM
10732 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10733 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10734
f6b07b3d
RM
10735 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10736 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10737 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10738 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10739 Update #include target.
10740 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10741 * sysdeps/i386/i686/nptl/Makefile: ... here.
10742 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10743 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10744 Update #include target.
10745 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10746 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10747 * nptl/sysdeps/i386/Makefile: Moved ...
10748 * sysdeps/i386/nptl/Makefile: ... here.
10749 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10750 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10751 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10752 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10753 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10754 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10755 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10756 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10757 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10758 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10759 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10760 * nptl/sysdeps/i386/tls.h: Moved ...
10761 * sysdeps/i386/nptl/tls.h: ... here.
10762
45262aee
RM
10763 * sysdeps/sh/Makefile [$(subdir) = csu]
10764 (gen-as-const-headers): Add tcb-offsets.sym.
10765 * nptl/sysdeps/sh/Makefile: File removed.
10766 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10767 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10768 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10769 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10770 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10771 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10772 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10773 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10774 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10775 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10776 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10777 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10778 * nptl/sysdeps/sh/tls.h: Moved ...
10779 * sysdeps/sh/nptl/tls.h: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10781 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10782 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10783 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10784 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10785 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10786 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10787 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10788 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10789 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10791 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10793 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10795 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10797 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10799 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10801 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10802 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10803 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10804 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10805 Moved ...
10806 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10808 Moved ...
10809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10811 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10813 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10815 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10817 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10818 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10819 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10820 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10821 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10822 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10823 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10824 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10825 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10826 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10827 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10828
35a5e3e3
SL
108292014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10830
10831 * posix/spawn_faction_addopen.c: Include string.h.
10832
14642b85
RM
108332014-06-11 Roland McGrath <roland@hack.frob.com>
10834
10835 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10836 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10837 * nptl/sysdeps/x86_64/Makefile: Moved ...
10838 * sysdeps/x86_64/nptl/Makefile: ... here.
10839 * nptl/sysdeps/x86_64/configure: Moved ...
10840 * sysdeps/x86_64/nptl/configure: ... here.
10841 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10842 * sysdeps/x86_64/nptl/configure.ac: ... here.
10843 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10844 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10845 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10846 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10847 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10848 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10849 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10850 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10851 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10852 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10853 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10854 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10855 * nptl/sysdeps/x86_64/tls.h: Moved ...
10856 * sysdeps/x86_64/nptl/tls.h: ... here.
10857 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10858 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10859 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10860 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10861
10862 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10863
31c44fea
AZ
108642014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10865
10866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10867
e81a4f9a
JM
108682014-06-11 Joseph Myers <joseph@codesourcery.com>
10869
10870 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10871 type.
10872 [POSIX] (off_t): Likewise.
10873 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10874 [POSIX] (S_ISBLK): Require macro.
10875 [POSIX] (S_ISCHR): Likewise.
10876 [POSIX] (S_ISDIR): Likewise.
10877 [POSIX] (S_ISFIFO): Likewise.
10878 [POSIX] (S_ISREG): Likewise.
10879 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10880 optional-macro.
10881 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10882 type.
10883 [POSIX] (time_t): Likewise.
10884 [POSIX] (timer_t): Likewise.
10885
89e435f3
FW
108862014-06-11 Florian Weimer <fweimer@redhat.com>
10887
10888 [BZ #17048]
10889 * posix/spawn_int.h (struct __spawn_action): Make the path string
10890 non-const to support deallocation.
10891 * posix/spawn_faction_addopen.c
10892 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10893 * posix/spawn_faction_destroy.c
10894 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10895 path in all spawn_do_open actions.
10896 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10897 posix_spawn_file_actions_addopen.
10898
c3a2ebe1
CM
108992014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10900
10901 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10902 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10903 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10904 conditional code always true.
10905 (__libc_vfork): New alias.
10906
9503784a
RM
109072014-06-11 Roland McGrath <roland@hack.frob.com>
10908
c9cab3d2
RM
10909 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10910 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10911
d3996c79
RM
10912 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10913
ba5ec611
RM
10914 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10915 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10916
f12b4814
RM
10917 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10918 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10919
9503784a
RM
10920 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10921 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10922
e23d3d26
VR
109232014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10924
10925 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10926 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10927 multiarch strcmp for PPC64.
10928 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10929 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10931 multiarch optimizations.
10932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10933 (__libc_ifunc_impl_list): Likewise.
10934
42b1161e
SP
109352014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10936
10937 * benchtests/scripts/validate_benchout.py: New script.
10938 * benchtests/Makefile (bench-func): Call it.
10939 * benchtests/scripts/benchout.schema.json: New file.
10940
2d0fc4dc
CM
109412014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10942
4a594c34
AZ
10943 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10944 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10945 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10946 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10947 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10948 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10949 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10950 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10951 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10952 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10953 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10954 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10955 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10956 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10957 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10958 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10960 Moved ...
4a594c34 10961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10962 ... here.
4a594c34 10963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10964 Moved ...
4a594c34
AZ
10965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10967 Moved ...
4a594c34 10968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10969 ... here.
4a594c34 10970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10971 Moved ...
4a594c34 10972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10973 ... here.
4a594c34 10974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10975 Moved ...
4a594c34
AZ
10976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10978 Moved ...
4a594c34 10979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10980 ... here.
4a594c34 10981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10982 Moved ...
4a594c34 10983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10984 ... here.
4a594c34 10985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10986 Moved ...
4a594c34
AZ
10987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10989 Moved ...
4a594c34 10990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10991 ... here.
4a594c34 10992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10993 Moved ...
4a594c34 10994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10995 ... here.
4a594c34 10996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10997 Moved ...
4a594c34 10998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10999 ... here.
4a594c34 11000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11001 Moved ...
4a594c34
AZ
11002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11004 Moved ...
4a594c34 11005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11006 ... here.
4a594c34 11007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11008 Moved ...
4a594c34 11009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11010 ... here.
4a594c34 11011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11012 Moved ...
4a594c34 11013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11014 ... here.
4a594c34 11015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11016 Moved ...
4a594c34
AZ
11017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11019 Moved ...
4a594c34 11020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11021 ... here.
4a594c34 11022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11023 Moved ...
4a594c34 11024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11025 ... here.
4a594c34 11026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11027 Moved ...
4a594c34
AZ
11028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11030 Moved ...
4a594c34 11031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11032 ... here.
4a594c34 11033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11034 Moved ...
4a594c34
AZ
11035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11037 Moved ...
4a594c34
AZ
11038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11040 Moved ...
4a594c34 11041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11042 ... here.
4a594c34 11043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11044 Moved ...
4a594c34 11045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11046 ... here.
4a594c34 11047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11048 Moved ...
4a594c34 11049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11050 ... here.
4a594c34 11051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11052 Moved ...
4a594c34
AZ
11053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11055 Moved ...
4a594c34 11056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11057 ... here.
4a594c34 11058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11059 Moved ...
4a594c34 11060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11061 ... here.
4a594c34
AZ
11062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11063 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11064 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11065 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11067 Moved ...
4a594c34 11068 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11069 ... here.
4a594c34
AZ
11070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11071 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11073 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11075 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11077 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11079 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11080 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11081 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11083 Moved ...
4a594c34
AZ
11084 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11086 Moved ...
4a594c34
AZ
11087 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11089 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11091 Moved ...
4a594c34
AZ
11092 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11093 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11094 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11095 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11096 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11097 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11098 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11099
0570cfed
W
111002014-06-10 Wilco <wdijkstr@arm.com>
11101
11102 * math/test-fenv-return.c: New file.
11103 * math/Makefile: Add new test test-fenv-return.
11104
f8ba1b56
JM
111052014-06-10 Joseph Myers <joseph@codesourcery.com>
11106
11107 [BZ #17042]
11108 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11109 when x - 1 is zero.
11110 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11111 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11112 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11113 0.0L for an argument of 1.0L.
11114 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11115 Likewise.
11116 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11117 value when x - 1 is zero.
11118 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11119 * sysdeps/i386/fpu/libm-test-ulps: Update.
11120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11121
2c3520d9
BO
111222014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11123
11124 [BZ #15119]
11125 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11126
acaa4d24
RM
111272014-06-09 Roland McGrath <roland@hack.frob.com>
11128
11129 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11130 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11131
962b744d
RM
111322014-06-09 Roland McGrath <roland@hack.frob.com>
11133
d752f0cc
RM
11134 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11135 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11136
34eda6d1
RM
11137 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11138 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11139
50f0a637
RM
11140 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11141 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11142
08f41f04
RM
11143 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11144 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11145
962b744d
RM
11146 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11147 if not already defined.
11148 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11149 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11150 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11151 (TLS_INIT_TP): Use it.
11152 (TLS_DEFINE_INIT_TP): New macro.
11153 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11154
09f19b05
JM
111552014-06-09 Joseph Myers <joseph@codesourcery.com>
11156
11157 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11158 constant.
11159 [POSIX] (IXANY): Likewise.
11160 [POSIX] (OLCUC): Likewise.
11161 [POSIX || POSIX2008] (CBAUD): Do not allow.
11162 [POSIX || POSIX2008] (DEFECHO): Likewise.
11163 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11164 [POSIX || POSIX2008] (ECHOKE): Likewise.
11165 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11166 [POSIX || POSIX2008] (EXTA): Likewise.
11167 [POSIX || POSIX2008] (EXTB): Likewise.
11168 [POSIX || POSIX2008] (FLUSHO): Likewise.
11169 [POSIX || POSIX2008] (LOBLK): Likewise.
11170 [POSIX || POSIX2008] (PENDIN): Likewise.
11171 [POSIX || POSIX2008] (SWTCH): Likewise.
11172 [POSIX || POSIX2008] (VDISCARD): Likewise.
11173 [POSIX || POSIX2008] (VDSUSP): Likewise.
11174 [POSIX || POSIX2008] (VLNEXT): Likewise.
11175 [POSIX || POSIX2008] (VREPRINT): Likewise.
11176 [POSIX || POSIX2008] (VSTATUS): Likewise.
11177 [POSIX || POSIX2008] (VWERASE): Likewise.
11178 (B*): Change to B[0123456789]*.
11179 * conform/data/time.h-data [POSIX || UNIX98]
11180 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11181 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11182 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11183 [POSIX] (tm_*): Do not allow.
11184
686554bf
JM
111852014-06-07 Joseph Myers <joseph@codesourcery.com>
11186
11187 * Makefile (install): Don't set LANGUAGE.
11188 * Makefile.in (install): Likewise.
11189 * assert/Makefile (test-assert-ENV): Remove variable.
11190 (test-assert-perr-ENV): Likewise.
11191 * elf/Makefile (neededtest4-ENV): Likewise.
11192 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11193 [$(cross-compiling) = no]: Don't set LANGUAGE.
11194 * io/ftwtest-sh (LANG): Remove variable.
11195 * libio/Makefile (tst-widetext-ENV): Likewise.
11196 * manual/install.texi (Running make install): Don't refer to
11197 environment settings for make install.
11198 * INSTALL: Regenerated.
11199 * nptl/tst-tls6.sh: Don't set LANG.
11200 * posix/globtest.sh (LANG): Remove variable.
11201 * string/Makefile (tester-ENV): Likewise.
11202 (inl-tester-ENV): Likewise.
11203 (noinl-tester-ENV): Likewise.
11204 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11205 [$(cross-compiling) = no]: Don't set LANGUAGE.
11206 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11207 without explicit environment settings.
11208
68e6b6b1
RM
112092014-06-06 Roland McGrath <roland@hack.frob.com>
11210
11211 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11212 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11213 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11214 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11215
4d3ae034
CM
112162014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11217
11218 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11219 other files in the crypt directory.
11220 * crypt/crypt.c: Remove duplicate includes.
11221 * crypt/crypt-entry.c: Likewise.
11222 * crypt/crypt_util.c: Likewise.
11223
8540f6d2
JM
112242014-06-06 Joseph Myers <joseph@codesourcery.com>
11225
11226 * Makeconfig (run-program-env): New variable.
11227 (run-program-prefix-before-env): Likewise.
11228 (run-program-prefix-after-env): Likewise.
11229 (run-program-prefix): Define in terms of new variables.
11230 (built-program-cmd-before-env): New variable.
11231 (built-program-cmd-after-env): Likewise.
11232 (built-program-cmd): Define in terms of new variables.
11233 (test-program-prefix-before-env): New variable.
11234 (test-program-prefix-after-env): Likewise.
11235 (test-program-prefix): Define in terms of new variables.
11236 (test-program-cmd-before-env): New variable.
11237 (test-program-cmd-after-env): Likewise.
11238 (test-program-cmd): Define in terms of new variables.
11239 * Rules (make-test-out): Use $(run-program-env).
11240 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11241 (help): Do not mention environment variables. Mention
11242 --timeoutfactor option.
11243 (timeoutfactor): New variable.
11244 (blacklist_exports): Remove function.
11245 (exports): Remove variable.
11246 (command): Do not include ${exports}.
11247 * manual/install.texi (Configuring and compiling): Do not mention
11248 test wrappers preserving environment variables. Mention that last
11249 assignment to a variable must take precedence.
11250 * INSTALL: Regenerated.
11251 * benchtests/Makefile (run-bench): Use $(run-program-env).
11252 * catgets/Makefile ($(objpfx)test1.cat): Use
11253 $(built-program-cmd-before-env), $(run-program-env) and
11254 $(built-program-cmd-after-env).
11255 ($(objpfx)test2.cat): Do not specify environment variables
11256 explicitly.
11257 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11258 $(run-program-env) and $(built-program-cmd-after-env).
11259 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11260 $(run-program-env) and $(test-program-cmd-after-env).
11261 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11262 explicitly.
11263 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11264 run_program_env and test_program_cmd_after_env arguments.
11265 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11266 * elf/tst-pathopt.sh: Use run_program_env argument.
11267 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11268 $(test-wrapper-env) and $(run-program-env).
11269 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11270 run_program_env arguments.
11271 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11272 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11273 $(test-program-prefix-before-env), $(run-program-env) and
11274 $(test-program-prefix-after-env).
11275 ($(objpfx)tst-gettext2.out): Likewise.
11276 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11277 run_program_env and test_program_prefix_after_env arguments.
11278 * intl/tst-gettext2.sh: Likewise.
11279 * intl/tst-gettext4.sh: Do not set environment variables
11280 explicitly.
11281 * intl/tst-gettext6.sh: Likewise.
11282 * intl/tst-translit.sh: Likewise.
11283 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11284 $(test-program-prefix-before-env), $(run-program-env) and
11285 $(test-program-prefix-after-env).
11286 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11287 run_program_env and test_program_prefix_after_env arguments.
11288 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11289 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11290 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11291 explicitly with each use of ${test_wrapper_env}.
11292 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11293 $(test-program-prefix-before-env), $(run-program-env) and
11294 $(test-program-prefix-after-env).
11295 * posix/tst-getconf.sh: Do not set environment variables
11296 explicitly.
11297 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11298 run_program_env and test_program_prefix_after_env arguments.
11299 * stdio-common/tst-printf.sh: Do not set environment variables
11300 explicitly.
11301 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11302 $(test-program-prefix-before-env), $(run-program-env) and
11303 $(test-program-prefix-after-env).
11304 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11305 run_program_env and test_program_prefix_after_env arguments.
11306 Split $test calls into $test_pre and $test.
11307 * timezone/Makefile (build-testdata): Use
11308 $(built-program-cmd-before-env), $(run-program-env) and
11309 $(built-program-cmd-after-env).
11310
ed36bfa1
AZ
113112014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11312
11313 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11314 strlen for non SHARED builds.
11315
fc75bf46
SP
113162014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11317
11318 * nptl/allocatestack.c (check_list): Inlined function...
11319 (__reclaim_stacks): ... here.
11320
d89b3d80
OB
113212014-06-05 Ondřej Bílka <neleai@seznam.cz>
11322
11323 [BZ #15698]
11324 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11325 memory overrun.
11326
2bf18041
JM
113272014-06-05 Joseph Myers <joseph@codesourcery.com>
11328
11329 * Rules (make-test-out): Include
11330 LOCPATH=$(common-objpfx)localedata in default environment.
11331 * debug/Makefile (tst-chk1-ENV): Remove variable.
11332 (tst-chk2-ENV): Likewise.
11333 (tst-chk3-ENV): Likewise.
11334 (tst-chk4-ENV): Likewise.
11335 (tst-chk5-ENV): Likewise.
11336 (tst-chk6-ENV): Likewise.
11337 (tst-lfschk1-ENV): Likewise.
11338 (tst-lfschk2-ENV): Likewise.
11339 (tst-lfschk3-ENV): Likewise.
11340 (tst-lfschk4-ENV): Likewise.
11341 (tst-lfschk5-ENV): Likewise.
11342 (tst-lfschk6-ENV): Likewise.
11343 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11344 (tst-iconv7-ENV): Likewise.
11345 * intl/Makefile (LOCPATH-ENV): Likewise.
11346 (tst-codeset-ENV): Likewise.
11347 (tst-gettext3-ENV): Likewise.
11348 (tst-gettext5-ENV): Likewise.
11349 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11350 (tst-fopenloc-ENV): Likewise.
11351 (tst-fgetws-ENV): Remove variable.
11352 (tst-ungetwc1-ENV): Likewise.
11353 (tst-ungetwc2-ENV): Likewise.
11354 (bug-ungetwc2-ENV): Likewise.
11355 (tst-swscanf-ENV): Likewise.
11356 (bug-ftell-ENV): Likewise.
11357 (tst-fgetwc-ENV): Likewise.
11358 (tst-fseek-ENV): Likewise.
11359 (tst-ftell-partial-wide-ENV): Likewise.
11360 (tst-ftell-active-handler-ENV): Likewise.
11361 (tst-ftell-append-ENV): Likewise.
11362 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11363 (tst-regexloc-ENV): Likewise.
11364 (bug-regex1-ENV): Likewise.
11365 (tst-regex-ENV): Likewise.
11366 (tst-regex2-ENV): Likewise.
11367 (bug-regex5-ENV): Likewise.
11368 (bug-regex6-ENV): Likewise.
11369 (bug-regex17-ENV): Likewise.
11370 (bug-regex18-ENV): Likewise.
11371 (bug-regex19-ENV): Likewise.
11372 (bug-regex20-ENV): Likewise.
11373 (bug-regex22-ENV): Likewise.
11374 (bug-regex23-ENV): Likewise.
11375 (bug-regex25-ENV): Likewise.
11376 (bug-regex26-ENV): Likewise.
11377 (bug-regex30-ENV): Likewise.
11378 (bug-regex32-ENV): Likewise.
11379 (bug-regex33-ENV): Likewise.
11380 (bug-regex34-ENV): Likewise.
11381 (bug-regex35-ENV): Likewise.
11382 (tst-rxspencer-ENV): Likewise.
11383 (tst-rxspencer-no-utf8-ENV): Likewise.
11384 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11385 (tst-sscanf-ENV): Likewise.
11386 (tst-swprintf-ENV): Likewise.
11387 (tst-swscanf-ENV): Likewise.
11388 (test-vfprintf-ENV): Likewise.
11389 (scanf13-ENV): Likewise.
11390 (bug14-ENV): Likewise.
11391 (tst-grouping-ENV): Likewise.
11392 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11393 (tst-strtod3-ENV): Likewise.
11394 (tst-strtod4-ENV): Likewise.
11395 (tst-strtod5-ENV): Likewise.
11396 (testmb2-ENV): Likewise./
11397 * string/Makefile (tst-strxfrm-ENV): Likewise.
11398 (tst-strxfrm2-ENV): Likewise.
11399 (bug-strcoll1-ENV): Likewise.
11400 (test-strcasecmp-ENV): Likewise.
11401 (test-strncasecmp-ENV): Likewise.
11402 * time/Makefile (tst-strptime-ENV): Likewise.
11403 (tst-ftime_l-ENV): Likewise.
11404 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11405 (tst-mbrtowc-ENV): Likewise.
11406 (tst-wcrtomb-ENV): Likewise.
11407 (tst-mbrtowc2-ENV): Likewise.
11408 (tst-c16c32-1-ENV): Likewise.
11409 (tst-mbsnrtowcs-ENV): Likewise.
11410
cd1fb604
OB
114112014-06-05 Ondřej Bílka <neleai@seznam.cz>
11412
11413 * manual/resource.texi (How to get information about the memory
11414 subsystem?): Fix typo.
11415 Reported by Peon de la Parra Ivan <peon@keba.com>
11416
b42eca7d
GY
114172014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11418
11419 [BZ #16882]
11420 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11421 (pthread_spin_lock): Branch out of spin loop to proper location.
11422 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11423 (pthread_spin_lock): Likewise.
11424
902b71f9
DM
11425 * nptl/tst-spin4.c: New test.
11426 * nptl/Makefile (tests): Add tst-spin4.
11427
f9d2d032
AS
114282014-06-03 Andreas Schwab <schwab@suse.de>
11429
11430 [BZ #15946]
11431 * resolv/res_send.c (send_dg): Reload file descriptor after
11432 calling reopen.
11433
cf7bfd28
SL
114342014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11435
11436 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11437
111cc714
RH
114382014-06-03 Richard Henderson <rth@redhat.com>
11439
89b4bd6b
RH
11440 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11441 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11442 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11443 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11444 in the SAVE_PID block.
11445 (__libc_vfork): New alias.
71840409 11446 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11447
111cc714
RH
11448 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11449 child in registers, not on the stack. Remove RESET_PID conditionals.
11450 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11451
ccc39911
MS
114522014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11453
11454 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11455
693096cc
W
114562014-06-03 Wilco <wdijkstr@arm.com>
11457
11458 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11459 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11460 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11461 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11462 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11463 Likewise.
11464
0b4366bc
W
114652014-06-03 Wilco <wdijkstr@arm.com>
11466
11467 * sysdeps/aarch64/fpu/math_private.h
11468 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11469 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11470 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11471 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11472 Fix declarations.
11473
8747cd03
KS
114742014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11475
11476 * crypt/crypt-private.h: Include ufc-crypt.h.
11477 (__b64_from_24bit): Declare extern.
11478 * crypt/crypt_util.c(__b64_from_24bit): New function.
11479 (b64t): New static const variable.
11480 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11481 (b64t): Remove variable.
11482 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11483 * crypt/sha256-crypt.c: Include crypt-private.h.
11484 (b64t): Remove variable.
11485 (__sha256_crypt_r): Remove b64_from_24bit and replace
11486 with __b64_from_24bit.
11487 * crypt/sha512-crypt.c: Likewise.
11488
d936d379
RM
114892014-06-02 Roland McGrath <roland@hack.frob.com>
11490
11491 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11492 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11493 Label the code __libc_vfork rather than __vfork.
11494 [!NOT_IN_libc] (vfork): Define as weak alias.
11495 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11496 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11497 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11498
9fa76613
SP
114992014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11500
11501 * malloc/malloc.c (malloc_info): Fix format specifier for
11502 n_mmaps.
11503
a88dadbe
W
115042014-06-02 Wilco <wdijkstr@arm.com>
11505
11506 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11507 FPCR write.
11508
c95b3011
W
115092014-06-02 Wilco <wdijkstr@arm.com>
11510
11511 [BZ #17009]
11512 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11513 Rewrite to reduce FPCR/FPSR accesses.
11514
6b4d7a90
DM
115152014-06-01 David S. Miller <davem@davemloft.net>
11516
11517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11518
30f3d07c
DM
115192014-05-31 David S. Miller <davem@davemloft.net>
11520
11521 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11522 to occur in round to nearest mode when |x| >= 2.0
11523
74f31c18
RH
115242014-05-30 Richard Henderson <rth@twiddle.net>
11525
f0712b54
RH
11526 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11527 (PSEUDO_RET_NOERRNO): Remove.
11528 (ret): Don't redefine.
11529 (ret_NOERRNO): Define in terms of ret.
11530 (ret_ERRVAL): Likewise.
11531
74f31c18
RH
11532 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11533 use of PSEUDO_RET; perform the error check directly.
11534
30477995
MM
115352014-05-30 Marko Myllynen <myllynen@redhat.com>
11536
11537 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11538 with __int128_t.
11539
62a58816
SP
115402014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11541
11542 * malloc/malloc (malloc_info): Fix formatting.
11543
4d653a59
SP
115442014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11545 Roland McGrath <roland@hack.frob.com>
11546
11547 * malloc/malloc (malloc_info): Also print mmapped statistics.
11548
5190c17f
RM
115492014-05-30 Roland McGrath <roland@hack.frob.com>
11550
11551 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11552 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11553
987c0269
OB
115542014-05-30 Ondřej Bílka <neleai@seznam.cz>
11555
11556 * malloc/malloc.c (malloc_info): Inline mi_arena.
11557
af4e8ef9
RH
115582014-05-29 Richard Henderson <rth@twiddle.net>
11559
1670e207
RH
11560 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11561 Remove comma before expanding ASM_ARGS_##nr.
11562 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11563 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11564 of ASM_ARGS_##nr.
11565 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11566 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11567 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11568 (ASM_ARGS_1): Add leading comma.
11569
11a28aee
RH
11570 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11571 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11572 to __errno_location.
11573 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11574 Remove the expected plt for __errno_location.
11575
a17e5ffb 11576 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11577 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11578 call to __read_tp.
11579
b5be4597
RH
11580 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11581 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11582 it and break it down.
11583 (DOCARGS_0, DOCARGS_1): Do nothing.
11584 (DOCARGS_2): Update to store into the new stack frame.
11585 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11586 (UNDOCARGS_1): Update to restore from the new stack frame.
11587 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11588 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11589
645d44ab
RH
11590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11591 (SINGLE_THREAD_P): New parameter for result regno.
11592 (PSEUDO): Update to match; use cbz instead of beq.
11593
a8b4f04a
RH
11594 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11595 Use ENTRY to define the _nocancel entry point. Share the syscall
11596 and syscall error check paths with the cancel path.
11597 (PSEUDO_END): New.
11598
af4e8ef9
RH
11599 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11600 whitespace; tabs before and after asm mnemonics.
11601
26b0d2e1
EW
116022014-05-29 Eric Wong <normalperson@yhbt.net>
11603
11604 [BZ #15132]
11605 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11606 Call fstat64 or stat64 internally, depending on arguments passed.
11607 Replace stat buffer argument with file descriptor argument.
11608 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11609 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11610 Pass fd to __internal_statvfs instead of calling fstat64.
11611 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11612 Pass fd to __internal_statvfs64 instead of calling fstat64.
11613 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11614 Pass -1 to __internal_statvfs instead of calling stat64.
11615 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11616 Pass -1 to __internal_statvfs64 instead of calling stat64.
11617
1efe2bd9
RM
116182014-05-28 Roland McGrath <roland@hack.frob.com>
11619
0d3b7a19
RM
11620 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11621 that was previously under [RESET_PID].
11622 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11623
1efe2bd9
RM
11624 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11625 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11626
a6bea3ca
RM
116272014-05-27 Roland McGrath <roland@hack.frob.com>
11628
30b6629e
RM
11629 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11630
a6bea3ca
RM
11631 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11632 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11633
3dfb9a5c
OB
116342014-05-27 Ondřej Bílka <neleai@seznam.cz>
11635
11636 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11637
774f9285
AS
116382014-05-27 Andreas Schwab <schwab@suse.de>
11639
11640 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11641 TLS_INIT_TP macro.
11642 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11643 * elf/rtld.c (init_tls, dl_main): Likewise.
11644 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11645 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11646 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11647 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11648 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11649 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11650 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11651 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11652 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11653 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11654 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11655 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11656 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11657 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11658 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11659 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11660 * sysdeps/generic/tls.h: Update description.
11661
36ffe739
WN
116622014-05-27 Will Newton <will.newton@linaro.org>
11663
11664 [BZ #16990]
11665 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11666 and restore r2 rather than just restoring.
11667
2482ae43
SP
116682014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11669
11670 [BZ #16724]
11671 * libio/tst-ftell-append.c: New test case.
11672 * libio/Makefile (tests): Add test case.
11673 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11674 append mode.
11675 * libio/wfileops.c (do_ftell_wide): Likewise.
11676
3d1024e8
AZ
116772014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11678
bab90016
AZ
11679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11680
c7a8d667
AZ
11681 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11682 ...
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11685 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11686 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11688 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11689 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11690 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11692 Moved ...
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11695 Moved ...
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11697 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11698 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11699 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11700 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11701 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11702 ...
11703 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11704 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11705 Moved ...
11706 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11707 here.
11708 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11709 ...
11710 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11711 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11712 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11713
daee7851
AZ
11714 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11715 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11716 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11717 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11718
50a40819
AZ
11719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11720 merge into ...
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11723 ...
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11726 ...
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11729 Moved ...
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11731 here.
11732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11733 Moved ...
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11736 Moved ...
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11738
8464c2a1
AZ
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11740 conditional [RESET_PID].
11741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11743 removed.
11744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11745 removed.
11746
3d1024e8
AZ
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11748 <tcb-offsets.h>.
11749 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11750 (__libc_vfork): New strong alias.
11751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11752 removed.
11753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11754 Removed.
11755
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11757 <tcb-offsets.h>.
11758 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11759 (__libc_vfork): New strong alias.
11760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11761 removed.
11762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11763 removed.
11764
fdfd175d
CD
117652014-05-26 Carlos O'Donell <carlos@redhat.com>
11766
11767 * malloc/malloc.c (mi_arena): New function.
11768 (malloc_info): Remove nested function mi_arena. Call non-nosted
11769 function mi_arena.
11770
d298c416
AZ
117712014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11772
11773 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11774 by insrwi.
11775 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11776 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11777 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11778 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11779 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11780 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11781 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11782
b60ea6ff
AS
117832014-05-26 Andreas Schwab <schwab@suse.de>
11784
11785 [BZ #16984]
11786 * locale/programs/repertoire.c (repertoire_read): Add slash
11787 between I18NPATH element and file name.
11788 * locale/programs/locfile.c (locfile_read): Likewise.
11789
67365926
SL
117902014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11791
11792 * nptl/pthread_mutexattr_settype.c
11793 (__pthread_mutexattr_settype):
11794 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11795
f8bdf1f0
SL
117962014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11797
11798 * nptl/tst-mutex5 (do_test):
11799 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11800
15eaf6ff
SP
118012014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11802
11803 * benchtests/README: Document 'init' directive.
11804 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11805 BENCH_INIT.
11806 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11807 (parse_file): Recognize 'init' directive.
11808
75f11331
KM
118092014-05-26 Kyle McMartin <kyle@redhat.com>
11810
11811 [BZ #16796]
11812 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11813 alignment of struct pthread.
11814
c3ec475c
SP
118152014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11816
11817 [BZ #16878]
11818 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11819 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11820 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11821 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11822
82aab97c
RH
118232014-05-25 Richard Henderson <rth@twiddle.net>
11824
aa2f176d
RH
11825 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11826 (SINGLE_THREAD_P_PIC): Remove.
11827 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11828 (SINGLE_THREAD_P_PIC): Remove.
11829
ca3cfa40
RH
11830 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11831 branch to syscall error ...
11832 (PSEUDO): ... here.
11833 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11834 from __local_syscall_error to .Lsyscall_error.
11835 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11836 (SYSCALL_ERROR): Update label name.
11837
6e6c2d01
RH
11838 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11839 Do not use DOARGS/UNDOARGS.
11840 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11841 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11842 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11843 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11844 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11845
c69abcee
RH
11846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11847 block comment.
11848
82aab97c
RH
11849 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11850 define if !NOT_IN_libc.
11851 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11852 define with non-default symbol versions.
11853
8820e3ac
RH
118542014-05-23 Richard Henderson <rth@twiddle.net>
11855
900e445f
RH
11856 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11857 (vfork, __vfork): Define via compat_symbol.
11858
8820e3ac
RH
11859 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11860 [!HAVE_IFUNC] (vfork_compat): Remove.
11861 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11862
e59252a5
JM
118632014-05-23 Joseph Myers <joseph@codesourcery.com>
11864
11865 [BZ #16978]
11866 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11867 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11868 variable.
11869
132c7f5f
RH
118702014-05-23 Richard Henderson <rth@twiddle.net>
11871
bc89e962
RH
11872 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11873 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11874 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11875 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11876
11877 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11878 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11879 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11880 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11881 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11882 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11883 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11884 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11885 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11886 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11887 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11888 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11889 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11890 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11892 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11893 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11894 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11895 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11896 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11898 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11899 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11900 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11901 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11902 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11904 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11908 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11909 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11910 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11912 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11913 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11914 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11915 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11916 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11917 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11918 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11919 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11920 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11921 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11922 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11924 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11926 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11928 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11929 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11930 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11931 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11932 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11933
e2fa4bc2
RH
11934 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11935 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11936 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11937 before exiting on error.
11938 (__libc_vfork): New strong alias.
11939 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11940 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11941
279b24e2
RH
11942 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11943 that was previously under [RESET_PID].
11944 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11945
132c7f5f
RH
11946 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11947
b72592e7
JM
119482014-05-23 Joseph Myers <joseph@codesourcery.com>
11949
11950 [BZ #16977]
11951 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11952 value when x - 1 is zero.
11953 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11954 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11955 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11956 0.0L for an argument of 1.0L.
11957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11958 Likewise.
11959 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11960 value when x - 1 is zero.
11961 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11962 * sysdeps/i386/fpu/libm-test-ulps: Update.
11963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11964
2302d679
RV
119652014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11966
11967 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11968 alphasort and versionsort.
11969
32999d63
AZ
119702014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971
11972 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11973 macro.
11974 [copysignf]: Likewise.
11975
019324d0
SP
119762014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11977
11978 * crypt/md5-crypt.c: Fix formatting.
11979
34fff5c2
KS
119802014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11981
11982 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11983 (b64_from_24bit): New function.
11984
3d2badac
AZ
119852014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11986
11987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11988 libc_hidden_builtin_def to ifunc.
11989 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11990 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11991
f7bb179f 119922014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11993
11994 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11995 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11996
4134b50d
JM
119972014-05-21 Joseph Myers <joseph@codesourcery.com>
11998
bb7d0337
JM
11999 * nscd/Depend (linuxthreads): Remove.
12000 (nptl): Add.
12001 * resolv/Depend (linuxthreads): Remove.
12002 * rt/Depend (linuxthreads): Remove.
12003
4134b50d
JM
12004 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12005 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12006 $(common-objpfx)elf/.
12007 (link-libc-before-gnulib): Likewise.
12008 (elfobjdir): Remove variable.
12009 * Makefile (install): Use $(elf-objpfx) instead of
12010 $(common-objpfx)elf/.
12011 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12012 $(elfobjdir)/.
12013 (link-libc-deps): Likewise.
12014 ($(common-objpfx)libc.so): Likewise.
12015 ($(common-objpfx)linkobj/libc.so): Likewise.
12016 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12017 instead of $(common-objpfx)elf/.
12018 (symbolic-link-list): Likewise.
12019 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12020 [$(cross-compiling) = no]: Likewise.
12021 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12022 $(elfobjdir)/.
12023 (static-gnulib-arch): Likewise.
12024 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12025 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12026 $(common-objpfx)elf/.
12027
3612eb8f
RH
120282014-05-21 Richard Henderson <rth@redhat.com>
12029
a6b3657b
RH
12030 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12031 (SINGLE_THREAD_P): Use the correct width load. Fold
12032 into the ldr offset.
12033
3612eb8f
RH
12034 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12035 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12036
175cef41
JM
120372014-05-20 Joseph Myers <joseph@codesourcery.com>
12038
12039 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12040 (libgcc_s_resume): Use __attribute_used__.
12041 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12042 Likewise.
12043
e13bccd3
AZ
120442014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12045
12046 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12047 optimization when used with float constants.
12048
7c112a38
AZ
12049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12050
ae75a883
AJ
120512014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12052
12053 [BZ #16915]
12054 * locale/nl_langinfo_l.c: Make direct reference to every
12055 _nl_current_CATEGORY symbol.
12056 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12057 (tests-static): Add tst-langinfo-static.
12058 (tests-special): Add tst-langinfo-static.out.
12059 ($(objpfx)tst-langinfo.out): Redirect output.
12060 ($(objpfx)tst-langinfo-static.out): New.
12061 * localedata/tst-langinfo.sh: Send output to stdout.
12062 * localedata/tst-langinfo-static.c: New file.
12063
4406c41c
AJ
12064 [BZ #16965]
12065 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12066 when the shift amount is modulo the limb size.
12067
4c0a1e63
RH
120682014-05-20 Richard Henderson <rth@redhat.com>
12069
de9d8f20
RH
12070 [BZ #16967]
12071 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12072 Change type of sa_flags from unsigned int to int.
12073
4c0a1e63
RH
12074 [BZ #16966]
12075 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12076
12077 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12078
a60339aa
WN
120792014-05-20 Will Newton <will.newton@linaro.org>
12080
12081 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12082 Test the return value of the system call in the nocancel case.
12083
7d05a816
YR
120842014-05-20 Will Newton <will.newton@linaro.org>
12085 Yvan Roux <yvan.roux@linaro.org>
12086
12087 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12088 #include of asm/ptrace.h.
12089 (PTRACE_GET_THREAD_AREA): Remove #undef.
12090 (PTRACE_GETHBPREGS): Likewise.
12091 (PTRACE_SETHBPREGS): Likewise.
12092 (struct user_regs_struct): New structure.
12093 (struct user_fpsimd_struct): New structure.
12094 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12095 #include of asm/ptrace.h and second #include of sys/user.h.
12096 (PTRACE_GET_THREAD_AREA): Remove #undef.
12097 (PTRACE_GETHBPREGS): Likewise.
12098 (PTRACE_SETHBPREGS): Likewise.
12099 (ELF_NGREG): Use new struct user_regs_struct.
12100 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12101
af121e37
AZ
121022014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12103
12104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12106
834caf06
JM
121072014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12108
12109 [BZ #16958]
12110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12111 membar to avoid block loads/stores to overlap previous stores.
12112
e184a918
RH
121132014-05-17 Richard Henderson <rth@redhat.com>
12114
12115 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12116 Create the __##syscall_name##_nocancel entry point.
12117 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12118 Remove; let the sysdep-cancel.h code create it.
12119
f56c7a6a
DM
121202014-05-17 David S. Miller <davem@davemloft.net>
12121
12122 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12123 Protect with __USE_GNU.
12124 (TIOCSET_TEMPT): Likewise.
12125 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12126 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12127 these are already provided in bits/ioctl-types.h
12128
f75616b2
RM
121292014-05-16 Roland McGrath <roland@hack.frob.com>
12130
3edeca86
RM
12131 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12132 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12133
f75616b2
RM
12134 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12135 Use wait4 regardless of [__NR_waitpid].
12136
deb0f7f6
MR
121372014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12138
12139 PR libgcc/60166
12140 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12141 (_FP_NANSIGN_Q): Set the quiet bit.
12142
79520f4b
JM
121432014-05-16 Joseph Myers <joseph@codesourcery.com>
12144
12145 * benchtests/Makefile
12146 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12147 not $(common-objpfx)math/libm.so.
12148 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12149 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12150 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12151 $(common-objpfx)dlfcn/libdl.so.
12152 ($(objpfx)tst-audit8): Depend on $(libm), not
12153 $(common-objpfx)math/libm.so.
12154 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12155 not $(common-objpfx)dlfcn/libdl.so.
12156 * math/Makefile
12157 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12158 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12159 [$(build-shared) = yes].
12160 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12161 $(common-objpfx)nptl/libpthread.so.
12162 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12163 $(common-objpfx)math/libm.so$(libm.so-version) or
12164 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12165 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12166 $(common-objpfx)dlfcn/libdl.so.
12167 * setjmp/Makefile (link-libm): Remove variable.
12168 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12169 * stdio-common/Makefile (link-libm): Remove variable.
12170 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12171 * stdlib/Makefile (link-libm): Remove variable.
12172 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12173 ($(objpfx)tst-strtod-round): Likewise.
12174 ($(objpfx)tst-tininess): Likewise.
12175 ($(objpfx)tst-strtod-underflow): Likewise.
12176 ($(objpfx)tst-strtod6): Likewise.
12177 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12178 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12179 $(common-objpfx)dlfcn/libdl.so.
12180
026b0fe4
AZ
121812014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12182
12183 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12184 BSD terminal modes definitions.
12185
def4bcb2
RM
121862014-05-16 Roland McGrath <roland@hack.frob.com>
12187
fe39b021
RM
12188 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12189 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12190
1d1fc46e 12191 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12192 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12193 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12194 Don't do #include_next.
12195 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12196 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12197 Don't do #include_next.
12198 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12199 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12200 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12201 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12202
c72399fb
AM
122032014-05-16 Allan McRae <allan@archlinux.org>
12204
d51d659d
AM
12205 * po/sv.po: Update Swedish translation from translation project.
12206
c72399fb
AM
12207 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12208 in sed expression.
12209
d0583c40
AJ
122102014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12211
12212 [BZ #16917]
12213 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12214 errno if the TIOCGPTN ioctl fails with an error different than
12215 EINVAL.
12216 * login/tst-ptsname.c: New file.
12217 * login/Makefile (tests): Add tst-ptsname.
12218
d16e6ec7
AJ
12219 [BZ #16943]
12220 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12221 and prlimit64.
12222
cf26a0cb
SP
122232014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12224
12225 [BZ #16849]
12226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12227 herrno to return EAI_AGAIN.
12228
5675da1e
RM
122292014-05-14 Roland McGrath <roland@hack.frob.com>
12230
a5d87b3d
RM
12231 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12232 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12233 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12234 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12235 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12236 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12237 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12238 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12240 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12241 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12242 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12243 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12244 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12245 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12246 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12247 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12248 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12249 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12250 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12251 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12252 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12253 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12256 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12260 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12262 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12264 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12266 Moved ...
12267 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12269 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12271 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12273 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12275 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12277 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12279 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12291 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12293 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12295 Moved ...
12296 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12298 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12300 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12302 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12304 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12306 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12308 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12310 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12312 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12314 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12316 Moved ...
12317 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12319 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12320
039890a6
RM
12321 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12322 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12323 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12324 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12325 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12326 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12327 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12328 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12329 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12330 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12331 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12332 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12333 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12334 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12335 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12336 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12337 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12339 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12341 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12343 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12348 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12349 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12350 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12351 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12352
65c89320
RM
12353 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12354 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12355
348f8e8c
RM
12356 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12357 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12358 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12359 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12360 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12361 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12362 Moved ...
12363 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12364 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12365 Moved ...
12366 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12367 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12368 Moved ...
12369 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12370 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12371 Moved ...
12372 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12373 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12374 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12375 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12376 Moved ...
12377 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12379 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12381 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12383 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12384 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12385 Moved ...
12386 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12388 Moved ...
12389 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12390 ... here.
12391 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12392 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12393 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12394 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12396 Moved ...
12397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12398 ... here.
12399 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12400 Moved ...
12401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12403 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12404 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12405 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12406 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12407 Moved ...
12408 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12409 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12410 Moved ...
12411 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12412 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12413 Moved ...
12414 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12415 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12416 Moved ...
12417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12418 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12419 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12421 Moved ...
12422 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12424 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12426 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12427 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12428 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12429 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12430 Moved ...
12431 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12433 Moved ...
12434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12435 ... here.
12436 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12437 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12438 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12439 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12441 Moved ...
12442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12443 ... here.
12444 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12445 Moved ...
12446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12448 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12450 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12452 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12453 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12454 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12455 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12456 Moved ...
12457 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12458 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12459 Moved ...
12460 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12462 Moved ...
12463 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12465 Moved ...
12466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12467 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12468 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12469 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12470 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12472 Moved ...
12473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12475 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12477 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12478 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12479 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12481 Moved ...
12482 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12484 Moved ...
12485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12486 ... here.
12487 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12488 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12489 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12490 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12491 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12492 Moved ...
12493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12494 ... here.
12495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12496 Moved ...
12497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12499 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12500 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12501 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12503 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12504 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12505 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12507 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12508
5085af05
RM
12509 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12510 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12511
708f0813
RM
12512 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12513 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12514
c96067bc
RM
12515 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12516 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12517 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12519 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12521 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12523 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12525 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12527 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12528 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12529 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12530 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12531 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12532 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12533 Moved ...
12534 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12536 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12538 Moved ...
12539 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12541 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12543 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12547 Moved ...
12548 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12550 Moved ...
12551 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12553 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12557 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12559 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12561 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12563 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12565 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12567 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12568
ec136444
RM
12569 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12570 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12571 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12572 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12573 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12574
2fbdf533
RM
12575 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12576 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12577 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12578 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12579 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12580 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12581 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12582 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12583 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12584 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12585
4c68138b
RM
12586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12587 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12588
4eaae765
RM
12589 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12590 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12591 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12592 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12593 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12594 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12596 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12597 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12598 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12599 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12600 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12601 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12602 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12604 Update #include.
12605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12606 Likewise.
12607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12608 Likewise.
12609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12610 Likewise.
12611 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12612 Likewise.
12613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12614 Likewise.
12615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12616 Likewise.
12617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12618 Likewise.
12619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12620 Likewise.
12621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12622 Likewise.
4ef6befa
RM
12623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12624 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12625 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12626 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12627 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12629 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12630 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12631 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12632 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12634 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12636 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12637 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12638
941d7dfd
RM
12639 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12640 that was previously under [RESET_PID].
12641 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12642 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12643 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12644
1b731c35
RM
12645 * sysdeps/i386/nptl/Implies: New file.
12646 * sysdeps/x86_64/nptl/Implies: New file.
12647 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12648 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12649 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12650 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12651
e2787137
RM
12652 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12653 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12654 (__libc_vfork): New strong alias.
12655 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12656 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12657
12658 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12659 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12660 (__libc_vfork): New strong alias.
12661 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12662 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12663
5675da1e
RM
12664 * sysdeps/unix/sysv/linux/arm/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 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12668 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12669 * nptl/pt-vfork.c: New file.
12670 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12671 (libpthread: GLIBC_2.20): New version set (empty).
12672
4f02e2b8
WN
126732014-05-14 Will Newton <will.newton@linaro.org>
12674
12675 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12676 rather than #if.
12677
0bf061d3
JM
126782014-05-14 Joseph Myers <joseph@codesourcery.com>
12679
1a84c3d6
JM
12680 [BZ #16564]
12681 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12682 arguments with exponent 65 or above.
12683 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12684 arguments 0x1p113L or above.
12685 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12686 to arguments 0x1p107L or above.
12687 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12688 positive arguments with exponent 65 or above.
12689 * math/auto-libm-test-in: Add more tests of log1p.
12690 * math/auto-libm-test-out: Regenerated.
12691
01dbacd2
JM
12692 [BZ #16928]
12693 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12694 non-finite arguments is +0.
12695 * math/s_cacosf.c (__cacosf): Likewise.
12696 * math/s_cacosl.c (__cacosl): Likewise.
12697 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12698 * sysdeps/i386/fpu/libm-test-ulps: Update.
12699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12700
913d03c8
JM
12701 [BZ #16927]
12702 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12703 value.
12704 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12705 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12706 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12707 for explicit high bit of mantissa when testing for argument equal
12708 to 1.
12709 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12710 * sysdeps/i386/fpu/libm-test-ulps: Update.
12711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12712
0bf061d3
JM
12713 [BZ #16516]
12714 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12715 (__erf): Scale by 16 instead of 8 in potentially underflowing
12716 case. Ensure exception if result actually underflows.
12717 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12718 (__erff): Scale by 16 instead of 8 in potentially underflowing
12719 case. Ensure exception if result actually underflows.
12720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12721 (efx8): Remove variable.
12722 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12723 case. Ensure exception if result actually underflows.
12724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12725 (efx8): Remove variable.
12726 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12727 case. Ensure exception if result actually underflows.
12728 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12729 (efx8): Remove variable.
12730 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12731 case. Ensure exception if result actually underflows.
12732 * math/auto-libm-test-in: Add more tests of erf.
12733 * math/auto-libm-test-out: Regenerated.
12734
73ba67cb
AS
127352014-05-14 Andreas Schwab <schwab@suse.de>
12736
3d8c8bff
AS
12737 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12738 Remove code conditionalized on USE___THREAD.
12739
73ba67cb
AS
12740 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12741 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12742 not definedness.
12743
5c521ecd
JM
127442014-05-14 Joseph Myers <joseph@codesourcery.com>
12745
5e7698c6
JM
12746 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12747 Define unconditionally.
12748 (__ASSUME_O_CLOEXEC): Likewise.
12749 (__ASSUME_SOCK_CLOEXEC): Likewise.
12750 (__ASSUME_IN_NONBLOCK): Likewise.
12751 (__ASSUME_PIPE2): Likewise.
12752 (__ASSUME_EVENTFD2): Likewise.
12753 (__ASSUME_SIGNALFD4): Likewise.
12754 (__ASSUME_DUP3): Likewise.
12755 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12756 (__ASSUME_DUP3): Do not define.
12757 (__ASSUME_EVENTFD2): Likewise.
12758 (__ASSUME_IN_NONBLOCK): Likewise.
12759 (__ASSUME_O_CLOEXEC): Likewise.
12760 (__ASSUME_PIPE2): Likewise.
12761 (__ASSUME_SIGNALFD4): Likewise.
12762 (__ASSUME_SOCK_CLOEXEC): Likewise.
12763 (__ASSUME_UTIMES): Undefine.
12764 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12765 (__ASSUME_UTIMES): Do not define.
12766 (__ASSUME_O_CLOEXEC): Likewise.
12767 (__ASSUME_SOCK_CLOEXEC): Likewise.
12768 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12769 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12770 0x020621].
12771 (__ASSUME_PIPE2): Likewise.
12772 (__ASSUME_EVENTFD2): Likewise.
12773 (__ASSUME_SIGNALFD4): Likewise.
12774 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12775 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12776 Do not define.
12777 (__ASSUME_EVENTFD2): Likewise.
12778 (__ASSUME_SIGNALFD4): Likewise.
12779 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12780 (__ASSUME_32BITUIDS): Likewise.
12781 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12782 (__ASSUME_IPC64): Likewise.
12783 (__ASSUME_ST_INO_64_BIT): Likewise.
12784 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12785 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12786 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12787 (__ASSUME_UTIMES): Do not define.
12788 (__ASSUME_PSELECT): Likewise.
12789 (__ASSUME_PPOLL): Likewise.
12790 (__ASSUME_O_CLOEXEC): Likewise.
12791 (__ASSUME_SOCK_CLOEXEC): Likewise.
12792 (__ASSUME_IN_NONBLOCK): Likewise.
12793 (__ASSUME_PIPE2): Likewise.
12794 (__ASSUME_EVENTFD2): Likewise.
12795 (__ASSUME_SIGNALFD4): Likewise.
12796 (__ASSUME_DUP3): Likewise.
12797 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12798 (__ASSUME_UTIMES): Likewise.
12799 (__ASSUME_O_CLOEXEC): Likewise.
12800 (__ASSUME_SOCK_CLOEXEC): Likewise.
12801 (__ASSUME_IN_NONBLOCK): Likewise.
12802 (__ASSUME_PIPE2): Likewise.
12803 (__ASSUME_EVENTFD2): Likewise.
12804 (__ASSUME_SIGNALFD4): Likewise.
12805 (__ASSUME_DUP3): Likewise.
12806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12807 (__ASSUME_UTIMES): Likewise.
12808 (__ASSUME_O_CLOEXEC): Likewise.
12809 (__ASSUME_SOCK_CLOEXEC): Likewise.
12810 (__ASSUME_IN_NONBLOCK): Likewise.
12811 (__ASSUME_PIPE2): Likewise.
12812 (__ASSUME_EVENTFD2): Likewise.
12813 (__ASSUME_SIGNALFD4): Likewise.
12814 (__ASSUME_DUP3): Likewise.
12815 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12816 Likewise.
12817 (__ASSUME_UTIMES): Likewise.
12818 (__ASSUME_EVENTFD2): Likewise.
12819 (__ASSUME_SIGNALFD4): Likewise.
12820 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12821 (__ASSUME_O_CLOEXEC): Likewise.
12822 (__ASSUME_SOCK_CLOEXEC): Likewise.
12823 (__ASSUME_IN_NONBLOCK): Likewise.
12824 (__ASSUME_PIPE2): Likewise.
12825 (__ASSUME_EVENTFD2): Likewise.
12826 (__ASSUME_SIGNALFD4): Likewise.
12827 (__ASSUME_DUP3): Likewise.
12828 (__ASSUME_UTIMES): Undefine.
12829
5c521ecd
JM
12830 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12831 feclearexcept. Remove symbol versioning code.
12832 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12833 symbol versioning code.
12834 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12835 symbol versioning code.
12836 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12837 feupdateenv. Remove symbol versioning code.
12838 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12839 fegetexceptflag. Remove symbol versioning code.
12840 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12841 fesetexceptflag. Remove symbol versioning code.
12842 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12843 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12844 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12845 (__posix_fadvise64_l32): Remove prototype.
12846 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12847 code.
12848
5da9dfad
RM
128492014-05-13 Roland McGrath <roland@hack.frob.com>
12850
12851 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12852 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12853 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12854 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12855
893b4f37
SK
128562014-05-13 Sami Kerola <kerolasa@iki.fi>
12857
12858 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12859 current working directory
12860
e0db6517
RM
128612014-05-13 Roland McGrath <roland@hack.frob.com>
12862
58aa195d
RM
12863 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12864 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12865 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12866 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12867 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12868 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12869 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12870 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12871 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12872 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12873 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12874 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12875 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12876 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12877 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12878 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12879 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12880 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12881 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12882 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12883 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12884 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12885 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12886 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12887 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12888 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12890 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12891 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12892 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12893 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12894 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12895 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12896 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12897 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12898 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12899 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12900 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12901 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12902 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12903 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12904 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12905
8c6d01f0
RM
12906 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12907 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12908
12909 * sysdeps/unix/sysv/linux/arm/Makefile
12910 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12911 Add rt-aeabi_unwind_cpp_pr1.
12912 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12913 Add nptl-aeabi_unwind_cpp_pr1.
12914 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12915 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12916 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12917 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12918 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12919 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12920
12921 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12922 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12923 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12924 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12925
bba6da4e
RM
12926 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12927 Deconditionalize the code that was previously under [RESET_PID].
12928 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12929
e0db6517
RM
12930 * sysdeps/generic/exit-thread.h: New file.
12931 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12932 * include/unistd.h (__exit_thread): Remove declaration.
12933 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12934 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12935 * csu/libc-start.c: Include <exit-thread.h>.
12936 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12937 * nptl/pthread_create.c: Include <exit-thread.h>.
12938 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12939 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12940 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12941 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12942 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12943 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12944 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12945 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12946 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12947 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12948 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12949 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12950 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12951 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12952 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12953 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12954 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12955
01eb16fd
AS
129562014-05-13 Andreas Schwab <schwab@suse.de>
12957
12958 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12959
637461d9
JM
129602014-05-12 Joseph Myers <joseph@codesourcery.com>
12961
12962 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12963 (__ASSUME_UTIMES): Do not condition on kernel version.
12964 (__ASSUME_PSELECT): Define unconditionally.
12965 (__ASSUME_PPOLL): Likewise.
12966 (__ASSUME_ATFCTS): Likewise.
12967 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12968 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12969 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12970 (__ASSUME_UTIMENSAT): Define unconditionally.
12971 (__ASSUME_PRIVATE_FUTEX): Likewise.
12972 (__ASSUME_FALLOCATE): Likewise.
12973 (__ASSUME_O_CLOEXEC): Likewise.
12974 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12975 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12976 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12977 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12978 (__ASSUME_IN_NONBLOCK): Likewise.
12979 (__ASSUME_PIPE2): Likewise.
12980 (__ASSUME_EVENTFD2): Likewise.
12981 (__ASSUME_SIGNALFD4): Likewise.
12982 (__ASSUME_DUP3): Likewise.
12983 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12984 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12985 (__ASSUME_AT_RANDOM): Likewise.
12986 (__ASSUME_PREADV): Likewise.
12987 (__ASSUME_PWRITEV): Likewise.
12988 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12989 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12990 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12991 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12992 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12993 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12994 (__ASSUME_O_CLOEXEC): Define unconditionally.
12995 (__ASSUME_PSELECT): Do not undefine conditionally.
12996 (__ASSUME_PPOLL): Likewise.
12997 (__ASSUME_ATFCTS): Likewise.
12998 (__ASSUME_SET_ROBUST_LIST): Likewise.
12999 (__ASSUME_UTIMENSAT): Likewise.
13000 (__ASSUME_FDATASYNC): Define unconditionally.
13001 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13002 (__ASSUME_SIGFRAME_V2): Likewise.
13003 )__ASSUME_EVENTFD2): Likewise.
13004 (__ASSUME_SIGNALFD4): Likewise.
13005 (__ASSUME_PSELECT): Do not undefine conditionally.
13006 (__ASSUME_PPOLL): Likewise.
13007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13008 (__ASSUME_PSELECT): Define unconditionally.
13009 (__ASSUME_PPOLL): Likewise.
13010 (__ASSUME_O_CLOEXEC): Likewise.
13011 (__ASSUME_SOCK_CLOEXEC): Likewise.
13012 (__ASSUME_IN_NONBLOCK): Likewise.
13013 (__ASSUME_PIPE2): Likewise.
13014 (__ASSUME_EVENTFD2): Likewise.
13015 (__ASSUME_SIGNALFD4): Likewise.
13016 (__ASSUME_DUP3): Likewise.
13017 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13018 (__ASSUME_O_CLOEXEC): Likewise.
13019 (__ASSUME_SOCK_CLOEXEC): Likewise.
13020 (__ASSUME_IN_NONBLOCK): Likewise.
13021 (__ASSUME_PIPE2): Likewise.
13022 (__ASSUME_EVENTFD2): Likewise.
13023 (__ASSUME_SIGNALFD4): Likewise.
13024 (__ASSUME_DUP3): Likewise.
13025 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13026 (__ASSUME_EVENTFD2): Likewise.
13027 (__ASSUME_SIGNALFD4): Likewise.
13028 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13029
315eb1d8
AS
130302014-05-12 Andreas Schwab <schwab@suse.de>
13031
13032 [BZ #16932]
13033 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13034 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13035 than maximum RPC packet size.
13036 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13037 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13038 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13039 (_nss_nis_getservbyport_r): Likewise.
13040
91df99f7
WN
130412014-05-12 Will Newton <will.newton@linaro.org>
13042
13043 * malloc/Makefile (tests): Add tst-mallopt.
13044 * malloc/tst-mallopt.c: New file.
13045
0a982a29
RM
130462014-05-09 Roland McGrath <roland@hack.frob.com>
13047
13048 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13049 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13050
0ded08a5
AZ
130512014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13052
13053 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13054 (tst-tlsmod6.so): Likewise.
13055
55d4d550
RM
130562014-05-09 Roland McGrath <roland@hack.frob.com>
13057
13058 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13059
77d08aca
JM
130602014-05-09 Joseph Myers <joseph@codesourcery.com>
13061
13062 [BZ #16064]
13063 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13064 and <dl-procinfo.h>.
13065 (__fegetenv): Save SSE state in envp->__eip if supported.
13066 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13067 envp->__eip if supported.
13068 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13069 and <dl-procinfo.h>.
13070 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13071 __data_offset and __data_selector in environment to 0. Set SSE
13072 state if supported.
13073 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13074 test-fenv-sse.
13075 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13076 -mfpmath=sse.
13077 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13078
28162f4d
WN
130792014-05-09 Will Newton <will.newton@linaro.org>
13080
13081 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13082 and libc_relro_required for ARM.
13083 * sysdeps/arm/preconfigure: Regenerate.
13084
5a414ff7
DV
130852014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13086 Stefan Liebler <stli@linux.vnet.ibm.com>
13087
13088 * config.make.in (enable-lock-elision): New Makefile variable.
13089 * configure.ac: Likewise.
13090 * configure: Regenerate.
13091 * sysdeps/s390/configure.ac:
13092 Add check for gcc transactions support.
13093 * sysdeps/s390/configure: Regenerate.
13094 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13095 Build elision files if enabled.
13096 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13097 Add lock elision support for s390.
13098 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13099 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13100 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13101 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13102 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13103 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13105 Likewise.
13106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13107 Likewise.
13108 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13109 Likewise.
13110 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13111 Likewise.
13112 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13113 (__lll_timedlock_elision, __lll_lock_elision)
13114 (__lll_unlock_elision, __lll_trylock_elision)
13115 (lll_timedlock_elision, lll_lock_elision)
13116 (lll_unlock_elision, lll_trylock_elision): Add.
13117 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13118 (pthread_mutex_t): Add lock elision support for s390.
13119
1a2f40e5
W
131202014-05-14 Wilco <wdijkstr@arm.com>
13121
13122 * sysdeps/arm/fclrexcpt.c: Cleanup.
13123 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13124 * sysdeps/arm/feenablxcpt.c: Cleanup.
13125 * sysdeps/arm/fegetenv.c: Cleanup.
13126 * sysdeps/arm/fegetexcept.c: Cleanup.
13127 * sysdeps/arm/fegetround.c: Cleanup.
13128 * sysdeps/arm/feholdexcpt.c: Cleanup.
13129 * sysdeps/arm/fesetenv.c: Cleanup.
13130 * sysdeps/arm/fesetround.c: Cleanup.
13131 * sysdeps/arm/feupdateenv.c: Cleanup.
13132 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13133 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13134 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13135 * sysdeps/arm/ftestexcept.c: Cleanup.
13136 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13137 * sysdeps/arm/setfpucw.c: Cleanup.
13138
f63c86fe
WN
131392014-05-09 Will Newton <will.newton@linaro.org>
13140
13141 * sysdeps/arm/armv7/strcmp.S: New file.
13142 * NEWS: Mention addition of ARMv7 optimized strcmp.
13143
7a1a51b5
RM
131442014-05-08 Roland McGrath <roland@hack.frob.com>
13145
95afbbe5
RM
13146 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13147 look for %.ac rather than %.in.
13148
13149 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13150 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13151 * sysdeps/mach/hurd/configure: Regenerated.
13152 * sysdeps/unix/sysv/linux/configure: Regenerated.
13153
7a1a51b5
RM
13154 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13155
5057ad3b
SE
131562014-05-07 Steve Ellcey <sellcey@mips.com>
13157
13158 [BZ# 16922]
13159 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13160 (LONG_SUB): Ditto.
13161 (PTR_SUB): Ditto.
13162
8dc97517
AS
131632014-05-07 Andreas Schwab <schwab@suse.de>
13164
13165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13166 when skipping over non-matching result from nscd.
13167
ce0c5b8f
OB
131682014-05-07 Ondřej Bílka <neleai@seznam.cz>
13169
13170 [BZ #16876]
13171 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13172
a1189263
OB
13173 [BZ #16877]
13174 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13175 nscd security class.
ce0c5b8f 13176
0f58d252
RM
131772014-05-06 Roland McGrath <roland@hack.frob.com>
13178
13179 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13180 * sysdeps/arm/unwind.h: ... here.
13181
83df9ad0
AJ
131822014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13183
ce0c5b8f
OB
13184 [BZ# 16916]
13185 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13186 Define.
83df9ad0 13187
f360f94a
VR
131882014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13189
13190 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13191 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13192 multiarch strncpy for PPC64.
13193 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13194 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13196 multiarch optimizations.
13197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13198 (__libc_ifunc_impl_list): Likewise.
13199 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13200 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13201 multiarch stpncpy for PPC64.
13202 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13203 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13204
978a41c3
AS
132052014-05-06 Andreas Schwab <schwab@suse.de>
13206
13207 [BZ #16912]
13208 * gmon/mcount.c (_MCOUNT_DECL): Use
13209 atomic_compare_and_exchange_bool_acq instead of
13210 catomic_compare_and_exchange_bool_acq.
13211
eb1ed03d
RM
132122014-05-05 Roland McGrath <roland@hack.frob.com>
13213
fe658845
RM
13214 * elf/Makefile (others, install-bin): Remove pldd.
13215 (pldd-modules): Variable removed.
13216 ($(objpfx)pldd): Target removed.
13217 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13218 (others, install-bin): Append pldd here.
13219 ($(objpfx)pldd): New target.
13220
eb1ed03d
RM
13221 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13222 to 0, so the first #if test emitted later doesn't see it undefined.
13223 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13224 * sysdeps/gnu/errlist.c: Regenerated.
13225
19c4bec0
AZ
132262014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13227
13228 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13229 [libc_hidden_builtin_def]: Define to empty value.
13230 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13231 [libc_hidden_builtin_def]: Likewise.
13232 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13233 [libc_hidden_builtin_def]: Likewise.
13234 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13235 [libc_hidden_builtin_def]: Likewise.
13236 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13237 __redirect_memcpy and define ifunc as default hidden symbol.
13238 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13239 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13240
7776e669
AC
132412014-05-04 Adam Conrad <adconrad@0c3.net>
13242
13243 * locale/iso-4217.def: Reintroduce XDR currency.
13244
d69aeb12
AM
132452014-05-04 Allan McRae <allan@archlinux.org>
13246
13247 * po/eo.po: Update Esperanto translation from translation project.
13248
8f1df5cf
CD
132492014-05-02 Carlos O'Donell <carlos@redhat.com>
13250
13251 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13252 and FEATURE_INDEX_MAX to 1.
13253 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13254
13e402e7
SE
132552014-05-01 Steve Ellcey <sellcey@mips.com>
13256
13257 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13258 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13259 * iconvdata/big5.c (ONE_DIRECTION): Define.
13260 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13261 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13262 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13263 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13264 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13265 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13266 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13267 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13268 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13269 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13270 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13271 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13272 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13273 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13274 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13275 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13276 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13277 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13278 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13279 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13280 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13281 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13282 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13283 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13284 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13285 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13286 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13287 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13288 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13289 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13290 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13291 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13292 * iconvdata/johab.c (ONE_DIRECTION): Define.
13293 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13294 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13295 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13296 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13297 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13298 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13299 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13300 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13301 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13302 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13303
c727f032
RM
133042014-05-01 Roland McGrath <roland@hack.frob.com>
13305
8f2f08d0
RM
13306 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13307 (_IO_JUMPS_OFFSET): Define to 0.
13308
c727f032
RM
13309 * nptl/sysdeps/pthread/bits/libc-lock.h
13310 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13311 (__libc_lock_define_initialized_recursive): Always define using
13312 initializer. Modern compilers treat uninitialized (implicit zero) and
13313 explicit zero initializers the same (i.e. put the datum in bss).
13314
a849e800
AS
133152014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13316
13317 * nscd/nscd-client.h: Include <string.h>.
13318
5331255b
DM
133192014-05-01 David S. Miller <davem@davemloft.net>
13320
13321 [BZ #16885]
13322 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13323 multiple zero bytes exist at the end of a string.
13324 Reported by Aurelien Jarno <aurelien@aurel32.net>
13325
13326 * string/test-strcmp.c (check): Add explicit test for situations where
13327 there are multiple zero bytes after the first.
13328
4fdfe821
AS
133292014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13330
13331 [BZ #16890]
13332 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13333 when compiling wprintf.
13334 * stdio-common/tstdiomisc.c (t3): New function.
13335 (main): Call it.
13336
0cdddc25
SE
133372014-05-01 Steve Ellcey <sellcey@mips.com>
13338
13339 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13340 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13341 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13342 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13343
6426d77e
SE
133442014-05-01 Steve Ellcey <sellcey@mips.com>
13345
13346 * stdlib/longlong.h: Updated from GCC.
13347
6d96f5e4
WN
133482014-05-01 Will Newton <will.newton@linaro.org>
13349 Bernard Ogden <bernie.ogden@linaro.org>
13350
7470db0c
WN
13351 * NEWS: Update fixed bug list.
13352
6d96f5e4
WN
13353 [BZ #15119]
13354 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13355
211d653c
DM
133562014-04-30 David S. Miller <davem@davemloft.net>
13357
4fa262fa
DM
13358 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13359 (libc_feholdexcept_setround_sparc_ctx): New function.
13360 (libc_fesetenv_sparc_ctx): Likewise.
13361 (libc_feupdateenv_sparc_ctx): Likewise.
13362 (libc_feholdsetround_sparc_ctx): Likewise.
13363 (libc_feholdexcept_setround_ctx): Define.
13364 (libc_feholdexcept_setroundf_ctx): Likewise.
13365 (libc_feholdexcept_setroundl_ctx): Likewise.
13366 (libc_fesetenv_ctx): Likewise.
13367 (libc_fesetenvf_ctx): Likewise.
13368 (libc_fesetenvl_ctx): Likewise.
13369 (libc_feupdateenv_ctx): Likewise.
13370 (libc_feupdateenvf_ctx): Likewise.
13371 (libc_feupdateenvl_ctx): Likewise.
13372 (libc_feresetround_ctx): Likewise.
13373 (libc_feresetroundf_ctx): Likewise.
13374 (libc_feresetroundl_ctx): Likewise.
13375 (libc_feholdsetround_ctx): Likewise.
13376 (libc_feholdsetroundf_ctx): Likewise.
13377 (libc_feholdsetroundl_ctx): Likewise.
13378
1d3d93ef
DM
13379 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13380 with __USE_GNU instead of XOPEN cpp guards.
13381
8aa583c3
DM
13382 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13383 0.
13384
211d653c
DM
13385 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13386 with XOPEN cpp guards.
13387
60c8f1f6
JB
133882014-04-30 Julian Brown <julian@codesourcery.com>
13389
13390 [BZ #16888]
13391 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13392 handling.
13393
9a461d46
JM
133942014-04-30 Joseph Myers <joseph@codesourcery.com>
13395
d0f5b3f8
JM
13396 [BZ #9894]
13397 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13398 Change to 2.6.32.
13399 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13400 * sysdeps/unix/sysv/linux/configure: Regenerated.
13401 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13402 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13403 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13404 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13405 * README: Update reference to required Linux kernel version.
13406 * manual/install.texi (Linux): Update reference to required Linux
13407 kernel headers version.
13408 * INSTALL: Regenerated.
13409
9a461d46
JM
13410 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13411 header inclusion.
13412 [POSIX] (limits.h): Likewise.
13413 [POSIX] (math.h): Likewise.
13414 [POSIX] (sys/wait.h): Likewise.
13415 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13416 function.
13417 [POSIX] (stddef.h): Do not allow header inclusion.
13418
1775babf
AZ
134192014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13420
57f41c40 13421 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13422
8f630cca
YY
134232014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13424
13425 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13426 Return immediately after lll_futex_wake.
13427
1cdeb237
SP
134282014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13429
bc8f194c
SP
13430 [BZ #16791]
13431 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13432 structure.
13433 (datahead_init_pos): Call datahead_init_common early.
13434 (datahead_init_neg): Likewise.
13435
1cdeb237
SP
13436 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13437 datahead_init_neg): New functions.
13438 * nscd/aicache.c (addhstaiX): Use them.
13439 * nscd/grpcache.c (cache_addgr): Likewise.
13440 * nscd/hstcache.c (cache_addhst): Likewise.
13441 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13442 * nscd/netgroupcache.c (do_notfound): Likewise.
13443 (addgetnetgrentX): Likewise.
13444 (addinnetgrX): Likewise.
13445 * nscd/pwdcache.c (cache_addpw): Likewise.
13446 * nscd/servicescache.c (cache_addserv): Likewise.
13447
16b293a7
SP
134482014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13449 Atsushi Onoe <atsushi@onoe.org>
13450
13451 [BZ #14308]
13452 [BZ #12994]
13453 [BZ #13651]
13454 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13455 one response is valid.
13456 * resolv/res_send.c (send_dg): Check for validity of other
13457 response if the current response is a referral.
13458
a28a9b94
SE
134592014-04-29 Steve Ellcey <sellcey@mips.com>
13460
13461 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13462
2ca180e9
SL
134632014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13464
13465 [BZ #16823]
13466 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13467 Always divide by positive zero when computing -Inf result.
13468 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13469 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13470
18f2945a
AZ
134712014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13472
13473 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13474 FPSCR if value do not change.
13475 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13476 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13477 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13478 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13479 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13480 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13481 function.
13482
5abebba4
CD
134832014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13484
13485 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13486 * sysdeps/unix/sysv/linux/hppa: Move directory from
13487 ports/systeps/unix/sysv/linux/hppa.
13488 * README: Update listing for hppa-*-linux-gnu.
13489
f7ed60c2
OB
134902014-04-28 Ondřej Bílka <neleai@seznam.cz>
13491
fff763a5
OB
13492 [BZ #16754]
13493 * manual/stdio.texi (Hook functions): Fix types of stream hook
13494 functions.
f7ed60c2
OB
13495 [BZ #16854]
13496 * socket/sys/socket.h: Fix typo in comment.
13497
df639d73
WD
134982014-04-28 Wilco <wdijkstr@arm.com>
13499
f7ed60c2 13500 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13501 * sysdeps/arm/math_private.h: New file.
13502 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13503
48332d82
L
135042014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13507 with __int128_t.
13508 (La_x86_64_retval): Likewise.
13509
e5e0d9a4
IB
135102014-04-24 Ian Bolton <ian.bolton@arm.com>
13511
13512 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13513 fpsr if value didn't change.
13514 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13515 to fpcr if value didn't change.
13516 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13517 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13518 fpsr or fpcr if value didn't change.
13519 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13520 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13521 fpcr if value didn't change.
13522 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13523 to fpsr if value didn't change.
13524
bacc75f7
SP
135252014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13526
13527 * nptl/tst-sem3.c: Use test-skeleton.c
13528 (main): Rename to do_test. Use return instead of
13529 exit.
13530 * nptl/tst-sem4.c: Use test-skeleton.c
13531 (main): Rename to do_test.
13532
a059d359
DM
135332014-04-22 David S. Miller <davem@davemloft.net>
13534
13535 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13536 (struct sigaction): New struct member __glibc_reserved0, change
13537 type of sa_flags to int.
13538
ea6c92f3
YZ
135392014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13540
13541 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13542 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13543
766c4a36
SP
135442014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13545
13546 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13547 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13548
140cc7ab
VK
135492014-04-22 Will Newton <will.newton@linaro.org>
13550 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13551
13552 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13553 (__longjmp): Add longjmp and longjmp_target SystemTap
13554 probes.
13555 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13556 (__sigsetjmp): Add setjmp SystemTap probe.
13557
c54e5cf7
CD
135582014-04-17 Carlos O'Donell <carlos@redhat.com>
13559
13560 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13561 match manual order.
13562
75ffb047
AZ
135632014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13564
13565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13566
2cd925f7
AZ
13567 * sysdeps/powerpc/fpu/fenv_private.h
13568 (libc_feholdexcept_setroundl_ctx): Define to
13569 libc_feholdexcept_setround_ppc_ctx.
13570 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13571 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13572 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13573 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13574
39e6cd8d
IB
135752014-04-17 Ian Bolton <ian.bolton@arm.com>
13576
13577 * sysdeps/aarch64/math-tests.h: New file.
13578
f9281df9
SY
135792014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13580
13581 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13582 New.
13583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13584 Check and set bit_AVX2_Usable.
13585 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13586 macro.
13587 (bit_AVX2): Likewise.
13588 (index_AVX2_Usable): Likewise.
13589 (CPUID_AVX2): Likewise.
13590 (HAS_AVX2): Likewise.
13591
37d35007
WN
135922014-04-17 Will Newton <will.newton@linaro.org>
13593
7c677662
WN
13594 * manual/setjmp.texi (System V contexts): Add note that
13595 calling setcontext on a context created by a call to a
13596 signal handler is undefined. Update text to note that
13597 setcontext from a signal handler is possible but not
13598 recommended.
13599
37d35007 13600 [BZ #16629]
e04a4e9d
WN
13601 * stdlib/tst-setcontext.c: Include signal.h.
13602 (main): Check that the signal stack before and
13603 after swapcontext is the same.
13604
37d35007
WN
13605 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13606 Re-implement to restore registers in user code and avoid
13607 rt_sigreturn system call.
13608
423a7160
W
136092014-04-17 Wilco <wdijkstr@arm.com>
13610
13611 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13612 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13613 * math/test-fenv.c: Skip exception trap tests on targets which only
13614 support non-stop mode.
13615
bc93ab29
IB
136162014-04-17 Ian Bolton <ian.bolton@arm.com>
13617 Wilco Dijkstra <wilco.dijkstra@arm.com>
13618
13619 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13620 (libc_feholdsetround_aarch64_ctx)
13621 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13622 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13623 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13624 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13625 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13626 (libc_feresetround_noexl_ctx): Define.
13627
95fc5fa3
RH
136282014-04-16 Richard Henderson <rth@redhat.com>
13629
ddb04724
RH
13630 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13631
d77c0899
RH
13632 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13633 unwind tables.
13634
a3df56fc
RH
13635 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13636 const from the non-libc, non-ldso copy.
13637
95fc5fa3
RH
13638 * sysdeps/alpha/libm-test-ulps: Regenerate.
13639
7e0b6763
IB
136402014-04-16 Ian Bolton <ian.bolton@arm.com>
13641 Wilco Dijkstra <wilco.dijkstra@arm.com>
13642
13643 * sysdeps/aarch64/fpu/math_private.h: New file.
13644
a9ea2e0c
MS
136452014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13646
13647 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13648
ea8ba7cd
IZ
136492014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13650
7e54fd04 13651 [BZ #16275]
ea8ba7cd
IZ
13652 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13653 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13655 Intel MPX bound registers before _dl_profile_fixup.
13656 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13657 registers after _dl_profile_fixup. Save and restore bound
13658 registers bnd0/bnd1 when calling _dl_call_pltexit.
13659 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13660 (LR_BND_OFFSET): Likewise.
13661 (LRV_BND0_OFFSET): Likewise.
13662 (LRV_BND1_OFFSET): Likewise.
13663
9f2a4fbc
ST
136642014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13665
13666 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13667 to...
13668 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13669 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13670 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13671 fields.
9f2a4fbc 13672
fd15a59b
ST
136732014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13674
13675 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13676
f19dfa0a
SL
136772014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13678
13679 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13680
4fa8bc3b
SL
136812014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13682
13683 [BZ #14770]
13684 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13685 * sysdeps/s390/configure: Regenerate.
13686
8ea587db
SL
13687 [BZ #16824]
13688 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13689 Set round-to-nearest internally to reduce error accumulation.
13690
aa5f0ff1
AM
136912014-04-16 Alan Modra <amodra@gmail.com>
13692
13693 [BZ #16740]
13694 [BZ #16619]
13695 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13696 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13697 * NEWS: Update fixed bug list.
aa5f0ff1 13698
bb9c256f
SP
136992014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13700
13701 * benchtests/Makefile: Depend on libraries in build directory.
13702 (bench-math): Separate out math tests.
13703 (bench-pthread): Separate out pthread tests.
13704 (bench): Include math and pthread tests.
13705
f737dfd0
CD
137062014-04-14 Carlos O'Donell <carlos@redhat.com>
13707
13708 [BZ #16831]
13709 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13710 _dl_debug_initialize.
13711
0699f766
CD
13712 * configure.ac: Remove SELinux header check.
13713 * configure: Regenerate.
13714 * nscd/selinux.c (perms): Array of const char* to permission names.
13715 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13716 default policy. Call string_to_security_class and string_to_av_perm to
13717 translate strings. Enforce default policy and call avs_has_perm with
13718 results of translated strings.
13719
809bd45f
DM
137202014-04-13 David S. Miller <davem@davemloft.net>
13721
13722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13723
89e691f2
AM
137242014-04-12 Allan McRae <allan@archlinux.org>
13725
13726 [BZ #16838]
13727 * manual/string.texi (Collation Functions): Fix qsort argument
13728 order in example.
13729 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13730
9c9daaeb
CM
137312014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13732
13733 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13734 Make the test a no-op if there are no exceptions defined.
13735
95561fb9
PP
137362014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13737
fe8d072c 13738 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13739 enable-hardcoded-path-in-tests
13740
970c602a
WN
137412014-04-11 Will Newton <will.newton@linaro.org>
13742
13743 * benchtests/Makefile (extra-objs): Add json-lib.o.
13744 (bench-func): Tidy up JSON output.
13745 * benchtests/bench-skeleton.c: Include json-lib.h.
13746 (main): Use JSON library functions to do output of
13747 benchmark results.
13748 * benchtests/bench-timing-type.c (main): Output the
13749 timing type simply, leaving formatting to the user.
13750 * benchtests/json-lib.c: New file.
13751 * benchtests/json-lib.h: Likewise.
13752
36875b06
TR
137532014-04-11 Torvald Riegel <triegel@redhat.com>
13754
13755 [BZ #15215]
13756 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13757 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13758 memory barriers. Add comments.
13759 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13760 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13761 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13762 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13763 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13764 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13765
579db35a
SL
137662014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13767
13768 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13769 * sysdeps/s390/s390-64/configure.ac: ... this ...
13770 * sysdeps/s390/configure.ac: ... to here.
13771 * sysdeps/s390/s390-32/configure: Delete file.
13772 * sysdeps/s390/s390-64/configure: Delete file.
13773 * sysdeps/s390/configure: Regenerate.
13774
c12e9f37
JAPH
137752014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13776
13777 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13778
439bda32
WN
137792014-04-11 Will Newton <will.newton@linaro.org>
13780
13781 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13782 to zero if it is not defined elsewhere. (mtrim): Test
13783 the value of MALLOC_DEBUG with #if rather than #ifdef.
13784
6a5d6ea1
TR
137852014-04-10 Torvald Riegel <triegel@redhat.com>
13786
13787 * benchtests/pthread_once-inputs: New file.
13788 * benchtests/pthread_once-source.c: New file.
13789 * benchtests/README: Update documentation.
13790
a4c75cfd
IZ
137912014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13792 H.J. Lu <hongjiu.lu@intel.com>
13793
7e54fd04 13794 [BZ #16275]
a4c75cfd
IZ
13795 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13796 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13797 * sysdeps/x86_64/configure: Regenerated.
13798 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13799 macro.
13800 (REGISTER_SAVE_RAX): Likewise.
13801 (REGISTER_SAVE_RCX): Likewise.
13802 (REGISTER_SAVE_RDX): Likewise.
13803 (REGISTER_SAVE_RSI): Likewise.
13804 (REGISTER_SAVE_RDI): Likewise.
13805 (REGISTER_SAVE_R8): Likewise.
13806 (REGISTER_SAVE_R9): Likewise.
13807 (REGISTER_SAVE_BND0): Likewise.
13808 (REGISTER_SAVE_BND1): Likewise.
13809 (REGISTER_SAVE_BND2): Likewise.
13810 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13811 bound registers when calling _dl_fixup.
13812
27822ce6
AZ
138132014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13814
13815 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13816 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13817 of its definition.
27822ce6
AZ
13818 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13819 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13820 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13821 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13822 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13823 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13824 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13825
a88ddc90
PTB
138262014-04-09 Peter Brett <peter@peter-b.co.uk>
13827
13828 [BZ #15514]
13829 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13830 pathconf(_PC_NAME_MAX).
13831
01f8eac2
AZ
138322014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13833
13834 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13835 Remove macro usage.
13836 (__PTHREAD_SPINS): Move definition to ...
13837 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13838 (__PTHREAD_SPINS): ... here.
13839 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13840 (__PTHREAD_SPIN): Likewise.
13841 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13842 (__PTHREAD_SPIN): Likewise.
13843 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13844 (__PTHREAD_SPIN): Likewise.
13845 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13846 (__PTHREAD_SPIN): Likewise.
13847 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13848 (__PTHREAD_SPIN): Likewise.
13849 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13850 (__PTHREAD_SPIN): Likewise.
13851 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13852 (__PTHREAD_SPIN): Likewise.
13853 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13854 (__PTHREAD_SPIN): Likewise.
13855 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13856 (__PTHREAD_SPIN): Likewise.
13857 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13858 (__PTHREAD_SPIN): Likewise.
13859 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13860 (__PTHREAD_SPIN): Likewise.
13861 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13862 (__PTHREAD_SPIN): Likewise.
13863
de21c33c
AZ
13864 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13865 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13866 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13867 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13868 imply folder.
13869 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13870 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13871 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13872 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13873 correct imply path.
13874 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13875 strlen symbol for non multi-arch builds.
13876 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13877 missing hidden_def and weak_alias.
13878
862c472e
CD
138792014-04-08 Carlos O'Donell <carlos@redhat.com>
13880
13881 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13882
8667f90e
WN
138832014-04-07 Will Newton <will.newton@linaro.org>
13884
13885 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13886 and contents. [!_LIBC] Remove #ifndef and contents.
13887 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13888 * string/memccpy.c (__memccpy): Use ANSI prototype.
13889 * string/memfrob.c (memfrob): Likewise.
13890 * string/strcoll.c (STRCOLL): Likewise.
13891 * string/strlen.c (strlen): Likewise.
13892 * string/strtok.c (STRTOK): Likewise.
13893 * string/strcat.c: Remove unused #include of memcopy.h.
13894 (strcat): Use ANSI prototype.
13895 * string/strchr.c: Remove unused #include of memcopy.h.
13896 (strchr): Use ANSI prototype.
13897 * string/strcmp.c: Remove unused #include of memcopy.h.
13898 (strcmp): Use ANSI prototype.
13899 * string/strcpy.c: Remove unused #include of memcopy.h.
13900 (strcpy): Use ANSI prototype.
13901
7ffa9423
AZ
139022014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13903
13904 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13905 * config.make.in (config-extra-cppflags): Set it from
13906 libc_extra_cppflags.
13907 * configure.ac (libc_extra_cflags): Make it accumulate over
13908 configure fragments.
13909 (libc_extra_cppflags): New flag.
13910 * configure. Regenerate.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13912 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13913 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13915
8bd70862
AZ
13916 [BZ #16815]
13917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13918 result for FE_DOWNWARD rounding mode.
13919 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13920 Likewise.
13921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13922
d42f3448
CM
139232014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13924
13925 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13926 in function argument name.
13927
1c21d115
DS
139282014-04-03 David Svoboda <svoboda@cert.org>
13929
13930 [BZ #5666]
13931 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13932 explicitly.
13933
fcccd512
RM
139342014-04-03 Roland McGrath <roland@hack.frob.com>
13935
13936 * elf/dl-unmap-segments.h: New file.
13937 * sysdeps/generic/ldsodefs.h
13938 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13939 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13940 * elf/dl-fptr.c: Likewise.
13941 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13942 * sysdeps/aarch64/tlsdesc.c: Likewise.
13943 * sysdeps/arm/tlsdesc.c: Likewise.
13944 * sysdeps/i386/tlsdesc.c: Likewise.
13945 * sysdeps/tile/dl-runtime.c: Likewise.
13946 * sysdeps/x86_64/tlsdesc.c: Likewise.
13947 * elf/dl-load.h: New file.
13948 * elf/dl-load.c: Include it.
13949 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13950 Macros moved to dl-load.h.
13951 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13952 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13953 Use _dl_unmap_segments in place of __munmap.
13954 Break out segment-mapping loop into ...
13955 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13956
f6488e2b
WN
139572014-04-03 Will Newton <will.newton@linaro.org>
13958
13959 * elf/dl-lookup.c (do_lookup_x): Remove comment
13960 referring to nested function and move variable
13961 declarations down to before first use.
13962
6f05bafe
JM
139632014-04-02 Joseph Myers <joseph@codesourcery.com>
13964
a84e78c8
JM
13965 [BZ #16799]
13966 [BZ #16800]
13967 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13968 with 0 numerator.
13969 * math/s_catanf.c (__catanf): Likewise.
13970 * math/s_catanh.c (__catanh): Likewise.
13971 * math/s_catanhf.c (__catanhf): Likewise.
13972 * math/s_catanhl.c (__catanhl): Likewise.
13973 * math/s_catanl.c (__catanl): Likewise.
13974 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13975 by positive zero when computing -Inf result.
13976 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13977 (catanh_test): Likewise.
13978 * sysdeps/i386/fpu/libm-test-ulps: Update.
13979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13980
6f05bafe
JM
13981 [BZ #16789]
13982 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13983 instead of using underflowing value in computing result.
13984 * math/s_clog10.c (__clog10): Likewise.
13985 * math/s_clog10f.c (__clog10f): Likewise.
13986 * math/s_clog10l.c (__clog10l): Likewise.
13987 * math/s_clogf.c (__clogf): Likewise.
13988 * math/s_clogl.c (__clogl): Likewise.
13989 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13990 (clog10_test): Likewise.
13991 * sysdeps/i386/fpu/libm-test-ulps: Update.
13992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13993
b0abbc21
AM
139942014-04-02 Alan Modra <amodra@gmail.com>
13995
13996 [BZ #16739]
13997 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13998 output when value is near a power of two. Use int64_t for lx and
13999 remove casts. Use decimal rather than hex exponent constants.
14000 Don't use long double multiplication when double will suffice.
14001 * math/libm-test.inc (nextafter_test_data): Add tests.
14002 * NEWS: Add 16739 and 16786 to bug list.
14003
af6b1797
AM
14004 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14005
483818d7
AM
14006 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14007
f6c55796
WN
140082014-04-01 Will Newton <will.newton@linaro.org>
14009
14010 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14011 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14012
13f7fe35
FW
140132014-04-01 Florian Weimer <fweimer@redhat.com>
14014
14015 [BZ #13347]
14016 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14017 * nptl/tst-setuid2.c: New file.
14018 * nptl/Makefile (xtests): Add tst-setuid2.
14019
c859b32e
AM
140202014-04-01 Alan Modra <amodra@gmail.com>
14021
14022 [BZ #16786]
14023 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14024
54fa2475
JM
140252014-03-31 Joseph Myers <joseph@codesourcery.com>
14026
8795b4a4
JM
14027 [BZ #6803]
14028 [BZ #6804]
14029 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14030 set errno as appropriate.
14031 * math/w_scalbf.c (__scalbf): Likewise.
14032 * math/w_scalbl.c (__scalbl): Likewise.
14033 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14034 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14035 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14036 Add more NaN tests.
14037
54fa2475
JM
14038 [BZ #16349]
14039 * math/w_atan2.c: Include <errno.h>.
14040 (__atan2): Set errno for result underflowing to zero.
14041 * math/w_atan2f.c: Include <errno.h>.
14042 (__atan2f): Set errno for result underflowing to zero.
14043 * math/w_atan2l.c: Include <errno.h>.
14044 (__atan2l): Set errno for result underflowing to zero.
14045 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14046 tests.
14047 * math/auto-libm-test-out: Regenerated.
14048
757d9dd5
AZ
140492014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050
14051 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14052 Encode instruction correctly in little endian.
14053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14054 Likewise.
14055 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14056 Likewise.
14057 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14058 Likewise.
14059 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14060 Likewise.
14061
d7a68734
JM
140622014-03-31 Joseph Myers <joseph@codesourcery.com>
14063
47c5adeb
JM
14064 [BZ #9894]
14065 * sysdeps/unix/sysv/linux/kernel-features.h
14066 [__sparc__ && !__arch64__ && !__sparc_v9__]
14067 (__ASSUME_SET_ROBUST_LIST): Do not define.
14068 [__sparc__ && !__arch64__ && !__sparc_v9__]
14069 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14070 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14071 Likewise.
14072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14073 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14074 (__ASSUME_REQUEUE_PI): Likewise.
14075 (__ASSUME_SET_ROBUST_LIST): Likewise.
14076 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14077 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14078 Undefine.
14079 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14081 Likewise.
14082 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14083 Likewise.
14084 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14085 Likewise.
14086 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14087 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14088 Undefine.
14089 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14090 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14091 Likewise.
14092
d7a68734
JM
14093 [BZ #16648]
14094 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14095 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14096 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14097
c760f5c2
WN
140982014-03-31 Will Newton <will.newton@linaro.org>
14099
14100 * benchtests/Makefile (bench): Add ffs and ffsll to list
14101 of tests.
14102 * benchtests/ffs-inputs: New file.
14103 * benchtests/ffsll-inputs: Likewise.
14104
ea6029b1
JM
141052014-03-29 Joseph Myers <joseph@codesourcery.com>
14106
14107 [BZ #16770]
14108 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14109 too large before casting to int.
14110 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14111 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14112 * math/libm-test.inc (scalb_test_data): Add more tests.
14113
cf806aff
SP
141142014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14115
56737508
SP
14116 * benchtests/Makefile (DETAILED_OPT): New make option.
14117 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14118 set.
14119 * benchtests/bench-skeleton.c: Include stdbool.h.
14120 (main): Store and print timings per input.
14121 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14122 member to each argument value.
14123 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14124 (_print_arg_data): Initialize per-input timing to 0.
14125
cb5e4aad
SP
14126 * benchtests/Makefile (timing-type): New binary.
14127 (bench-clean): Also remove bench-timing-type.
14128 (bench): New target for timing-type.
14129 (bench-func): Print output in JSON format.
14130 * benchtests/bench-skeleton.c (main): Print output in JSON
14131 format.
14132 * benchtests/bench-timing-type.c: New file.
14133 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14134 (TIMING_PRINT_STATS): Remove.
14135 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14136 name separately.
14137
cf806aff
SP
14138 * benchtests/bench-modf.c: Remove.
14139 * benchtests/modf-inputs: New inputs file.
14140
289e0779
JM
141412014-03-28 Joseph Myers <joseph@codesourcery.com>
14142
14143 [BZ #16362]
14144 * math/s_clog10.c (M_PI_LOG10E): New macro.
14145 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14146 imaginary parts are 0.
14147 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14148 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14149 imaginary parts are 0.
14150 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14151 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14152 imaginary parts are 0.
14153 * math/libm-test.inc (clog10_test_data): Update expected results
14154 for when real and imaginary parts are 0.
14155
277ae3f1
PP
141562014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14157
14158 * elf/dl-load.c: Finish conversion of __builtin_expect into
14159 __glibc_{un}likely.
14160
03a7091f
JM
141612014-03-27 Joseph Myers <joseph@codesourcery.com>
14162
14163 [BZ #16348]
14164 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14165 1+x for argument with exponent below -67.
14166 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14167 Likewise.
14168 * math/auto-libm-test-in: Add more tests of exp.
14169 * math/auto-libm-test-out: Regenerated.
14170
ea7d8b95
SP
141712014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14172
dd3022d7
SP
14173 [BZ #16759]
14174 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14175 (nscd_getnetgrent): Use it.
14176
ea7d8b95
SP
14177 [BZ #16760]
14178 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14179 of stpcpy.
14180
df5b85da
AK
141812014-03-27 Andi Kleen <ak@linux.intel.com>
14182
57f41c40
AS
14183 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14184 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14185 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14186 (lll_robust_unlock): Remove out of line section. Use cfi
14187 intrinsics.
df5b85da 14188 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14189 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14190 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14191 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14192 (lll_robust_unlock): Remove out of line section. Use cfi
14193 intrinsics.
df5b85da
AK
14194 (LLL_STUB_UNWIND_INFO*): Remove.
14195
fbd6b5a4
SP
141962014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14197
14198 [BZ #16758]
14199 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14200 blank values.
14201
1b26b855
PP
142022014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14203
14204 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14205
9be36fb8
JM
142062014-03-26 Joseph Myers <joseph@codesourcery.com>
14207
14208 [BZ #16198]
14209 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14210 fnstenv.
14211 * math/test-fenv-preserve.c: New file.
14212 * math/Makefile (tests): Add test-fenv-preserve.
14213
60a2f3c1
WN
142142014-03-26 Will Newton <will.newton@linaro.org>
14215
14216 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14217
a5e5f1e2
RM
142182014-03-25 Roland McGrath <roland@hack.frob.com>
14219
14220 * scripts/versionlist.awk: Partition the version sets and emit all
14221 GLIBC_* (sorted) before all others (sorted).
14222
00f4012a
JM
142232014-03-25 Joseph Myers <joseph@codesourcery.com>
14224
14225 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14226 GLIBC_2.2.5 version.
14227
7bc5a741
AZ
142282014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14229
14230 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14231 calls.
14232
7578473b
AZ
14233 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14234 previous change.
14235
f3f1dab3
AZ
14236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14237
6da36183
AS
142382014-03-25 Andreas Schwab <schwab@suse.de>
14239
14240 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14241 label to be used after in6ailist is initialized.
14242
f3f1dab3 142432014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14244
7578473b 14245 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14246 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14247
046651c1
JM
142482014-03-25 Joseph Myers <joseph@codesourcery.com>
14249
14250 [BZ #16357]
14251 [BZ #16599]
14252 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14253 min_plus_half.
14254 (fp_formats): Update initializers.
14255 (init_fp_formats): Initialize new field.
14256 (output_for_one_input_case): Allow underflow for results up to
14257 min_plus_half.
14258 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14259 * math/auto-libm-test-in: Don't mark some underflows from asin and
14260 atanh as spurious.
14261 * math/auto-libm-test-out: Regenerated.
14262 * sysdeps/i386/fpu/libm-test-ulps: Update.
14263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14264
003e49ed
AS
142652014-03-25 Andreas Schwab <schwab@suse.de>
14266
14267 * libio/Makefile (tst-ftell-partial-wide-ENV)
14268 (tst-ftell-active-handler-ENV): Define.
14269
de031874
SL
142702014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14271
14272 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14273
55a81e3b
PP
142742014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14275
14276 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14277
f3426898
JM
142782014-03-24 Joseph Myers <joseph@codesourcery.com>
14279
14280 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14281 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14282 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14283
a42faf59
PP
142842014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14285
14286 [BZ #16634]
a42faf59 14287 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14288 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14289 (open_path): Change from boolean 'secure' to complete flag 'mode'
14290 (_dl_map_object): Adjust.
a42faf59
PP
14291 * elf/Makefile (tests): Add tst-dlopen-aout.
14292 * elf/tst-dlopen-aout.c: New test.
14293
50936127
SL
142942014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14295
14296 [BZ #16714]
14297 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14298 (struct stat): Rename member pad0 to __glibc_reserved0.
14299
26011b5c
SL
14300 [BZ #16712]
14301 * sysdeps/s390/s390-32/bits/wordsize.h
14302 (__WORDSIZE32_SIZE_ULONG): New define.
14303 * sysdeps/s390/s390-64/bits/wordsize.h
14304 (__WORDSIZE32_SIZE_ULONG): Likewise.
14305 * sysdeps/generic/stdint.h (SIZE_MAX):
14306 Define as UL if __WORDSIZE32_SIZE_ULONG.
14307
a2d86bf1
SL
14308 [BZ #16713]
14309 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14310 (__glibc_reserved0): New variable.
14311 (sa_flags): Change type to int.
14312
78b6eebc
SL
14313 * posix/Makefile (before-compile): Use += before-compile instead
14314 of a :=.
14315
f1399b5a
SL
14316 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14317 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14318
a071766e
AS
143192014-03-20 Andreas Schwab <schwab@suse.de>
14320
14321 [BZ #16743]
14322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14323 non-matching result from nscd.
14324
27c673b8
SP
143252014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14326
14327 * scripts/bench.py: Moved to ...
14328 * benchtests/scripts/bench.py: ... here.
14329 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14330
44152e4b
AS
143312014-03-24 Andreas Schwab <schwab@suse.de>
14332
14333 [BZ #16002]
14334 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14335 alloca_account and account alloca use for struct in6ailist.
14336
b376a11a
JM
143372014-03-24 Joseph Myers <joseph@codesourcery.com>
14338
14339 [BZ #16284]
14340 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14341 rounding mode to recompute results that overflow to infinity or
14342 underflow to zero.
14343 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14344 bug 16284.
14345 * math/auto-libm-test-out: Regenerated.
14346 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14347 (ccosh_test): Likewise.
14348 (csin_test_data): Use plus_oflow.
14349 (csin_test): Use ALL_RM_TEST.
14350 (csinh_test_data): Use plus_oflow.
14351 (csinh_test): Use ALL_RM_TEST.
14352 * sysdeps/i386/fpu/libm-test-ulps: Update.
14353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14354
f7be7376
JM
143552014-03-21 Joseph Myers <joseph@codesourcery.com>
14356
1ca2d03e
JM
14357 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14358 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14359 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14360
f7be7376
JM
14361 [BZ #16731]
14362 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14363 when x - 1 is zero.
14364 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14365 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14366 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14368 argument is 1.
14369 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14370 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14371 zero.
14372 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14373 * sysdeps/i386/fpu/libm-test-ulps: Update.
14374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14375
fdf4534d
SP
143762014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14377
df26ea53
SP
14378 * scripts/bench.pl: Remove file.
14379 * scripts/bench.py: New benchmark script.
14380 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14381 * benchtests/README: Mention python dependency.
14382 * scripts/pylintrc: New file.
14383 * scripts/pylint: New file.
14384
fdf4534d
SP
14385 * bits/mathdef.h: Use #ifdef instead of #if.
14386 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14387 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14388 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14389 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14390 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14391 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14392
6f23d093
AZ
143932014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14394 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14395
14396 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14398 and strpbrk-ppc64 objects.
14399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14400 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14401 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14402 multiarch strpbrk for POWER7.
14403 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14404 multiarch strpbrk for PPC64.
14405 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14406 ifunc selector.
14407 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14408 strpbrk for POWER7.
14409
8c92dfff
JM
144102014-03-20 Joseph Myers <joseph@codesourcery.com>
14411
14412 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14413 (atan_test): Likewise.
14414 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14415 (atanh_test): Use ALL_RM_TEST.
14416 (atan2_test_data): Likewise.
14417 (cabs_test): Likewise.
14418 (cacosh_test): Likewise.
14419 (carg_test): Likewise.
14420 (casin_test): Likewise.
14421 (casinh_test): Likewise.
14422 (cbrt_test): Likewise.
14423 (csqrt_test): Likewise.
14424 (erf_test): Likewise.
14425 (erfc_test): Likewise.
14426 (pow10_test): Likewise.
14427 (exp2_test): Likewise.
14428 (hypot_test): Likewise.
14429 (j0_test): Likewise.
14430 (j1_test): Likewise.
14431 (lgamma_test): Likewise.
14432 (gamma_test): Likewise.
14433 (sincos_test): Likewise.
14434 (tanh_test): Likewise.
14435 (y0_test): Likewise.
14436 (y1_test): Likewise.
14437 * sysdeps/i386/fpu/libm-test-ulps: Update.
14438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14439
6eaf95cb
AZ
144402014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14441
a387428c
SP
14442 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14444 and strcspn-ppc64 objects.
14445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14446 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14447 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14448 multiarch strcspn for POWER7.
14449 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14450 multiarch strcspn for PPC64.
14451 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14452 ifunc selector.
14453 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14454 strcspn for POWER7.
14455
ae3a5dff
JM
144562014-03-20 Joseph Myers <joseph@codesourcery.com>
14457
14458 * math/gen-libm-test.pl (generate_testfile): Expect only function
14459 name as argument to AUTO_TESTS_* and pass results for all rounding
14460 modes to parse_args.
14461 (parse_auto_input): Separate inputs of automatic tests from
14462 outputs before storing in %auto_tests.
14463 * math/libm-test.inc (acos_test_data): Update call to
14464 AUTO_TESTS_f_f.
14465 (acos_test): Use ALL_RM_TEST.
14466 (acos_tonearest_test_data): Remove.
14467 (acos_test_tonearest): Likewise.
14468 (acos_towardzero_test_data): Likewise.
14469 (acos_test_towardzero): Likewise.
14470 (acos_downward_test_data): Likewise.
14471 (acos_test_downward): Likewise.
14472 (acos_upward_test_data): Likewise.
14473 (acos_test_upward): Likewise.
14474 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14475 (asin_test_data): Likewise.
14476 (asin_test): Use ALL_RM_TEST.
14477 (asin_tonearest_test_data): Remove.
14478 (asin_test_tonearest): Likewise.
14479 (asin_towardzero_test_data): Likewise.
14480 (asin_test_towardzero): Likewise.
14481 (asin_downward_test_data): Likewise.
14482 (asin_test_downward): Likewise.
14483 (asin_upward_test_data): Likewise.
14484 (asin_test_upward): Likewise.
14485 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14486 (atan_test_data): Likewise.
14487 (atanh_test_data): Likewise.
14488 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14489 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14490 (carg_test_data): Likewise.
14491 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14492 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14493 (ccosh_test_data): Likewise.
14494 (cexp_test_data): Likewise.
14495 (clog_test_data): Likewise.
14496 (clog10_test_data): Likewise.
14497 (cos_test_data): Update call to AUTO_TESTS_f_f.
14498 (cos_test): Use ALL_RM_TEST.
14499 (cos_tonearest_test_data): Remove.
14500 (cos_test_tonearest): Likewise.
14501 (cos_towardzero_test_data): Likewise.
14502 (cos_test_towardzero): Likewise.
14503 (cos_downward_test_data): Likewise.
14504 (cos_test_downward): Likewise.
14505 (cos_upward_test_data): Likewise.
14506 (cos_test_upward): Likewise.
14507 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14508 (cosh_test): Use ALL_RM_TEST.
14509 (cosh_tonearest_test_data): Remove.
14510 (cosh_test_tonearest): Likewise.
14511 (cosh_towardzero_test_data): Likewise.
14512 (cosh_test_towardzero): Likewise.
14513 (cosh_downward_test_data): Likewise.
14514 (cosh_test_downward): Likewise.
14515 (cosh_upward_test_data): Likewise.
14516 (cosh_test_upward): Likewise.
14517 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14518 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14519 (ctan_test_data): Likewise.
14520 (ctan_test): Use ALL_RM_TEST.
14521 (ctan_tonearest_test_data): Remove.
14522 (ctan_test_tonearest): Likewise.
14523 (ctan_towardzero_test_data): Likewise.
14524 (ctan_test_towardzero): Likewise.
14525 (ctan_downward_test_data): Likewise.
14526 (ctan_test_downward): Likewise.
14527 (ctan_upward_test_data): Likewise.
14528 (ctan_test_upward): Likewise.
14529 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14530 (ctanh_test): Use ALL_RM_TEST.
14531 (ctanh_tonearest_test_data): Remove.
14532 (ctanh_test_tonearest): Likewise.
14533 (ctanh_towardzero_test_data): Likewise.
14534 (ctanh_test_towardzero): Likewise.
14535 (ctanh_downward_test_data): Likewise.
14536 (ctanh_test_downward): Likewise.
14537 (ctanh_upward_test_data): Likewise.
14538 (ctanh_test_upward): Likewise.
14539 (erf_test_data): Update call to AUTO_TESTS_f_f.
14540 (erfc_test_data): Likewise.
14541 (exp_test_data): Likewise.
14542 (exp_test): Use ALL_RM_TEST.
14543 (exp_tonearest_test_data): Remove.
14544 (exp_test_tonearest): Likewise.
14545 (exp_towardzero_test_data): Likewise.
14546 (exp_test_towardzero): Likewise.
14547 (exp_downward_test_data): Likewise.
14548 (exp_test_downward): Likewise.
14549 (exp_upward_test_data): Likewise.
14550 (exp_test_upward): Likewise.
14551 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14552 (exp10_test): Use ALL_RM_TEST.
14553 (exp10_tonearest_test_data): Remove.
14554 (exp10_test_tonearest): Likewise.
14555 (exp10_towardzero_test_data): Likewise.
14556 (exp10_test_towardzero): Likewise.
14557 (exp10_downward_test_data): Likewise.
14558 (exp10_test_downward): Likewise.
14559 (exp10_upward_test_data): Likewise.
14560 (exp10_test_upward): Likewise.
14561 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14562 (expm1_test_data): Likewise.
14563 (expm1_test): Use ALL_RM_TEST.
14564 (expm1_tonearest_test_data): Remove.
14565 (expm1_test_tonearest): Likewise.
14566 (expm1_towardzero_test_data): Likewise.
14567 (expm1_test_towardzero): Likewise.
14568 (expm1_downward_test_data): Likewise.
14569 (expm1_test_downward): Likewise.
14570 (expm1_upward_test_data): Likewise.
14571 (expm1_test_upward): Likewise.
14572 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14573 (fma_test): Use ALL_RM_TEST.
14574 (fma_towardzero_test_data): Remove.
14575 (fma_test_towardzero): Likewise.
14576 (fma_downward_test_data): Likewise.
14577 (fma_test_downward): Likewise.
14578 (fma_upward_test_data): Likewise.
14579 (fma_test_upward): Likewise.
14580 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14581 (j0_test_data): Update call to AUTO_TESTS_f_f.
14582 (j1_test_data): Likewise.
14583 (jn_test_data): Update call to AUTO_TESTS_if_f.
14584 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14585 (log_test_data): Update call to AUTO_TESTS_f_f.
14586 (log10_test_data): Likewise.
14587 (log1p_test_data): Likewise.
14588 (log2_test_data): Likewise.
14589 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14590 (pow_tonearest_test_data): Likewise.
14591 (sin_test_data): Update call to AUTO_TESTS_f_f.
14592 (sin_test): Use ALL_RM_TEST.
14593 (sin_tonearest_test_data): Remove.
14594 (sin_test_tonearest): Likewise.
14595 (sin_towardzero_test_data): Likewise.
14596 (sin_test_towardzero): Likewise.
14597 (sin_downward_test_data): Likewise.
14598 (sin_test_downward): Likewise.
14599 (sin_upward_test_data): Likewise.
14600 (sin_test_upward): Likewise.
14601 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14602 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14603 (sinh_test): Use ALL_RM_TEST.
14604 (sinh_tonearest_test_data): Remove.
14605 (sinh_test_tonearest): Likewise.
14606 (sinh_towardzero_test_data): Likewise.
14607 (sinh_test_towardzero): Likewise.
14608 (sinh_downward_test_data): Likewise.
14609 (sinh_test_downward): Likewise.
14610 (sinh_upward_test_data): Likewise.
14611 (sinh_test_upward): Likewise.
14612 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14613 (sqrt_test): Use ALL_RM_TEST.
14614 (sqrt_tonearest_test_data): Remove.
14615 (sqrt_test_tonearest): Likewise.
14616 (sqrt_towardzero_test_data): Likewise.
14617 (sqrt_test_towardzero): Likewise.
14618 (sqrt_downward_test_data): Likewise.
14619 (sqrt_test_downward): Likewise.
14620 (sqrt_upward_test_data): Likewise.
14621 (sqrt_test_upward): Likewise.
14622 (tan_test_data): Update call to AUTO_TESTS_f_f.
14623 (tan_test): Use ALL_RM_TEST.
14624 (tan_tonearest_test_data): Remove.
14625 (tan_test_tonearest): Likewise.
14626 (tan_towardzero_test_data): Likewise.
14627 (tan_test_towardzero): Likewise.
14628 (tan_downward_test_data): Likewise.
14629 (tan_test_downward): Likewise.
14630 (tan_upward_test_data): Likewise.
14631 (tan_test_upward): Likewise.
14632 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14633 (tgamma_test_data): Likewise.
14634 (y0_test_data): Likewise.
14635 (y1_test_data): Likewise.
14636 (yn_test_data): Update call to AUTO_TESTS_if_f.
14637 (main): Do not call removed functions.
14638
d71aeee8
JM
146392014-03-19 Joseph Myers <joseph@codesourcery.com>
14640
14641 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14642 (ldexp_test_data): Remove.
14643 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14644 scalbn_test_data.
14645 (scalb_test): Use ALL_RM_TEST.
14646
baaf1ded
AS
146472014-03-19 Andreas Schwab <schwab@suse.de>
14648
14649 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14650
b1115e91
JM
146512014-03-19 Joseph Myers <joseph@codesourcery.com>
14652
14653 [BZ #16649]
14654 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14655 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14656 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14657 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14658 (__ASSUME_PREADV): Undefine.
14659 (__ASSUME_PWRITEV): Likewise.
14660
0283ecca
RM
146612014-03-18 Roland McGrath <roland@hack.frob.com>
14662
7d375303
RM
14663 * bits/mman-linux.h: Add comment about non-Linux use.
14664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14665 bits/mman-linux.h resting place.
14666
0283ecca
RM
14667 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14668 * bits/mman-linux.h: ... here.
14669
aebe1003
AZ
146702014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14671
14672 * conform/conformtest.pl: Add standard definition when calling C
14673 preprocessor on data files.
14674 (checknamespace): Remove unused variable.
14675
b29b6bb8
JM
146762014-03-18 Joseph Myers <joseph@codesourcery.com>
14677
14678 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14679 minus_oflow, plus_uflow and minus_uflow in expected results.
14680 * math/libm-test.inc (scalbn_test_data): Add more tests of
14681 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14682 minus_uflow.
14683 (scalbn_test): Use ALL_RM_TEST.
14684 (scalbln_test_data): Add more tests of negative arguments. Use
14685 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14686 (scalbln_test): Use ALL_RM_TEST.
14687
c8f8fa15
RM
146882014-03-18 Roland McGrath <roland@hack.frob.com>
14689
14690 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14691
fede7a5f
WN
146922014-03-18 Will Newton <will.newton@linaro.org>
14693
14694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14695 inaccurate comment.
14696
80cf0a58
JM
146972014-03-18 Joseph Myers <joseph@codesourcery.com>
14698
14699 * Makerules [!subdir] (check-abi): Exit with error status if a
14700 test failed.
14701
b3620862
JM
147022014-03-17 Joseph Myers <joseph@codesourcery.com>
14703
14704 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14705 for rint. Include results for all rounding modes.
14706 (nearbyint_test): Use ALL_RM_TEST.
14707 (rint_test_data): Include all tests used for nearbyint.
14708
788bba36
WN
147092014-03-17 Will Newton <will.newton@linaro.org>
14710
04ec140a
WN
14711 * nptl/sysdeps/pthread/pthread.h: Revert previous
14712 change.
14713
7579d8d5
WN
14714 * sysdeps/generic/ldsodefs.h: Revert previous
14715 change.
14716
c15cf13a
WN
14717 * libio/genops.c: Revert previous change.
14718 * libio/libioP.h: Likewise.
14719 * stdio-common/vfprintf.c: Likewise.
14720
d0ac1324
WN
14721 * sysdeps/generic/math_private.h: Revert previous
14722 change.
14723
9290130a
WN
14724 * sysdeps/generic/math_private.h: Check whether
14725 HAVE_RM_CTX is defined with #ifdef rather
14726 than #if.
14727
afb466fc
WN
14728 * argp/argp-fmtstream.h: Check whether
14729 __STRICT_ANSI__ is defined with #ifdef rather
14730 than #if.
14731 * argp/argp.h: Likewise.
14732
f7efd7c3
WN
14733 * libio/genops.c: Check whether
14734 _IO_JUMPS_OFFSET is defined with #ifdef rather
14735 than #if.
14736 * libio/libioP.h: Likewise.
14737 * stdio-common/vfprintf.c: Likewise.
14738
53f1bed3
WN
14739 * sysdeps/generic/ldsodefs.h: Check whether
14740 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14741 than #if.
14742
788bba36
WN
14743 * nptl/sysdeps/pthread/pthread.h: Check
14744 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14745 its value.
14746
fcd89ebe
SP
147472014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14748
ae42bbc5
SP
14749 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14750 setting O_APPEND.
14751 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14752 test case.
14753
ea33158c
SP
14754 [BZ #16680]
14755 * libio/fileops.c (_IO_file_open): Seek to end of file but
14756 don't cache the offset.
14757 (get_file_offset): Remove function.
14758 (do_ftell): Use cached offset when available.
14759 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14760 don't cache the offset.
14761 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14762 case.
14763 (do_one_test): Call it.
14764 (do_ftell_test): Fix up expected old offset for a+ mode.
14765 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14766 available.
14767
b1dbb426
SP
14768 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14769 up test status with function return status.
14770 (do_write_test): Likewise.
14771 (do_append_test): Likewise.
14772
fcd89ebe
SP
14773 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14774 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14775 Remove.
14776
9962a2d3
JM
147772014-03-17 Joseph Myers <joseph@codesourcery.com>
14778
14779 * math/gen-libm-test.pl (parse_args): Handle results specified for
14780 each rounding mode separately.
14781 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14782 tests and results from lrint_tonearest_test_data,
14783 lrint_towardzero_test_data, lrint_downward_test_data and
14784 lrint_upward_test_data.
14785 (lrint_test): Use ALL_RM_TEST.
14786 (lrint_tonearest_test_data): Remove.
14787 (lrint_test_tonearest): Likewise.
14788 (lrint_towardzero_test_data): Likewise.
14789 (lrint_test_towardzero): Likewise.
14790 (lrint_downward_test_data): Likewise.
14791 (lrint_test_downward): Likewise.
14792 (lrint_upward_test_data): Likewise.
14793 (lrint_test_upward): Likewise.
14794 (llrint_test_data): Merge in per-rounding-mode tests and results
14795 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14796 llrint_downward_test_data and llrint_upward_test_data.
14797 (llrint_test): Use ALL_RM_TEST.
14798 (llrint_tonearest_test_data): Remove.
14799 (llrint_test_tonearest): Likewise.
14800 (llrint_towardzero_test_data): Likewise.
14801 (llrint_test_towardzero): Likewise.
14802 (llrint_downward_test_data): Likewise.
14803 (llrint_test_downward): Likewise.
14804 (llrint_upward_test_data): Likewise.
14805 (llrint_test_upward): Likewise.
14806 (rint_test_data): Merge in per-rounding-mode tests and results
14807 from rint_tonearest_test_data, rint_towardzero_test_data,
14808 rint_downward_test_data and rint_upward_test_data. Add
14809 per-rounding-mode results for tests not in those arrays.
14810 (rint_test): Use ALL_RM_TEST.
14811 (rint_tonearest_test_data): Remove.
14812 (rint_test_tonearest): Likewise.
14813 (rint_towardzero_test_data): Likewise.
14814 (rint_test_towardzero): Likewise.
14815 (rint_downward_test_data): Likewise.
14816 (rint_test_downward): Likewise.
14817 (rint_upward_test_data): Likewise.
14818 (rint_test_upward): Likewise.
14819 (main): Don't call removed functions.
14820
5006148e
RM
148212014-03-14 Roland McGrath <roland@hack.frob.com>
14822
14823 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14824 "Compiled on ..." crapola. It is anti-useful.
14825
d6fe5e58
JM
148262014-03-14 Joseph Myers <joseph@codesourcery.com>
14827
14828 * scripts/evaluate-test.sh: Handle fourth argument to determine
14829 whether test run should stop on failure.
14830 * Makeconfig (stop-on-test-failure): New variable.
14831 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14832 $(stop-on-test-failure).
14833 * Makefile (tests): Give a summary of results from testing and
14834 exit with failure status if they include an ERROR or FAIL.
14835 (xtests): Likewise.
14836 * manual/install.texi (Configuring and compiling): Mention
14837 stop-on-test-failure=y.
14838 * INSTALL: Regenerated.
14839
498a2233
RM
148402014-03-14 Roland McGrath <roland@hack.frob.com>
14841
22dbc19d
RM
14842 * scripts/versionlist.awk: New file.
14843 * Makerules [$(build-shared) = yes]
14844 (postclean-generated): Add Versions.def, not Versions.def.v and
14845 Versions.def.v.i.
14846 ($(common-objpfx)Versions.def.v.i): Target removed.
14847 ($(common-objpfx)Versions.def): New target.
14848 ($(common-objpfx)Versions.all): Depend on that rather that
14849 $(common-objpfx)Versions.def.v.
14850 * Versions.def: File removed.
14851
498a2233
RM
14852 * Makeconfig (+gccwarn): Add -Wundef.
14853 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14854 a dl-sysdep.h breaking its contract.
14855 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14856 * include/stackinfo.h: New file.
14857 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14858 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14859 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14860 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14861 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14862 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14863 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14864 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14865 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14866 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14867 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14868 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14869 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14870 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14871 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14872
c7de5025
AZ
148732014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14874
14875 [BZ #16707]
14876 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14877 implementation.
14878 * math/libm-test.inc (round_test_data): Add more tests.
14879
98fb27a3
AZ
14880 [BZ #16706]
14881 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14882 implementation.
14883 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14884
374f7f61
AZ
14885 [BZ #16701]
14886 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14887 implementation.
14888 * math/libm-test.inc (ceil_test_data): Add more tests.
14889
4655c291
AZ
14890 * math/libm-test.inc (trunc_test_data): Add more tests related to
14891 BZ#16414.
14892
d7329d4b
RM
148932014-03-14 Roland McGrath <roland@hack.frob.com>
14894
14895 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14896 with #if rather than #ifdef.
14897 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14898
aa4de9ce
L
148992014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14900
14901 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14902 first. Disable AVX-512 GCC support if assembler doesn't support
14903 it.
14904 * sysdeps/x86_64/configure: Regenerated.
14905
2e03fae7
CD
149062014-03-13 Carlos O'Donell <carlos@redhat.com>
14907
14908 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14909 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14910 (__old_pthread_attr_setstack): Likewise.
14911 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14912 [!_STACK_GROWS_DOWN]: Likewise.
14913
43ca83ec
MF
149142014-03-13 Mike Frysinger <vapier@gentoo.org>
14915
14916 * config.make.in (have-bash2): Delete.
14917 * configure.ac (libc_cv_have_bash2): Delete.
14918 * configure: Regenerate.
14919 * elf/Makefile (common-ldd-rewrite): Rename to ...
14920 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14921 (sh-ldd-rewrite): Delete.
14922 (bash-ldd-rewrite): Delete.
14923 (have-bash2): Delete checks.
57f41c40
AS
14924 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14925 ldd-rewrite.
c66e48b4
MF
14926
14927 * config.make.in (have-ksh): Delete.
14928 (KSH): Delete.
14929 * configure.ac (libc_cv_have_ksh): Delete.
14930 * configure: Regenerate.
14931
b93834ef
MF
14932 * elf/Makefile: Delete $(have-ksh) check.
14933 ($(objpfx)sotruss): Change KSH to BASH.
14934 * elf/sotruss.ksh: Rename to ...
14935 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14936 function style to match POSIX. Drop ksh vim mode setting.
14937
f3a4632a
MF
14938 * manual/time.texi (Specifying the Time Zone with TZ): Change
14939 Tuesday to Thursday.
14940
5896c8bd
MF
14941 * debug/tst-longjmp_chk2.c: Update header comment.
14942 (stackoverflow_handler): Add comment. Call assert on pass value.
14943
2d63a517
IZ
149442014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14945
7e54fd04 14946 [BZ #16194]
2d63a517
IZ
14947 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14948 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14949 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14950 (La_x86_64_vector): Add zmm.
14951 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14952 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14953 ($(objpfx)tst-audit10): New target.
14954 ($(objpfx)tst-audit10.out): Likewise.
14955 (tst-audit10-ENV): New.
14956 (AVX512-CFLAGS): Likewise.
14957 (CFLAGS-tst-audit10.c): Likewise.
14958 (CFLAGS-tst-auditmod10a.c): Likewise.
14959 (CFLAGS-tst-auditmod10b.c): Likewise.
14960 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14961 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14962 * sysdeps/x86_64/configure: Regenerated.
14963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14964 AVX-512 zmm register support.
14965 (_dl_x86_64_save_sse): Likewise.
14966 (_dl_x86_64_restore_sse): Likewise.
14967 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14968 size vector registers.
14969 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14970 (ZMM_SIZE): Likewise.
14971 * sysdeps/x86_64/tst-audit10.c: New file.
14972 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14973 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14974
44c4e5d5
RM
149752014-03-13 Roland McGrath <roland@hack.frob.com>
14976
14977 * configure.ac (HAVE_EHDR_START): New check.
14978 * configure: Regenerated.
14979 * config.h.in (HAVE_EHDR_START): New #undef.
14980 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14981 assuming the lowest-addressed segment maps the start of the file.
14982
acd6e389
JM
149832014-03-13 Joseph Myers <joseph@codesourcery.com>
14984
14985 * INSTALL: Regenerated.
14986
6f918f36
WN
149872014-03-13 Will Newton <will.newton@linaro.org>
14988
14989 * manual/setjmp.texi (System V contexts): Improve
14990 clarity and grammar of documentation.
14991
798212a0
PP
149922014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14993
14994 [BZ #16381]
798212a0 14995 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14996 (tests-pie): Add tst-pie2.
798212a0
PP
14997 * elf/tst-pie2.c: New file.
14998 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14999 for ET_EXEC.
15000 * elf/rtld.c (map_doit): Load executable as lt_executable.
15001 (dl_main): Likewise.
15002
abe6d90c
JM
150032014-03-12 Joseph Myers <joseph@codesourcery.com>
15004
15005 [BZ #16642]
15006 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15007 (__ASSUME_PSELECT): Undefine.
15008
dd3946c6
AZ
150092014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15010
15011 [BZ #16689]
15012 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15013 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15014 static build.
15015 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15016 selector for static builds.
15017
c44496df
SP
150182014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15019
15020 [BZ #16695]
15021 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15022 key in the buffer.
15023
27c7220a
AZ
150242014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15025
57f41c40
AS
15026 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15027 IFUNC selector for static builds.
27c7220a 15028
600fa361
JM
150292014-03-11 Joseph Myers <joseph@codesourcery.com>
15030
76c96cf7
JM
15031 * sysdeps/mips/math_private.h [__mips_hard_float]
15032 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15033 libc_feresetround_mips_ctx.
15034 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15035 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15036 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15037
600fa361
JM
15038 [BZ #16677]
15039 * math/s_nextafter.c (__nextafter): Do not return value from
15040 overflowing computation.
15041 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15042 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15043 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15044 Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15046 Likewise.
15047 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15048 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15049
d7706c32
RM
150502014-03-11 Roland McGrath <roland@hack.frob.com>
15051
15052 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15053 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15054 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15055 the new mov targetting sp.
15056
4facea47
AZ
150572014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15058
15059 [BZ #16683]
15060 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15061 Define it for static builds as well.
15062 (NO_BZERO_IMPL): Likewise.
15063
e65caf1f
VR
150642014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15065
15066 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15067 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15068 multiarch strspn for PPC64.
15069 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15070 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15072 (__libc_ifunc_impl_list): Likewise.
15073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15074 multiarch optimizations
15075 * string/strspn.c (strspn): Using macro to redefine symbol name.
15076
ba9cc071
AZ
150772014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15078 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15079
15080 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15081 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15082 multiarch strncat for PPC64.
15083 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15084 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15086 (__libc_ifunc_impl_list): Likewise.
15087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15088 multiarch optimizations
15089
8b4ff974
SP
150902014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15091
15092 [BZ #16639]
15093 * nscd/nscd.service: Make service type forking.
15094
54b46a4b
AZ
150952014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15096
15097 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15098 sign in non default rounding modes.
15099 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15100
e9996ef7
JM
151012014-03-08 Joseph Myers <joseph@codesourcery.com>
15102
15103 * math/libm-test.inc (ALL_RM_TEST): New macro.
15104 (ceil_test): Use ALL_RM_TEST.
15105 (cimag_test): Likewise.
15106 (conj_test): Likewise.
15107 (copysign_test): Likewise.
15108 (cproj_test): Likewise.
15109 (creal_test): Likewise.
15110 (fabs_test): Likewise.
15111 (floor_test): Likewise.
15112 (fmax_test): Likewise.
15113 (fmin_test): Likewise.
15114 (fmod_test): Likewise.
15115 (fpclassify_test): Likewise.
15116 (frexp_test): Likewise.
15117 (ilogb_test): Likewise.
15118 (isfinite_test): Likewise.
15119 (finite_test): Likewise.
15120 (isgreater_test): Likewise.
15121 (isgreaterequal_test): Likewise.
15122 (isinf_test): Likewise.
15123 (isless_test): Likewise.
15124 (islessequal_test): Likewise.
15125 (islessgreater_test): Likewise.
15126 (isnan_test): Likewise.
15127 (isnormal_test): Likewise.
15128 (issignaling_test): Likewise.
15129 (isunordered_test): Likewise.
15130 (logb_test): Likewise.
15131 (logb_downward_test_data): Remove.
15132 (logb_test_downward): Likewise.
15133 (lround_test): Use ALL_RM_TEST.
15134 (llround_test): Likewise.
15135 (modf_test): Likewise.
15136 (nexttoward_test): Likewise.
15137 (remainder_test): Likewise.
15138 (drem_test): Likewise.
15139 (remainder_tonearest_test_data): Likewise.
15140 (remainder_test_tonearest): Likewise.
15141 (drem_test_tonearest): Likewise.
15142 (remainder_towardzero_test_data): Likewise.
15143 (remainder_test_towardzero): Likewise.
15144 (drem_test_towardzero): Likewise.
15145 (remainder_downward_test_data): Likewise.
15146 (remainder_test_downward): Likewise.
15147 (drem_test_downward): Likewise.
15148 (remainder_upward_test_data): Likewise.
15149 (remainder_test_upward): Likewise.
15150 (drem_test_upward): Likewise.
15151 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15152 (round_test): Use ALL_RM_TEST.
15153 (signbit_test): Likewise.
15154 (trunc_test): Likewise.
15155 (significand_test): Likewise.
15156 (main): Don't call removed functions.
15157
bc61d27c
JM
151582014-03-07 Joseph Myers <joseph@codesourcery.com>
15159
5c780849
JM
15160 [BZ #16674]
15161 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15162 || __USE_XOPEN2K8].
15163 (ILL_ILLOPN): Likewise.
15164 (ILL_ILLADR): Likewise.
15165 (ILL_ILLTRP): Likewise.
15166 (ILL_PRVOPC): Likewise.
15167 (ILL_PRVREG): Likewise.
15168 (ILL_COPROC): Likewise.
15169 (ILL_BADSTK): Likewise.
15170 (FPE_INTDIV): Likewise.
15171 (FPE_INTOVF): Likewise.
15172 (FPE_FLTDIV): Likewise.
15173 (FPE_FLTOVF): Likewise.
15174 (FPE_FLTUND): Likewise.
15175 (FPE_FLTRES): Likewise.
15176 (FPE_FLTINV): Likewise.
15177 (FPE_FLTSUB): Likewise.
15178 (SEGV_MAPERR): Likewise.
15179 (SEGV_ACCERR): Likewise.
15180 (BUS_ADRALN): Likewise.
15181 (BUS_ADRERR): Likewise.
15182 (BUS_OBJERR): Likewise.
15183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15184 (TRAP_TRACE): Likewise.
15185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15186 __USE_XOPEN2K8].
15187 (CLD_KILLED): Likewise.
15188 (CLD_DUMPED): Likewise.
15189 (CLD_TRAPPED): Likewise.
15190 (CLD_STOPPED): Likewise.
15191 (CLD_CONTINUED): Likewise.
15192 (POLL_IN): Likewise.
15193 (POLL_OUT): Likewise.
15194 (POLL_MSG): Likewise.
15195 (POLL_ERR): Likewise.
15196 (POLL_PRI): Likewise.
15197 (POLL_HUP): Likewise.
15198 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15199 Likewise.
15200 (ILL_ILLOPN): Likewise.
15201 (ILL_ILLADR): Likewise.
15202 (ILL_ILLTRP): Likewise.
15203 (ILL_PRVOPC): Likewise.
15204 (ILL_PRVREG): Likewise.
15205 (ILL_COPROC): Likewise.
15206 (ILL_BADSTK): Likewise.
15207 (FPE_INTDIV): Likewise.
15208 (FPE_INTOVF): Likewise.
15209 (FPE_FLTDIV): Likewise.
15210 (FPE_FLTOVF): Likewise.
15211 (FPE_FLTUND): Likewise.
15212 (FPE_FLTRES): Likewise.
15213 (FPE_FLTINV): Likewise.
15214 (FPE_FLTSUB): Likewise.
15215 (SEGV_MAPERR): Likewise.
15216 (SEGV_ACCERR): Likewise.
15217 (BUS_ADRALN): Likewise.
15218 (BUS_ADRERR): Likewise.
15219 (BUS_OBJERR): Likewise.
15220 (BUS_MCEERR_AR): Likewise.
15221 (BUS_MCEERR_AO): Likewise.
15222 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15223 (TRAP_TRACE): Likewise.
15224 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15225 __USE_XOPEN2K8].
15226 (CLD_KILLED): Likewise.
15227 (CLD_DUMPED): Likewise.
15228 (CLD_TRAPPED): Likewise.
15229 (CLD_STOPPED): Likewise.
15230 (CLD_CONTINUED): Likewise.
15231 (POLL_IN): Likewise.
15232 (POLL_OUT): Likewise.
15233 (POLL_MSG): Likewise.
15234 (POLL_ERR): Likewise.
15235 (POLL_PRI): Likewise.
15236 (POLL_HUP): Likewise.
15237 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15238 (ILL_ILLOPN): Likewise.
15239 (ILL_ILLADR): Likewise.
15240 (ILL_ILLTRP): Likewise.
15241 (ILL_PRVOPC): Likewise.
15242 (ILL_PRVREG): Likewise.
15243 (ILL_COPROC): Likewise.
15244 (ILL_BADSTK): Likewise.
15245 (FPE_INTDIV): Likewise.
15246 (FPE_INTOVF): Likewise.
15247 (FPE_FLTDIV): Likewise.
15248 (FPE_FLTOVF): Likewise.
15249 (FPE_FLTUND): Likewise.
15250 (FPE_FLTRES): Likewise.
15251 (FPE_FLTINV): Likewise.
15252 (FPE_FLTSUB): Likewise.
15253 (SEGV_MAPERR): Likewise.
15254 (SEGV_ACCERR): Likewise.
15255 (BUS_ADRALN): Likewise.
15256 (BUS_ADRERR): Likewise.
15257 (BUS_OBJERR): Likewise.
15258 (BUS_MCEERR_AR): Likewise.
15259 (BUS_MCEERR_AO): Likewise.
15260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15261 (TRAP_TRACE): Likewise.
15262 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15263 __USE_XOPEN2K8].
15264 (CLD_KILLED): Likewise.
15265 (CLD_DUMPED): Likewise.
15266 (CLD_TRAPPED): Likewise.
15267 (CLD_STOPPED): Likewise.
15268 (CLD_CONTINUED): Likewise.
15269 (POLL_IN): Likewise.
15270 (POLL_OUT): Likewise.
15271 (POLL_MSG): Likewise.
15272 (POLL_ERR): Likewise.
15273 (POLL_PRI): Likewise.
15274 (POLL_HUP): Likewise.
15275 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15276 Likewise.
15277 (ILL_ILLOPN): Likewise.
15278 (ILL_ILLADR): Likewise.
15279 (ILL_ILLTRP): Likewise.
15280 (ILL_PRVOPC): Likewise.
15281 (ILL_PRVREG): Likewise.
15282 (ILL_COPROC): Likewise.
15283 (ILL_BADSTK): Likewise.
15284 (ILL_BADIADDR): Likewise.
15285 (ILL_BREAK): Likewise.
15286 (FPE_INTDIV): Likewise.
15287 (FPE_INTOVF): Likewise.
15288 (FPE_FLTDIV): Likewise.
15289 (FPE_FLTOVF): Likewise.
15290 (FPE_FLTUND): Likewise.
15291 (FPE_FLTRES): Likewise.
15292 (FPE_FLTINV): Likewise.
15293 (FPE_FLTSUB): Likewise.
15294 (FPE_DECOVF): Likewise.
15295 (FPE_DECDIV): Likewise.
15296 (FPE_DECERR): Likewise.
15297 (FPE_INVASC): Likewise.
15298 (FPE_INVDEC): Likewise.
15299 (SEGV_MAPERR): Likewise.
15300 (SEGV_ACCERR): Likewise.
15301 (SEGV_PSTKOVF): Likewise.
15302 (BUS_ADRALN): Likewise.
15303 (BUS_ADRERR): Likewise.
15304 (BUS_OBJERR): Likewise.
15305 (BUS_MCEERR_AR): Likewise.
15306 (BUS_MCEERR_AO): Likewise.
15307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15308 (TRAP_TRACE): Likewise.
15309 (TRAP_BRANCH): Likewise.
15310 (TRAP_HWBKPT): Likewise.
15311 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15312 __USE_XOPEN2K8].
15313 (CLD_KILLED): Likewise.
15314 (CLD_DUMPED): Likewise.
15315 (CLD_TRAPPED): Likewise.
15316 (CLD_STOPPED): Likewise.
15317 (CLD_CONTINUED): Likewise.
15318 (POLL_IN): Likewise.
15319 (POLL_OUT): Likewise.
15320 (POLL_MSG): Likewise.
15321 (POLL_ERR): Likewise.
15322 (POLL_PRI): Likewise.
15323 (POLL_HUP): Likewise.
15324 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15325 (ILL_ILLOPN): Likewise.
15326 (ILL_ILLADR): Likewise.
15327 (ILL_ILLTRP): Likewise.
15328 (ILL_PRVOPC): Likewise.
15329 (ILL_PRVREG): Likewise.
15330 (ILL_COPROC): Likewise.
15331 (ILL_BADSTK): Likewise.
15332 (FPE_INTDIV): Likewise.
15333 (FPE_INTOVF): Likewise.
15334 (FPE_FLTDIV): Likewise.
15335 (FPE_FLTOVF): Likewise.
15336 (FPE_FLTUND): Likewise.
15337 (FPE_FLTRES): Likewise.
15338 (FPE_FLTINV): Likewise.
15339 (FPE_FLTSUB): Likewise.
15340 (SEGV_MAPERR): Likewise.
15341 (SEGV_ACCERR): Likewise.
15342 (BUS_ADRALN): Likewise.
15343 (BUS_ADRERR): Likewise.
15344 (BUS_OBJERR): Likewise.
15345 (BUS_MCEERR_AR): Likewise.
15346 (BUS_MCEERR_AO): Likewise.
15347 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15348 (TRAP_TRACE): Likewise.
15349 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15350 __USE_XOPEN2K8].
15351 (CLD_KILLED): Likewise.
15352 (CLD_DUMPED): Likewise.
15353 (CLD_TRAPPED): Likewise.
15354 (CLD_STOPPED): Likewise.
15355 (CLD_CONTINUED): Likewise.
15356 (POLL_IN): Likewise.
15357 (POLL_OUT): Likewise.
15358 (POLL_MSG): Likewise.
15359 (POLL_ERR): Likewise.
15360 (POLL_PRI): Likewise.
15361 (POLL_HUP): Likewise.
15362 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15363 (ILL_ILLOPN): Likewise.
15364 (ILL_ILLADR): Likewise.
15365 (ILL_ILLTRP): Likewise.
15366 (ILL_PRVOPC): Likewise.
15367 (ILL_PRVREG): Likewise.
15368 (ILL_COPROC): Likewise.
15369 (ILL_BADSTK): Likewise.
15370 (FPE_INTDIV): Likewise.
15371 (FPE_INTOVF): Likewise.
15372 (FPE_FLTDIV): Likewise.
15373 (FPE_FLTOVF): Likewise.
15374 (FPE_FLTUND): Likewise.
15375 (FPE_FLTRES): Likewise.
15376 (FPE_FLTINV): Likewise.
15377 (FPE_FLTSUB): Likewise.
15378 (SEGV_MAPERR): Likewise.
15379 (SEGV_ACCERR): Likewise.
15380 (BUS_ADRALN): Likewise.
15381 (BUS_ADRERR): Likewise.
15382 (BUS_OBJERR): Likewise.
15383 (BUS_MCEERR_AR): Likewise.
15384 (BUS_MCEERR_AO): Likewise.
15385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15386 (TRAP_TRACE): Likewise.
15387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15388 __USE_XOPEN2K8].
15389 (CLD_KILLED): Likewise.
15390 (CLD_DUMPED): Likewise.
15391 (CLD_TRAPPED): Likewise.
15392 (CLD_STOPPED): Likewise.
15393 (CLD_CONTINUED): Likewise.
15394 (POLL_IN): Likewise.
15395 (POLL_OUT): Likewise.
15396 (POLL_MSG): Likewise.
15397 (POLL_ERR): Likewise.
15398 (POLL_PRI): Likewise.
15399 (POLL_HUP): Likewise.
15400 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15401 (ILL_ILLOPN): Likewise.
15402 (ILL_ILLADR): Likewise.
15403 (ILL_ILLTRP): Likewise.
15404 (ILL_PRVOPC): Likewise.
15405 (ILL_PRVREG): Likewise.
15406 (ILL_COPROC): Likewise.
15407 (ILL_BADSTK): Likewise.
15408 (FPE_INTDIV): Likewise.
15409 (FPE_INTOVF): Likewise.
15410 (FPE_FLTDIV): Likewise.
15411 (FPE_FLTOVF): Likewise.
15412 (FPE_FLTUND): Likewise.
15413 (FPE_FLTRES): Likewise.
15414 (FPE_FLTINV): Likewise.
15415 (FPE_FLTSUB): Likewise.
15416 (SEGV_MAPERR): Likewise.
15417 (SEGV_ACCERR): Likewise.
15418 (BUS_ADRALN): Likewise.
15419 (BUS_ADRERR): Likewise.
15420 (BUS_OBJERR): Likewise.
15421 (BUS_MCEERR_AR): Likewise.
15422 (BUS_MCEERR_AO): Likewise.
15423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15424 (TRAP_TRACE): Likewise.
15425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15426 __USE_XOPEN2K8].
15427 (CLD_KILLED): Likewise.
15428 (CLD_DUMPED): Likewise.
15429 (CLD_TRAPPED): Likewise.
15430 (CLD_STOPPED): Likewise.
15431 (CLD_CONTINUED): Likewise.
15432 (POLL_IN): Likewise.
15433 (POLL_OUT): Likewise.
15434 (POLL_MSG): Likewise.
15435 (POLL_ERR): Likewise.
15436 (POLL_PRI): Likewise.
15437 (POLL_HUP): Likewise.
15438 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15439 (ILL_ILLOPN): Likewise.
15440 (ILL_ILLADR): Likewise.
15441 (ILL_ILLTRP): Likewise.
15442 (ILL_PRVOPC): Likewise.
15443 (ILL_PRVREG): Likewise.
15444 (ILL_COPROC): Likewise.
15445 (ILL_BADSTK): Likewise.
15446 (ILL_DBLFLT): Likewise.
15447 (ILL_HARDWALL): Likewise.
15448 (FPE_INTDIV): Likewise.
15449 (FPE_INTOVF): Likewise.
15450 (FPE_FLTDIV): Likewise.
15451 (FPE_FLTOVF): Likewise.
15452 (FPE_FLTUND): Likewise.
15453 (FPE_FLTRES): Likewise.
15454 (FPE_FLTINV): Likewise.
15455 (FPE_FLTSUB): Likewise.
15456 (SEGV_MAPERR): Likewise.
15457 (SEGV_ACCERR): Likewise.
15458 (BUS_ADRALN): Likewise.
15459 (BUS_ADRERR): Likewise.
15460 (BUS_OBJERR): Likewise.
15461 (BUS_MCEERR_AR): Likewise.
15462 (BUS_MCEERR_AO): Likewise.
15463 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15464 (TRAP_TRACE): Likewise.
15465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15466 __USE_XOPEN2K8].
15467 (CLD_KILLED): Likewise.
15468 (CLD_DUMPED): Likewise.
15469 (CLD_TRAPPED): Likewise.
15470 (CLD_STOPPED): Likewise.
15471 (CLD_CONTINUED): Likewise.
15472 (POLL_IN): Likewise.
15473 (POLL_OUT): Likewise.
15474 (POLL_MSG): Likewise.
15475 (POLL_ERR): Likewise.
15476 (POLL_PRI): Likewise.
15477 (POLL_HUP): Likewise.
15478 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15479 (ILL_ILLOPN): Likewise.
15480 (ILL_ILLADR): Likewise.
15481 (ILL_ILLTRP): Likewise.
15482 (ILL_PRVOPC): Likewise.
15483 (ILL_PRVREG): Likewise.
15484 (ILL_COPROC): Likewise.
15485 (ILL_BADSTK): Likewise.
15486 (FPE_INTDIV): Likewise.
15487 (FPE_INTOVF): Likewise.
15488 (FPE_FLTDIV): Likewise.
15489 (FPE_FLTOVF): Likewise.
15490 (FPE_FLTUND): Likewise.
15491 (FPE_FLTRES): Likewise.
15492 (FPE_FLTINV): Likewise.
15493 (FPE_FLTSUB): Likewise.
15494 (SEGV_MAPERR): Likewise.
15495 (SEGV_ACCERR): Likewise.
15496 (BUS_ADRALN): Likewise.
15497 (BUS_ADRERR): Likewise.
15498 (BUS_OBJERR): Likewise.
15499 (BUS_MCEERR_AR): Likewise.
15500 (BUS_MCEERR_AO): Likewise.
15501 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15502 (TRAP_TRACE): Likewise.
15503 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15504 __USE_XOPEN2K8].
15505 (CLD_KILLED): Likewise.
15506 (CLD_DUMPED): Likewise.
15507 (CLD_TRAPPED): Likewise.
15508 (CLD_STOPPED): Likewise.
15509 (CLD_CONTINUED): Likewise.
15510 (POLL_IN): Likewise.
15511 (POLL_OUT): Likewise.
15512 (POLL_MSG): Likewise.
15513 (POLL_ERR): Likewise.
15514 (POLL_PRI): Likewise.
15515 (POLL_HUP): Likewise.
15516 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15517 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15518
bc61d27c
JM
15519 [BZ #16670]
15520 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15521 before #include of <time.h>.
15522 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15523 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15524 (test-xfail-UNIX98/sched.h/conform): Likewise.
15525
302949e2
MS
155262014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15527
15528 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15529 error absence of trapping exception support.
15530 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15531
a00f522a
JM
155322014-03-07 Joseph Myers <joseph@codesourcery.com>
15533
6f99f280
JM
15534 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15535 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15536 * timezone/Makefile (testdata): Move definition above include of
15537 Rules.
15538 (test-zones): New variable.
15539 (tests-special): Add zone files.
15540 (build-testdata): Use $(evaluate-test).
15541
0b20a9e8
JM
15542 * elf/Makefile (tests-special): Rename tests to end with .out.
15543 ($(objpfx)noload-mem): Likewise.
15544 ($(objpfx)tst-leaks1-mem): Likewise.
15545 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15546 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15547 $(objpfx)test-iconvconfig.out.
15548 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15549 set -e inside subshell and redirect output to file.
15550 * iconvdata/Makefile (generated): Rename tests to end with .out.
15551 Correct type.
15552 (tests-special): Rename tests to end with .out.
15553 ($(objpfx)mtrace-tst-loading): Likewise.
15554 * intl/Makefile (generated): Likewise.
15555 (tests-special): Likewise.
15556 ($(objpfx)mtrace-tst-gettext): Likewise.
15557 * misc/Makefile (generated): Likewise.
15558 (tests-special): Likewise.
15559 ($(objpfx)tst-error1-mem): Likewise.
15560 * nptl/Makefile (tests-special): Likewise.
15561 ($(objpfx)tst-stack3-mem): Likewise.
15562 (generated): Likewise.
15563 * posix/Makefile (generated): Likewise.
15564 (tests-special): Likewise.
15565 (xtests-special): Likewise.
15566 ($(objpfx)tst-fnmatch-mem): Likewise.
15567 ($(objpfx)bug-regex2-mem): Likewise.
15568 ($(objpfx)bug-regex14-mem): Likewise.
15569 ($(objpfx)bug-regex21-mem): Likewise.
15570 ($(objpfx)bug-regex31-mem): Likewise.
15571 ($(objpfx)tst-vfork3-mem): Likewise.
15572 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15573 ($(objpfx)tst-pcre-mem): Likewise.
15574 ($(objpfx)tst-boost-mem): Likewise.
15575 ($(objpfx)bug-ga2-mem): Likewise.
15576 ($(objpfx)bug-glob2-mem): Likewise.
15577 * resolv/Makefile (generate): Likewise.
15578 (tests-special): Likewise.
15579 (xtests-special): Likewise.
15580 (generated): Likewise.
15581 ($(objpfx)mtrace-tst-leaks): Likewise.
15582 ($(objpfx)mtrace-tst-leaks2): Likewise.
15583
265d52ab
JM
15584 * scripts/merge-test-results.sh: New file.
15585 * Makefile (tests-special-notdir): New variable.
15586 (tests): Run merge-test-results.sh.
15587 (xtests): Likewise.
15588 * Rules (tests-special-notdir): New variable.
15589 (xtests-special-notdir): Likewise.
15590 (tests): Run merge-test-results.sh
15591 (xtests): Likewise.
15592
54ee292d
JM
15593 * Makeconfig (test-xfail-name): New variable.
15594 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15595 compute variable name for expected failures.
15596 * conform/Makefile (conformtest-headers-data): New variable.
15597 (conformtest-standards): Likewise.
15598 (conformtest-headers-ISO): Likewise.
15599 (conformtest-headers-ISO99): Likewise.
15600 (conformtest-headers-ISO11): Likewise.
15601 (conformtest-headers-POSIX): Likewise.
15602 (conformtest-headers-XPG3): Likewise.
15603 (conformtest-headers-XPG4): Likewise.
15604 (conformtest-headers-UNIX98): Likewise.
15605 (conformtest-headers-XOPEN2K): Likewise.
15606 (conformtest-headers-POSIX2008): Likewise.
15607 (conformtest-headers-XOPEN2K8): Likewise.
15608 (conformtest-header-list-base): Likewise.
15609 (conformtest-header-list-tests): Likewise.
15610 (conformtest-header-base): Likewise.
15611 (conformtest-header-tests): Likewise.
15612 (tests-special): Add $(conformtest-header-list-tests). If
15613 [$(fast-check) && !$(cross-compiling)], add
15614 $(conformtest-header-tests) instead of
15615 $(objpfx)run-conformtest.out.
15616 (generated): Add $(conformtest-header-list-base). If
15617 [$(fast-check) && !$(cross-compiling)], add
15618 $(conformtest-header-base). Remove previous setting.
15619 ($(conformtest-header-list-tests)): New target.
15620 (test-xfail-run-conformtest): Remove variable.
15621 ($(objpfx)run-conformtest.out): Remove target.
15622 (test-xfail-ISO11/complex.h/conform): New variable.
15623 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15624 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15625 (test-xfail-XPG3/varargs.h/conform): Likewise.
15626 (test-xfail-XPG4/varargs.h/conform): Likewise.
15627 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15628 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15629 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15630 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15631 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15632 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15633 (test-xfail-XPG3/ftw.h/conform): Likewise.
15634 (test-xfail-XPG3/grp.h/conform): Likewise.
15635 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15636 (test-xfail-XPG3/limits.h/conform): Likewise.
15637 (test-xfail-XPG3/pwd.h/conform): Likewise.
15638 (test-xfail-XPG3/search.h/conform): Likewise.
15639 (test-xfail-XPG3/signal.h/conform): Likewise.
15640 (test-xfail-XPG3/stdio.h/conform): Likewise.
15641 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15642 (test-xfail-XPG3/string.h/conform): Likewise.
15643 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15644 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15645 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15646 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15647 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15648 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15649 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15650 (test-xfail-XPG3/termios.h/conform): Likewise.
15651 (test-xfail-XPG3/time.h/conform): Likewise.
15652 (test-xfail-XPG3/unistd.h/conform): Likewise.
15653 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15654 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15655 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15656 (test-xfail-XPG4/netdb.h/conform): Likewise.
15657 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15658 (test-xfail-XPG4/signal.h/conform): Likewise.
15659 (test-xfail-XPG4/stdio.h/conform): Likewise.
15660 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15661 (test-xfail-XPG4/stropts.h/conform): Likewise.
15662 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15663 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15664 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15665 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15666 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15667 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15668 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15669 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15670 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15671 (test-xfail-XPG4/termios.h/conform): Likewise.
15672 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15673 (test-xfail-XPG4/unistd.h/conform): Likewise.
15674 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15675 (test-xfail-POSIX/sched.h/conform): Likewise.
15676 (test-xfail-POSIX/signal.h/conform): Likewise.
15677 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15678 (test-xfail-POSIX/tar.h/conform): Likewise.
15679 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15680 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15681 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15682 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15683 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15684 (test-xfail-UNIX98/sched.h/conform): Likewise.
15685 (test-xfail-UNIX98/signal.h/conform): Likewise.
15686 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15687 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15688 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15689 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15690 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15691 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15692 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15693 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15694 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15695 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15696 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15697 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15698 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15699 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15700 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15701 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15702 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15703 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15704 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15705 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15706 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15707 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15708 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15709 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15710 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15711 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15712 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15713 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15714 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15715 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15716 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15717 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15718 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15719 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15720 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15721 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15722 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15723 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15724 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15725 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15726 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15727 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15728 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15729 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15730 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15731 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15732 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15733 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15734 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15735 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15736 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15737 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15738 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15739 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15740 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15741 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15742 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15743 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15744 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15745 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15746 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15747 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15748 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15749 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15750 (conformtest-cc-flags): Likewise.
15751 ($(conformtest-header-tests): New target.
15752 * conform/check-header-lists.sh: New file.
15753 * conform/run-conformtest.sh: Remove.
15754
a00f522a
JM
15755 * conform/conformtest.pl: Allow ' and \ in values given for
15756 constants.
15757 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15758 inclusion.
15759 [POSIX] (sys/types.h): Likewise.
15760 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15761 inclusion.
15762 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15763 inclusion.
15764 * conform/data/signal.h-data (SIGIO): Remove expectation.
15765 [XPG3] (SIGBUS): Do not expect.
15766 [POSIX || XPG3] (SIGPOLL): Likewise.
15767 [POSIX || XPG3] (SIGPROF): Likewise.
15768 [POSIX || XPG3] (SIGSYS): Likewise.
15769 [XPG3] (SIGTRAP): Likewise.
15770 [POSIX || XPG3] (SIGURG): Likewise.
15771 [POSIX || XPG3] (SIGVTALRM): Likewise.
15772 [POSIX || XPG3] (SIGXCPU): Likewise.
15773 [POSIX || XPG3] (SIGXFSZ): Likewise.
15774 [POSIX] (SA_SIGINFO): Expect.
15775 [XPG3] (siginfo_t): Do not expect type or contents.
15776 [POSIX] (si_pid): Do not expect element.
15777 [POSIX] (si_uid): Likewise.
15778 [POSIX] (si_addr): Likewise.
15779 [POSIX] (si_status): Likewise.
15780 [POSIX] (si_band): Likewise.
15781 [XPG4] (si_value): Likewise.
15782 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15783 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15784 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15785 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15786 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15787 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15788 [POSIX || XPG3] (ILL_COPROC): Likewise.
15789 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15790 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15791 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15792 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15793 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15794 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15795 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15796 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15797 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15798 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15799 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15800 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15801 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15802 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15803 [POSIX || XPG3] (CLD_EXITED): Likewise.
15804 [POSIX || XPG3] (CLD_KILLED): Likewise.
15805 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15806 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15807 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15808 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15809 [POSIX || XPG3] (POLL_IN): Likewise.
15810 [POSIX || XPG3] (POLL_OUT): Likewise.
15811 [POSIX || XPG3] (POLL_MSG): Likewise.
15812 [POSIX || XPG3] (POLL_ERR): Likewise.
15813 [POSIX || XPG3] (POLL_PRI): Likewise.
15814 [POSIX || XPG3] (POLL_HUP): Likewise.
15815 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15816 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15817 (SIG*): Do not allow.
15818 [XPG3] (si_*): Likewise.
15819 [XPG3] (SI_*): Likewise.
15820 [XPG3 || XPG4] (sigev_*): Likewise.
15821 [XPG3 || XPG4] (SIGEV_*): Likewise.
15822 [XPG3 || XPG4] (sival_*): Likewise.
15823 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15824 [POSIX || XPG3] (BUS_*): Likewise.
15825 [POSIX || XPG3] (CLD_*): Likewise.
15826 [POSIX || XPG3] (FPE_*): Likewise.
15827 [POSIX || XPG3] (ILL_*): Likewise.
15828 [POSIX || XPG3] (POLL_*): Likewise.
15829 [POSIX || XPG3] (SEGV_*): Likewise.
15830 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15831 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15832 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15833 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15834 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15835 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15836 Specify type and value.
15837 (TVERSLEN): Likewise.
15838 (REGTYPE): Likewise.
15839 (AREGTYPE): Likewise.
15840 (LNKTYPE): Likewise.
15841 (SYMTYPE): Likewise.
15842 (CHRTYPE): Likewise.
15843 (BLKTYPE): Likewise.
15844 (DIRTYPE): Likewise.
15845 (FIFOTYPE): Likewise.
15846 (CONTTYPE): Likewise.
15847 (TSUID): Likewise.
15848 (TSGID): Likewise.
15849 (TSVTX): Likewise.
15850 (TUREAD): Likewise.
15851 (TUWRITE): Likewise.
15852 (TUEXEC): Likewise.
15853 (TGREAD): Likewise.
15854 (TGWRITE): Likewise.
15855 (TGEXEC): Likewise.
15856 (TOREAD): Likewise.
15857 (TOWRITE): Likewise.
15858 (TOEXEC): Likewise.
15859 [POSIX] (TSVTX): Expect constant.
15860
aa97dee1
JM
158612014-03-06 Joseph Myers <joseph@codesourcery.com>
15862
f214606a
JM
15863 * Makefile (tests): Change dependencies to ....
15864 (tests-special): ... additions to this variable.
15865 (tests): Depend on $(tests-special).
15866 * Makerules (check-abi-list): New variable.
15867 (check-abi): Depend on $(check-abi-list).
15868 [$(subdir) = elf] (tests-special): Add
15869 $(objpfx)check-abi-libc.out.
15870 [$(build-shared) = yes && subdir] (tests-special): Add
15871 $(check-abi-list).
15872 [$(build-shared) = yes && subdir] (tests): Do not depend on
15873 check-abi.
15874 * Rules (tests): Depend on $(tests-special).
15875 (xtests): Depend on $(xtests-special).
15876 * catgets/Makefile (tests): Change dependencies to ....
15877 (tests-special): ... additions to this variable.
15878 * conform/Makefile (tests): Change dependencies to ....
15879 (tests-special): ... additions to this variable.
15880 * elf/Makefile (tests): Change dependencies to ....
15881 (tests-special): ... additions to this variable.
15882 * grp/Makefile (tests): Change dependencies to ....
15883 (tests-special): ... additions to this variable.
15884 * iconv/Makefile (xtests): Change dependencies to ....
15885 (xtests-special): ... additions to this variable.
15886 * iconvdata/Makefile (tests): Change dependencies to ....
15887 (tests-special): ... additions to this variable.
15888 * intl/Makefile (tests): Change dependencies to ....
15889 (tests-special): ... additions to this variable. Also add
15890 $(objpfx)tst-gettext.out.
15891 * io/Makefile (tests): Change dependencies to ....
15892 (tests-special): ... additions to this variable.
15893 * libio/Makefile (tests): Change dependencies to ....
15894 (tests-special): ... additions to this variable.
15895 * malloc/Makefile (tests): Change dependencies to ....
15896 (tests-special): ... additions to this variable.
15897 * misc/Makefile (tests): Change dependencies to ....
15898 (tests-special): ... additions to this variable.
15899 * nptl/Makefile (tests): Change dependencies to ....
15900 (tests-special): ... additions to this variable.
15901 * nptl_db/Makefile (tests): Change dependencies to ....
15902 (tests-special): ... additions to this variable.
15903 * posix/Makefile (tests): Change dependencies to ....
15904 (tests-special): ... additions to this variable.
15905 (xtests): Change dependencies to ....
15906 (xtests-special): ... additions to this variable.
15907 * resolv/Makefile (tests): Change dependencies to ....
15908 (tests-special): ... additions to this variable.
15909 (xtests): Change dependencies to ....
15910 (xtests-special): ... additions to this variable.
15911 * stdio-common/Makefile (tests): Change dependencies to ....
15912 (tests-special): ... additions to this variable.
15913 (do-tst-unbputc): Remove target.
15914 (do-tst-printf): Likewise.
15915 * stdlib/Makefile (tests): Change dependencies to ....
15916 (tests-special): ... additions to this variable.
15917 * string/Makefile (tests): Change dependencies to ....
15918 (tests-special): ... additions to this variable.
15919 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15920 (tests-special): ... additions to this variable.
15921
81700b53
JM
15922 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15923 whole file.
15924 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15925 whole file.
15926 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15927 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15928
2ea18461
JM
15929 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15930 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15931 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15932 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15933 * conform/data/libgen.h-data [XPG3]: Likewise.
15934 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15935 * conform/data/ndbm.h-data [XPG3]: Likewise.
15936 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15937 * conform/data/netdb.h-data [XPG3]: Likewise.
15938 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15939 * conform/data/poll.h-data [XPG3]: Likewise.
15940 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15941 * conform/data/strings.h-data [XPG3]: Likewise.
15942 * conform/data/stropts.h-data [XPG3]: Likewise.
15943 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15944 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15945 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15946 Likewise.
15947 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15948 * conform/data/sys/time.h-data [XPG3]: Likewise.
15949 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15950 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15951 * conform/data/sys/un.h-data [XPG3]: Likewise.
15952 * conform/data/syslog.h-data [XPG3]: Likewise.
15953 * conform/data/ucontext.h-data [XPG3]: Likewise.
15954 * conform/data/utmpx.h-data [XPG3]: Likewise.
15955 * conform/data/varargs.h-data [UNIX98]: Enable file.
15956
355bc986
JM
15957 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15958
215db402
JM
15959 * math/libm-test.inc (struct test_f_f_data): Move expected results
15960 into structure for each rounding mode.
15961 (struct test_ff_f_data): Likewise.
15962 (struct test_ff_f_data_nexttoward): Likewise.
15963 (struct test_fi_f_data): Likewise.
15964 (struct test_fl_f_data): Likewise.
15965 (struct test_if_f_data): Likewise.
15966 (struct test_fff_f_data): Likewise.
15967 (struct test_c_f_data): Likewise.
15968 (struct test_f_f1_data): Likewise.
15969 (struct test_fF_f1_data): Likewise.
15970 (struct test_ffI_f1_data): Likewise.
15971 (struct test_c_c_data): Likewise.
15972 (struct test_cc_c_data): Likewise.
15973 (struct test_f_i_data): Likewise.
15974 (struct test_ff_i_data): Likewise.
15975 (struct test_f_l_data): Likewise.
15976 (struct test_f_L_data): Likewise.
15977 (struct test_fFF_11_data): Likewise.
15978 (RM_): New macro.
15979 (RM_FE_DOWNWARD): Likewise.
15980 (RM_FE_TONEAREST): Likewise.
15981 (RM_FE_TOWARDZERO): Likewise.
15982 (RM_FE_UPWARD): Likewise.
15983 (RUN_TEST_LOOP_f_f): Update references to expected results.
15984 (RUN_TEST_LOOP_2_f): Likewise.
15985 (RUN_TEST_LOOP_fff_f): Likewise.
15986 (RUN_TEST_LOOP_c_f): Likewise.
15987 (RUN_TEST_LOOP_f_f1): Likewise.
15988 (RUN_TEST_LOOP_fF_f1): Likewise.
15989 (RUN_TEST_LOOP_fI_f1): Likewise.
15990 (RUN_TEST_LOOP_ffI_f1): Likewise.
15991 (RUN_TEST_LOOP_c_c): Likewise.
15992 (RUN_TEST_LOOP_cc_c): Likewise.
15993 (RUN_TEST_LOOP_f_i): Likewise.
15994 (RUN_TEST_LOOP_f_i_tg): Likewise.
15995 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15996 (RUN_TEST_LOOP_f_b): Likewise.
15997 (RUN_TEST_LOOP_f_b_tg): Likewise.
15998 (RUN_TEST_LOOP_f_l): Likewise.
15999 (RUN_TEST_LOOP_f_L): Likewise.
16000 (RUN_TEST_LOOP_fFF_11): Likewise.
16001 * math/gen-libm-test.pl (parse_args): Output four copies of
16002 expected results for each test.
16003
67737b8f
JM
16004 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16005 (__ASSUME_UTIMES): Remove.
16006 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16007 (__ASSUME_UTIMES): Likewise.
16008
aa97dee1
JM
16009 * math/gen-auto-libm-tests.c: Update comment on output format.
16010 (output_for_one_input_case): Generate before-rounding and
16011 after-rounding information as conditions on output flags not
16012 floating-point format.
16013 * math/auto-libm-test-out: Regenerated.
16014 * math/gen-libm-test.pl (cond_value): New function.
16015 (or_cond_value): Use cond_value.
16016 (generate_testfile): Handle conditional exceptions.
16017
e6b6a857
JM
160182014-03-05 Joseph Myers <joseph@codesourcery.com>
16019
2f0a0f44
JM
16020 * math/libm-test.inc (max_valid_error): New variable.
16021 (init_max_error): Take new argument specifying whether function
16022 results are exactly determined. Set max_valid_error and bound
16023 other variables for errors based on this argument.
16024 (set_max_error): Do not record results above max_valid_error.
16025 (check_float_internal): Only accept errors of up to 0.5ulps if
16026 also at most max_valid_error.
16027 (START): Take new argument EXACT and pass it to init_max_error.
16028 (acos_test): Update call to START.
16029 (acos_test_tonearest): Likewise.
16030 (acos_test_towardzero): Likewise.
16031 (acos_test_downward): Likewise.
16032 (acos_test_upward): Likewise.
16033 (acosh_test): Likewise.
16034 (asin_test): Likewise.
16035 (asin_test_tonearest): Likewise.
16036 (asin_test_towardzero): Likewise.
16037 (asin_test_downward): Likewise.
16038 (asin_test_upward): Likewise.
16039 (asinh_test): Likewise.
16040 (atan_test): Likewise.
16041 (atanh_test): Likewise.
16042 (atan2_test): Likewise.
16043 (cabs_test): Likewise.
16044 (cacos_test): Likewise.
16045 (cacosh_test): Likewise.
16046 (carg_test): Likewise.
16047 (casin_test): Likewise.
16048 (casinh_test): Likewise.
16049 (catan_test): Likewise.
16050 (catanh_test): Likewise.
16051 (cbrt_test): Likewise.
16052 (ccos_test): Likewise.
16053 (ccosh_test): Likewise.
16054 (ceil_test): Likewise.
16055 (cexp_test): Likewise.
16056 (cimag_test): Likewise.
16057 (clog_test): Likewise.
16058 (clog10_test): Likewise.
16059 (conj_test): Likewise.
16060 (copysign_test): Likewise.
16061 (cos_test): Likewise.
16062 (cos_test_tonearest): Likewise.
16063 (cos_test_towardzero): Likewise.
16064 (cos_test_downward): Likewise.
16065 (cos_test_upward): Likewise.
16066 (cosh_test): Likewise.
16067 (cosh_test_tonearest): Likewise.
16068 (cosh_test_towardzero): Likewise.
16069 (cosh_test_downward): Likewise.
16070 (cosh_test_upward): Likewise.
16071 (cpow_test): Likewise.
16072 (cproj_test): Likewise.
16073 (creal_test): Likewise.
16074 (csin_test): Likewise.
16075 (csinh_test): Likewise.
16076 (csqrt_test): Likewise.
16077 (ctan_test): Likewise.
16078 (ctan_test_tonearest): Likewise.
16079 (ctan_test_towardzero): Likewise.
16080 (ctan_test_downward): Likewise.
16081 (ctan_test_upward): Likewise.
16082 (ctanh_test): Likewise.
16083 (ctanh_test_tonearest): Likewise.
16084 (ctanh_test_towardzero): Likewise.
16085 (ctanh_test_downward): Likewise.
16086 (ctanh_test_upward): Likewise.
16087 (erf_test): Likewise.
16088 (erfc_test): Likewise.
16089 (exp_test): Likewise.
16090 (exp_test_tonearest): Likewise.
16091 (exp_test_towardzero): Likewise.
16092 (exp_test_downward): Likewise.
16093 (exp_test_upward): Likewise.
16094 (exp10_test): Likewise.
16095 (exp10_test_tonearest): Likewise.
16096 (exp10_test_towardzero): Likewise.
16097 (exp10_test_downward): Likewise.
16098 (exp10_test_upward): Likewise.
16099 (pow10_test): Likewise.
16100 (exp2_test): Likewise.
16101 (expm1_test): Likewise.
16102 (expm1_test_tonearest): Likewise.
16103 (expm1_test_towardzero): Likewise.
16104 (expm1_test_downward): Likewise.
16105 (expm1_test_upward): Likewise.
16106 (fabs_test): Likewise.
16107 (fdim_test): Likewise.
16108 (floor_test): Likewise.
16109 (fma_test): Likewise.
16110 (fma_test_towardzero): Likewise.
16111 (fma_test_downward): Likewise.
16112 (fma_test_upward): Likewise.
16113 (fmax_test): Likewise.
16114 (fmin_test): Likewise.
16115 (fmod_test): Likewise.
16116 (fpclassify_test): Likewise.
16117 (frexp_test): Likewise.
16118 (hypot_test): Likewise.
16119 (ilogb_test): Likewise.
16120 (isfinite_test): Likewise.
16121 (finite_test): Likewise.
16122 (isgreater_test): Likewise.
16123 (isgreaterequal_test): Likewise.
16124 (isinf_test): Likewise.
16125 (isless_test): Likewise.
16126 (islessequal_test): Likewise.
16127 (islessgreater_test): Likewise.
16128 (isnan_test): Likewise.
16129 (isnormal_test): Likewise.
16130 (issignaling_test): Likewise.
16131 (isunordered_test): Likewise.
16132 (j0_test): Likewise.
16133 (j1_test): Likewise.
16134 (jn_test): Likewise.
16135 (ldexp_test): Likewise.
16136 (lgamma_test): Likewise.
16137 (gamma_test): Likewise.
16138 (lrint_test): Likewise.
16139 (lrint_test_tonearest): Likewise.
16140 (lrint_test_towardzero): Likewise.
16141 (lrint_test_downward): Likewise.
16142 (lrint_test_upward): Likewise.
16143 (llrint_test): Likewise.
16144 (llrint_test_tonearest): Likewise.
16145 (llrint_test_towardzero): Likewise.
16146 (llrint_test_downward): Likewise.
16147 (llrint_test_upward): Likewise.
16148 (log_test): Likewise.
16149 (log10_test): Likewise.
16150 (log1p_test): Likewise.
16151 (log2_test): Likewise.
16152 (logb_test): Likewise.
16153 (logb_test_downward): Likewise.
16154 (lround_test): Likewise.
16155 (llround_test): Likewise.
16156 (modf_test): Likewise.
16157 (nearbyint_test): Likewise.
16158 (nextafter_test): Likewise.
16159 (nexttoward_test): Likewise.
16160 (pow_test): Likewise.
16161 (pow_test_tonearest): Likewise.
16162 (pow_test_towardzero): Likewise.
16163 (pow_test_downward): Likewise.
16164 (pow_test_upward): Likewise.
16165 (remainder_test): Likewise.
16166 (drem_test): Likewise.
16167 (remainder_test_tonearest): Likewise.
16168 (drem_test_tonearest): Likewise.
16169 (remainder_test_towardzero): Likewise.
16170 (drem_test_towardzero): Likewise.
16171 (remainder_test_downward): Likewise.
16172 (drem_test_downward): Likewise.
16173 (remainder_test_upward): Likewise.
16174 (drem_test_upward): Likewise.
16175 (remquo_test): Likewise.
16176 (rint_test): Likewise.
16177 (rint_test_tonearest): Likewise.
16178 (rint_test_towardzero): Likewise.
16179 (rint_test_downward): Likewise.
16180 (rint_test_upward): Likewise.
16181 (round_test): Likewise.
16182 (scalb_test): Likewise.
16183 (scalbn_test): Likewise.
16184 (scalbln_test): Likewise.
16185 (signbit_test): Likewise.
16186 (sin_test): Likewise.
16187 (sin_test_tonearest): Likewise.
16188 (sin_test_towardzero): Likewise.
16189 (sin_test_downward): Likewise.
16190 (sin_test_upward): Likewise.
16191 (sincos_test): Likewise.
16192 (sinh_test): Likewise.
16193 (sinh_test_tonearest): Likewise.
16194 (sinh_test_towardzero): Likewise.
16195 (sinh_test_downward): Likewise.
16196 (sinh_test_upward): Likewise.
16197 (sqrt_test): Likewise.
16198 (sqrt_test_tonearest): Likewise.
16199 (sqrt_test_towardzero): Likewise.
16200 (sqrt_test_downward): Likewise.
16201 (sqrt_test_upward): Likewise.
16202 (tan_test): Likewise.
16203 (tan_test_tonearest): Likewise.
16204 (tan_test_towardzero): Likewise.
16205 (tan_test_downward): Likewise.
16206 (tan_test_upward): Likewise.
16207 (tanh_test): Likewise.
16208 (tgamma_test): Likewise.
16209 (trunc_test): Likewise.
16210 (y0_test): Likewise.
16211 (y1_test): Likewise.
16212 (yn_test): Likewise.
16213 (significand_test): Likewise.
16214
e6b6a857
JM
16215 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16216 individual tests in comment.
16217 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16218 (prev_max_error): New variable.
16219 (prev_real_max_error): Likewise.
16220 (prev_imag_max_error): Likewise.
16221 (compare_ulp_data): Don't refer to test names in comment.
16222 (find_test_ulps): Remove function.
16223 (find_function_ulps): Likewise.
16224 (find_complex_function_ulps): Likewise.
16225 (init_max_error): Take function name as argument. Look up ulps
16226 for that function.
16227 (print_ulps): Remove function.
16228 (print_max_error): Use prev_max_error instead of calling
16229 find_function_ulps.
16230 (print_complex_max_error): Use prev_real_max_error and
16231 prev_imag_max_error instead of calling find_complex_function_ulps.
16232 (check_float_internal): Take max_ulp parameter instead of calling
16233 find_test_ulps. Don't call print_ulps.
16234 (check_float): Update call to check_float_internal.
16235 (check_complex): Update calls to check_float_internal.
16236 (START): Pass argument to init_max_error.
16237 * math/gen-libm-test.pl (%results): Don't include "kind"
16238 information.
16239 (parse_ulps): Don't handle ulps of individual tests.
16240 (print_ulps_file): Likewise.
16241 (output_ulps): Likewise.
16242 * math/README.libm-test: Update.
16243 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16244 individual tests.
16245 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16246 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16247 * sysdeps/arm/libm-test-ulps: Likewise.
16248 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16249 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16250 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16251 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16252 * sysdeps/microblaze/libm-test-ulps: Likewise.
16253 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16254 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16255 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16256 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16257 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16258 * sysdeps/sh/libm-test-ulps: Likewise.
16259 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16260 * sysdeps/tile/libm-test-ulps: Likewise.
16261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16262
45adef3c
JM
162632014-03-04 Joseph Myers <joseph@codesourcery.com>
16264
16265 * math/libm-test.inc (print_complex_max_error): Check separately
16266 whether real and imaginary errors are within allowed range and
16267 pass 0 to print_complex_function_ulps instead of value within
16268 allowed range.
16269
000232b9
SP
162702014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16271
d4b17258
SP
16272 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16273 formatting.
16274 (get_handles_fopen): Likewise.
16275 (do_write_test): Likewise.
16276
091eff71
SP
16277 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16278
fa3cd248
SP
16279 * libio/fileops.c (do_ftell): Use cached offset when
16280 available.
16281 * libio/iofwide.c (do_ftell_wide): Likewise.
16282 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16283 _IO_file_attach.
16284 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16285
000232b9
SP
16286 [BZ #16532]
16287 * libio/libioP.h (get_file_offset): New function.
16288 * libio/fileops.c (get_file_offset): Likewise.
16289 (do_ftell): Likewise.
16290 (_IO_new_file_seekoff): Split out ftell logic.
16291 * libio/wfileops.c (do_ftell_wide): Likewise.
16292 (_IO_wfile_seekoff): Split out ftell logic.
16293 * libio/tst-ftell-active-handler.c: New test case.
16294 * libio/Makefile (tests): Add it.
16295
116f4d1a
RM
162962014-03-03 Roland McGrath <roland@hack.frob.com>
16297
16298 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16299 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16300
532a6035
SP
163012014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16302
16303 [BZ #16639]
16304 * nscd/connections.c (nscd_init): Call do_exit.
16305 (start_threads): Call do_exit and notify_parent.
16306 (begin_drop_privileges): Call do_exit.
16307 (finish_drop_privileges): Likewise.
16308 * nscd/selinux.c (preserve_capabilities): Likewise.
16309 (install_real_capabilities): Likewise.
16310 (nscd_selinux_enabled): Likewise.
16311 (avc_create_thread): Likewise.
16312 (avc_alloc_lock): Likewise.
16313 (nscd_avc_init): Likewise.
16314 * nscd/nscd.c (parent_fd): New static variable.
16315 (main): Create a pipe between parent and child processes.
16316 Skip closing parent_fd.
16317 (monitor_child): New function.
16318 (do_exit): Likewise.
16319 (notify_parent): Likewise.
16320 * nscd/nscd.h (notify_parent): Likewise.
16321 (do_exit): Likewise.
16322
d6285c9f
CD
163232014-03-03 Carlos O'Donell <carlos@redhat.com>
16324
16325 * malloc/malloc.c (__libc_calloc): Revert last change.
16326
2b85d2a0
AZ
163272014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16328
16329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16330
c7debbdf
RS
163312014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16332
16333 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16335 implementation.
16336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16337 (__libc_ifunc_impl_list): Likewise.
16338 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16339 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16340 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16341 * string/strrchr.c: Define STRRCHR.
16342
235eed86
OB
163432014-02-28 Ondřej Bílka <neleai@seznam.cz>
16344
16345 * benchtest/bench-strtok.c (simple_strtok): Delete.
16346 (strtok_string): Use as benchmark.
16347 * string/strtok (STRTOK): New macro.
16348
8e25d1e7
CD
163492014-02-28 Carlos O'Donell <carlos@redhat.com>
16350
ef563f92
CD
16351 * manual/threads.texi: Add header and standard comments to all
16352 functions.
16353
8e25d1e7
CD
16354 * elf/dl-lookup.c (check_match): New function.
16355 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16356 (do_lookup_x): Remove nested function check_match. Use non-nested
16357 function check_match.
16358
ff71cc37
RM
163592014-02-28 Roland McGrath <roland@hack.frob.com>
16360
f08e9a26
RM
16361 * csu/Makefile (generated, before-compile): Use += rather than =.
16362 * catgets/Makefile (generated, generated-dirs): Likewise.
16363 * debug/Makefile (generated): Likewise.
16364 * dlfcn/Makefile (generated): Likewise.
16365 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16366 * iconvdata/Makefile (before-compile, generated): Likewise.
16367 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16368 * libio/Makefile (generated): Likewise.
16369 * malloc/Makefile (generated): Likewise.
16370 * manual/Makefile (generated, generated-dirs): Likewise.
16371 * misc/Makefile (generated): Likewise.
16372 * posix/Makefile (generated): Likewise.
16373 * resolv/Makefile (generated): Likewise.
16374 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16375 * timezone/Makefile (generated, generated-dirs): Likewise.
16376
ff71cc37
RM
16377 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16378
fe13a20c
AZ
163792014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16380
57f41c40
AS
16381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16382 power8 implementation.
16383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16384 file: POWER8 llround ifunc implementation.
16385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16386 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16387 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16388 POWER8 llround implementation.
16389
57f41c40
AS
16390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16391 power8 implementation.
16392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16393 file: POWER8 llrint ifunc implementation.
16394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16395 Add POWER8 implementation.
1ad8950a
AZ
16396 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16397 POWER8 llrint implementation.
16398
57f41c40
AS
16399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16400 power8 implementation.
16401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16402 file: POWER8 finite ifunc implementation.
16403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16404 Add POWER8 implementation.
cac626d6
AZ
16405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16406 Likewise.
16407 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16408 POWER8 finite implementation.
16409 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16410
57f41c40
AS
16411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16412 power8 implementation.
16413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16414 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16416 POWER8 implementation.
16417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16418 Likewise.
57f41c40
AS
16419 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16420 isinf implementation.
4393fc11
AZ
16421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16422
57f41c40
AS
16423 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16424 (INIT_ARCH): Add hwcap2 initialization.
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16426 power8 implementation.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16428 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16430 POWER8 implementation.
16431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16432 Likewise.
57f41c40
AS
16433 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16434 isnan implementation.
487972ae
AZ
16435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16436
7d92b787
JY
164372014-02-27 Joey Ye <joey.ye@arm.com>
16438
16439 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16440 (_FP_NANFRAC_Q): Set to zero.
16441
1cadc858
SP
164422014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16443
16444 [BZ #16623]
16445 * math/auto-libm-test-in: New test inputs.
16446 * math/auto-libm-test-out: Regenerate.
16447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16448 and DA.
16449 (__cos): Likewise.
16450 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16451
f8c17e79
JM
164522014-02-27 Joseph Myers <joseph@codesourcery.com>
16453
16454 * scripts/evaluate-test.sh: Take new argument indicating whether
16455 failure is expected.
16456 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16457 indicating whether failure is expected.
16458 * conform/Makefile (test-xfail-run-conformtest): New variable.
16459 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16460 level.
16461 * posix/Makefile (test-xfail-annexc): New variable.
16462 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16463
a5f891ac
JM
164642014-02-26 Joseph Myers <joseph@codesourcery.com>
16465
16466 * argp/Makefile: Include Makeconfig immediately after defining
16467 subdir.
16468 * assert/Makefile: Likewise.
16469 * benchtests/Makefile: Likewise.
16470 * catgets/Makefile: Likewise.
16471 * conform/Makefile: Likewise.
16472 * crypt/Makefile: Likewise.
16473 * csu/Makefile: Likewise.
16474 (all): Remove target.
16475 * ctype/Makefile: Include Makeconfig immediately after defining
16476 subdir.
16477 * debug/Makefile: Likewise.
16478 * dirent/Makefile: Likewise.
16479 * dlfcn/Makefile: Likewise.
16480 * gmon/Makefile: Likewise.
16481 * gnulib/Makefile: Likewise.
16482 * grp/Makefile: Likewise.
16483 * gshadow/Makefile: Likewise.
16484 * hesiod/Makefile: Likewise.
16485 * hurd/Makefile: Likewise.
16486 (all): Remove target.
16487 * iconvdata/Makefile: Include Makeconfig immediately after
16488 defining subdir.
16489 * inet/Makefile: Likewise.
16490 * intl/Makefile: Likewise.
16491 * io/Makefile: Likewise.
16492 * libio/Makefile: Likewise.
16493 (all): Remove target.
16494 * locale/Makefile: Include Makeconfig immediately after defining
16495 subdir.
16496 * login/Makefile: Likewise.
16497 * mach/Makefile: Likewise.
16498 (all): Remove target.
16499 * malloc/Makefile: Include Makeconfig immediately after defining
16500 subdir.
16501 (all): Remove target.
16502 * manual/Makefile: Include Makeconfig immediately after defining
16503 subdir.
16504 * math/Makefile: Likewise.
16505 * misc/Makefile: Likewise.
16506 * nis/Makefile: Likewise.
16507 * nss/Makefile: Likewise.
16508 * po/Makefile: Likewise.
16509 (all): Remove target.
16510 * posix/Makefile: Include Makeconfig immediately after defining
16511 subdir.
16512 * pwd/Makefile: Likewise.
16513 * resolv/Makefile: Likewise.
16514 * resource/Makefile: Likewise.
16515 * rt/Makefile: Likewise.
16516 * setjmp/Makefile: Likewise.
16517 * shadow/Makefile: Likewise.
16518 * signal/Makefile: Likewise.
16519 * socket/Makefile: Likewise.
16520 * soft-fp/Makefile: Likewise.
16521 * stdio-common/Makefile: Likewise.
16522 * stdlib/Makefile: Likewise.
16523 * streams/Makefile: Likewise.
16524 * string/Makefile: Likewise.
16525 * sunrpc/Makefile: Likewise.
16526 (all): Remove target.
16527 * sysvipc/Makefile: Include Makeconfig immediately after defining
16528 subdir.
16529 * termios/Makefile: Likewise.
16530 * time/Makefile: Likewise.
16531 * timezone/Makefile: Likewise.
16532 (all): Remove target.
16533 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16534 subdir.
16535 * wctype/Makefile: Likewise.
16536
5b456e9d
SE
165372014-02-26 Steve Ellcey <sellcey@mips.com>
16538
16539 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16540 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16541 (libc_feholdexcept_setround_mips): Ditto.
16542 (libc_feholdsetround): New.
16543 (libc_feholdsetroundf): New.
16544 (libc_feholdsetroundl): New.
16545 (libc_feupdateenv_test_mips): New.
16546 (libc_feupdateenv_test): New.
16547 (libc_feupdateenv_testf): New.
16548 (libc_feupdateenv_testl): New.
16549 (libc_feresetround): New.
16550 (libc_feresetroundf): New.
16551 (libc_feresetroundl): New.
16552 (libc_fetestexcept_mips): New.
16553 (libc_fetestexcept): New.
16554 (libc_fetestexceptf): New.
16555 (libc_fetestexceptl): New.
16556 (HAVE_RM_CTX): New.
16557 (libc_feholdexcept_setround_mips_ctx): New.
16558 (libc_feholdexcept_setround_ctx): New.
16559 (libc_feholdexcept_setroundf_ctx): New.
16560 (libc_feholdexcept_setroundl_ctx): New.
16561 (libc_fesetenv_mips_ctx): New.
16562 (libc_fesetenv_ctx): New.
16563 (libc_fesetenv_ctxf): New.
16564 (libc_fesetenv_ctxl): New.
16565 (libc_feupdateenv_mips_ctx): New.
16566 (libc_feupdateenv_ctx): New.
16567 (libc_feupdateenvf_ctx): New.
16568 (libc_feupdateenvl_ctx): New.
16569 (libc_feholdsetround_mips_ctx): New.
16570 (libc_feholdsetround_ctx): New.
16571 (libc_feholdsetroundf_ctx): New.
16572 (libc_feholdsetroundl_ctx): New.
16573 (libc_feresetround_mips_ctx): New.
16574 (libc_feresetround_ctx): New.
16575 (libc_feresetroundf_ctx): New.
16576 (libc_feresetroundl_ctx): New.
16577
085d0e35
CD
165782014-02-26 Carlos O'Donell <carlos@redhat.com>
16579
f067bf1f
CD
16580 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16581
085d0e35
CD
16582 * manual/ipc.texi: New file.
16583 * manual/Makefile (chapters): Add ipc.
16584 * manual/job.texi: Add "Inter-Process Communication" to next.
16585 * manual/process.texi: Add "Inter-Process Communication" to prev.
16586
86e58c08
AZ
165872014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16588
16589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16590
4248f0da
OB
165912014-02-26 Ondřej Bílka <neleai@seznam.cz>
16592
16593 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16594
cf822e3c
OB
16595 * manual/arith.texi: Fix spaces after sentences.
16596 * manual/charset.texi: Likewise.
16597 * manual/errno.texi: Likewise.
16598 * manual/install.texi: Likewise.
16599 * manual/llio.texi: Likewise.
16600 * manual/locale.texi: Likewise.
16601 * manual/maint.texi: Likewise.
16602 * manual/math.texi: Likewise.
16603 * manual/memory.texi: Likewise.
16604 * manual/message.texi: Likewise.
16605 * manual/probes.texi: Likewise.
16606 * manual/resource.texi: Likewise.
16607 * manual/signal.texi: Likewise.
16608 * manual/socket.texi: Likewise.
16609 * manual/stdio.texi: Likewise.
16610 * manual/string.texi: Likewise.
16611 * manual/time.texi: Likewise.
16612 * manual/users.texi: Likewise.
16613
ade40b10
CD
166142014-02-25 Carlos O'Donell <carlos@redhat.com>
16615
16616 [BZ #16632]
16617 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16618 _DEFAULT_SOURCE is defined.
16619
d0503676
CD
166202014-02-25 Ulrich Drepper <drepper@gmail.com>
16621 Carlos O'Donell <carlos@redhat.com>
16622
16623 [BZ #16613]
16624 * elf/dl-tls.c (_dl_count_modids): New function.
16625 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16626 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16627 audit library and increment generation counter.
16628 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16629 * elf/tst-audit9.c: New file.
16630 * elf/tst-auditmod9a.c: New file.
16631 * elf/tst-auditmod9b.c: New file.
16632 * elf/Makefile: Add rules to build and run tst-audit9.
16633
4cbf380c
FW
166342014-02-25 Florian Weimer <fweimer@redhat.com>
16635
16636 [BZ #15347]
16637 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16638
80a56cc3
WN
166392014-02-25 Will Newton <will.newton@linaro.org>
16640
16641 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16642 (__longjmp): Restore sp and lr before restoring callee
16643 saved registers. Add longjmp and longjmp_target
16644 SystemTap probe point.
16645 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16646 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16647 Define to zero to match jmpbuf layout.
16648 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16649 (__sigsetjmp): Save sp and lr before saving callee
16650 saved registers. Add setjmp SystemTap probe point.
16651
3ea0f74e
SL
166522014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16653
16654 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16655
b04acb26
AS
166562014-02-24 Andreas Schwab <schwab@suse.de>
16657
16658 [BZ #15804]
16659 * elf/pldd.c (wait_for_ptrace_stop): New function.
16660 (main): Call it after attaching.
16661
098ad55c
RM
166622014-02-22 Roland McGrath <roland@hack.frob.com>
16663
d4ec6ae1
RM
16664 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16665 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16666 Versions files is now verboten.
16667 * hurd/Versions (libc: GLIBC_2.0):
16668 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16669 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16670 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16671 * mach/Versions: Likewise.
16672
098ad55c
RM
16673 * csu/Versions: Remove unused %include.
16674 * resolv/Versions: Likewise.
16675
acd7f096
JM
166762014-02-21 Joseph Myers <joseph@codesourcery.com>
16677
f0881698
JM
16678 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16679 ($(objpfx)check-local-headers.out): Likewise.
16680 ($(objpfx)begin-end-check.out): Likewise.
16681 * Makerules (check-abi-%.out): Likewise.
16682 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16683 ($(objpfx)test2.cat): Likewise.
16684 ($(objpfx)de/libc.cat): Likewise.
16685 ($(objpfx)test-gencat.out): Likewise.
16686 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16687 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16688 ($(objpfx)noload-mem): Likewise.
16689 ($(objpfx)tst-pathopt.out): Likewise.
16690 ($(objpfx)tst-rtld-load-self.out): Likewise.
16691 ($(objpfx)tst-array1-cmp.out): Likewise.
16692 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16693 ($(objpfx)tst-array2-cmp.out): Likewise.
16694 ($(objpfx)tst-array3-cmp.out): Likewise.
16695 ($(objpfx)tst-array4-cmp.out): Likewise.
16696 ($(objpfx)tst-array5-cmp.out): Likewise.
16697 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16698 ($(objpfx)check-textrel.out): Likewise.
16699 ($(objpfx)check-execstack.out): Likewise.
16700 ($(objpfx)check-localplt.out): Likewise.
16701 ($(objpfx)order2-cmp.out): Likewise.
16702 ($(objpfx)tst-leaks1-mem): Likewise.
16703 ($(objpfx)tst-leaks1-static-mem): Likewise.
16704 ($(objpfx)tst-initorder-cmp.out): Likewise.
16705 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16706 ($(objpfx)tst-unused-dep.out): Likewise.
16707 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16708 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16709 * iconv/Makefile (test-iconvconfig): Likewise.
16710 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16711 ($(objpfx)iconv-test.out): Likewise.
16712 ($(objpfx)tst-tables.out): Likewise.
16713 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16714 ($(objpfx)tst-gettext.out): Likewise.
16715 ($(objpfx)tst-translit.out): Likewise.
16716 ($(objpfx)tst-gettext2.out): Likewise.
16717 ($(objpfx)tst-gettext4.out): Likewise.
16718 ($(objpfx)tst-gettext6.out): Likewise.
16719 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16720 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16721 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16722 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16723 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16724 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16725 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16726 ($(objpfx)wordexp-tst.out): Likewise.
16727 ($(objpfx)annexc.out): Likewise.
16728 ($(objpfx)tst-fnmatch-mem): Likewise.
16729 ($(objpfx)bug-regex2-mem): Likewise.
16730 ($(objpfx)bug-regex14-mem): Likewise.
16731 ($(objpfx)bug-regex21-mem): Likewise.
16732 ($(objpfx)bug-regex31-mem): Likewise.
16733 ($(objpfx)tst-vfork3-mem): Likewise.
16734 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16735 ($(objpfx)tst-pcre-mem): Likewise.
16736 ($(objpfx)tst-boost-mem): Likewise.
16737 ($(objpfx)tst-getconf.out): Likewise.
16738 ($(objpfx)bug-ga2-mem): Likewise.
16739 ($(objpfx)bug-glob2-mem): Likewise.
16740 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16741 ($(objpfx)mtrace-tst-leaks2): Likewise.
16742 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16743 ($(objpfx)tst-printf.out): Likewise.
16744 ($(objpfx)tst-setvbuf1.out): Likewise.
16745 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16746 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16747 ($(objpfx)tst-fmtmsg.out): Likewise.
16748 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16749 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16750
acd7f096
JM
16751 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16752 * bits/sigaction.h [__USE_MISC]: Likewise.
16753 * bits/waitstatus.h: Update #endif comments.
16754 * ctype/ctype.h: Likewise.
16755 * dirent/dirent.h: Likewise.
16756 [__USE_MISC]: Remove redundant conditionals.
16757 * grp/grp.h: Update #endif comments.
16758 [__USE_GNU]: Remove redundant conditionals.
16759 [__USE_MISC]: Likewise.
16760 * inet/netinet/in.h [__USE_GNU]: Likewise.
16761 * io/sys/stat.h [__USE_MISC]: Likewise.
16762 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16763 * libio/bits/stdio.h: Update #endif comments.
16764 [__USE_MISC]: Remove redundant conditionals.
16765 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16766 * libio/stdio.h: Update #endif comments.
16767 [__USE_MISC]: Remove redundant conditionals.
16768 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16769 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16770 * math/math.h: Update #else and #endif comments.
16771 [__USE_MISC]: Remove redundant conditionals.
16772 * misc/sys/uio.h: Update #endif comments.
16773 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16774 * posix/glob.h [__USE_MISC]: Likewise.
16775 * posix/sys/types.h: Update #endif comments.
16776 [__USE_MISC]: Remove redundant conditionals.
16777 * posix/sys/wait.h: Update #endif comments.
16778 [__USE_MISC]: Remove redundant conditionals.
16779 * posix/unistd.h: Update #endif comments.
16780 [__USE_MISC]: Remove redundant conditionals.
16781 * pwd/pwd.h [__USE_GNU]: Likewise.
16782 [__USE_MISC]: Likewise.
16783 * resolv/netdb.h [__USE_GNU]: Likewise.
16784 * signal/signal.h: Update #endif comments.
16785 [__USE_MISC]: Remove redundant conditionals.
16786 * stdlib/stdlib.h: Update #else and #endif comments.
16787 [__USE_MISC]: Remove redundant conditionals.
16788 [__USE_GNU]: Likewise.
16789 * string/bits/string2.h [__USE_MISC]: Likewise.
16790 * string/string.h: Update #endif comments.
16791 [__USE_MISC]: Remove redundant conditionals.
16792 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16793 Likewise.
16794 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16795 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16796 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16797 Likewise.
16798 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16799 Likewise.
16800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16801 comments.
16802 [__USE_MISC]: Remove redundant conditionals.
16803 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16804 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16805 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16806 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16807 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16808 Likewise.
16809 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16810 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16811 Likewise.
16812 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16813 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16814 Likewise.
16815 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16816 Likewise.
16817 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16818 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16819 Likewise.
16820 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16821 Likewise.
16822 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16823 * sysdeps/x86/bits/string.h: Update #endif comments.
16824 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16825 conditionals.
16826 * time/sys/time.h: Update #endif comments.
16827 * time/time.h: Likewise.
16828 [__USE_MISC]: Remove redundant conditionals.
16829
a5d82e4e
YG
168302014-02-21 Yury Gribov <y.gribov@samsung.com>
16831
16832 [BZ #16600]
16833 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16834
9a80491d
AS
168352014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16836
16837 * Versions.def (librt): Add GLIBC_2.17.
16838
105fa381
AC
168392014-02-21 Adam Conrad <adconrad@0c3.net>
16840
16841 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16842 synonym for _SYS_AUXV_H to allow direct inclusion.
16843 * sysdeps/sparc/bits/hwcap.h: Likewise.
16844 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16845 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16846 * sysdeps/sparc/sysdep.h: Likewise.
16847
b8cd1c4e
SP
168482014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16849
16850 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16851
bd939d23
RS
168522014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16853
16854 * benchtests/bench-strrchr.c: Print length instead of position.
16855
5d7b57ca
JM
168562014-02-20 Joseph Myers <joseph@codesourcery.com>
16857
bc688c10
JM
16858 [BZ #16611]
16859 * sysdeps/unix/sysv/linux/kernel-features.h
16860 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16861 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16862 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16863 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16864 Likewise.
16865 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16866 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16867 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16868 (__ASSUME_SENDMMSG): Define instead of using previous
16869 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16870 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16871 (__ASSUME_SENDMMSG_SYSCALL): Define.
16872 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16873 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16874 Likewise.
16875 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16876 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16877 Likewise.
16878 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16879 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16880 Likewise.
16881 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16882 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16883 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16884 [__ASSUME_SENDMMSG]: Change conditionals to
16885 [__ASSUME_SENDMMSG_SOCKETCALL].
16886 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16887 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16888 Define.
16889 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16890 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16891 Likewise.
16892 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16893 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16894 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16895 [!__ASSUME_SENDMMSG]: Change conditional to
16896 [!__ASSUME_SENDMMSG_SOCKETCALL].
16897 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16898 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16899 Define.
16900
0e31b18c
JM
16901 [BZ #16610]
16902 * sysdeps/unix/sysv/linux/kernel-features.h
16903 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16904 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16905 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16906 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16907 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16908 [__i386__ || __sparc__]
16909 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16910 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16911 (__ASSUME_RECVMMSG): Define instead of using previous
16912 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16913 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16914 (__ASSUME_RECVMMSG_SYSCALL): Define.
16915 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16916 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16917 Likewise.
16918 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16919 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16920 Likewise.
16921 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16922 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16923 Likewise.
16924 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16925 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16926 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16927 [__ASSUME_RECVMMSG]: Change condition to
16928 [__ASSUME_RECVMMSG_SOCKETCALL].
16929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16931 Define.
16932 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16933 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16934 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16935 Likewise.
16936 * sysdeps/unix/sysv/linux/recvmmsg.c [__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/tile/kernel-features.h
16942 (__ASSUME_RECVMMSG_SYSCALL): Define.
16943
dd481ccf
JM
16944 [BZ #16609]
16945 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16946 __powerpc__ || __s390__ || __sh__ || __sparc__]
16947 (__ASSUME_SOCKETCALL): Define.
16948 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16949 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16950 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16951 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16952 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16953 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16954 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16955 (__ASSUME_ACCEPT4): Define instead of using previous
16956 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16957 __powerpc__ || __sparc__ || __s390__)] condition.
16958 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16959 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16960 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16961 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16962 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16963 [!__ASSUME_ACCEPT4]: Change condition to
16964 [!__ASSUME_ACCEPT4_SOCKETCALL].
16965 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16966 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16967 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16968 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16969 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16970 __ASSUME_ACCEPT4_SYSCALL.
16971 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16972 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16973 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16974 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16975 __ASSUME_ACCEPT4_SYSCALL.
16976 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16977 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16978 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16979 [__ASSUME_ACCEPT4]: Change condition to
16980 [__ASSUME_ACCEPT4_SOCKETCALL].
16981 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16982 (__ASSUME_SOCKETCALL): Define.
16983 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16985 (__ASSUME_SOCKETCALL): Define.
16986 (__ASSUME_ACCEPT4): Remove.
16987 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16988 Define.
16989 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16990 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16991 Likewise.
16992 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16993 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16994
5d7b57ca
JM
16995 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16996 macro.
16997 (HWCAP_ARM_LPAE): Likewise.
16998 (HWCAP_ARM_EVTSTRM): Likewise.
16999 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17000 Add vpfd32, lpae and evtstrm.
17001 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17002 Increase to 22.
17003
63689d61
JM
170042014-02-19 Joseph Myers <joseph@codesourcery.com>
17005
17006 * math/auto-libm-test-in: Add tests of clog10.
17007 * math/auto-libm-test-out: Regenerated.
17008 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17009 * sysdeps/i386/fpu/libm-test-ulps: Update.
17010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17011
ab09bf61
AS
170122014-02-18 Andreas Schwab <schwab@suse.de>
17013
17014 [BZ #16574]
17015 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17016 Store non-zero if the second buffer was newly allocated.
17017 (send_dg): Likewise.
17018 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17019 to send_vc and send_dg.
17020 (res_nsend): Pass NULL for ansp2_malloced.
17021 * resolv/res_query.c (__libc_res_nquery): Add parameter
17022 answerp2_malloced and pass it down to __libc_res_nsend.
17023 (res_nquery): Pass additional NULL to __libc_res_nquery.
17024 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17025 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17026 second answer buffer if answerp2_malloced was set.
17027 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17028 (__libc_res_nquerydomain): Add parameter
17029 answerp2_malloced and pass it down to __libc_res_nquery.
17030 (res_nquerydomain): Pass additional NULL to
17031 __libc_res_nquerydomain.
17032 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17033 additional NULL to __libc_res_nsend and __libc_res_nquery.
17034 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17035 additional NULL to __libc_res_nsearch.
17036 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17037 parameter of __libc_res_nsearch to check for separately allocated
17038 second buffer.
17039 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17040 __libc_res_nquery.
17041 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17042 additional NULL to __libc_res_nquery.
17043 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17044 __libc_res_nsearch.
17045 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17046 * include/resolv.h: Update prototypes of __libc_res_nquery,
17047 __libc_res_nsearch, __libc_res_nsend.
17048
a4fb7861
JM
170492014-02-18 Joseph Myers <joseph@codesourcery.com>
17050
c6af2d89
JM
17051 * math/auto-libm-test-in: Add tests of fma.
17052 * math/auto-libm-test-out: Regenerated.
17053 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17054 (fma_towardzero_test_data): Likewise.
17055 (fma_downward_test_data): Likewise.
17056 (fma_upward_test_data): Likewise.
17057 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17058 mpc_mode.
17059 (rounding_modes): Add values for new field.
17060 (func_calc_method): Add value mpfr_fff_f.
17061 (func_calc_desc): Add mpfr_fff_f union field.
17062 (test_function): Add field exact_args.
17063 (FUNC): Add macro argument EXACT_ARGS.
17064 (FUNC_mpfr_f_f): Update call to FUNC.
17065 (FUNC_mpfr_f_f): Likewise.
17066 (FUNC_mpfr_ff_f): Likewise.
17067 (FUNC_mpfr_if_f): Likewise.
17068 (FUNC_mpc_c_f): Likewise.
17069 (FUNC_mpc_c_c): Likewise.
17070 (test_functions): Add fma. Update calls to FUNC.
17071 (handle_input_arg): Add argument exact_args.
17072 (add_test): Update call to handle_input_arg.
17073 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17074 (output_for_one_input_case): Update call to calc_generic_results.
17075 Recalculate exact zero results in each rounding mode.
17076
a4fb7861
JM
17077 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17078 non-negative before setting low bit.
17079 * math/auto-libm-test-in: Mark one asin test possibly having
17080 spurious underflow.
17081 * math/auto-libm-test-out: Regenerated.
17082 * sysdeps/i386/fpu/libm-test-ulps: Update.
17083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17084
ef114eaf
DH
170852014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17086
2b7f4f2c
SP
17087 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17088 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17089 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17090 * README: Add missing listing for microblaze*-*-linux-gnu.
17091
8125aedc
AM
170922014-02-16 Ondřej Bílka <neleai@seznam.cz>
17093
17094 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17095 duplicate code
17096
c70a4b1d
MF
170972014-02-16 Mike Frysinger <vapier@gentoo.org>
17098
17099 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17100 * sysdeps/unix/sysv/linux/ia64: Move directory from
17101 ports/sysdeps/unix/sysv/linux/ia64.
17102 * README: Update listing for ia64-*-linux-gnu.
17103
591aeaf7
TD
171042014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17105 Joseph Myers <joseph@codesourcery.com>
17106
17107 * Makeconfig (test-name): New variable.
17108 (evaluate-test): Likewise.
17109 * Makerules (do-test-clean): Remove .test-result files.
17110 (common-mostlyclean): Likewise.
17111 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17112 * scripts/evaluate-test.sh: New file.
17113
6e89caf1
JM
171142014-02-14 Joseph Myers <joseph@codesourcery.com>
17115
7f98f180
JM
17116 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17117 separate $(objpfx)tst-fopenloc-cmp.out and
17118 $(objpfx)tst-fopenloc-mem.out targets.
17119 (tests): Update dependencies.
17120 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17121 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17122 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17123 (tst-rxspencer-no-utf8-ARGS): New variable.
17124 (tst-rxspencer-no-utf8-ENV): Likewise.
17125 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17126 instead of $(objpfx)tst-rxspencer-mem.
17127 ($(objpfx)tst-rxspencer-mem): Change target to
17128 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17129 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17130 * posix/tst-rxspencer-no-utf8.c: New file.
17131
6e89caf1
JM
17132 * elf/Makefile ($(objpfx)order.out): Remove rule.
17133 [$(run-built-tests) = yes] (tests): Depend on
17134 $(objpfx)order-cmp.out.
17135 ($(objpfx)order-cmp.out): New rule.
17136 [$(run-built-tests) = yes] (tests): Depend on
17137 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17138 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17139 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17140 $(objpfx)tst-array5-static-cmp.out.
17141 ($(objpfx)tst-array1.out): Remove rule.
17142 ($(objpfx)tst-array1-cmp.out): New rule.
17143 ($(objpfx)tst-array1-static.out): Remove rule.
17144 ($(objpfx)tst-array1-static-cmp.out): New rule.
17145 ($(objpfx)tst-array2.out): Remove rule.
17146 ($(objpfx)tst-array2-cmp.out): New rule.
17147 ($(objpfx)tst-array3.out): Remove rule.
17148 ($(objpfx)tst-array3-cmp.out): New rule.
17149 ($(objpfx)tst-array4.out): Remove rule.
17150 ($(objpfx)tst-array4-cmp.out): New rule.
17151 ($(objpfx)tst-array5.out): Remove rule.
17152 ($(objpfx)tst-array5-cmp.out): New rule.
17153 ($(objpfx)tst-array5-static.out): Remove rule.
17154 ($(objpfx)tst-array5-static-cmp.out): New rule.
17155 [$(run-built-tests) = yes] (tests): Depend on
17156 $(objpfx)order2-cmp.out.
17157 ($(objpfx)order2.out): Remove rule.
17158 ($(objpfx)order2-cmp.out): New rule.
17159 ($(objpfx)tst-initorder.out): Remove rule.
17160 [$(run-built-tests) = yes] (tests): Depend on
17161 $(objpfx)tst-initorder-cmp.out.
17162 ($(objpfx)tst-initorder-cmp.out): New rule.
17163 ($(objpfx)tst-initorder2.out): Remove rule.
17164 [$(run-built-tests) = yes] (tests): Depend on
17165 $(objpfx)tst-initorder2-cmp.out.
17166 ($(objpfx)tst-initorder2-cmp.out): New rule.
17167 [$(run-built-tests) = yes] (tests): Depend on
17168 $(objpfx)tst-unused-dep-cmp.out.
17169 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17170 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17171 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17172 on $(objpfx)tst-setvbuf1-cmp.out.
17173 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17174 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17175 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17176 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17177 ($(objpfx)tst-svc.out): Remove rule.
17178 ($(objpfx)tst-svc-cmp.out): New rule.
17179
ed9a38e2
JM
171802014-02-13 Joseph Myers <joseph@codesourcery.com>
17181
17182 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17183 * ctype/ctype.h [__USE_MISC]: Likewise.
17184 * dirent/dirent.h [__USE_MISC]: Likewise.
17185 * grp/grp.h [__USE_MISC]: Likewise.
17186 * io/fcntl.h [__USE_MISC]: Likewise.
17187 * io/sys/stat.h [__USE_MISC]: Likewise.
17188 * libio/stdio.h [__USE_MISC]: Likewise.
17189 * posix/unistd.h [__USE_MISC]: Likewise.
17190 * pwd/pwd.h [__USE_MISC]: Likewise.
17191 * stdlib.h [__USE_MISC]: Likewise.
17192 * string/bits/string2.h [__USE_MISC]: Likewise.
17193 * string/string.h [__USE_MISC]: Likewise.
17194 * time/time.h [__USE_MISC]: Likewise.
17195
d6680619
AS
171962014-02-13 Andreas Schwab <schwab@suse.de>
17197
17198 [BZ #16574]
17199 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17200 second answer buffer if it was separately allocated.
17201
ace614b8
JM
172022014-02-12 Joseph Myers <joseph@codesourcery.com>
17203
743151ae
JM
17204 * sysdeps/mips/math-tests.h: Include <features.h>.
17205 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17206 (ROUNDING_TESTS_long_double): Do not define.
17207 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17208 (EXCEPTION_TESTS_long_double): Likewise.
17209 * sysdeps/mips/mips64/libm-test-ulps: Update.
17210
498afc54
JM
17211 * include/features.h (__USE_BSD): Remove macro definitions.
17212 (__USE_SVID): Likewise.
17213 (_BSD_SOURCE): Likewise.
17214 (_SVID_SOURCE): Likewise.
17215 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17216 from definition of _DEFAULT_SOURCE.
17217 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17218 [_DEFAULT_SOURCE].
17219 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17220 * bits/mman.h [__USE_BSD]: Likewise.
17221 * bits/termios.h [__USE_BSD]: Likewise.
17222 * bits/waitstatus.h [__USE_BSD]: Likewise.
17223 * ctype/ctype.h [__USE_SVID]: Likewise.
17224 * dirent/dirent.h [__USE_BSD]: Likewise.
17225 * grp/grp.h [__USE_SVID]: Likewise.
17226 [__USE_BSD]: Likewise.
17227 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17228 * io/fcntl.h [__USE_BSD]: Likewise.
17229 * io/ftw.h [__USE_BSD]: Likewise.
17230 * io/sys/stat.h [__USE_BSD]: Likewise.
17231 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17232 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17233 * libio/stdio.h [__USE_SVID]: Likewise.
17234 [__USE_BSD]: Likewise.
17235 * math/math.h [__USE_SVID]: Likewise.
17236 [__USE_BSD]: Likewise.
17237 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17238 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17239 * misc/search.h [__USE_SVID]: Likewise.
17240 * misc/sys/mman.h [__USE_BSD]: Likewise.
17241 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17242 * misc/sys/uio.h [__USE_BSD]: Likewise.
17243 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17244 * posix/glob.h [__USE_BSD]: Likewise.
17245 * posix/regex.h [__USE_BSD]: Likewise.
17246 * posix/sys/types.h [__USE_BSD]: Likewise.
17247 [__USE_SVID]: Likewise.
17248 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17249 * posix/sys/wait.h [__USE_BSD]: Likewise.
17250 [__USE_SVID]: Likewise.
17251 * posix/unistd.h [__USE_BSD]: Likewise.
17252 [__USE_SVID]: Likewise.
17253 * pwd/pwd.h [__USE_SVID]: Likewise.
17254 * resolv/netdb.h [__USE_BSD]: Likewise.
17255 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17256 * signal/signal.h [__USE_BSD]: Likewise.
17257 [__USE_SVID]: Likewise.
17258 * socket/sys/socket.h [__USE_BSD]: Likewise.
17259 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17260 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17261 [__USE_SVID]: Likewise.
17262 * string/bits/string2.h [__USE_BSD]: Likewise.
17263 [__USE_SVID]: Likewise.
17264 * string/bits/string3.h [__USE_BSD]: Likewise.
17265 * string/endian.h [__USE_BSD]: Likewise.
17266 * string/string.h [__USE_SVID]: Likewise.
17267 [__USE_BSD]: Likewise.
17268 * string/strings.h [__USE_BSD]: Likewise.
17269 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17270 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17271 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17272 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17273 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17274 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17275 Likewise.
17276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17277 Likewise.
17278 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17279 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17280 Likewise.
17281 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17282 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17283 Likewise.
17284 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17285 Likewise.
17286 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17287 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17288 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17289 Likewise.
17290 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17291 Likewise.
17292 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17293 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17294 * termios/termios.h [__USE_BSD]: Likewise.
17295 * time/sys/time.h [__USE_BSD]: Likewise.
17296 * time/time.h [__USE_BSD]: Likewise.
17297 [__USE_SVID]: Likewise.
17298
dd7b064c
JM
17299 * Makefile (subdir_targets): Remove subdir_lint.out.
17300
a2c4c199
JM
17301 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17302 (do-tst-printf): Likewise.
17303 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17304 $(objpfx)tst-printf.out.
17305
8756f740
JM
17306 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17307
1b6dd3f1
JM
17308 * Makerules (check-abi-%): Change target to
17309 $(objpfx)check-abi-%.out.
17310 (check-abi target): Update dependencies.
17311 (check-abi-pattern variable): Redirect output of diff to $@.
17312 (check-abi variable): Likewise.
17313 * elf/Makefile (check-abi): Update dependencies.
17314
ace614b8
JM
17315 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17316 unused.
17317 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17318 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17319 subnormal range.
17320 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17321 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17322 value has largest subnormal exponent.
17323 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17324 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17325 * sysdeps/aarch64/soft-fp/sfp-machine.h
17326 (_FP_TININESS_AFTER_ROUNDING): New macro.
17327 * sysdeps/alpha/soft-fp/sfp-machine.h
17328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17329 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17330 Likewise.
17331 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17332 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17333 * sysdeps/mips/soft-fp/sfp-machine.h
17334 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17335 * sysdeps/powerpc/soft-fp/sfp-machine.h
17336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17337 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17338 Likewise.
17339 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17340 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17341 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17342 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17343 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17344 Likewise.
17345
fbfdf9cb
DAS
173462014-02-12 Dylan Alex Simon <dylan@dylex.net>
17347
17348 [BZ #16545]
17349 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17350 model 1.
17351
68b7efaa
RH
173522014-02-12 Richard Henderson <rth@redhat.com>
17353
c70a4b1d 17354 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17355 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17356 * sysdeps/unix/sysv/linux/alpha: Move directory from
17357 ports/sysdeps/unix/sysv/linux/alpha.
17358 * README: Update listing for alpha-*-linux-gnu.
17359
cb4a2928
JM
173602014-02-11 Joseph Myers <joseph@codesourcery.com>
17361
c941736c
JM
17362 * include/features.h: Update comment documenting feature test
17363 macros.
17364 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17365 _DEFAULT_SOURCE.
17366 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17367 (_SVID_SOURCE): Likewise.
17368 (_DEFAULT_SOURCE): Update description of default features.
17369 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17370 with _GNU_SOURCE.
17371 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17372 (S_ISVTX): Likewise.
17373 * manual/math.texi (Mathematical Constants): Likewise.
17374 * manual/signal.texi (Interrupted Primitives): Likewise.
17375 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17376 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17377 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17378 Don't refer to _SVID_SOURCE in warning text.
17379
e8d8d7ec
JM
17380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17381
cb4a2928
JM
17382 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17383 already defined.
17384 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17385 * sysdeps/mips/dl-lookup.c: Remove.
17386 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17387
7e6424e3
AK
173882014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17389
17390 [BZ #16447]
17391 * math/auto-libm-test-in: Add testcase for expl.
17392 * math/auto-libm-test-out: Regenerate.
17393 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17394 calculation of unsafe.
17395 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17396
75eff3fe
MS
173972014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17398
17399 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17400 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17401 ports/sysdeps/unix/sysv/linux/aarch64.
17402 * README: Update listing for aarch64*-*-linux-gnu.
17403
d35f1e80
WN
174042014-02-11 Will Newton <will.newton@linaro.org>
17405
17406 * manual/probes.texi (Mathematical Function Probes): Use
17407 "triggered" instead of "hit".
17408
7b3436d4
WN
17409 * manual/probes.texi (Internal Probes): Add documentation
17410 of setjmp, longjmp and longjmp_target probes.
17411
b4f12ca3
WN
17412 * include/stap-probe.h: Add comment about probe argument
17413 format.
17414
c13a72b7
WN
17415 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17416 definition. (tr_where, tr_freehook, tr_mallochook,
17417 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17418
195b8165
DM
174192014-02-11 David S. Miller <davem@davemloft.net>
17420
17421 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17422 processing int_tests.
17423
2ad7600b
JM
174242014-02-10 Joseph Myers <joseph@codesourcery.com>
17425
17426 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17427 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17428 * sysdeps/unix/sysv/linux/mips: Move directory from
17429 ports/sysdeps/unix/sysv/linux/mips.
17430 * README: Update listing for mips-*-linux-gnu and
17431 mips64-*-linux-gnu.
17432
73588a72
AS
174332014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17434
17435 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17436 * sysdeps/unix/sysv/linux/m68k: Move directory from
17437 ports/sysdeps/unix/sysv/linux/m68k.
17438 * README: Update listing for m68k-*-linux-gnu.
17439
4372980f
CM
174402014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17441
17442 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17443 * sysdeps/unix/sysv/linux/generic: Move directory from
17444 ports/sysdeps/unix/sysv/linux/generic.
17445 * sysdeps/unix/sysv/linux/tile: Move directory from
17446 ports/sysdeps/unix/sysv/linux/tile.
17447 * README: Update listing for tile*-*-linux-gnu.
17448
a1ffb40e
OB
174492014-02-10 Ondřej Bílka <neleai@seznam.cz>
17450
57f41c40
AS
17451 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17452 __builtin_expect.
a1ffb40e
OB
17453 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17454 * catgets/open_catalog.c (__open_catalog): Likewise.
17455 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17456 * debug/confstr_chk.c: Likewise.
17457 * debug/fread_chk.c (__fread_chk): Likewise.
17458 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17459 * debug/getgroups_chk.c: Likewise.
17460 * debug/mbsnrtowcs_chk.c: Likewise.
17461 * debug/mbsrtowcs_chk.c: Likewise.
17462 * debug/mbstowcs_chk.c: Likewise.
17463 * debug/memcpy_chk.c: Likewise.
17464 * debug/memmove_chk.c: Likewise.
17465 * debug/mempcpy_chk.c: Likewise.
17466 * debug/memset_chk.c: Likewise.
17467 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17468 * debug/strcat_chk.c (__strcat_chk): Likewise.
17469 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17470 * debug/strncat_chk.c (__strncat_chk): Likewise.
17471 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17472 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17473 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17474 * debug/wcpncpy_chk.c: Likewise.
17475 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17476 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17477 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17478 * debug/wcsncpy_chk.c: Likewise.
17479 * debug/wcsnrtombs_chk.c: Likewise.
17480 * debug/wcsrtombs_chk.c: Likewise.
17481 * debug/wcstombs_chk.c: Likewise.
17482 * debug/wmemcpy_chk.c: Likewise.
17483 * debug/wmemmove_chk.c: Likewise.
17484 * debug/wmempcpy_chk.c: Likewise.
17485 * debug/wmemset_chk.c: Likewise.
17486 * dirent/scandirat.c (SCANDIRAT): Likewise.
17487 * dlfcn/dladdr1.c (dladdr1): Likewise.
17488 * dlfcn/dladdr.c (dladdr): Likewise.
17489 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17490 * dlfcn/dlerror.c (__dlerror): Likewise.
17491 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17492 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17493 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17494 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17495 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17496 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17497 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17498 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17499 Likewise.
17500 * elf/dl-conflict.c: Likewise.
17501 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17502 * elf/dl-dst.h: Likewise.
17503 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17504 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17505 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17506 * elf/dl-init.c (call_init, _dl_init): Likewise.
17507 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17508 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17509 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17510 Likewise.
a1ffb40e
OB
17511 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17512 Likewise.
17513 * elf/dl-minimal.c (__libc_memalign): Likewise.
17514 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17515 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17516 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17517 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17518 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17519 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17520 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17521 * elf/dl-writev.h (_dl_writev): Likewise.
17522 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17523 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17524 (dl_main): Likewise.
a1ffb40e
OB
17525 * elf/setup-vdso.h (setup_vdso): Likewise.
17526 * grp/compat-initgroups.c (compat_call): Likewise.
17527 * grp/fgetgrent.c (fgetgrent): Likewise.
17528 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17529 * grp/putgrent.c (putgrent): Likewise.
17530 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17531 Likewise.
17532 * hurd/hurdinit.c: Likewise.
17533 * iconvdata/8bit-gap.c (struct): Likewise.
17534 * iconvdata/ansi_x3.110.c : Likewise.
17535 * iconvdata/big5.c : Likewise.
17536 * iconvdata/big5hkscs.c : Likewise.
17537 * iconvdata/cp1255.c: Likewise.
17538 * iconvdata/cp1258.c : Likewise.
17539 * iconvdata/cp932.c : Likewise.
17540 * iconvdata/euc-cn.c: Likewise.
17541 * iconvdata/euc-jisx0213.c : Likewise.
17542 * iconvdata/euc-jp.c: Likewise.
17543 * iconvdata/euc-jp-ms.c : Likewise.
17544 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17545 * iconvdata/gb18030.c : Likewise.
17546 * iconvdata/gbbig5.c (const): Likewise.
17547 * iconvdata/gbgbk.c: Likewise.
17548 * iconvdata/gbk.c : Likewise.
17549 * iconvdata/ibm1364.c : Likewise.
17550 * iconvdata/ibm930.c : Likewise.
17551 * iconvdata/ibm932.c: Likewise.
17552 * iconvdata/ibm933.c : Likewise.
17553 * iconvdata/ibm935.c : Likewise.
17554 * iconvdata/ibm937.c : Likewise.
17555 * iconvdata/ibm939.c : Likewise.
17556 * iconvdata/ibm943.c: Likewise.
17557 * iconvdata/iso_11548-1.c: Likewise.
17558 * iconvdata/iso-2022-cn.c : Likewise.
17559 * iconvdata/iso-2022-cn-ext.c : Likewise.
17560 * iconvdata/iso-2022-jp-3.c: Likewise.
17561 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17562 * iconvdata/iso-2022-kr.c : Likewise.
17563 * iconvdata/iso646.c (gconv_end): Likewise.
17564 * iconvdata/iso_6937-2.c : Likewise.
17565 * iconvdata/iso_6937.c : Likewise.
17566 * iconvdata/iso8859-1.c: Likewise.
17567 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17568 * iconvdata/shift_jisx0213.c : Likewise.
17569 * iconvdata/sjis.c : Likewise.
17570 * iconvdata/t.61.c : Likewise.
17571 * iconvdata/tcvn5712-1.c : Likewise.
17572 * iconvdata/tscii.c: Likewise.
17573 * iconvdata/uhc.c : Likewise.
17574 * iconvdata/unicode.c (gconv_end): Likewise.
17575 * iconvdata/utf-16.c (gconv_end): Likewise.
17576 * iconvdata/utf-32.c (gconv_end): Likewise.
17577 * iconvdata/utf-7.c (base64): Likewise.
17578 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17579 * iconv/gconv_close.c (__gconv_close): Likewise.
17580 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17581 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17582 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17583 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17584 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17585 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17586 * iconv/iconv.c (iconv): Likewise.
17587 * iconv/iconv_close.c: Likewise.
17588 * iconv/loop.c (SINGLE): Likewise.
17589 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17590 * include/atomic.h: Likewise.
17591 * inet/inet6_option.c (option_alloc): Likewise.
17592 * intl/bindtextdom.c (set_binding_values): Likewise.
17593 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17594 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17595 * intl/localealias.c (read_alias_file): Likewise.
17596 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17597 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17598 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17599 * libio/fmemopen.c (fmemopen): Likewise.
17600 * libio/iofgets.c (_IO_fgets): Likewise.
17601 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17602 * libio/iofgetws.c (fgetws): Likewise.
17603 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17604 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17605 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17606 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17607 * locale/findlocale.c (_nl_find_locale): Likewise.
17608 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17609 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17610 Likewise.
17611 * locale/setlocale.c (setlocale): Likewise.
17612 * login/programs/pt_chown.c (main): Likewise.
17613 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17614 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17615 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17616 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17617 * math/e_exp2l.c: Likewise.
17618 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17619 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17620 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17621 * math/s_catan.c (__catan): Likewise.
17622 * math/s_catanf.c (__catanf): Likewise.
17623 * math/s_catanh.c (__catanh): Likewise.
17624 * math/s_catanhf.c (__catanhf): Likewise.
17625 * math/s_catanhl.c (__catanhl): Likewise.
17626 * math/s_catanl.c (__catanl): Likewise.
17627 * math/s_ccosh.c (__ccosh): Likewise.
17628 * math/s_ccoshf.c (__ccoshf): Likewise.
17629 * math/s_ccoshl.c (__ccoshl): Likewise.
17630 * math/s_cexp.c (__cexp): Likewise.
17631 * math/s_cexpf.c (__cexpf): Likewise.
17632 * math/s_cexpl.c (__cexpl): Likewise.
17633 * math/s_clog10.c (__clog10): Likewise.
17634 * math/s_clog10f.c (__clog10f): Likewise.
17635 * math/s_clog10l.c (__clog10l): Likewise.
17636 * math/s_clog.c (__clog): Likewise.
17637 * math/s_clogf.c (__clogf): Likewise.
17638 * math/s_clogl.c (__clogl): Likewise.
17639 * math/s_csin.c (__csin): Likewise.
17640 * math/s_csinf.c (__csinf): Likewise.
17641 * math/s_csinh.c (__csinh): Likewise.
17642 * math/s_csinhf.c (__csinhf): Likewise.
17643 * math/s_csinhl.c (__csinhl): Likewise.
17644 * math/s_csinl.c (__csinl): Likewise.
17645 * math/s_csqrt.c (__csqrt): Likewise.
17646 * math/s_csqrtf.c (__csqrtf): Likewise.
17647 * math/s_csqrtl.c (__csqrtl): Likewise.
17648 * math/s_ctan.c (__ctan): Likewise.
17649 * math/s_ctanf.c (__ctanf): Likewise.
17650 * math/s_ctanh.c (__ctanh): Likewise.
17651 * math/s_ctanhf.c (__ctanhf): Likewise.
17652 * math/s_ctanhl.c (__ctanhl): Likewise.
17653 * math/s_ctanl.c (__ctanl): Likewise.
17654 * math/w_pow.c: Likewise.
17655 * math/w_powf.c: Likewise.
17656 * math/w_powl.c: Likewise.
17657 * math/w_scalb.c (sysv_scalb): Likewise.
17658 * math/w_scalbf.c (sysv_scalbf): Likewise.
17659 * math/w_scalbl.c (sysv_scalbl): Likewise.
17660 * misc/error.c (error_tail): Likewise.
17661 * misc/pselect.c (__pselect): Likewise.
17662 * nis/nis_callback.c (__nis_create_callback): Likewise.
17663 * nis/nis_call.c (__nisfind_server): Likewise.
17664 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17665 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17666 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17667 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17668 * nis/nis_lookup.c (nis_lookup): Likewise.
17669 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17670 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17671 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17672 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17673 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17674 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17675 * nis/nss_compat/compat-initgroups.c (add_group)
17676 (internal_getgrent_r): Likewise.
17677 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17678 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17679 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17680 (internal_getspnam_r): Likewise.
17681 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17682 (_nss_nis_getaliasbyname_r): Likewise.
17683 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17684 (_nss_nis_getntohost_r): Likewise.
17685 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17686 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17687 (_nss_nis_getgrgid_r): Likewise.
17688 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17689 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17690 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17691 (_nss_nis_gethostbyname4_r): Likewise.
17692 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17693 (initgroups_netid): Likewise.
a1ffb40e 17694 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17695 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17696 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17697 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17698 (_nss_nis_getprotobynumber_r): Likewise.
17699 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17700 (_nss_nis_getsecretkey): Likewise.
17701 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17702 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17703 (_nss_nis_getpwuid_r): Likewise.
17704 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17705 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17706 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17707 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17708 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17709 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17710 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17711 Likewise.
57f41c40
AS
17712 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17713 (_nss_nisplus_getntohost_r): Likewise.
17714 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17715 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17716 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17717 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17718 Likewise.
57f41c40
AS
17719 * nis/nss_nisplus/nisplus-initgroups.c
17720 (_nss_nisplus_initgroups_dyn): Likewise.
17721 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17722 (_nss_nisplus_getnetbyaddr_r): Likewise.
17723 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17724 (_nss_nisplus_getprotobynumber_r): Likewise.
17725 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17726 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17727 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17728 Likewise.
57f41c40
AS
17729 * nis/nss_nisplus/nisplus-service.c
17730 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17731 (_nss_nisplus_getservbyport_r): Likewise.
17732 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17733 (_nss_nisplus_getspnam_r): Likewise.
17734 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17735 Likewise.
a1ffb40e
OB
17736 * nscd/aicache.c (addhstaiX): Likewise.
17737 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17738 * nscd/connections.c (register_traced_file, send_ro_fd)
17739 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17740 (main_loop_epoll): Likewise.
a1ffb40e
OB
17741 * nscd/grpcache.c (addgrbyX): Likewise.
17742 * nscd/hstcache.c (addhstbyX): Likewise.
17743 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17744 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17745 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17746 (addinnetgrX): Likewise.
17747 * nscd/nscd-client.h (__nscd_acquire_maplock)
17748 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17749 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17750 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17751 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17752 Likewise.
17753 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17754 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17755 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17756 (__nscd_get_map_ref): Likewise.
a1ffb40e 17757 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17758 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17759 Likewise.
a1ffb40e
OB
17760 * nscd/pwdcache.c (addpwbyX): Likewise.
17761 * nscd/selinux.c (preserve_capabilities): Likewise.
17762 * nscd/servicescache.c (addservbyX): Likewise.
17763 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17764 * posix/fnmatch.c (fnmatch): Likewise.
17765 * posix/getopt.c (_getopt_internal_r): Likewise.
17766 * posix/glob.c (glob, glob_in_dir): Likewise.
17767 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17768 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17769 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17770 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17771 * resolv/res_init.c: Likewise.
17772 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17773 * resolv/res_query.c (__libc_res_nquery): Likewise.
17774 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17775 Likewise.
17776 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17777 * stdio-common/perror.c (perror): Likewise.
17778 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17779 * stdio-common/tmpnam.c (tmpnam): Likewise.
17780 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17781 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17782 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17783 Likewise.
a1ffb40e
OB
17784 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17785 * stdlib/putenv.c (putenv): Likewise.
17786 * stdlib/setenv.c (__add_to_environ): Likewise.
17787 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17788 * stdlib/strtol_l.c (INTERNAL): Likewise.
17789 * string/memmem.c (memmem): Likewise.
17790 * string/strerror.c (strerror): Likewise.
17791 * string/strnlen.c (__strnlen): Likewise.
17792 * string/test-memmem.c (simple_memmem): Likewise.
17793 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17794 * sunrpc/pm_getport.c (__get_socket): Likewise.
17795 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17796 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17797 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17798 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17799 Likewise.
17800 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17801 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17802 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17803 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17804 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17805 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17806 Likewise.
17807 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17808 Likewise.
a1ffb40e
OB
17809 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17810 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17811 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17812 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17813 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17815 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17816 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17817 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17818 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17819 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17820 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17821 Likewise.
17822 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17823 Likewise.
17824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17825 Likewise.
17826 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17828 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17830 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17831 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17832 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17833 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17835 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17836 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17838 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17839 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17841 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17842 Likewise.
a1ffb40e
OB
17843 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17844 Likewise.
17845 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17846 Likewise.
17847 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17848 Likewise.
17849 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17850 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17851 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17852 Likewise.
17853 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17854 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17855 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17856 * sysdeps/posix/sleep.c: Likewise.
17857 * sysdeps/posix/tempname.c: Likewise.
17858 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17859 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17860 Likewise.
57f41c40
AS
17861 * sysdeps/powerpc/powerpc32/dl-machine.h
17862 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17863 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17865 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17866 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17867 Likewise.
17868 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17870 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17871 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17872 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17873 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17874 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17875 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17876 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17877 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17879 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17880 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17882 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17883 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17884 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17885 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17886 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17887 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17888 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17889 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17891 Likewise.
17892 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17893 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17894 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17895 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17896 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17897 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17898 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17899 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17900 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17901 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17902 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17903 Likewise.
17904 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17905 (__posix_fallocate64_l64): Likewise.
17906 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17907 (posix_fallocate): Likewise.
57f41c40
AS
17908 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17909 Likewise.
a1ffb40e 17910 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17911 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17912 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17913 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17914 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17915 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17916 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17917 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17918 (__posix_fallocate64_l64): Likewise.
17919 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17920 Likewise.
17921 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17922 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17923 (__get_clockfreq): Likewise.
a1ffb40e
OB
17924 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17925 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17926 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17928 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17929 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17930 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17931 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17932 Likewise.
17933 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17934 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17935 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17936 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17937 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17938 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17939 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17940 Likewise.
17941 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17942 (posix_fallocate): Likewise.
17943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17944 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17945 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17946 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17947 (elf_machine_rela, elf_machine_rela_relative)
17948 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17949 * time/asctime.c (asctime_internal): Likewise.
17950 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17951 * time/tzset.c (__tzset_parse_tz): Likewise.
17952 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17953 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17954 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17955 * wcsmbs/wcsmbsload.h: Likewise.
17956
f3d338c9
OB
17957 [BZ #15894]
17958 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17959
57f41c40
AS
17960 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17961 (arena_get2): Remove THREAD_STATS conditionals.
17962 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17963 (__malloc_stats, int): Likewise.
bdfe308a 17964
d674667c
MF
179652014-02-08 Mike Frysinger <vapier@gentoo.org>
17966
17967 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17968 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17969
6349768c
MF
17970 * manual/setjmp.texi: Fix typos/grammar errors.
17971
0b7c7473
MF
17972 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17973 Only return early when n is <= 0. Delete unused return statement.
17974
ac8cc9e3
MF
17975 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17976 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17977 * debug/tst-longjmp_chk3.c: New file.
17978
c5bb8e23
MF
17979 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17980 (test_main): Replace code with set_fortify_handler call.
17981 * debug/test-strcpy_chk.c: Likewise.
17982 * debug/tst-chk1.c: Likewise.
17983 * debug/tst-longjmp_chk.c: Likewise.
17984 * test-skeleton.c: Include fcntl.h & paths.h
17985 (set_fortify_handler): Define.
17986
10444e42
MF
17987 * debug/tst-longjmp_chk.c: Add header comment and include
17988 ../test-skeleton.c.
17989 (do_test): Mark static.
17990 (TEST_FUNCTION): Define.
17991
1e805e8d
MF
17992 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17993 (IP_PMTUDISC_INTERFACE): Likewise.
17994 (IP_MULTICAST_IF): Likewise.
17995 (IP_MULTICAST_TTL): Likewise.
17996 (IP_MULTICAST_LOOP): Likewise.
17997 (IP_ADD_MEMBERSHIP): Likewise.
17998 (IP_DROP_MEMBERSHIP): Likewise.
17999 (IP_UNBLOCK_SOURCE): Likewise.
18000 (IP_BLOCK_SOURCE): Likewise.
18001 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18002 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18003 (IP_MSFILTER): Likewise.
18004 (MCAST_JOIN_GROUP): Likewise.
18005 (MCAST_BLOCK_SOURCE): Likewise.
18006 (MCAST_UNBLOCK_SOURCE): Likewise.
18007 (MCAST_LEAVE_GROUP): Likewise.
18008 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18009 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18010 (MCAST_MSFILTER): Likewise.
18011 (IP_MULTICAST_ALL): Likewise.
18012 (IP_UNICAST_IF): Likewise.
18013
73f79bb7
MF
18014 * timezone/Makefile: Delete $(have-ksh) check.
18015 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18016 * timezone/tzselect.ksh: Add +x mode bits.
18017
8da79b60
MF
18018 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18019 (ANON_INODE_FS_MAGIC): Likewise.
18020 (BDEVFS_MAGIC): Likewise.
18021 (BINFMTFS_MAGIC): Likewise.
18022 (BTRFS_TEST_MAGIC): Likewise.
18023 (CRAMFS_MAGIC_WEND): Likewise.
18024 (DEBUGFS_MAGIC): Likewise.
18025 (ECRYPTFS_SUPER_MAGIC): Likewise.
18026 (EXT3_SUPER_MAGIC): Likewise.
18027 (EXT4_SUPER_MAGIC): Likewise.
18028 (FUTEXFS_SUPER_MAGIC): Likewise.
18029 (HOSTFS_SUPER_MAGIC): Likewise.
18030 (HUGETLBFS_MAGIC): Likewise.
18031 (MINIX3_SUPER_MAGIC): Likewise.
18032 (MTD_INODE_FS_MAGIC): Likewise.
18033 (NILFS_SUPER_MAGIC): Likewise.
18034 (OPENPROM_SUPER_MAGIC): Likewise.
18035 (PIPEFS_MAGIC): Likewise.
18036 (PSTOREFS_MAGIC): Likewise.
18037 (QNX6_SUPER_MAGIC): Likewise.
18038 (RAMFS_MAGIC): Likewise.
18039 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18040 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18041 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18042 (SECURITYFS_MAGIC): Likewise.
18043 (SELINUX_MAGIC): Likewise.
18044 (SMACK_MAGIC): Likewise.
18045 (SOCKFS_MAGIC): Likewise.
18046 (SQUASHFS_MAGIC): Likewise.
18047 (STACK_END_MAGIC): Likewise.
18048 (TMPFS_MAGIC): Likewise.
18049 (USBDEVICE_SUPER_MAGIC): Likewise.
18050 (V9FS_MAGIC): Likewise.
18051 (XENFS_SUPER_MAGIC): Likewise.
18052 (CRAMFS_MAGIC): Fix typo in comment.
18053 (EXT2_SUPER_MAGIC): Update comment.
18054 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18055
464263cc
JM
180562014-02-08 Joseph Myers <joseph@codesourcery.com>
18057
c6bfe5c4
JM
18058 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18059 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18060 * sysdeps/unix/sysv/linux/arm: Move directory from
18061 ports/sysdeps/unix/sysv/linux/arm.
18062 * README: Update listing for arm-*-linux-gnueabi.
18063
464263cc
JM
18064 * README: Remove mention of am33.
18065
32749f6c
RM
180662014-02-07 Roland McGrath <roland@hack.frob.com>
18067
18068 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18069 than the comma operator, to avoid "rhs of comma has no effect"
18070 compiler warnings.
18071 (__sigfillset, __sigandset, __sigorset): Likewise.
18072 * include/signal.h (__sigemptyset): Likewise.
18073 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18074
d5b396c1
AM
180752014-02-07 Allan McRae <allan@archlinux.org>
18076
18077 * version.h (RELEASE): Set to "development".
18078 (VERSION): Set to "2.19.90"
18079 * NEWS: Add 2.20 section.
18080
3bfff2ed
CD
180812014-02-06 Carlos O'Donell <carlos@redhat.com>
18082
18083 [BZ #16529]
18084 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18085
ee7cc385
SP
180862014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18087
18088 * manual/contrib.texi: Update entry for Carlos O'Donell,
18089 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18090
f877c4f2
CD
180912014-02-05 Carlos O'Donell <carlos@rehdat.com>
18092
27e839f6
CD
18093 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18094
f877c4f2
CD
18095 * sysdeps/unix/sysv/linux/kernel-features.h
18096 [__LINUX_KERNEL_VERSION >= 0x020621]
18097 (__ASSUME_PROC_PID_TASK_COMM): Define.
18098
68159946
SP
180992014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18100
ba17cdbd
SP
18101 [BZ #16398]
18102 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18103 conversion when destination buffer does not have enough space.
18104 * libio/tst-ftell-partial-wide.c: New test case.
18105 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18106
68159946
SP
18107 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18108 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18109 Leonard and Allan McRae.
18110
2b528732
DM
181112014-02-04 David S. Miller <davem@davemloft.net>
18112
18113 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18114 32-bit.
18115
0ff82463
AZ
181162014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18117
57f41c40
AS
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18119 New file
c01603f7
AZ
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18121 New file
57f41c40
AS
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18123 New file.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18125 New file.
c01603f7
AZ
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18127 New file.
57f41c40
AS
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18129 New file.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18131 New file.
c01603f7
AZ
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18133 New file.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18135 New file.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18137 New file.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18139 New file.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18141 New file.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18143 New file.
18144
181452014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18146
0ff82463
AZ
18147 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18148 * shlib-versions: Likewise.
18149
1695c773
AZ
181502014-02-04 Roland McGrath <roland@hack.frob.com>
18151 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18152
18153 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18154 (abilist-pattern): New variable, set to %-le.abilist.
18155
18156 * Makerules (abilist-pattern): New variable.
18157 (vpath): Use $(abilist-pattern) in place of %.abilist.
18158 (check-abi-% pattern rule): Likewise.
18159 (check-abi, update-abi): Likewise.
18160
6c0ce4b4
EW
181612014-02-04 Eric Wong <normalperson@yhbt.net>
18162
18163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18164
481e3524
CD
181652014-02-03 Carlos O'Donell <carlos@redhat.com>
18166
18167 * manual/startup.texi: Add next, previous, and top entries for
18168 the `Program Arguments' and `Environment Variables' nodes.
18169
375592d3
AO
181702014-02-03 Alexandre Oliva <aoliva@redhat.com>
18171
18172 * manual/macros.texi: Add comments before MTASC-safety macros.
18173
f54838ba
AO
18174 * manual/users.texi: Document MTASC-safety properties.
18175
57f41c40
AS
18176 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18177 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18178 @deftypefun, and add @safety note.
18179 * manual/signal.texi: Move comments that analyze the above
18180 functions to their home place.
18181
fd3daba4
AM
181822014-02-03 Allan McRae <allan@archlinux.org>
18183
18184 * po/sl.po: Update Slovenian translation from translation project.
18185
597636d7
AO
181862014-02-02 Alexandre Oliva <aoliva@redhat.com>
18187
18188 * manual/time.texi (timegm): Add missing blank after @c.
18189 Reported by Joseph Myers <joseph@codesourcery.com>.
18190
ee196e3c
AO
181912014-02-01 Alexandre Oliva <aoliva@redhat.com>
18192
18193 * manual/check-safety.sh: New.
18194 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18195
f8d529d5
AO
18196 * manual/terminal.texi: Document MTASC-safety properties.
18197
de55fdf4
AO
18198 * manual/filesys.texi: Document MTASC-safety properties.
18199
c3299c08
AO
18200 * manual/errno.texi: Document MTASC-safety properties.
18201
06e90b14
AO
18202 * manual/intro.texi: Document safety identifiers and
18203 conditionals.
18204
1acd4371
AO
18205 * manual/string.texi (wcstok): Fix prototype.
18206 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18207
23e5b8cb
AO
18208 * manual/time.texi: Document MTASC-safety properties.
18209
11087373
AO
18210 * manual/string.texi: Document MTASC-safety properties.
18211
5da2c93d
AO
18212 * manual/threads.texi: Document MTASC-safety properties.
18213
171e9210
AO
18214 * manual/stdio.texi: Document MTASC-safety properties.
18215
d9e02532
AO
18216 * manual/syslog.texi: Document MTASC-safety properties.
18217
6af8bab7
AO
18218 * manual/sysinfo.texi: Document MTASC-safety properties.
18219
663b02d7
AO
18220 * manual/startup.texi: Document MTASC-safety properties.
18221
973f180b
AO
18222 * manual/socket.texi: Document MTASC-safety properties.
18223
8f3c25c8
AO
18224 * manual/signal.texi: Document MTASC-safety properties.
18225
542210fb
AO
182262014-01-31 Alexandre Oliva <aoliva@redhat.com>
18227
18228 * manual/setjmp.texi: Document MTASC-safety properties.
18229
433c45a2
AO
18230 * manual/search.texi: Document MTASC-safety properties.
18231
c8ce789c
AO
18232 * manual/resource.texi: Document MTASC-safety properties.
18233
19f5d29c
AO
18234 * manual/process.texi: Document MTASC-safety properties.
18235
e2dfb7f4
AO
18236 * manual/platform.texi: Document MTASC-safety properties.
18237
8c1413f5
AO
18238 * manual/pipe.texi: Document MTASC-safety properties.
18239
03483ada
AO
18240 * manual/pattern.texi: Document MTASC-safety properties.
18241
29e7e2df
AO
18242 * manual/message.texi: Document MTASC-safety properties.
18243
9f529d7c
AO
18244 [BZ #12751]
18245 * manual/memory.texi: Document MTASC-safety properties.
18246
27aaa791
AO
18247 * manual/math.texi: Document MTASC-safety properties.
18248
f2d58726
AO
18249 * manual/locale.texi: Document MTASC-safety properties.
18250
2cc3615c
AO
18251 * manual/llio.texi: Document MTASC-safety properties.
18252
d9f0ec97
AO
18253 * manual/libdl.texi: New.
18254
e7c4409a
AO
18255 * manual/lang.texi: Document MTASC-safety properties.
18256
27bdc63c
AO
18257 * manual/job.texi: Document MTASC-safety properties.
18258
a7b90ea9
AO
18259 * manual/getopt.texi: Document MTASC-safety properties.
18260
c49130e3
AO
18261 * manual/ctype.texi: Document MTASC-safety properties.
18262
0d23a5c1
MR
182632014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18264
18265 [BZ #16046]
18266 * csu/libc-tls.c (static_map): Remove variable.
18267 (__libc_setup_tls): Use main executable's link map for TLS data.
18268 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18269 casing for LM_ID_BASE and GL(dl_nns).
18270 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18271 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18272 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18273 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18274 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18275 member.
18276 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18277 l_phnum members.
18278
0037bb60
AO
182792014-01-30 Alexandre Oliva <aoliva@redhat.com>
18280
18281 * manual/debug.texi: Document MTASC-safety properties.
18282
409e00bd
L
182832014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18284
18285 [BZ #16510]
18286 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18287 of __x86_64__ when disabling x87 inline functions.
18288
86e60666
AO
182892014-01-29 Alexandre Oliva <aoliva@redhat.com>
18290
18291 * manual/charset.texi: Document MTASC-safety properties.
18292
76167637
AO
18293 * manual/crypt.texi: Document MTASC-safety properties.
18294
e567f2a0
AO
18295 * manual/conf.texi: Document MTASC-safety properties.
18296
b719dafd
AO
18297 * manual/arith.texi: Document MTASC-safety properties.
18298
4a16c662
AO
18299 * manual/argp.texi: Document MTASC-safety properties.
18300
0a57b83e
AO
18301 * manual/macros.texi: Introduce macros to document multi
18302 thread, asynchronous signal and asynchronous cancellation
18303 safety properties.
18304 * manual/intro.texi: Introduce the properties themselves.
18305
feab2397
KK
183062014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18307
18308 * sysdeps/sh/sh4/Makefile: New file.
18309
1c0d11bc
AS
183102014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18311
18312 * math/gen-libm-test.pl ($srcdir): New variable.
18313 ($auto_input): Use it.
18314
af37a8a3
SP
183152014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18316
d7b00f98
SP
18317 [BZ #16506]
18318 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18319 access beyond array bounds when parsing netgroups file.
18320
af37a8a3
SP
18321 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18322 the old buffer before realloc.
18323
0c00f062
AM
183242014-01-27 Allan McRae <allan@archlinux.org>
18325
18326 * po/fr.po: Update French translation from translation project.
18327
7d69a1b0
KK
183282014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18329
18330 * sysdeps/sh/libm-test-ulps: Regenerate.
18331
6e697ff7
DM
183322014-01-24 David S. Miller <davem@davemloft.net>
18333
18334 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18335
9cadb35c
KK
183362014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18337
18338 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18339 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18340
5d41dadf
SP
183412013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18342
18343 [BZ #16474]
18344 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18345 string pointers after reallocation.
18346
0bad441c
KK
183472014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18348
18349 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18350 __SH4A__ instead of __SH_FPU_ANY__.
18351
7007c661
KK
183522014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18353
18354 * sysdeps/sh/fpu_control.h: New file.
18355 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18356 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18357 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18358 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18359 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18360 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18361 * sysdeps/sh/sys/ucontext.h: Remove.
18362 * sysdeps/sh/sys: Remove directory.
18363
0f0c35e4
AK
183642014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18365
18366 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18367 s390/sys/ucontext.h.
18368 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18369 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18370
4959e284
L
183712014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18372
18373 [BZ #15605]
18374 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18375
d98720e0
AZ
183762014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18377
18378 [BZ#16431]
18379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18380 Adjust the vDSO correctly for internal calls.
18381 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18382
91cbd0bc
AM
183832014-01-20 Allan McRae <allan@archlinux.org>
18384
18385 * po/ca.po: Update Catalan translation from translation project.
18386
7a02cfad
MF
183872014-01-16 Mike Frysinger <vapier@gentoo.org>
18388
18389 * sysdeps/s390/sotruss-lib.c: New file.
18390
736c304a
AZ
183912014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18392
18393 [BZ#16430]
6e077ee5 18394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18395 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18396 local calls issues by not having a PLT stub required for IFUNC calls.
18397 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18398
94d0cea0
JM
183992014-01-16 Joseph Myers <joseph@codesourcery.com>
18400
18401 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18402 * math/test-fpucw-static.c: Likewise.
18403
980cb518
SP
184042013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18405
18406 [BZ #16453]
18407 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18408
2393fc01
AZ
184092014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18410
18411 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18412 implementation for powerpc.
18413
d359bcc2
OB
184142014-01-15 Ondřej Bílka <neleai@seznam.cz>
18415
18416 [BZ #14782]
18417 * sysdeps/posix/system.c (__libc_system): Do not enable
18418 asynchronous cancellation.
18419
7beb48cb
AK
184202014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18421
18422 [BZ #16427]
18423 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18424 handling only for numbers special also in the IEEE case.
18425
c20d5bf5
AK
184262014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18427
18428 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18429
e83bd4ee
AM
184302014-01-11 Allan McRae <allan@archlinux.org>
18431
76d0ea69
AM
18432 * po/bg.po: Update Bulgarian translation from translation project.
18433
e83bd4ee
AM
18434 * po/de.po: Update German translation from translation project.
18435
bc2ba20a
RM
184362014-01-10 Roland McGrath <roland@hack.frob.com>
18437
18438 * sysdeps/generic/gcc-compat.h: New file.
18439
649ecea2
SP
184402014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18441
18442 * benchtests/asin-inputs: Correct slow inputs.
18443 * benchtests/acos-inputs: Likewise.
18444
1b19c006
AM
184452014-01-10 Allan McRae <allan@archlinux.org>
18446
a46dab08
AM
18447 * po:sv.po: Update Swedish translation from translation project.
18448
421df74a
AM
18449 * po/vi.po: Update Vietnamese translation from translation project.
18450
d61c51a7
AM
18451 * po/eo.po: Update Esperanto translation from translation project.
18452
0339a319
AM
18453 * po/cs.po: Update Czech translation from translation project.
18454
94ad3e99
AM
18455 * po/nl.po: Update Dutch translation from translation project.
18456
e349ca71
AM
18457 * po/pl.po: Update Polish translation from translation project.
18458
ddf930c1
AM
18459 * po/ru.po: Update Russian translation from translation project.
18460
1b19c006
AM
18461 * po/uk.po: Update Ukrainian translation from translation project.
18462
9f236c49
BM
184632014-01-08 Brooks Moses <bmoses@google.com>
18464
18465 * elf/dl-load.c: Fix comment typo.
18466
cd6701cf
CD
184672014-01-08 Carlos O'Donell <carlos@redhat.com>
18468
18469 * po/header.pot: Rename to...
18470 * po/pot.header: ... this.
18471 * po/Makefile: Use pot.header.
18472
66671c84
YK
184732014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18474 Maxim Kuvyrkov <maxim@kugelworks.com>
18475
18476 [BZ #16394]
cd6701cf
CD
18477 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18478 SRC and DEST against LEN.
66671c84 18479
38f34581
AZ
184802014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18481
18482 [BZ #16414]
18483 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18484 implementation.
18485 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18486
184872014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18488
18489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18490
4c327f2a
JM
184912014-01-08 Joseph Myers <joseph@codesourcery.com>
18492
18493 [BZ #16408]
18494 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18495 for large positive arguments.
18496
b821f414
JM
184972014-01-07 Joseph Myers <joseph@codesourcery.com>
18498
1f0f2067
JM
18499 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18500
a5a326f6
JM
18501 * math/auto-libm-test-in: Mark various tests with
18502 xfail-rounding:ldbl-128ibm.
18503 * math/auto-libm-test-out: Regenerated.
18504
b821f414
JM
18505 [BZ #16407]
18506 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18507 Increase overflow threshold.
18508
94c8a4bc
OB
185092014-01-07 Ondřej Bílka <neleai@seznam.cz>
18510
18511 [BZ #14286]
18512 * stdio-common/vfprintf.c: Check for integer overflow.
18513
87ded0c3
AK
185142014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18515
18516 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18517 the first argument and return value of __tls_get_addr_internal.
18518
c5eebdd0
AK
185192014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18520
18521 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18522 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18523
05d138ef
AK
185242014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18525
18526 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18527 * sysdeps/s390/rtld-global-offsets.sym: New file.
18528 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18529 GLIBC_2.19 symbol.
18530 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18531 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18532 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18533 ... this.
18534 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18535 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18536 ... this.
18537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18538 Regenerate.
18539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18540 Regenerate.
18541 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18542 halfs of GPRs for high_gprs contexts.
18543 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18544 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18545 field.
18546 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18547 uc_flags field.
18548 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18549 64 bit versions:
18550 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18551 for high GPRs (uc_high_gprs) and for future extensions
18552 (__reserved).
18553 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18554 for future extensions (__reserved).
18555 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18556 64 bit versions:
18557 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18558 SC_HIGHGPRS offset definition.
18559 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18560 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18561
93a45ff1
AK
18562 * Versions.def: Add GLIBC_2.19 for libpthread.
18563 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18564 siglongjmp for libpthread with GLIBC_2.19 symver.
18565 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18566 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18567 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18568 * sysdeps/s390/__longjmp.c: New file.
18569 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18570 * sysdeps/s390/longjmp.c: New file.
18571 * sysdeps/s390/setjmp.S: New file.
18572 * sysdeps/s390/sigjmp.S: New file.
18573 * sysdeps/s390/v1-longjmp.c: New file.
18574 * sysdeps/s390/v1-setjmp.h: New file.
18575 * sysdeps/s390/v1-sigjmp.c: New file.
18576 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18577 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18578 GLIBC_2.19 version.
18579 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18580 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18581 versioned symbols for ____longjmp_chk.
18582 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18583 Likewise.
18584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18585 Regenerate.
18586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18587 Regenerate.
18588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18589 Regenerate.
18590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18591 Regenerate.
18592 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18593 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18594 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18595 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18596 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18597 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18598 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18599 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18600 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18601 * sysdeps/s390/rtld-__longjmp.c: New file.
18602 * sysdeps/s390/rtld-setjmp.S: New file.
18603
eb3fc44b
JM
186042014-01-06 Joseph Myers <joseph@codesourcery.com>
18605
18606 [BZ #16400]
18607 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18608 Return -__logl (x) for small positive arguments without evaluating
18609 a polynomial.
18610
9341dde4
MF
186112014-01-06 Mike Frysinger <vapier@gentoo.org>
18612
18613 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18614 Rename to ...
18615 (__ptrace_peeksiginfo_args): ... this.
18616 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18617 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18618 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18619
4cff0293
AM
186202014-01-06 Allan McRae <allan@archlinux.org>
18621
18622 * inet/netinet/in.h: Fix typo in comment.
18623
75595dcf
AJ
186242014-01-05 Andreas Jaeger <aj@suse.de>
18625
18626 * sysdeps/i386/fpu/libm-test-ulps: Update.
18627
79c1e109
AM
186282014-01-05 Allan McRae <allan@archlinux.org>
18629
dd804818
AM
18630 * po/libc.pot: Regenerated.
18631
79c1e109
AM
18632 * malloc/memusagestat.c: Fix gettext call formatting.
18633
0c813d1f
SK
186342014-01-04 Sami Kerola <kerolasa@iki.fi>
18635
18636 * nscd/nscd.c: Improve usage() output.
18637
20f4a8d9
MF
186382014-01-04 Mike Frysinger <vapier@gentoo.org>
18639
18640 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18641 * sysdeps/unix/sysv/linux/configure: Regenerated.
18642 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18643 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18644
22562bb2
JM
186452014-01-03 Joseph Myers <joseph@codesourcery.com>
18646
18647 [BZ #16390]
18648 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18649 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18650
d7ad2d9b
AZ
186512014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18652
18653 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18654 extra tokens at end of #undef directive.
18655 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18656 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18657 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18658
7dd009d8
JM
186592014-01-03 Joseph Myers <joseph@codesourcery.com>
18660
24db925a
JM
18661 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18662
7dd009d8
JM
18663 * math/auto-libm-test-in: Mark various tests with
18664 xfail-rounding:ldbl-128ibm.
18665 * math/auto-libm-test-out: Regenerated.
18666
396e3ecf
JM
186672014-01-02 Joseph Myers <joseph@codesourcery.com>
18668
819e5d50
JM
18669 [BZ #16386]
18670 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18671 numbers with subnormal high part when calculating exponent.
18672
90b6a1e5
JM
18673 [BZ #16385]
18674 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18675 fabs.
18676
396e3ecf
JM
18677 [BZ #16384]
18678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18679 M_LN2l.
18680 (__ieee754_acoshl): Use __log1pl not __log1p.
18681
6c8dbf00
OB
186822013-01-02 Ondřej Bílka <neleai@seznam.cz>
18683
57f41c40
AS
18684 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18685 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18686 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18687 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18688 (reused_arena, arena_get2): Convert to GNU style.
18689 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18690 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18691 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18692 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18693 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18694 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18695 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18696 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18697 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18698 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18699 * malloc/malloc.h: Likewise.
57f41c40
AS
18700 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18701 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18702 * malloc/mcheck.h: Likewise.
57f41c40
AS
18703 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18704 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18705 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18706 * malloc/morecore.c (__default_morecore): Likewise.
18707 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18708 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18709 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18710 (print_and_abort): Likewise.
6c8dbf00
OB
18711 * malloc/obstack.h: Likewise.
18712 * malloc/set-freeres.c (__libc_freeres): Likewise.
18713 * malloc/tst-mallocstate.c (main): Likewise.
18714 * malloc/tst-mtrace.c (main): Likewise.
18715 * malloc/tst-realloc.c (do_test): Likewise.
18716
d4124212
SP
187172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18718
9a3c6a6f
SP
18719 [BZ #16366]
18720 * nscd/netgroupcache.c (do_notfound): New function.
18721 (addgetnetgrentX): Use it.
18722
d4124212
SP
18723 [BZ # 16365]
18724 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18725 NSS_STATUS_NOTFOUND.
18726
97b9a009
JM
187272014-01-01 Joseph Myers <joseph@codesourcery.com>
18728
18729 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18731
d4697bc9
AM
187322014-01-01 Allan McRae <allan@archlinux.org>
18733
ddb3687f
AM
18734 * scripts/update-copyrights: Update configure input file suffix.
18735
88726d48
AM
18736 * NEWS: Update copyright year.
18737 * catgets/gencat.c: Likewise.
18738 * csu/version.c: Likewise.
18739 * debug/catchsegv.sh: Likewise.
18740 * debug/pcprofiledump.c: Likewise.
18741 * debug/xtrace.sh: Likewise.
18742 * elf/ldconfig.c: Likewise.
18743 * elf/ldd.bash.in: Likewise.
18744 * elf/pldd.c: Likewise.
18745 * elf/sotruss.ksh: Likewise.
18746 * elf/sprof.c: Likewise.
18747 * iconv/iconv_prog.c: Likewise.
18748 * iconv/iconvconfig.c: Likewise.
18749 * locale/programs/locale.c: Likewise.
18750 * locale/programs/localedef.c: Likewise.
18751 * login/programs/pt_chown.c: Likewise.
18752 * malloc/memusage.sh: Likewise.
18753 * malloc/memusagestat.c: Likewise.
18754 * malloc/mtrace.pl: Likewise.
18755 * manual/libc.texinfo: Likewise.
18756 * nscd/nscd.c: Likewise.
18757 * nss/getent.c: Likewise.
18758 * nss/makedb.c: Likewise.
18759 * posix/getconf.c: Likewise.
18760 * scripts/test-installation.pl: Likewise.
18761
d4697bc9
AM
18762 * All files with FSF copyright notices: Update copyright dates
18763 using scripts/update-copyrights.
18764 * intl/plural.c: Regenerated.
18765 * locale/programs/charmap-kw.h: Likewise.
18766 * locale/programs/locfile-kw.h: Likewise.
18767
c8590f9d
MF
187682013-12-31 Mike Frysinger <vapier@gentoo.org>
18769
18770 * sysdeps/unix/sysv/linux/configure: Regenerated.
18771 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18772 the linux/fanotify.h header.
18773 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18774 HAVE_LINUX_FANOTIFY_H is defined.
18775
b19221b9
SP
187762013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18777
dd1d85e5
SP
18778 * benchtests/cos-inputs: New inputs.
18779 * benchtests/sin-inputs: Likewise.
18780
1acbb90f
SP
18781 * benchtests/atan-inputs: New inputs. Fix name of multiple
18782 precision fallback inputs.
18783
4c012ed3
SP
18784 * benchtests/atanh-inputs: New inputs.
18785 * benchtests/tanh-inputs: Likewise.
18786
eff98324
SP
18787 * benchtests/acosh-inputs: New inputs.
18788 * benchtests/asinh-inputs: Likewise.
18789
ce641152
SP
18790 * benchtests/cosh-inputs: New inputs.
18791 * benchtests/sinh-inputs: Likewise.
18792
b19221b9
SP
18793 * benchtests/acos-inputs: Add more inputs.
18794 * benchtests/asin-inputs: Likewise.
18795
030a4976 187962013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18797
030a4976 18798 [BZ #16375]
9dcc8f11
VS
18799 * manual/arith.texi: Fix spelling.
18800 * manual/charset.texi: Likewise.
18801 * manual/errno.texi: Likewise.
18802 * manual/filesys.texi: Likewise.
18803 * manual/lang.texi: Likewise.
18804 * manual/llio.texi: Likewise.
18805 * manual/locale.texi: Likewise.
18806 * manual/message.texi: Likewise.
18807 * manual/resource.texi: Likewise.
18808 * manual/search.texi: Likewise.
18809 * manual/setjmp.texi: Likewise.
18810 * manual/stdio.texi: Likewise.
18811 * manual/string.texi: Likewise.
18812 * manual/sysinfo.texi: Likewise.
18813 * manual/time.texi: Likewise.
18814
11520a57
CD
188152013-12-27 Carlos O'Donell <carlos@redhat.com>
18816
18817 * po/sl.po: New file.
18818
471103ae
MF
188192013-12-27 Mike Frysinger <vapier@gentoo.org>
18820
18821 * .gitignore: Add core/.gdbinit/.gdb_history.
18822
6c9642ed
AM
188232013-12-27 Allan McRae <allan@archlinux.org>
18824
18825 [BZ #16369]
18826 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18827 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18828
3f637079
BM
188292013-12-24 Brooks Moses <bmoses@google.com>
18830
18831 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18832 all compilers that claim C++98 compliance, not just GCC.
18833 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18834 Likewise.
18835
abc26e99
MK
188362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18837
18838 * NEWS: Restore accidentally deleted bug-fix entries.
18839
362b47fe
MK
188402013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18841 Ondřej Bílka <neleai@seznam.cz>
18842
18843 [BZ #15073]
18844 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18845 have_lock.
362b47fe 18846
b9bcbbcb
OB
188472013-12-23 Ondřej Bílka <neleai@seznam.cz>
18848
18849 [BZ #12986]
18850 * manual/stdio.texi (String Input Conversions): Clarify that character
18851 classes are not supported.
18852
fb55fcd2
AZ
188532013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18854
18855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18856
ef7344f0
JM
188572013-12-22 Joseph Myers <joseph@codesourcery.com>
18858
4f40e4b3
JM
18859 [BZ #16337]
18860 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18861 Calculate results for small negative arguments directly rather
18862 than using reflection formula with special underflow handling.
18863
ef7344f0
JM
18864 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18865 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18866 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18867 (fchflags): Likewise.
18868 (revoke): Likewise.
18869 (setlogin): Likewise.
18870 (sigaltstack): Likewise.
18871 (wait4): Likewise.
18872 (sigblock): Remove.
18873 (sigsetmask): Likewise.
18874 (wait3): Likewise.
18875 (waitpid): Likewise.
18876 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18877 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18878 file.
18879 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18880 * sysdeps/unix/bsd/Makefile: ... here.
18881 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18882 * sysdeps/unix/bsd/Versions: ... here.
18883 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18884 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18885 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18886 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18887 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18888 * sysdeps/unix/bsd/sigblock.c: ... here.
18889 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18890 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18891 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18892 * sysdeps/unix/bsd/sigvec.c: ... here.
18893 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18894 * sysdeps/unix/bsd/tcdrain.c: ... here.
18895 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18896 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18897 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18898 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18899 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18900 * sysdeps/unix/bsd/wait.c: ... here.
18901 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18902 * sysdeps/unix/bsd/wait3.c: ... here.
18903 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18904 * sysdeps/unix/bsd/waitpid.c: ... here.
18905
5b0626b9
JM
189062013-12-21 Joseph Myers <joseph@codesourcery.com>
18907
18908 [BZ #16356]
18909 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18910 round-to-nearest for [!USE_AS_EXPM1L].
18911 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18912 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18913 more tests of exp and exp10. Expect some exp10 tests to miss
18914 exceptions or fail in directed rounding modes.
18915 * math/auto-libm-test-out: Regenerated.
18916 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18917 (exp10_test_tonearest): New function.
18918 (exp10_towardzero_test_data): New array.
18919 (exp10_test_towardzero): New function.
18920 (exp10_downward_test_data): New array.
18921 (exp10_test_downward): New function.
18922 (exp10_upward_test_data): New array.
18923 (exp10_test_upward): New function.
18924 (main): Call the new functions.
18925 * sysdeps/i386/fpu/libm-test-ulps: Update.
18926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18927
7fda5682
JM
189282013-12-20 Joseph Myers <joseph@codesourcery.com>
18929
31e3a405
JM
18930 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18931 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18932 * math/auto-libm-test-out: Regenerated.
18933 * math/libm-test.inc (acosh_test_data): Add more tests.
18934 (atanh_test_data): Likewise.
18935 (ceil_test_data): Likewise.
18936 (copysign_test_data): Likewise.
18937 * sysdeps/i386/fpu/libm-test-ulps: Update.
18938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18939
85bff96a
JM
18940 * timezone/checktab.awk: Update from tzcode 2013i.
18941 * timezone/private.h: Likewise.
18942 * timezone/scheck.c: Likewise.
18943 * timezone/tzfile.h: Likewise.
18944 * timezone/tzselect.ksh: Likewise.
18945 * timezone/zdump.c: Likewise.
18946 * timezone/zic.c: Likewise.
18947
b7867a3b
JM
18948 * math/auto-libm-test-in: Add tests of cpow.
18949 * math/auto-libm-test-out: Regenerated.
18950 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18951 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18952 mpc_cc_c.
18953 (func_calc_desc): Add mpc_cc_c union field.
18954 (test_functions): Add cpow.
18955 (special_fill_2pi): New function.
18956 (special_real_inputs): Add 2pi.
18957 (calc_generic_results): Handle mpc_cc_c.
18958 * sysdeps/i386/fpu/libm-test-ulps: Update.
18959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18960
7fda5682
JM
18961 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18962 csqrt, ctan and ctanh.
18963 * math/auto-libm-test-out: Regenerated.
18964 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18965 (TEST_COND_x86): Likewise.
18966 (ccos_test_data): Use AUTO_TESTS_c_c.
18967 (ccosh_test_data): Likewise.
18968 (cexp_test_data): Likewise.
18969 (clog_test_data): Likewise.
18970 (csqrt_test_data): Likewise.
18971 (ctan_test_data): Likewise.
18972 (ctan_tonearest_test_data): Likewise.
18973 (ctan_towardzero_test_data): Likewise.
18974 (ctan_downward_test_data): Likewise.
18975 (ctan_upward_test_data): Likewise.
18976 (ctanh_test_data): Likewise.
18977 (ctanh_tonearest_test_data): Likewise.
18978 (ctanh_towardzero_test_data): Likewise.
18979 (ctanh_downward_test_data): Likewise.
18980 (ctanh_upward_test_data): Likewise.
18981 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18982 mpc_c_c.
18983 (func_calc_desc): Add mpc_c_c union field.
18984 (FUNC_mpc_c_c): New macro.
18985 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18986 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18987 ctanh.
18988 (special_fill_min_subnorm_p120): New function.
18989 (special_real_inputs): Add min_subnorm_p120.
18990 (calc_generic_results): Handle mpc_c_c.
18991 * sysdeps/i386/fpu/libm-test-ulps: Update.
18992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18993
5ff8d60e
SP
189942013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18995
57f41c40
AS
18996 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18997 (do_sin_slow): New functions.
18998 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18999 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19000
84ba214c
SP
19001 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19002 Use M to change sign of result instead of X. Assume X is
19003 positive.
19004 (csloww1): Likewise.
19005 (__sin): Adjust.
19006 (__cos): Adjust.
19007
975195e4
SP
19008 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19009 arguments A and DA.
19010 (__sin): Adjust.
19011 (__cos): Likewise.
19012
5ff8d60e
SP
19013 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19014 (__cos): Likewise.
19015 (sloww1): Don't adjust sign of DX.
19016 (csloww1): Likewise.
19017 (sloww2): Use X directly and don't adjust sign of DX.
19018 (csloww2): Likewise.
19019
eb983568
JM
190202013-12-19 Joseph Myers <joseph@codesourcery.com>
19021
64a17f1a
JM
19022 * math/auto-libm-test-in: Add tests of cabs and carg.
19023 * math/auto-libm-test-out: Regenerated.
19024 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19025 (carg_test_data): Likewise.
19026 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19027 mpc_c_f.
19028 (func_calc_desc): Add mpc_c_f union field.
19029 (test_functions): Add cabs and carg.
19030 (calc_generic_results): Handle mpc_c_f.
19031
eb983568
JM
19032 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19033 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19034 as a macro and a compat symbol.
19035 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19036 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19037 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19038 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19039 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19041 not use .hidden.
19042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19043 Likewise.
19044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19045 Likewise.
19046 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19047 Likewise.
19048 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19049 Likewise.
19050 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19051 Likewise.
19052 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19053 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19054 from GLIBC_2.3.2.
19055
6eeb678a
AZ
190562013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19057
19058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19059
6f6fc482
JM
190602013-12-19 Joseph Myers <joseph@codesourcery.com>
19061
21fea2e2
JM
19062 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19063 trailing whitespace removed.
19064 * scripts/config.guess: Update to version 2013-11-29.
19065 * scripts/config.sub: Update to version 2013-10-01.
19066
6f6fc482
JM
19067 * math/auto-libm-test-in: Add tests of sincos.
19068 * math/auto-libm-test-out: Regenerated.
19069 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19070 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19071 mpfr_f_11.
19072 (func_calc_desc): Add mpfr_f_11 union field.
19073 (test_functions): Add sincos.
19074 (calc_generic_results): Handle mpfr_f_11.
19075 * sysdeps/i386/fpu/libm-test-ulps: Update.
19076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19077
83f5c32d
AS
190782013-12-19 Andreas Schwab <schwab@suse.de>
19079
19080 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19081 CALL_MCOUNT.
19082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19084 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19085
c688b419
JM
190862013-12-19 Joseph Myers <joseph@codesourcery.com>
19087
335ee092
JM
19088 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19089 * sysdeps/i386/fpu/libm-test-ulps: Update.
19090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19091
f88acd39
JM
19092 [BZ #16293]
19093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19094 round-to-nearest mode when using frndint.
19095 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19096 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19097 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19098 Likewise.
19099 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19100 sinh test to fail.
19101 * math/auto-libm-test-out: Regenerated.
19102 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19103 (TEST_COND_x86): Likewise.
19104 (expm1_tonearest_test_data): New array.
19105 (expm1_test_tonearest): New function.
19106 (expm1_towardzero_test_data): New array.
19107 (expm1_test_towardzero): New function.
19108 (expm1_downward_test_data): New array.
19109 (expm1_test_downward): New function.
19110 (expm1_upward_test_data): New array.
19111 (expm1_test_upward): New function.
19112 (main): Run the new test functions.
19113 * sysdeps/i386/fpu/libm-test-ulps: Update.
19114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19115
c688b419
JM
19116 * include/features.h: Update comment documenting feature test
19117 macros. Mention _DEFAULT_SOURCE in comment.
19118 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19119 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19120 _BSD_SOURCE and _SVID_SOURCE.
19121 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19122 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19123 !_SVID_SOURCE]: Likewise.
19124 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19125 (__USE_POSIX_IMPLICITLY): Define.
19126 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19127 (_POSIX_SOURCE): Undefine and redefine.
19128 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19129 (_POSIX_C_SOURCE): Likewise.
19130 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19131 (Feature Test Macros): Update documentation of default features.
19132
9f6e964c
RS
191332013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19134
19135 * benchtests/Makefile: Add bench-strtok.
19136 * benchtests/bench-strtok.c: New file: strtok benchtest.
19137
ee0a148a
AM
191382013-12-19 Allan McRae <allan@archlinux.org>
19139
19140 * manual/install.texi: Suppress menu for plain text output.
19141 * INSTALL: Regenerated.
19142
b9ab448f
BM
191432013-12-18 Brooks Moses <bmoses@google.com>
19144
19145 [BZ #15846]
19146 * misc/getauxval.c: Include errno.h.
19147 (__getauxval): Set errno to ENOENT if the requested type is not
19148 found.
19149 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19150 don't declare with __attribute_const__.
19151 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19152 * manual/startup.texi: Document that getauxval sets errno.
19153
23776487
JM
191542013-12-18 Joseph Myers <joseph@codesourcery.com>
19155
f889953b
JM
19156 * math/auto-libm-test-in: Add tests of jn and yn.
19157 * math/auto-libm-test-out: Regenerated.
19158 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19159 (yn_test_data): Likewise.
19160 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19161 mpfr_if_f.
19162 (func_calc_desc): Add mpfr_if_f union field.
19163 (FUNC_mpfr_if_f): New macro.
19164 (test_functions): Add jn and yn.
19165 (calc_generic_results): Assert type of second input for
19166 mpfr_ff_f. Handle mpfr_if_f.
19167 (output_for_one_input_case): Disable all checking for arguments
19168 fitting floating-point types in case of an integer argument.
19169 * sysdeps/i386/fpu/libm-test-ulps: Update.
19170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19171
23776487
JM
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19173 Don't expect fegetround reference in libm.so.
19174
cb756c6d
MS
191752013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19176
19177 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19178 $(config-cflags-nofma).
19179
2dec468f
JM
191802013-12-18 Joseph Myers <joseph@codesourcery.com>
19181
5953eb3a
JM
19182 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19183 * math/auto-libm-test-out: Regenerated.
19184
2dec468f
JM
19185 [BZ #16338]
19186 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19187 to determine exponent and adjust argument to have exponent of -1.
19188 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19189 log2.
19190 * math/auto-libm-test-out: Regenerated.
19191 * sysdeps/i386/fpu/libm-test-ulps: Update.
19192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19193
4d84e6ad
OB
191942013-12-18 Ondřej Bílka <neleai@seznam.cz>
19195
19196 * manual/probes.texi: Remove cases when per-thread arenas are
19197 disabled.
19198
1818483b
AS
191992013-12-18 Andreas Schwab <schwab@suse.de>
19200
19201 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19202 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19203 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19204 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19205 * sysdeps/i386/i686/multiarch/Makefile: Update.
19206 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19207
25de95bf
JM
192082013-12-17 Joseph Myers <joseph@codesourcery.com>
19209
19210 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19211 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19212
674762d9
PE
192132013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19214
ed27ed83 19215 [BZ #15968]
0748546f
PE
19216 Support TZ transition times < 00:00:00.
19217 This is needed for version-3 tz-format files; it supports time
19218 stamps past 2037 for America/Godthab (the only entry in the tz
19219 database for which this change is relevant).
19220 * manual/time.texi (TZ Variable): Document transition times
19221 from -167:59:59 through -00:00:01.
19222 * time/tzset.c (tz_rule): Time of day is now signed.
19223 (__tzset_parse_tz): Parse negative time of day.
19224
4480e934
PE
19225 Document TZ transition times >= 25:00:00.
19226 * manual/time.texi (TZ Variable): Document transition times from
19227 25:00:00 through 167:59:59. These are already supported, and this
19228 support will help with version-3 tz-format files.
19229
69947401
PE
19230 * manual/time.texi (TZ Variable): Modernize North America example
19231 to reflect current (i.e., 2007-and-later) daylight saving rules.
19232
674762d9
PE
19233 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19234
7011c262
JM
192352013-12-17 Joseph Myers <joseph@codesourcery.com>
19236
2fc6557e
JM
19237 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19238 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19240 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19241 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19242 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19243 * sysdeps/unix/bsd/clock.c: Likewise.
19244 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19245 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19246 * sysdeps/unix/bsd/init-posix.c: Likewise.
19247 * sysdeps/unix/bsd/poll.c: Likewise.
19248 * sysdeps/unix/bsd/ptsname.c: Likewise.
19249 * sysdeps/unix/bsd/seekdir.c: Likewise.
19250 * sysdeps/unix/bsd/setegid.c: Likewise.
19251 * sysdeps/unix/bsd/seteuid.c: Likewise.
19252 * sysdeps/unix/bsd/setgid.c: Likewise.
19253 * sysdeps/unix/bsd/setrgid.c: Likewise.
19254 * sysdeps/unix/bsd/setruid.c: Likewise.
19255 * sysdeps/unix/bsd/setsid.c: Likewise.
19256 * sysdeps/unix/bsd/setuid.c: Likewise.
19257 * sysdeps/unix/bsd/sigaction.c: Likewise.
19258 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19259 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19260 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19261 * sysdeps/unix/bsd/telldir.c: Likewise.
19262 * sysdeps/unix/bsd/times.c: Likewise.
19263 * sysdeps/unix/bsd/usleep.c: Likewise.
19264
029c7b25
JM
19265 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19266 ($(objpfx)libbsd-compat.a): Remove rule.
19267
7011c262
JM
19268 * include/features.h (__FAVOR_BSD): Do not define.
19269 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19270 features conflicting with POSIX.
19271 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19272 (_BSD_SOURCE): Remove description of not being a subset of other
19273 feature test macros.
19274 * manual/job.texi (getpgrp): Do not document BSD version.
19275 (getpgid): Do not document by reference to BSD getpgrp.
19276 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19277 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19278 * signal/signal.h [__FAVOR_BSD]: Likewise.
19279 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19280 instead of making contents conditional on [__FAVOR_BSD].
19281 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19282
affb6f78
AZ
192832013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19284
19285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19286
c88769dd
JM
192872013-12-17 Joseph Myers <joseph@codesourcery.com>
19288
6432a540
JM
19289 [BZ #16314]
19290 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19291 values below 2**-450, not 2**-500.
19292 * math/auto-libm-test-in: Don't allow spurious underflow from
19293 hypot.
19294 * math/auto-libm-test-out: Regenerated.
19295
c88769dd
JM
19296 [BZ #16316]
19297 [BZ #16330]
19298 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19299 values of ha and hb and sort them after adjusting subnormal
19300 arguments.
19301 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19302 Likewise.
19303 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19304 values of ea and eb and sort them after adjusting subnormal
19305 arguments.
19306 * math/auto-libm-test-in: Do not expect some hypot tests of
19307 subnormals to fail. Add more hypot tests.
19308 * math/auto-libm-test-out: Regenerated.
19309
29618f6b
KK
193102013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19311
19312 [BZ #13304]
19313 * sysdeps/sh/s_fma.c: New file.
19314 * sysdeps/sh/s_fmaf.c: New file.
19315 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19316 version.
19317 * sysdeps/sh/Implies: Add sh/soft-fp.
19318
eacfdfbf
RM
193192013-12-16 Roland McGrath <roland@hack.frob.com>
19320
19321 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19322 level of indirection to members `objname', `errstring', `malloced'.
19323 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19324 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19325 it as the __longjmp argument (just pass 1 instead).
19326 (_dl_catch_error): Initialize C with argument pointers and address of
19327 volatile local ERRCODE rather than copying values out of C at return.
19328
ff362e5b
JM
193292013-12-16 Joseph Myers <joseph@codesourcery.com>
19330
19331 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19332 * math/auto-libm-test-out: Regenerated.
19333 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19334 (hypot_test_data): Likewise.
19335 (pow_test_data): Likewise.
19336 (pow_tonearest_test_data): Likewise.
19337 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19338 mpfr_ff_f.
19339 (func_calc_desc): Add mpfr_ff_f union field.
19340 (FUNC_mpfr_ff_f): New macro.
19341 (test_functions): Add atan2, hypot and pow.
19342 (special_fill_min): New function.
19343 (special_fill_minus_min): Likewise.
19344 (special_fill_min_subnorm): Likewise.
19345 (special_fill_minus_min_subnorm): Likewise.
19346 (special_real_inputs): Add min, -min, min_subnorm and
19347 -min_subnorm.
19348 (calc_generic_results): Handle mpfr_ff_f.
19349 * sysdeps/i386/fpu/libm-test-ulps: Update.
19350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19351
5764c27f
WN
193522013-12-16 Will Newton <will.newton@linaro.org>
19353
19354 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19355 (Aligned Memory Blocks): Add documentation for aligned_alloc
19356 and suggest it as an alternative to posix_memalign.
19357 (Hooks for Malloc): Document __memalign_hook is also called
19358 for aligned_alloc. (Summary of Malloc): Add summary for
19359 aligned alloc. Document __memalign_hook is also called
19360 for aligned_alloc.
19361
0a096e44
WN
193622013-12-16 Will Newton <will.newton@linaro.org>
19363
19364 * manual/memory.texi (Malloc Examples): Clarify default
19365 alignment documentation. Suggest posix_memalign rather
19366 than memalign or valloc.
19367 (Aligned Memory Blocks): Remove suggestion to use memalign
19368 or valloc. Remove obsolete comment about BSD.
19369 Document memalign errno values and mark the function obsolete.
19370 Document posix_memalign returned error codes. Mark valloc
19371 as obsolete. (Hooks for Malloc): __memalign_hook is also
19372 called for posix_memalign and valloc.
19373 (Summary of Malloc): Add posix_memalign to function summary.
19374 __memalign_hook is also called for posix_memalign and valloc.
19375
8d561986
SP
193762013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19377
19378 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19379 TAYLOR_SIN.
19380 (__sin): Adjust.
19381 (__cos): Likewise.
19382 (sloww): Use mynumber union. Expand ternary operator into
19383 if-else statements.
19384 (cslow): use mynumber union.
19385
73616a74
AM
193862013-12-16 Allan McRae <allan@archlinux.org>
19387
9e8ac24b
AM
19388 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19389 * configure: Regenerated.
19390
6f8e37eb
AM
19391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19392
8894bad3
AM
19393 [BZ #14120]
19394 * configure.ac: Added --enable-maintainer-mode. Check for
19395 autoconf when enabled.
19396 * configure: Regenerated.
19397
73616a74
AM
19398 * nscd/nscd.service: New file.
19399 * nscd/nscd.tmpfiles: New file.
19400
584b18eb
OB
194012013-12-14 Ondřej Bílka <neleai@seznam.cz>
19402
19403 [BZ #12100]
19404 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19405 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19406 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19407 (strstr): Add __strstr_sse2_unaligned ifunc.
19408 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19409 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19410 (strcasestr): Remove __strcasestr_sse42 ifunc.
19411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19414
8a5c7897
KK
194152013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19416
19417 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19418 * sysdeps/sh/bits/fenv.h: ... here.
19419 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19420
fd712ef3
AZ
194212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19422
19423 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19424
42fcb46c
AZ
19425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19426 hypotf multiarch implementations.
19427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19430 multiarch hypot for PPC64.
19431 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19434 multiarch hypotf for PPC64.
19435
83efded4
AZ
19436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19437 modff multiarch implementations.
19438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19441 multiarch modf for PPC64.
19442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19445 multiarch modff for PPC64.
19446
43e246d2
AZ
19447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19448 and logl multiarch implementations.
19449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19452 multiarch logb for PPC64.
19453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19456 multiarch logb for PPC64.
19457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19460 multiarch logb for PPC64.
19461
8fdad123
AZ
19462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19463 isinff multiarch implementation.
19464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19465 file.
19466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19468 multiarch isinf for PPC64.
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19470 file.
19471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19472 multiarch isinff for PPC64.
19473
1481d706
AZ
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19475 finitef multiarch implementation.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19477 file.
19478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19480 multiarch finite for PPC64.
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19482 file.
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19484 multiarch finitef for PPC64.
19485
5ccd5fc8
AZ
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19487 lrint multiarch implementation.
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19489 file.
19490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19492 multiarch llrint for PPC64.
19493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19494 multiarch lrint for PPC64.
19495
2568f3fa
AZ
19496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19497 copysignf multiarch implementation.
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19499 file.
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19501 file.
19502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19503 multiarch copysign for PPC64.
19504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19505 multiarch copysignf for PPC64.
19506
1cb341fd
AZ
19507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19508 multiarch implementation.
19509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19510 file.
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19512 file.
19513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19514 file.
19515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19516 file.
19517 multiarch llround for PPC64.
19518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19519 multiarch trunc for PPC64.
19520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19521 multiarch truncf for PPC64.
19522
59a3e194
AZ
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19524 multiarch implementation.
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19526 file.
19527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19528 file.
19529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19530 file.
19531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19532 file.
19533 multiarch llround for PPC64.
19534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19535 multiarch round for PPC64.
19536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19537 multiarch roundf for PPC64.
19538
357fd3b4
AZ
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19540 multiarch implementation.
19541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19542 file.
19543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19544 file.
19545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19546 file.
19547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19548 file.
19549 multiarch llround for PPC64.
19550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19551 multiarch floor for PPC64.
19552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19553 multiarch floorf for PPC64.
19554
96770f12
AZ
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19556 multiarch implementation.
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19558 file.
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19560 file.
19561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19562 file.
19563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19564 file.
19565 multiarch llround for PPC64.
19566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19567 multiarch ceil for PPC64.
19568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19569 multiarch ceilf for PPC64.
19570
c3627f6e
AZ
19571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19572 multiarch implementation.
19573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19574 file.
19575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19576 file.
19577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19578 file.
19579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19580 multiarch llround for PPC64.
19581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19582 multiarch lround for PPC64.
19583
b2284ad7
AZ
19584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19585 multiarch implementation.
19586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19589 file.
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19593 multiarch isnan for PPC64.
19594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19595 multiarch isnanf for PPC64.
19596
69bbc63d
AZ
19597 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19598 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19599 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19600 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19601 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19603
c24517c9
AZ
19604 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19605 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19608
a52374e8
AZ
19609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19610 multiarch implementations.
19611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19612 (__libc_ifunc_impl_list): Likewise.
19613 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19614 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19615 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19616 multiarch stpcpy for PPC64.
19617
7f5ec113
AZ
19618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19619 multiarch implementations.
19620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19621 (__libc_ifunc_impl_list): Likewise.
19622 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19623 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19624 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19625 multiarch strcpy for PPC64.
19626
e28bcd42
AZ
19627 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19628 redefine function name.
19629 (_wordcopy_fwd_dest_aligned): Likewise.
19630 (_wordcopy_bwd_aligned): Likewise.
19631 (_wordcopy_bwd_dest_aligned): Likewise.
19632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19633 multiarch implementations.
19634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19635 (__libc_ifunc_impl_list): Likewise.
19636 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19637 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19638 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19639 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19640 multiarch wcscpy for PPC64.
19641
92cacfce
AZ
19642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19643 multiarch implementations.
19644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19645 (__libc_ifunc_impl_list): Likewise.
19646 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19647 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19648 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19649 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19650 multiarch wcscpy for PPC64.
19651
7b714620
AZ
19652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19653 multiarch implementations.
19654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19655 (__libc_ifunc_impl_list): Likewise.
19656 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19657 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19658 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19659 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19660 multiarch wcsrchr for PPC64.
19661
16fd2ae3
AZ
19662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19663 multiarch implementations.
19664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19665 (__libc_ifunc_impl_list): Likewise.
19666 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19667 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19668 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19669 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19670 multiarch wcschr for PPC64.
19671
9ee2969b
AZ
19672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19673 multiarch implementations.
19674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19675 (__libc_ifunc_impl_list): Likewise.
19676 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19677 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19678 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19679 multiarch strchrnul for PPC64.
19680
372dc060
AZ
19681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19682 implementations.
19683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19684 (__libc_ifunc_impl_list): Likewise.
19685 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19686 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19687 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19688 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19689 strchr for PPC64.
19690
24c2c3b9
AZ
19691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19692 implementations.
19693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19694 (__libc_ifunc_impl_list): Likewise.
19695 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19696 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19697 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19698 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19699 strncmp for PPC64.
19700
1c92d9a0
AZ
19701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19702 multiarch implementations.
19703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19704 (__libc_ifunc_impl_list): Likewise.
19705 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19706 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19707 strncasecmp for PPC64.
19708 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19709 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19710 multiarch strncasecmp_l for PPC64.
19711
17de3ee3
AZ
19712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19713 multiarch implementations.
19714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19715 (__libc_ifunc_impl_list): Likewise.
19716 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19718 multiarch strcasecmp for PPC64.
19719 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19720 file.
19721 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19722 multiarch strcasecmp_l for PPC64.
19723
62982bf9
AZ
19724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19725 implementations.
19726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19727 (__libc_ifunc_impl_list): Likewise.
19728 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19729 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19730 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19731 strnlen for PPC64.
19732
a65f4904
AZ
19733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19734 implementations.
19735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19736 (__libc_ifunc_impl_list): Likewise.
19737 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19738 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19739 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19740 strlen for PPC64.
19741
1fd005ad
AZ
19742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19743 implementations.
19744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19745 (__libc_ifunc_impl_list): Likewise.
19746 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19747 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19748 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19749 rawmemrchr for PPC64.
19750
cd05ba91
AZ
19751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19752 implementation.
19753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19754 (__libc_ifunc_impl_list): Likewise.
19755 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19756 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19757 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19758 memrchr for PPC64.
19759
870f8676
AZ
19760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19761 implementation.
19762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19763 (__libc_ifunc_impl_list): Likewise.
19764 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19765 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19766 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19767 memchr for PPC64.
19768
f00be62b
AZ
19769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19770 implementation.
19771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19772 (__libc_ifunc_impl_list): Likewise.
19773 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19774 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19775 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19776 mempcpy for PPC64.
19777
8a29a3d0
AZ
19778 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19779 avoid cretion of __bzero symbol.
19780 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19781 Likewise.
19782 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19783 Likewise.
19784 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19785 Likewise.
19786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19787 multiarch implementations.
19788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19789 (__libc_ifunc_impl_list): Likewise.
19790 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19791 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19792 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19793 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19794 bzero for PPC32.
19795 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19796 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19797 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19798 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19799 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19800 memset for PPC64.
19801 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19802
07253fcf
AZ
19803 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19805 implementations.
19806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19807 (__libc_ifunc_impl_list): Likewise.
19808 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19809 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19810 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19811 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19812 memcmp for PPC64.
19813
b5beafbc
AZ
19814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19815 multiarch for POWER/PPC64.
19816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19817 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19822 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19824 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19825 memcpy for PPC64.
19826
5e6a4d4b
AZ
19827 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19828 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19829 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19830 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19831 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19832 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19833 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19834 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19835 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19836 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19837 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19838 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19839 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19840 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19841 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19849
ddfab6dc
KK
198502013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19851
19852 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19853
19b5525e
SP
198542013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19855
19856 * benchtests/Makefile (bench): Add exp2 and log2.
19857 (LDLIBS-bench-exp2): Add -lm.
19858 (LDLIBS-bench-log2): Likewise.
19859 * benchtests/exp2-inputs: New inputs file.
19860 * benchtests/log2-inputs: New inputs file.
19861 * benchtests/log-inputs: Add new inputs.
19862 * benchtests/tan-inputs: Likewise.
19863
196f7f5d
SP
198642013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19865
7a74607f
SP
19866 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19867 definition...
57f41c40
AS
19868 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19869 (csloww2): ... from here.
7a74607f 19870
196f7f5d
SP
19871 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19872 instead of structures.
19873 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19874 (POLYNOMIAL): Likewise.
19875 (TAYLOR_SLOW): Likewise.
19876 (__sin): Likewise.
19877 (__cos): Likewise.
19878 (slow1): Likewise.
19879 (slow2): Likewise.
19880 (sloww): Likewise.
19881 (sloww1); Likewise.
19882 (sloww2): Likewise.
19883 (bsloww1): Likewise.
19884 (bsloww2): Likewise.
19885 (cslow2): Likewise.
19886 (csloww): Likewise.
19887 (csloww1): Likewise.
19888 (csloww2): Likewise.
19889
0dfa665c
OB
198902013-12-10 Ondřej Bílka <neleai@seznam.cz>
19891
19892 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19893 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19894 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19895 * malloc/hooks.c (realloc_check): Likewise.
19896
5782a80f
OB
19897 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19898 * malloc/arena.c: Remove PER_THREAD conditional.
19899 [!PER_THREAD]: Remove code.
19900 (ptmalloc_unlock_all2): Likewise.
19901 (ptmalloc_init): Likewise.
19902 (_int_new_arena): Likewise.
19903 (arena_get2): Likewise.
19904 * malloc/hooks.c (__malloc_get_state): Likewise.
19905 (__malloc_set_state): Likewise.
19906 * malloc/malloc.c: Likewise.
19907 (struct malloc_state): Likewise.
19908 (struct malloc_par): Likewise.
19909 (__libc_realloc): Likewise.
19910 (__libc_mallopt): Likewise.
19911
aeb95445
AZ
199122013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19913
19914 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19915
e8349efd
OB
199162013-12-09 Ondřej Bílka <neleai@seznam.cz>
19917
19918 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19919 macro to a function. Check for zero perturb_byte.
19920 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19921
f3eeb3fc 19922 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19923 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19924 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19925 force_reg by atomic_forced_read.
19926 * malloc/arena.c (ptmalloc_init): Likewise.
19927 * malloc/hooks.c (top_check): Likewise.
19928
be2f9009
AZ
199292013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19930
19931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19932
e7b914bd
MT
199332013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19934
19935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19936
9f0be4f8
JM
199372013-12-08 Joseph Myers <joseph@codesourcery.com>
19938
19939 * math/auto-libm-test-in: Add tests of lgamma.
19940 * math/auto-libm-test-out: Regenerated.
19941 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19942 (M_LOG_2_SQRT_PIl): Likewise.
19943 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19945 mpfr_f_f1.
19946 (func_calc_desc): Add mpfr_f_f1 union field.
19947 (ARGS1): New macro.
19948 (ARGS2): Likewise.
19949 (ARGS3): Likewise.
19950 (ARGS4): Likewise.
19951 (RET1): Likewise.
19952 (RET2): Likewise.
19953 (CALC): Likewise.
19954 (FUNC): Likewise.
19955 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19956 (test_functions): Add lgamma.
19957 (calc_generic_results): Handle mpfr_f_f1.
19958 * sysdeps/i386/fpu/libm-test-ulps: Update.
19959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19960
24eeafdb
AZ
199612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19962
19963 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19964 __mpn_add_n for PowerPC64/POWER7.
19965 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19966 __mpn_sub_n for PowerPC64/POWER7.
19967
4a2c0fd4
AZ
19968 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19969 __mpn_addmul_1 for PowerPC64.
19970 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19971 __mpn_submul_1 for PowerPC64.
19972 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19973 for PowerPC64.
19974 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19975 for PowerPC64.
19976
4b5b548c
FS
199772013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19978
19979 [BZ #15089]
19980 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19981
0a3ac0aa
AZ
199822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19983
19984 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19985
ccdc8438
AZ
19986 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19987 add multiarch folders.
19988 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19989 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19990 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19991 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19992 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19993 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19994 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19995 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19996 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19997 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19998 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20005
2e973d99
AZ
20006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20007 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20009 New file.
20010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20011 New file.
20012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20013 multiarch __ieee754_hypot for PowerPC32.
20014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20015 New file.
20016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20017 New file.
20018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20019 multiarch __ieee754_hypotf for PowerPC32.
20020
2d9470b2
AZ
20021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20022 long_double_symbol only if __logbl is defined.
20023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20024 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20026 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20028 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20029 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20030 path for implementation.
20031 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20034 logb, and logbl multiarch implementations for PowerPC32.
20035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20036 file.
20037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20038 file.
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20040 multiarch logb for PowerPC32.
20041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20042 file.
20043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20044 file.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20046 multiarch logbf for PowerPC32.
20047 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20049 file.
20050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20051 multiarch logbl implementation for PowerPC32.
20052
5212ffce
AZ
20053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20054 and modff multiarch implementations.
20055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20056 New file.
20057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20058 New file.
20059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20060 multiarch modf for PowerPC32.
20061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20062 New file.
20063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20064 New file.
20065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20066 multiarch modff for PowerPC32.
20067
79dccf31
AZ
20068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20069 and lrintf multiarch implementations.
20070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20071 New file.
20072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20073 New file.
20074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20075 multiarch lrint for PowerPC32.
20076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20077 file: multiarch lrintf for PowerPC32.
20078
deb66480
AZ
20079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20080 and lroundf multiarch implementations.
20081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20082 New file.
20083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20084 New file.
20085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20086 New file.
20087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20088 multiarch lround for PowerPC32.
20089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20090 file: multiarch lroundf for PowerPC32.
20091
264b036b
AZ
20092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20093 copysign and copysignf multiarch implementations.
20094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20095 New file.
20096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20097 New file.
20098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20099 file: multiarch copysign for PowerPC32.
20100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20101 file: multiarch copysignf for PowerPC32.
20102
d47db6c9
AZ
20103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20104 and truncf multiarch implementations.
20105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20106 New file.
20107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20108 file.
20109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20110 multiarch trunc for PowerPC32.
20111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20112 New file.
20113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20114 New file.
20115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20116 multiarch truncf for PowerPC32.
20117
ddb60b5a
AZ
20118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20119 and roundf multiarch implementations.
20120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20121 New file.
20122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20123 file.
20124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20125 multiarch round for PowerPC32.
20126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20127 New file.
20128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20129 New file.
20130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20131 multiarch roundf for PowerPC32.
20132
bedcf49b
AZ
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20134 and floorf multiarch implementations.
20135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20136 New file.
20137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20138 file.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20140 multiarch floor for PowerPC32.
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20142 New file.
20143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20144 New file.
20145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20146 multiarch floorf for PowerPC32.
20147
35ae5b40
AZ
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20149 and ceilf multiarch implementations.
20150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20151 New file.
20152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20153 file.
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20155 multiarch ceil for PowerPC32.
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20157 New file.
20158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20159 file.
20160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20161 multiarch ceilf for PowerPC32.
20162
ae1a4cd9
AZ
20163 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20164 is defined.
20165 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20166 FINITEF is defined.
20167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20168 and finitef multiarch implementations.
20169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20170 New file.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20172 file.
20173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20174 multiarch finite for PowerPC32.
20175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20176 New file.
20177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20178 file: multiarch finitef for PowerPC32.
20179
64fffd65
AZ
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20181 and isinff multiarch implementations.
20182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20183 file.
20184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20185 file.
20186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20187 multiarch isinf for PowerPC32.
20188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20189 New file.
20190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20191 multiarch isinff for PowerPC32.
20192
8e4e7ba2
AZ
20193 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20194 alias when __isnan is defined.
20195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20196 and isnanf multiarch implementations.
20197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20198 file.
20199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20200 file.
20201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20202 file.
20203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20204 file.
20205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20206 multiarch isnan for PowerPC32.
20207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20208 New file.
20209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20210 New file.
20211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20212 multiarch isnanf for PowerPC32.
20213
ddba588e
AZ
20214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20215 and sqrtf multiarch implementations.
20216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20217 file.
20218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20219 file.
20220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20221 multiarch sqrt for PowerPC32.
20222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20223 file.
20224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20225 file.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20227 multiarch sqrtf for PowerPC32.
20228
0f96a2f0
AZ
20229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20230 and llroundf multiarch implementations.
20231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20232 New file.
20233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20234 New file.
20235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20236 New file.
20237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20238 file: multiarch llround for PowerPC32.
20239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20240 file: multiarch llroundf for PowerPC32.
20241
c9b5d79e
AZ
20242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20243 multiarch PowerPC32 fpu implementations.
20244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20245 New file.
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20247 New file.
20248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20249 multiarch llrint for PowerPC32.
20250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20251 New file.
20252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20253 New file.
20254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20255 file.
20256
9cbb3aab
AZ
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20258
ea5a72f8
AZ
20259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20260 file.
20261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20262 file.
20263 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20264 file.
20265 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20266 multiarch wordcopy for PPC32.
20267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20268 wordcopy objects.
20269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20270 (__libc_ifunc_impl_list): Likewise.
20271 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20272 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20273 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20274 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20275 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20276 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20277
93be09e7
AZ
20278 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20280 file.
20281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20282 file.
20283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20284 file.
20285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20286 multiarch wcscpy for PPC32.
20287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20288 multiarch objects.
20289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20290 (__libc_ifunc_impl_list): Likewise.
20291 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20292 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20293 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20294 sysdeps/powerpc/power6/wcscpy.c.
20295
bb04e529
AZ
20296 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20298 file.
20299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20300 file.
20301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20302 file.
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20304 multiarch wcsrchr for PPC32.
20305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20306 multiarch objects.
20307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20308 (__libc_ifunc_impl_list): Likewise.
20309 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20310 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20311 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20312 sysdeps/powerpc/power6/wcsrchr.c.
20313
05b5cd1c
AZ
20314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20315 file.
20316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20317 file.
20318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20320 multiarch wcschr for PPc32.
20321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20322 multiarch objects.
20323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20324 (__libc_ifunc_impl_list): Likewise.
20325 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20326 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20327 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20328 sysdeps/powerpc/power6/wcschr.c.
20329
ba964147
AZ
20330 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20331 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20332 file.
20333 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20334 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20335 file: multiarch strchr for PPC32.
20336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20337 multiarch objects.
20338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20339 (__libc_ifunc_impl_list): Likewise.
20340
31c81aaa
AZ
20341 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20342 name.
20343 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20344 file.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20346 file.
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20348 multiarch strchrnul for PPC32.
20349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20350 multiarch objects.
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20352 (__libc_ifunc_impl_list): Likewise.
20353
0d0607d9
AZ
20354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20355 file.
20356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20357 multiarch strncasecmp for PPC32.
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20359 file.
20360 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20361 multiarch strncasecmp_l for PPC32.
20362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20363 strncasecmp multiarch objects.
20364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20365 (__libc_ifunc_impl_list): Likewise.
20366
4dfd5c86
AZ
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20368 file.
20369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20370 multiarch strncasecmp for PPC32.
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20372 New file.
20373 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20374 multiarch strcasecmp_l for PPC32.
20375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20376 multiarch objects.
20377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20378 (__libc_ifunc_impl_list): Likewise.
20379
a19e01a3
AZ
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20381 file.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20383 file.
20384 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20385 multiarch strncmp for PPC32.
20386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20387 multiarch objects.
20388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20389 (__libc_ifunc_impl_list): Likewise.
20390
ae9cf7a2
AZ
20391 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20392 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20393 file.
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20395 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20397 multiarch objects.
20398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20399 (__libc_ifunc_impl_list): Likewise.
20400
3148bb7d
AZ
20401 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20402 file.
20403 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20404 file.
20405 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20407 multiarch objects.
20408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20409 (__libc_ifunc_impl_list): Likewise.
20410
7af8b946
AZ
20411 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20412 file.
20413 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20414 file.
20415 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20416 multiarch rawmemchr for PPC32.
20417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20418 multiarch objects.
20419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20420 (__libc_ifunc_impl_list): Likewise.
20421
03a6aa6a
AZ
20422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20423 file.
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20425 file.
20426 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20427 file: memrchr multiarch for PPC32.
20428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20429 multiarch objects.
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20431 (__libc_ifunc_impl_list): Likewise.
20432
1c62e6d9
AZ
20433 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20434 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20435 file.
20436 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20437 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20438 multiarch memchr for PPC32.
20439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20440 multiarch objects.
20441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20442 (__libc_ifunc_impl_list): Likewise.
20443
87da8bdb
AZ
20444 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20446 file.
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20448 file.
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20450 file: multiarch mempcpy for PPC32.
20451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20452 multiarch objects.
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20454 (__libc_ifunc_impl_list): Likewise.
20455
20ed4714
AZ
20456 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20458 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20460 multiarch bzero for PPC32.
20461 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20462 file.
20463 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20464 file.
20465 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20466 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20467 file: multiarch memset for PPC32.
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20470 memset multiarch objects.
20471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20472 (__libc_ifunc_impl_list): Likewise.
20473
ab3e3a46
AZ
20474 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20475 file.
20476 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20477 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20478 memcmp for PPC32.
20479 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20481 multiarch objects.
20482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20483 (__libc_ifunc_impl_list): Likewise.
20484
930de6f0
AZ
20485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20488 file.
20489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20490 file.
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20492 file.
20493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20494 multiarch memcpy for PPC32.
20495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20496 multiarch objects.
20497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20498 (__libc_ifunc_impl_list): Likewise.
20499
4c628e00
AZ
20500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20501 support multiarch for POWER/PPC32.
20502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20503 Likewise.
20504 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20506 Implies file to make multiarch folder appers before the fpu and
20507 default folder for power4 configuration.
20508
f4479220
SP
205092013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20510
20511 * scripts/bench.pl: Append volatile keyword to type.
20512
8517800f
KK
205132013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20514
20515 * sysdeps/sh/sotruss-lib.c: New file.
20516 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20517
180138f1
AZ
205182013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20519
20520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20521
bbf37bdc
JM
205222013-12-05 Joseph Myers <joseph@codesourcery.com>
20523
e47cc4e0
JM
20524 [BZ #6810]
20525 * math/w_tgamma.c: Include <errno.h>.
20526 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20527 * math/w_tgammaf.c: Include <errno.h>.
20528 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20529 * math/w_tgammal.c: Include <errno.h>.
20530 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20531 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20532 underflow. Add more tgamma tests.
20533 * math/auto-libm-test-out: Regenerated.
20534 * sysdeps/i386/fpu/libm-test-ulps: Update.
20535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20536
bbf37bdc
JM
20537 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20538 sin, sinh, tan, tanh, tgamma, y0 and y1.
20539 * math/auto-libm-test-out: Regenerated.
20540 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20541 (TEST_COND_x86): Likewise.
20542 (M_E2l): Remove macro.
20543 (M_E3l): Likewise.
20544 (M_2_SQRT_PIl): Likewise.
20545 (M_SQRT_PIl): Likewise.
20546 (M_1_DIV_El): Likewise.
20547 (log_test_data): Use AUTO_TESTS_f_f.
20548 (log10_test_data): Likewise.
20549 (log1p_test_data): Likewise.
20550 (log2_test_data): Likewise.
20551 (sin_test_data): Likewise.
20552 (sin_tonearest_test_data): Likewise.
20553 (sin_towardzero_test_data): Likewise.
20554 (sin_downward_test_data): Likewise.
20555 (sin_upward_test_data): Likewise.
20556 (sinh_test_data): Likewise.
20557 (sinh_tonearest_test_data): Likewise.
20558 (sinh_towardzero_test_data): Likewise.
20559 (sinh_downward_test_data): Likewise.
20560 (sinh_upward_test_data): Likewise.
20561 (tan_test_data): Likewise.
20562 (tan_tonearest_test_data): Likewise.
20563 (tan_towardzero_test_data): Likewise.
20564 (tan_downward_test_data): Likewise.
20565 (tan_upward_test_data): Likewise.
20566 (tanh_test_data): Likewise.
20567 (tgamma_test_data): Likewise.
20568 (y0_test_data): Likewise.
20569 (y1_test_data): Likewise.
20570 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20571 (special_real_inputs): Add pi/4.
20572 * sysdeps/i386/fpu/libm-test-ulps: Update.
20573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20574
eb5ad6b9
AZ
205752013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20576
20577 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20578 "longjmp_target" static probes.
20579 (__longjmp): Rename to __longjmp_symbol.
20580 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20581 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20582 on which longjmp to generate.
20583 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20584 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20585 probe.
20586 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20587 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20588 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20590 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20591 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20593 __longjmp_symbol based on which __longjmp to generate.
20594 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20595 probe.
20596 (setjmp): Rename to setjmp_symbol.
20597 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20598 (_setjmp): Rename to _setjmp_symbol.
20599 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20600 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20601 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20602 which setjmp to generate.
20603 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20604 "longjmp_target" static probes.
20605
d136c6dc
SP
206062013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20607
9298ecba
SP
20608 * benchtests/README: Add note about output arguments.
20609 * benchtests/bench-sincos.c: Remove file.
20610 * benchtests/sincos-inputs: New file.
20611 * scripts/bench.pl: Identify output arguments and define
20612 static variables for them.
20613
232983e9
SP
20614 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20615
d136c6dc
SP
20616 [BZ #15941]
20617 * Makefile (INSTALL): Add install-plain.texi as the primary
20618 dependency.
20619 * manual/install-plain.texi: New file.
20620 * manual/install.texi: Include node directive only for
20621 non-plaintext output.
20622
699ff837
JM
206232013-12-04 Joseph Myers <joseph@codesourcery.com>
20624
ab07cea8
JM
20625 * stdlib/longlong.h: Update from GCC.
20626
699ff837
JM
20627 [BZ #6807]
20628 [BZ #15901]
20629 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20630 * math/w_j0f.c (y0f): Likewise.
20631 * math/w_j0l.c (__y0l): Likewise.
20632 * math/w_j1.c (y1): Likewise.
20633 * math/w_j1f.c (y1f): Likewise.
20634 * math/w_j1l.c (__y1l): Likewise
20635 * math/w_jn.c (yn): Likewise.
20636 * math/w_jnf.c (ynf): Likewise.
20637 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20638 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20639 value for Bessel function domain errors outside _SVID_ mode.
20640 Adjust sign of return value for yn (negative integer, 0).
20641 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20642 by zero in return for negative x and set sign appropriately for
20643 negative n.
20644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20645 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20646 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20647 expectations in error cases.
20648 (y1_test_data): Likewise.
20649 (yn_test_data): Likewise.
20650 * sysdeps/i386/fpu/libm-test-ulps: Update.
20651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20652
5b118558
UW
206532013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20654
20655 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20656 "64" to "64-v1". Add "64-v2".
20657 (abi-64-options): Rename to ...
20658 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20659 (abi-64-condition): Rename to ...
20660 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20661 (abi-64-ld-soname): Rename to ...
20662 (abi-64-v1-ld-soname): ... this.
20663 (abi-64-v2-options): Define.
20664 (abi-64-v2-condition): Likewise.
20665 (abi-64-v2-ld-soname): Likewise.
20666 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20667 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20671
61cd8fe4
UW
206722013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20673 Alan Modra <amodra@gmail.com>
20674
20675 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20676 New versions for use with the ELFv2 ABI.
20677 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20678 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20679 declaration.
20680 (struct La_ppc64v2_retval): Likewise.
20681 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20682 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20683 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20684 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20685 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20686 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20687 Do not save or restore CR.
20688 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20689 (_dl_profile_resolve): Do no save or restore CR. Support extended
20690 return values for ELFv2 ABI. Fix location of FPR return registers.
20691 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20692 updated values for _CALL_ELF == 2.
20693 (La_regs, La_retval, int_retval): Likewise.
20694
8b8a692c
UW
206952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20696
20697 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20698 (FRAME_MIN_SIZE_PARM): Likewise.
20699 (FRAME_BACKCHAIN): Likewise.
20700 (FRAME_CR_SAVE): Likewise.
20701 (FRAME_LR_SAVE): Likewise.
20702 (FRAME_TOC_SAVE): Likewise.
20703 (FRAME_PARM_SAVE): Likewise.
20704 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20705 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20706 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20707 (call_mcount_parm_offset): New macro.
20708 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20709 (PROF): Use symbolic stack frame offsets.
20710 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20712 Redefine in terms of FRAME_MIN_SIZE.
20713 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20714 (_dl_profile_resolve): Likewise. Update comment.
20715 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20716 symbols stack frame offsets.
20717 (__sigsetjmp): Likewise.
20718 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20719 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20720 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20721 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20722
20723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20724 (FRAME_BACKCHAIN): Remove.
20725 (FRAME_CR_SAVE): Likewise.
20726 (FRAME_LR_SAVE): Likewise.
20727 (FRAME_COMPILER_DW): Likewise.
20728 (FRAME_LINKER_DW): Likewise.
20729 (FRAME_TOC_SAVE): Likewise.
20730 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20731 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20732 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20733 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20735 (CHECK_SP): Use symbolic stack frame offsets.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20737 zone" instead of caller's parameter save area for temp storage.
20738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20739 Likewise. Also, use symbolic stack frame offsets.
20740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20741 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20742 our own stack frame instead of the caller's.
20743 (__socket): Use symbolic stack frame offsets.
20744
122b66de
UW
207452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20746 Alan Modra <amodra@gmail.com>
20747
20748 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20749 Define.
57f41c40
AS
20750 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20751 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20752 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20753 New function.
20754 (elf_machine_fixup_plt): Call it.
20755 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20756 reloc arguments.
20757 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20758 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20759 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20760 r2 before calling target.
20761
696caf1d
UW
207622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20763 Alan Modra <amodra@gmail.com>
20764
20765 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20766 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20767 versions of macros to support ELFv2 ABI.
20768 (LOCALENTRY): New macro.
20769 (ENTRY, EALIGN): Use it.
20770 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20771 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20772 fall through into ENTRY entry point.
20773 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20774 Only define if _CALL_ELF != 2.
20775
20776 (elf_machine_matches_host): Verify ABI version matches.
20777 (RTLD_START): Use LOCALENTRY.
20778 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20779 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20780 (PLT_ENTRY_WORDS): New macro.
20781 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20782 (elf_machine_runtime_setup): Support ELFv2 ABI.
20783 (elf_machine_fixup_plt): Likewise.
20784 (elf_machine_plt_conflict): Likewise.
20785 (resolve_ifunc): Likewise.
20786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20788 Likewise.
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20790 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20792 (makecontext): Support ELFv2 ABI.
20793 * elf/elf.h (EF_PPC64_ABI): Define.
20794
d31beafa
UW
207952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20796
57f41c40
AS
20797 * sysdeps/powerpc/powerpc64/sysdep.h
20798 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20799 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20800 (ENTRY) [ASSEMBLER]: ... but instead here ...
20801 (EALIGN) [ASSEMBLER]: ... and here.
20802 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20803 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20804 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20805 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20806 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20807 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20808 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20809 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20811 Use PPC64_LOAD_FUNCPTR.
20812
b525166b
UW
20813 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20814
7ec07d9a
AM
208152013-12-04 Alan Modra <amodra@gmail.com>
20816
20817 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20818 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20819 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20820 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20821
20822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20823 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20824 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20825 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20826 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20827 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20828
5162e7dd
UW
208292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20830
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20832 (__makecontext): Fix incorrect CFI when backtracing out of
20833 context created via makecontext.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20835 (__setcontext): Fix incorrect CFI during switch to new context.
20836 (__novec_setcontext): Likewise.
20837
19e3372b
OB
208382013-12-04 Ondřej Bílka <neleai@seznam.cz>
20839
20840 [BZ #4772]
20841 * time/strptime_l.c (__strptime_internal): Allow modifiers
20842 in strptime.
20843 * time/tst-strptime.c (day_tests): Add testcase.
20844
ecaf142d
SP
208452013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20846
20847 * scripts/bench.pl: Skip over blank lines.
20848
fbf964ae
PE
208492013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20850
20851 [BZ #926]
20852 * manual/time.texi (Calendar Time): Clarify what timezone functions
20853 use.
20854
fa60a674
AZ
208552013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20856
20857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20858
d674f0ef
OB
208592013-12-04 Ondřej Bílka <neleai@seznam.cz>
20860
20861 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20862 implementation.
20863 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20864 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20865 * debug/memset_chk.c (__memset_chk): Likewise.
20866 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20867 * debug/strncpy_chk.c: Likewise.
20868
17dea188
JM
208692013-12-03 Joseph Myers <joseph@codesourcery.com>
20870
749008ff
JM
20871 [BZ #15268]
20872 [BZ #15425]
20873 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20874 (__ieee754_exp): For possibly underflowing results, check size of
20875 result and force underflow exception if required.
20876 * math/auto-libm-test-in: Add more tests of exp.
20877 * math/auto-libm-test-out: Regenerated.
20878 * sysdeps/i386/fpu/libm-test-ulps: Update.
20879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20880
17dea188
JM
20881 [BZ #16283]
20882 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20883 * math/w_exp2f.c (__exp2f): Likewise.
20884 * math/w_exp2l.c (__exp2l): Likewise.
20885 * math/auto-libm-test-in: Do not allow missing errno on exp2
20886 underflow.
20887 * math/auto-libm-test-out: Regenerated.
20888
b20de2c3
OB
208892013-12-03 Ondřej Bílka <neleai@seznam.cz>
20890
20891 [BZ #16274]
20892 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20893 handle filename validation.
20894 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20895 (do_open): Delete.
20896
d8e2dbe3
JM
208972013-12-03 Joseph Myers <joseph@codesourcery.com>
20898
34e16df5
JM
20899 [BZ #6786]
20900 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20901 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20902 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20903 <float.h>.
20904 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20905 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20906 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20907 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20908 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20909 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20910 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20911 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20912 Add more erfc tests.
20913 * math/auto-libm-test-out: Regenerated.
20914 * sysdeps/i386/fpu/libm-test-ulps: Update.
20915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20916
d8e2dbe3
JM
20917 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20918 exp2, expm1, j0 and j1.
20919 * math/auto-libm-test-out: Regenerated.
20920 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20921 (erfc_test_data): Likewise.
20922 (exp_test_data): Likewise.
20923 (exp_tonearest_test_data): Likewise.
20924 (exp_towardzero_test_data): Likewise.
20925 (exp_downward_test_data): Likewise.
20926 (exp_upward_test_data): Likewise.
20927 (exp10_test_data): Likewise.
20928 (exp2_test_data): Likewise.
20929 (expm1_test_data): Likewise.
20930 (j0_test_data): Likewise.
20931 (j1_test_data): Likewise.
20932 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20933 (input_flag_type): Add flag_xfail_rounding.
20934 (input_flags): Add xfail-rounding.
20935 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20936 (output_for_one_input_case): Handle flag_xfail_rounding.
20937 * sysdeps/i386/fpu/libm-test-ulps: Update.
20938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20939
18d14251
AJ
209402013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20941
3d2e6075 20942 [BZ #16289]
18d14251
AJ
20943 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20944 division by 0.
20945
520d437b
SP
209462013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20947
20948 [BZ #16195]
20949 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20950 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20951 (STAP_PROBE0): New macro.
20952 (STAP_PROBE1): Likewise.
20953 (STAP_PROBE2): Likewise.
20954 (STAP_PROBE3): Likewise.
20955 (STAP_PROBE4): Likewise.
20956
416e0145
OB
209572013-12-02 Ondřej Bílka <neleai@seznam.cz>
20958
20959 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20960
9d17796a
SE
209612013-12-02 Steve Ellcey <sellcey@mips.com>
20962
20963 * benchtests/Makefile (bench): Add sqrt.
20964 (LDLIBS-bench-sqrt): New.
20965 * benchtests/sqrt-input: New.
20966
f524d6a8
PS
209672013-12-02 Pavel Simerda <psimerda@redhat.com>
20968
639a0ef8
PS
20969 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20970 (GAIH_EAI): Likewise.
20971 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20972 (gaih_inet): Likewise.
20973 (getaddrinfo): Don't use GAIH_EAI.
20974
f524d6a8
PS
20975 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20976 (struct gaih): Remove definition.
20977
df3aedaf
SP
209782013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20979
20980 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20981 Use HERRNOP directly.
20982
1ab19dec
AZ
209832013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20984
b42ad38d 20985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20986
176b0c79
JM
209872013-11-30 Joseph Myers <joseph@codesourcery.com>
20988
20989 * math/gen-auto-libm-tests.c (test_functions): Add more
20990 single-argument functions.
20991 (special_fill_pi_2): New function.
20992 (special_fill_minus_pi_2): Likewise.
20993 (special_fill_pi_6): Likewise.
20994 (special_fill_minus_pi_6): Likewise.
20995 (special_fill_pi_3): Likewise.
20996 (special_fill_2pi_3): Likewise.
20997 (special_fill_e): Likewise.
20998 (special_fill_1_e): Likewise.
20999 (special_fill_e_minus_1): Likewise.
21000 (special_real_inputs): Add more special inputs.
21001 (output_for_one_input_case): Do not require ERANGE on underflow to
21002 zero if round-to-nearest result does not underflow to zero, unless
21003 exact results required.
21004 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21005 atan, atanh, cbrt, cos and cosh.
21006 * math/auto-libm-test-out: Regenerated.
21007 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21008 (acos_tonearest_test_data): Likewise.
21009 (acos_towardzero_test_data): Likewise.
21010 (acos_downward_test_data): Likewise.
21011 (acos_upward_test_data): Likewise.
21012 (acosh_test_data): Likewise.
21013 (asin_test_data): Likewise.
21014 (asin_tonearest_test_data): Likewise.
21015 (asin_towardzero_test_data): Likewise.
21016 (asin_upward_test_data): Likewise.
21017 (asinh_test_data): Likewise.
21018 (atan_test_data): Likewise.
21019 (atanh_test_data): Likewise.
21020 (cbrt_test_data): Likewise.
21021 (cos_test_data): Likewise.
21022 (cos_tonearest_test_data): Likewise.
21023 (cos_towardzero_test_data): Likewise.
21024 (cos_downward_test_data): Likewise.
21025 (cos_upward_test_data): Likewise.
21026 (cosh_test_data): Likewise.
21027 (cosh_tonearest_test_data): Likewise.
21028 (cosh_towardzero_test_data): Likewise.
21029 (cosh_downward_test_data): Likewise.
21030 (cosh_upward_test_data): Likewise.
21031 * sysdeps/i386/fpu/libm-test-ulps: Update.
21032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21033
ffb536d0
JM
210342013-11-29 Joseph Myers <joseph@codesourcery.com>
21035
2a77a467
JM
21036 [BZ #6787]
21037 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21038 * math/w_exp10f.c (__exp10f): Likewise.
21039 * math/w_exp10l.c (__exp10l): Likewise.
21040 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21041 errno settings in existing tests.
21042
ea3bc4e8
JM
21043 [BZ #14032]
21044 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21045 precision control set to double precision.
21046 * sysdeps/i386/fpu/w_sqrt.c: New file.
21047 * math/auto-libm-test-in: Add more tests.
21048 * math/auto-libm-test-out: Update.
21049
0712c9d8
JM
21050 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21051 (sqrt_test_tonearest): New function.
21052 (sqrt_towardzero_test_data): New variable.
21053 (sqrt_test_towardzero): New function.
21054 (sqrt_downward_test_data): New variable.
21055 (sqrt_test_downward): New function.
21056 (sqrt_upward_test_data): New variable.
21057 (sqrt_test_upward): New function.
21058 (main): Call the new functions.
21059
ffb536d0
JM
21060 * math/gen-auto-libm-tests.c: New file.
21061 * math/auto-libm-test-in: Likewise.
21062 * math/auto-libm-test-out: New generated file.
21063 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21064 variables.
21065 (%beautify): Add generated representations of zero.
21066 (top level): Set $auto_input and call parse_auto_input.
21067 (beautify): Remove trailing "f" from hex float constants.
21068 (parse_args): Handle XFAIL_TEST.
21069 (convert_condition): New function.
21070 (or_value): Likewise.
21071 (or_cond_value): Likewise.
21072 (generate_testfile): Handle AUTO_TESTS_* lines.
21073 (parse_auto_input): New function.
21074 * math/libm-test.inc (XFAIL_TEST): New macro.
21075 (ERRNO_UNCHANGED): Update value.
21076 (ERRNO_EDOM): Likewise.
21077 (ERRNO_ERANGE): Likewise.
21078 (IGNORE_RESULT): Likewise.
21079 (TEST_COND_flt_32): New macro.
21080 (TEST_COND_dbl_64): Likewise.
21081 (TEST_COND_ldbl_96_intel): Likewise.
21082 (TEST_COND_ldbl_96_m68k): Likewise.
21083 (TEST_COND_ldbl_128): Likewise.
21084 (TEST_COND_ldbl_128ibm): Likewise.
21085 (TEST_COND_long32): Likewise.
21086 (TEST_COND_long64): Likewise.
21087 (TEST_COND_before_rounding): Likewise.
21088 (TEST_COND_after_rounding): Likewise.
21089 (enable_test): Handle XFAIL_TEST flag.
21090 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21091 with finite results.
21092 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21093 auto-libm-test-out.
21094
acd98a8e
AK
210952013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21096 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21097
21098 [BZ #16214]
21099 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21100 __tls_get_addr_internal instead of __tls_get_offset in order to
21101 avoid GOT pointer dependency. Make rtld export
21102 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21103 __tls_get_addr since we are a __tls_get_offset platform.
21104 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21105 GOT pointer being set up before.
21106 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21107
3c1c46a6
JM
211082013-11-28 Joseph Myers <joseph@codesourcery.com>
21109
7475aef5
JM
21110 * manual/math.texi (Errors in Math Functions): Document accuracy
21111 goals.
21112
8bca7cd8
JM
21113 [BZ #15004]
21114 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21115 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21116 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21118 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21120 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21129 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21130
91a1f3fe
JM
21131 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21132 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21133 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21134 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21135 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21136 Likewise.
21137 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21138 Likewise.
21139 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21140 Likewise.
21141 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21142 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21143 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21144 atomic-feupdateenv and flt-rounds.
21145 * sysdeps/powerpc/nofpu/Versions (libc): Add
21146 __atomic_feholdexcept, __atomic_feclearexcept,
21147 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21148 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21149 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21150 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21151 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21152 here.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21154 Update.
21155
c5df7609
JM
21156 * manual/arith.texi (FP Exceptions): Document that exceptions may
21157 not be raised when matherr is used.
21158 (Math Error Reporting): Document overflow in directed rounding
21159 modes. Document that errno may not be set when finite values are
21160 returned on overflow. Document intent to set errno on underflow
21161 only for underflow to zero.
21162
3c1c46a6
JM
21163 [BZ #16271]
21164 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21165 round-to-nearest then adjust result for other rounding modes.
21166 * include/fenv.h (fegetround): Use libm_hidden_proto.
21167 * math/fegetround.c (fegetround): Use libm_hidden_def.
21168 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21169 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21170 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21171 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21172 Likewise.
21173 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21174 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21175 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21176 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21177
5a4c6d53
SP
211782013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21179
21180 [BZ #16077]
21181 * nss/Versions (libnss_files): Add
21182 _nss_files_gethostbyname3_r.
21183 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21184 New function.
21185 (HOST_DB_LOOKUP): Remove macro.
21186 (_nss_files_gethostbyname_r): Implement function without the
21187 HOST_DB_LOOKUP macro.
21188 (_nss_files_gethostbyname2_r): Likewise.
21189
897b98ba
OB
211902013-11-28 Ondřej Bílka <neleai@seznam.cz>
21191
21192 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21193
6f476861
UB
211942013-11-26 Uros Bizjak <ubizjak@gmail.com>
21195
21196 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21197 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21198 warning.
21199
bd12ab55
AZ
212002013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21201
21202 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21203 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21204 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21205 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21206 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21207 __fe_nomask_env_priv and attribute_hidden.
21208 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21209 (libc_feupdateenv_test_ppc): Likewise.
21210 (libc_feresetround_ppc): Likewise.
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21212 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21213 compat_symbol macro.
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21215 (__fe_nomask_env): Likewise.
21216 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21217
52bb6543
OB
212182013-11-26 Ondřej Bílka <neleai@seznam.cz>
21219
21220 * string/Makefile: Remove ifunc tests.
21221 * string/test-string.h: Define TEST_IFUNC.
21222 * string/test-bcopy-ifunc.c: Remove.
21223 * string/test-bzero-ifunc.c: Likewise.
21224 * string/test-memccpy-ifunc.c: Likewise.
21225 * string/test-memchr-ifunc.c: Likewise.
21226 * string/test-memcmp-ifunc.c: Likewise.
21227 * string/test-memcpy-ifunc.c: Likewise.
21228 * string/test-memmem-ifunc.c: Likewise.
21229 * string/test-memmove-ifunc.c: Likewise.
21230 * string/test-mempcpy-ifunc.c: Likewise.
21231 * string/test-memrchr-ifunc.c: Likewise.
21232 * string/test-memset-ifunc.c: Likewise.
21233 * string/test-rawmemchr-ifunc.c: Likewise.
21234 * string/test-stpcpy-ifunc.c: Likewise.
21235 * string/test-stpncpy-ifunc.c: Likewise.
21236 * string/test-strcasecmp-ifunc.c: Likewise.
21237 * string/test-strcasestr-ifunc.c: Likewise.
21238 * string/test-strcat-ifunc.c: Likewise.
21239 * string/test-strchr-ifunc.c: Likewise.
21240 * string/test-strchrnul-ifunc.c: Likewise.
21241 * string/test-strcmp-ifunc.c: Likewise.
21242 * string/test-strcpy-ifunc.c: Likewise.
21243 * string/test-strcspn-ifunc.c: Likewise.
21244 * string/test-strlen-ifunc.c: Likewise.
21245 * string/test-strncasecmp-ifunc.c: Likewise.
21246 * string/test-strncat-ifunc.c: Likewise.
21247 * string/test-strncmp-ifunc.c: Likewise.
21248 * string/test-strncpy-ifunc.c: Likewise.
21249 * string/test-strnlen-ifunc.c: Likewise.
21250 * string/test-strpbrk-ifunc.c: Likewise.
21251 * string/test-strrchr-ifunc.c: Likewise.
21252 * string/test-strspn-ifunc.c: Likewise.
21253 * string/test-strstr-ifunc.c: Likewise.
21254
ab260039 212552013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21256
21257 * benchtests/Makefile: Remove ifunc tests.
21258 * benchtests/bench-string.h: Define TEST_IFUNC.
21259 * benchtests/bench-bcopy-ifunc.c: Remove.
21260 * benchtests/bench-bzero-ifunc.c: Likewise.
21261 * benchtests/bench-memccpy-ifunc.c: Likewise.
21262 * benchtests/bench-memchr-ifunc.c: Likewise.
21263 * benchtests/bench-memcmp-ifunc.c: Likewise.
21264 * benchtests/bench-memcpy-ifunc.c: Likewise.
21265 * benchtests/bench-memmem-ifunc.c: Likewise.
21266 * benchtests/bench-memmove-ifunc.c: Likewise.
21267 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21268 * benchtests/bench-memrchr-ifunc.c: Likewise.
21269 * benchtests/bench-memset-ifunc.c: Likewise.
21270 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21271 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21272 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21273 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21274 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21275 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21276 * benchtests/bench-strcat-ifunc.c: Likewise.
21277 * benchtests/bench-strchr-ifunc.c: Likewise.
21278 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21279 * benchtests/bench-strcmp-ifunc.c: Likewise.
21280 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21281 * benchtests/bench-strcpy-ifunc.c: Likewise.
21282 * benchtests/bench-strcspn-ifunc.c: Likewise.
21283 * benchtests/bench-strlen-ifunc.c: Likewise.
21284 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21285 * benchtests/bench-strncat-ifunc.c: Likewise.
21286 * benchtests/bench-strncmp-ifunc.c: Likewise.
21287 * benchtests/bench-strncpy-ifunc.c: Likewise.
21288 * benchtests/bench-strnlen-ifunc.c: Likewise.
21289 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21290 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21291 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21292 * benchtests/bench-strspn-ifunc.c: Likewise.
21293 * benchtests/bench-strstr-ifunc.c: Likewise.
21294
212952013-11-26 Ondřej Bílka <neleai@seznam.cz>
21296
ab260039
OB
21297 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21298
d1d9eaf4 212992013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21300
d1d9eaf4
OB
21301 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21302 * rt/aio.h: Likewise.
21303 * sysdeps/gnu/bits/utmp.h: Likewise.
21304 * sysdeps/gnu/bits/utmpx.h: Likewise.
21305 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21306 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21307 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21308 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21309 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21310 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21311 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21312 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21313 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21314 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21315 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21316 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21317 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21319 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21320 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21321 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21322 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21323 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21324 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21325 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21326 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21327 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21328 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21329 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21332 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21333 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21334 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21335 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21336 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21337 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21338 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21339 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21340 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21341 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21342 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21343 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21344 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21345 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21346 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21347
a7624ed9
CD
213482013-11-25 Carlos O'Donell <carlos@redhat.com>
21349
21350 [BZ #16245]
21351 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21352 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21353
63cfe52b
JM
213542013-11-25 Joseph Myers <joseph@codesourcery.com>
21355
21356 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21357 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21358 Likewise.
21359
41e8926a
AZ
213602013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21361
21362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21363 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21364 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21365 (__fesetround): Remove define.
21366 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21367 rounding and exceptions handling.
21368 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21369 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21370 (__fe_nomask_env): Likewise.
21371 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21372 __fegetround instead of fegetround.
21373 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21374 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21375
6851bd4d
RM
213762013-11-21 Roland McGrath <roland@hack.frob.com>
21377
070906ff
RM
21378 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21379 it's there.
21380
6851bd4d
RM
21381 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21382
84ae135d
MI
213832013-11-21 Meador Inge <meadori@codesourcery.com>
21384
21385 [BZ #11157]
21386 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21387 (encrypt_r): Likewise.
21388 * malloc/obstack.h (obstack_free): Likewise.
21389 * posix/unistd.h (encrypt): Likewise.
21390
daf75146
GM
213912013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21392
21393 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21394 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21395 DL_CALL_DT_FINI() that call the functions directly.
21396 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21397 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21398 * elf/dl-fini.c: Likewise.
21399
10ad46bc
OB
214002013-11-20 Ondřej Bílka <neleai@seznam.cz>
21401
21402 * malloc/hooks.c (memalign_check): Add alignment rounding.
21403 * malloc/malloc.c (_mid_memalign): New function.
21404 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21405 Implement by calling _mid_memalign.
21406 * manual/probes.texi (Memory Allocation Probes): Remove
21407 memory_valloc_retry and memory_pvalloc_retry.
21408
f3fd2628
SP
214092013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21410
4712799f
SP
21411 * locale/programs/locarchive.c (open_archive): Add const
21412 qualifier to ARCHIVEFNAME and copy default fname to
21413 DEFAULT_FNAME.
21414
0417b20f
SP
21415 [BZ #15601]
21416 * libio/tst-widetext.input: Rename Oriya to Odia.
21417 * locale/iso-639.def: Likewise.
21418
f3fd2628
SP
21419 * manual/probes.texi (Mathematical Function Probes): Add
21420 documentation for sin, cos, asin and acos probes.
21421 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21422 (__sin32): Add slowasin probe.
21423 (__cos32): Add slowacos probe.
21424 (__mpsin): Add slowsin probe.
21425 (__mpcos): Add slowcos probe.
21426
73c1ce4f
JM
214272013-11-19 Joseph Myers <joseph@codesourcery.com>
21428
21429 [BZ #15483]
21430 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21431 thread-local __sim_exceptions_thread and global
21432 __sim_exceptions_global.
21433 (__sim_disabled_exceptions): Change to thread-local
21434 __sim_disabled_exceptions_thread and global
21435 __sim_disabled_exceptions_global.
21436 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21437 and global __sim_round_mode_global.
21438 (__simulate_exceptions): Use thread-local floating-point state and
21439 set global state from it as needed.
21440 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21441 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21442 __sim_round_mode_thread.
21443 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21444 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21445 and global __sim_exceptions_global.
21446 (__sim_disabled_exceptions): Change to thread-local
21447 __sim_disabled_exceptions_thread and global
21448 __sim_disabled_exceptions_global.
21449 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21450 and global __sim_round_mode_global.
21451 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21452 (SIM_SET_GLOBAL): Likewise.
21453 * sysdeps/powerpc/soft-fp/sfp-machine.h
21454 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21455 __sim_round_mode_thread.
21456 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21457 __sim_disabled_exceptions_thread.
21458 (__sim_exceptions): Change to __sim_exceptions_thread.
21459 (__sim_disabled_exceptions): Change to
21460 __sim_disabled_exceptions_thread.
21461 (__sim_round_mode): Change to __sim_round_mode_thread.
21462 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21463 thread-local floating-point state and set global state from it as
21464 needed.
21465 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21466 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21467 (__sim_disabled_exceptions): Remove extern declaration.
21468 (feenableexcept): Use thread-local floating-point state and set
21469 global state from it as needed.
21470 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21471 extern declaration.
21472 (__sim_disabled_exceptions): Likewise.
21473 (__sim_round_mode): Likewise.
21474 (__fegetenv): Use thread-local floating-point state.
21475 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21476 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21477 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21478 floating-point state and set global state from it as needed.
21479 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21480 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21481 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21482 Likewise.
21483 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21484 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21485 Likewise.
21486 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21487 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21488 Use __sim_round_mode_thread.
21489 * math/test-fenv-tls.c: New file.
21490 * math/Makefile (tests): Add test-fenv-tls.
21491 ($(objpfx)test-fenv-tls): Depend on
21492 $(common-objpfx)nptl/libpthread.so.
21493
b5449b12
AS
214942013-11-19 Andreas Schwab <schwab@suse.de>
21495
21496 * locale/programs/locale.c (show_info): Decode wordarray elements.
21497 * locale/categories.def (LC_MONETARY): Add element for
21498 _NL_MONETARY_CRNCYSTR.
21499 * locale/C-monetary.c (conversion_rate): New variable.
21500 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21501 element.
21502
e186536b
CM
215032013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21504
21505 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21506 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21507
5c349950
PP
215082013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21509
21510 * elf/Makefile (tst-auxv): New test.
21511 * elf/tst-auxv.c: New
21512 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21513
699df45b
JM
215142013-11-18 Joseph Myers <joseph@codesourcery.com>
21515
21516 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21517 (hidden_proto): Caller changed.
21518 (hidden_tls_proto): New macro.
21519 (libc_hidden_tls_proto): Likewise.
21520 (rtld_hidden_tls_proto): Likewise.
21521 (libm_hidden_tls_proto): Likewise.
21522 (libresolv_hidden_tls_proto): Likewise.
21523 (librt_hidden_tls_proto): Likewise.
21524 (libdl_hidden_tls_proto): Likewise.
21525 (libnss_files_hidden_tls_proto): Likewise.
21526 (libnsl_hidden_tls_proto): Likewise.
21527 (libnss_nisplus_hidden_tls_proto): Likewise.
21528 (libutil_hidden_tls_proto): Likewise.
21529
b7589107
OB
215302013-11-18 Ondřej Bílka <neleai@seznam.cz>
21531
21532 [BZ #10253]
21533 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21534 (decompose_rpath): Defer expansion to fillin_rpath.
21535 (_dl_init_paths): Pass linkmap to fillin_rpath.
21536
250c23bd
RS
215372013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21538
21539 * benchtests/Makefile: Add strsep.
21540 * benchtests/bench-strsep.c: New file: strsep benchtest.
21541 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21542
a7931fcf
AS
215432013-11-18 Andreas Schwab <schwab@suse.de>
21544
21545 * locale/programs/locale.c (show_info) [case byte]: Check for
21546 '\377' instead of '\177'.
21547 * locale/C-monetary.c (not_available): Always use "\377".
21548 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21549 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21550 detect unavailable sign_posn locale elements.
21551 * locale/localeconv.c (__localeconv): For grouping and
21552 mon_grouping handle "\177" and "\377" like no grouping.
21553 (INT_ELEM): New macro. Use it to set all numeric members.
21554 * locale/programs/ld-monetary.c (monetary_read)
21555 <tok_mon_grouping>: Normalize single -1 to the empty string.
21556 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21557 Likewise.
21558
728dab0e
OB
215592013-11-07 Ondřej Bílka <neleai@seznam.cz>
21560
21561 [BZ #16055]
21562 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21563 when we match (nil).
21564 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21565
66294491
JM
215662013-11-16 Joseph Myers <joseph@codesourcery.com>
21567
ce665817
JM
21568 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21569 (NO_TEST_INLINE): Update value.
21570 (ERRNO_UNCHANGED): Likewise.
21571 (ERRNO_EDOM): Likewise.
21572 (ERRNO_ERANGE): Likewise.
21573 (IGNORE_RESULT): Likewise.
21574 (check_float_internal): Check signs of NaN results if
21575 TEST_NAN_SIGN used.
21576 (check_complex): Pass TEST_NAN_SIGN flag through to second
21577 check_float_internal call.
21578 (copysign_test_data): Add tests with quiet NaNs as second
21579 argument. Use TEST_NAN_SIGN.
21580 (fabs_test_data): Add test of negative quiet NaN argument. Use
21581 TEST_NAN_SIGN.
21582 (signbit_test_data): Add tests of quiet NaN argument.
21583 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21584
ee1466a9
JM
21585 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21586 $ignore_result.
21587 (parse_args): Handle function results specified as IGNORE.
21588 * math/libm-test.inc (IGNORE_RESULT): New macro.
21589 (check_float_internal): Do not check numerical result if flag
21590 IGNORE_RESULT set.
21591 (check_complex): Pass through IGNORE_RESULT to second
21592 check_float_internal call.
21593 (check_int): Do not check numerical result if flag IGNORE_RESULT
21594 set.
21595 (check_long): Likewise.
21596 (check_bool): Likewise.
21597 (check_longlong): Likewise.
21598 (lrint_test_data): Add tests of infinite and NaN arguments.
21599 (lrint_tonearest_test_data): Likewise.
21600 (lrint_towardzero_test_data): Likewise.
21601 (lrint_downward_test_data): Likewise.
21602 (lrint_upward_test_data): Likewise.
21603 (llrint_test_data): Likewise.
21604 (llrint_tonearest_test_data): Likewise.
21605 (llrint_towardzero_test_data): Likewise.
21606 (llrint_downward_test_data): Likewise.
21607 (llrint_upward_test_data): Likewise.
21608 (lround_test_data): Likewise.
21609 (llround_test_data): Likewise.
21610
14407b7e
JM
21611 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21612 (ERRNO_UNCHANGED): Update value.
21613 (ERRNO_EDOM): Likewise.
21614 (ERRNO_ERANGE): Likewise.
21615 (NO_TEST_INLINE_FLOAT): New macro.
21616 (NO_TEST_INLINE_DOUBLE): Likewise.
21617 (enable_test): New function.
21618 (RUN_TEST_f_f): Check enable_test before running test.
21619 (RUN_TEST_2_f): Likewise.
21620 (RUN_TEST_fff_f): Likewise.
21621 (RUN_TEST_c_f): Likewise.
21622 (RUN_TEST_f_f1): Likewise.
21623 (RUN_TEST_fF_f1): Likewise.
21624 (RUN_TEST_fI_f1): Likewise.
21625 (RUN_TEST_ffI_f1): Likewise.
21626 (RUN_TEST_c_c): Likewise.
21627 (RUN_TEST_cc_c): Likewise.
21628 (RUN_TEST_f_i): Likewise.
21629 (RUN_TEST_f_i_tg): Likewise.
21630 (RUN_TEST_ff_i_tg): Likewise.
21631 (RUN_TEST_f_b): Likewise.
21632 (RUN_TEST_f_b_tg): Likewise.
21633 (RUN_TEST_f_l): Likewise.
21634 (RUN_TEST_f_L): Likewise.
21635 (RUN_TEST_fFF_11): Likewise.
21636 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21637 conditionals.
21638 (cosh_test_data): Likewise.
21639 (exp_test_data): Likewise.
21640 (expm1_test_data): Likewise.
21641 (hypot_test_data): Likewise.
21642 (pow_test_data): Likewise.
21643 (sinh_test_data): Likewise.
21644 (tanh_test_data): Likewise.
21645 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21646 flags argument.
21647
ca07f197
JM
21648 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21649 tests with quiet NaN input and output.
21650 (acosh_test_data): Likewise.
21651 (asin_test_data): Likewise.
21652 (asinh_test_data): Likewise.
21653 (atan_test_data): Likewise.
21654 (atanh_test_data): Likewise.
21655 (atan2_test_data): Likewise.
21656 (cbrt_test_data): Likewise.
21657 (cos_test_data): Likewise.
21658 (cosh_test_data): Likewise.
21659 (erf_test_data): Likewise.
21660 (erfc_test_data): Likewise.
21661 (exp_test_data): Likewise.
21662 (exp10_test_data): Likewise.
21663 (exp2_test_data): Likewise.
21664 (expm1_test_data): Likewise.
21665 (hypot_test_data): Likewise.
21666 (j0_test_data): Likewise.
21667 (j1_test_data): Likewise.
21668 (jn_test_data): Likewise.
21669 (lgamma_test_data): Likewise.
21670 (log_test_data): Likewise.
21671 (log10_test_data): Likewise.
21672 (log1p_test_data): Likewise.
21673 (log2_test_data): Likewise.
21674 (pow_test_data): Likewise.
21675 (scalb_test_data): Likewise.
21676 (sin_test_data): Likewise.
21677 (sincos_test_data): Likewise.
21678 (sinh_test_data): Likewise.
21679 (tan_test_data): Likewise.
21680 (tanh_test_data): Likewise.
21681 (tgamma_test_data): Likewise.
21682 (y0_test_data): Likewise.
21683 (y1_test_data): Likewise.
21684 (yn_test_data): Likewise.
21685
66294491
JM
21686 [BZ #16167]
21687 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21688 argument being NaN and avoid computations with second argument in
21689 that case.
21690 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21691 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21692 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21693
1820b143
CL
216942013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21695
21696 * locale/iso-639.def: Add Chitwani Tharu (the).
21697
714bd261
AS
216982013-11-14 Andreas Schwab <schwab@suse.de>
21699
21700 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21701 word instead of empty string.
21702
7ab44563
AZ
217032013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21704
21705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21706 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21708 (__fe_nomask_env): Likewise.
21709
e8470ea2
SE
217102013-11-13 Steve Ellcey <sellcey@mips.com>
21711
21712 * benchtests/bench-timing.h: Include time.h.
21713
17c1d9f0
L
217142013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21715
21716 [BZ #15997]
21717 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21718 to 3.4.0 for x32.
21719 * sysdeps/unix/sysv/linux/configure: Regenerated.
21720
9310c284
JM
217212013-11-13 Joseph Myers <joseph@codesourcery.com>
21722
21723 [BZ #16151]
21724 * stdlib/strtod_l.c (round_and_return): Do not consider
21725 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21726 exponent one less than half the least subnormal exponent.
21727 * stdlib/test-strtod-round-data: Add more tests.
21728 * stdlib/tst-strtod-round.c (tests): Regenerated.
21729
7a2ad8cf
AZ
217302013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21731
21732 [BZ #14143]
21733 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21734 (__fe_mask_env): Likewise.
21735 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21736 libm_hidden_proto and add function prototype.
21737 (__fe_mask_env): Add function prototype.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21739 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21741 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21743 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21744
50727aa7
MS
217452013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21746
b2f386c1 21747 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21748 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21749
a615be46
MS
217502013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21751
21752 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21753 of htab_find_slot().
21754
7ddace62
DM
217552013-11-11 David S. Miller <davem@davemloft.net>
21756
21757 [BZ #16150]
21758 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21759 symbol in the non-vis3 case in static builds.
21760 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21761 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21762 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21763 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21764
9182aa67
JK
217652013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21766
21767 [BZ #387]
21768 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21769 it is empty.
21770
450a2e2d
AZ
217712013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21772
b2f386c1
SP
21773 * benchtests/Makefile: Add bench-strtod.
21774 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21775
8ec3f656
AS
217762013-11-11 Andreas Schwab <schwab@suse.de>
21777
21778 [BZ #16153]
21779 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21780 terminating NUL in key length.
21781
76a9b998
AZ
217822013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21783
21784 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21785 Add artificial ODP entry for vDSO symbol for PPC64.
21786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21787 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21788
e4368156
OB
217892013-11-07 Ondřej Bílka <neleai@seznam.cz>
21790
21791 [BZ #15374]
21792 * nss/getent.c (services_keys): Recognize services starting with digit.
21793
8d6bb57c
DM
217942013-11-06 David S. Miller <davem@davemloft.net>
21795
21796 [BZ #15985]
21797 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21798 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21799
e256c421
WN
218002013-11-06 Will Newton <will.newton@linaro.org>
21801
21802 * manual/memory.texi (Malloc Examples): Remove register
21803 keyword from examples.
21804
f6e12daa 218052013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21806
f6e12daa 21807 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21808
9d880655
AS
218092013-11-04 Joseph Myers <joseph@codesourcery.com>
21810
fd2f9486 21811 [BZ #6981]
9d880655
AS
21812 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21813 depending on [__GCC_IEC_559 > 0].
21814 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21815 depending on [__GCC_IEC_559_COMPLEX > 0].
21816
ae129d3c
CL
218172013-11-03 Chris Leonard <cjl@sugarlabs.org>
21818
21819 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21820 to iso-639.def.
21821
4a15c2a4 218222013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21823
21824 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21825
8b35e35d
OB
218262013-11-01 Ondřej Bílka <neleai@seznam.cz>
21827
21828 [BZ #16112]
21829 * malloc/malloc (malloc_info): Do not handle first bin as
21830 special case.
21831
1d70fd6c
CL
218322013-11-01 Chris Leonard <cjl@sugarlabs.org>
21833
21834 * locale/iso-639.def: Add Central Nahuatl (nhn).
21835
8c5c2600
BH
218362013-11-01 Bruno Haible <bruno@clisp.org>
21837
21838 [BZ #7003]
21839 * manual/math.texi (BSD Random): Specify range upper bound as
21840 in POSIX.
21841
da5579c2
CL
218422013-10-31 Chris Leonard <cjl@sugarlabs.org>
21843
21844 * locale/iso-639.def: Add Meadow Mari (mhr).
21845
5d30d853
OB
218462013-10-31 Ondřej Bílka <neleai@seznam.cz>
21847
21848 [BZ #14752], [BZ #15763]
21849 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21850 Validate name.
21851 * rt/tst_shm.c: Add test for escaping directory.
21852
a4966c61
AS
218532013-10-31 Andreas Schwab <schwab@suse.de>
21854
8a43e768 21855 [BZ #15917]
a4966c61
AS
21856 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21857 followed by 'x' as part of digit sequence.
21858 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21859
28d708c4
MAP
218602013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21861
21862 [BZ #16037]
21863 * configure.ac: allow GNU Make 4.0 and greater.
21864 * configure: Regenerated.
21865
a56ee40b
WN
218662013-10-30 Will Newton <will.newton@linaro.org>
21867
21868 [BZ #16038]
21869 * malloc/hooks.c (memalign_check): Limit alignment to the
21870 maximum representable power of two.
21871 * malloc/malloc.c (__libc_memalign): Likewise.
21872 * malloc/tst-memalign.c (do_test): Add test for very
21873 large alignment values.
21874 * malloc/tst-posix_memalign.c (do_test): Likewise.
21875
c6e4925d
OB
218762013-10-30 Ondřej Bílka <neleai@seznam.cz>
21877
21878 [BZ #11087]
21879 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21880 (munmap_chunk): Likewise.
21881 (mremap_chunk): Likewise.
21882
218832013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21884
8a43e768 21885 [BZ #15799]
bbea82f7
OB
21886 * stdlib/div.c (div): Remove obsolete code.
21887 * stdlib/ldiv.c (ldiv): Likewise.
21888 * stdlib/lldiv.c (lldiv): Likewise.
21889
977f4b31
SP
218902013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21891
21892 [BZ #16071]
21893 * nss/nss_files/files-XXX.c (get_contents_ret): New
21894 enumerator.
21895 (get_contents): New function.
21896 (internal_getent): Use it. Expand size of LINEBUFLEN.
21897
cb8a6dbd
MF
218982013-10-30 Mike Frysinger <vapier@gentoo.org>
21899
21900 * configure.in: Moved to ...
21901 * configure.ac: ... here. Change reference to configure.in
21902 to configure.ac.
21903 * sysdeps/arm/preconfigure.ac: ... here.
21904 configure.in to configure.ac.
21905 * sysdeps/gnu/configure.in: Moved to ...
21906 * sysdeps/gnu/configure.ac: ... here.
21907 * sysdeps/i386/configure.in: Moved to ...
21908 * sysdeps/i386/configure.ac: ... here.
21909 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21910 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21911 * sysdeps/mach/configure.in: Moved to ...
21912 * sysdeps/mach/configure.ac: ... here.
21913 * sysdeps/mach/hurd/configure.in: Moved to ...
21914 * sysdeps/mach/hurd/configure.ac: ... here.
21915 * sysdeps/powerpc/configure.in: Moved to ...
21916 * sysdeps/powerpc/configure.ac: ... here.
21917 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21918 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21919 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21920 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21921 * sysdeps/s390/s390-32/configure.in: Moved to ...
21922 * sysdeps/s390/s390-32/configure.ac: ... here.
21923 * sysdeps/s390/s390-64/configure.in: Moved to ...
21924 * sysdeps/s390/s390-64/configure.ac: ... here.
21925 * sysdeps/sh/configure.in: Moved to ...
21926 * sysdeps/sh/configure.ac: ... here.
21927 * sysdeps/sparc/configure.in: Moved to ...
21928 * sysdeps/sparc/configure.ac: ... here.
21929 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21930 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21931 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21932 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21933 * sysdeps/x86_64/configure.in: Moved to ...
21934 * sysdeps/x86_64/configure.ac: ... here.
21935 * sysdeps/x86_64/preconfigure.in: Moved to ...
21936 * sysdeps/x86_64/preconfigure.ac: ... here.
21937 * aclocal.m4: Change reference to configure.in to configure.ac.
21938 * config.h.in: Likewise.
21939 * manual/install.texi: Likewise.
21940 * manual/maint.texi: Likewise.
21941 * Makefile: Likewise.
21942 * malloc/Makefile: Likewise.
21943 * nscd/Makefile: Likewise.
21944 * Makeconfig: Change reference to configure.in and
21945 preconfigure.in to configure.ac and preconfigure.ac
21946 respectively.
21947 * INSTALL: Regenerated.
21948 * configure: Likewise.
21949 * sysdeps/gnu/configure: Likewise.
21950 * sysdeps/i386/configure: Likewise.
21951 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21952 * sysdeps/mach/configure: Likewise.
21953 * sysdeps/mach/hurd/configure: Likewise.
21954 * sysdeps/powerpc/configure: Likewise.
21955 * sysdeps/powerpc/powerpc32/configure: Likewise.
21956 * sysdeps/powerpc/powerpc64/configure: Likewise.
21957 * sysdeps/s390/s390-32/configure: Likewise.
21958 * sysdeps/s390/s390-64/configure: Likewise.
21959 * sysdeps/sh/configure: Likewise.
21960 * sysdeps/sparc/configure: Likewise.
21961 * sysdeps/unix/sysv/linux/configure: Likewise.
21962 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21963 * sysdeps/x86_64/configure: Likewise.
21964 * sysdeps/x86_64/preconfigure: Likewise.
21965
36a4953a
AS
219662013-10-29 Andreas Schwab <schwab@suse.de>
21967
21968 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21969
c79a1204
SP
219702013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21971
dfa1b402
SP
21972 * benchtests/pow-inputs: Add new inputs.
21973
54f73d9c
SP
21974 * benchtests/exp-inputs: Add new inputs.
21975
c79a1204
SP
21976 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21977 conditional check for return value.
21978 (__cos32): Likewise.
21979
67beb545 219802013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21981
21982 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21983 to provide a boost for large inputs with word alignment.
21984 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21985 implementation based on optimized PPC64 strcpy.
21986 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21987 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21988 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21989 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21990
151659f6
OB
219912013-10-25 Ondřej Bílka <neleai@seznam.cz>
21992
482a077e 21993 [BZ #2801]
151659f6
OB
21994 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21995
10b0f26b
OB
219962013-10-25 Ondřej Bílka <neleai@seznam.cz>
21997
21998 [BZ #14876]
21999 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22000 * time/tst-strptime.c (day_tests): Add testcase.
22001
ca42d35e
OB
220022013-10-25 Ondřej Bílka <neleai@seznam.cz>
22003
482a077e 22004 [BZ #14029]
ca42d35e
OB
22005 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22006
52e6d801
FB
220072013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22008
22009 [BZ #16074]
22010 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22011 MAP_FAILED on error.
22012
7cbcdb36
SP
220132013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22014
22015 [BZ #16072]
22016 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22017 heap for large requests.
22018
894f3f10
AM
220192013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22020
22021 [BZ #9954]
22022 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22023 result if the result has no associated interface.
22024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22025 interface for all 127.X.Y.Z addresses.
22026
b85545a6
CL
220272013-10-24 Chris Leonard <cjl@sugarlabs.org>
22028
22029 * locale/iso-639.def: Add Ligurian (lij)
22030
d1f23d46
OB
220312013-10-21 Ondřej Bílka <neleai@seznam.cz>
22032
22033 [BZ #15825]
22034 * sunrpc/rpc_main.c: Document rpcgen -5.
22035
4db5b08f
MS
220362013-10-19 Michael Stahl <mstahl@redhat.com>
22037
22038 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22039
a471e96a
OB
220402013-10-19 Ondřej Bílka <neleai@seznam.cz>
22041
d1f23d46 22042 [BZ #10278]
a471e96a
OB
22043 * posix/glob.c: Match only directories when trailing slash is present.
22044 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22045 (main): Add testcase.
22046
45c30c61
OB
220472013-10-19 Ondřej Bílka <neleai@seznam.cz>
22048
22049 [BZ #15670]
22050 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22051
484c12fb
CD
220522013-10-18 Carlos O'Donell <carlos@redhat.com>
22053
3d7dc513
CD
22054 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22055 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22056 AUTH_DES and cindex for FIPS 140-2.
22057 (DES Encryption): Add cindex FIPS 46-3.
22058
484c12fb
CD
22059 * locale/locarchive.h (struct locarhandle): Add fname.
22060 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22061 if an optional argument was specified to --list-archive,
22062 otherwise NULL.
22063 * locale/programs/locarchive.c (show_archive_content): Take new
22064 argument fname and pass it via ah.fname to open_archive.
22065 * locale/programs/localedef.h: Update decl.
22066 (open_archive): If AH->fname is non-null, open that file
22067 rather than the default file name, and don't ignore ENOENT.
22068 (create_archive): Set AH.fname to NULL.
22069 (delete_locales_from_archive): Likewise.
22070 (add_locales_to_archive): Likewise.
22071 * locale/programs/locfile.c (write_all_categories): Likewise.
22072
3c8325fb
JM
220732013-10-18 Joseph Myers <joseph@codesourcery.com>
22074 Aldy Hernandez <aldyh@redhat.com>
22075
22076 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22077 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22078 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22079 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22080 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22081 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22082 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22083 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22084 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22085 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22086 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22087 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22088 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22089 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22090 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22091 Likewise.
22092 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22093 Likewise.
22094 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22095 Likewise.
22096 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22097 Likewise.
22098 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22099 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22100 Likewise.
22101 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22102 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22103 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22104 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22105 Likewise.
22106 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22107 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22108 * sysdeps/powerpc/preconfigure: Likewise.
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22110 Likewise.
22111 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22112 Replace contents of file by #include of <fenv_libc.h>.
22113 * sysdeps/powerpc/soft-fp/sfp-machine.h
22114 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22115 and <sys/prctl.h>.
22116 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22129 Allow copysignl PLT reference to be missing.
22130
5abe0682
RS
221312013-10-18 Richard Sandiford <richard@codesourcery.com>
22132 Joseph Myers <joseph@codesourcery.com
22133
22134 [BZ #15948]
22135 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22136 single character.
22137 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22138
c7738d08
SP
221392013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22140
22141 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22142 * elf/tst-tls1.c: Likewise.
22143 * elf/tst-tls10.h: Likewise.
22144 * elf/tst-tls14.c: Likewise.
22145 * elf/tst-tls2.c: Likewise.
22146 * elf/tst-tls3.c: Likewise.
22147 * elf/tst-tls4.c: Likewise.
22148 * elf/tst-tls5.c: Likewise.
22149 * elf/tst-tls6.c: Likewise.
22150 * elf/tst-tls7.c: Likewise.
22151 * elf/tst-tls8.c: Likewise.
22152 * elf/tst-tls9.c: Likewise.
22153 * elf/tst-tlsmod1.c: Likewise.
22154 * elf/tst-tlsmod13.c: Likewise.
22155 * elf/tst-tlsmod13a.c: Likewise.
22156 * elf/tst-tlsmod14a.c: Likewise.
22157 * elf/tst-tlsmod16a.c: Likewise.
22158 * elf/tst-tlsmod16b.c: Likewise.
22159 * elf/tst-tlsmod2.c: Likewise.
22160 * elf/tst-tlsmod3.c: Likewise.
22161 * elf/tst-tlsmod4.c: Likewise.
22162 * elf/tst-tlsmod5.c: Likewise.
22163 * elf/tst-tlsmod6.c: Likewise.
22164
0bfcf2c7
OB
221652013-10-18 Ondřej Bílka <neleai@seznam.cz>
22166
22167 [BZ #12486]
22168 * malloc/malloc.c: remove checks for statistics.
22169
264aad1e
OB
221702013-10-17 Ondřej Bílka <neleai@seznam.cz>
22171
22172 [BZ #15277]
22173 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22174 * inet/tst-network.c: Add testcase.
22175
b957ced8
AS
221762013-10-17 Andreas Schwab <schwab@suse.de>
22177
22178 [BZ #15218]
22179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22180 to determine canonical name.
22181
c5d5d574
OB
221822013-10-17 Ondřej Bílka <neleai@seznam.cz>
22183
22184 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22185 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22193 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22208 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22209 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22214 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22218 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22219 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22221 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22225 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22226 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22227 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22228 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22230 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22232 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22233 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22234 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22238 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22242
e5c2c2d0
JM
222432013-10-17 Joseph Myers <joseph@codesourcery.com>
22244
22245 [BZ #16041]
22246 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22247 make result into a quiet NaN.
22248
51ca9e29
JM
222492013-10-16 Joseph Myers <joseph@codesourcery.com>
22250
22251 * soft-fp/adddf3.c: Fix horizontal whitespace.
22252 * soft-fp/addsf3.c: Likewise.
22253 * soft-fp/addtf3.c: Likewise.
22254 * soft-fp/divdf3.c: Likewise.
22255 * soft-fp/divsf3.c: Likewise.
22256 * soft-fp/divtf3.c: Likewise.
22257 * soft-fp/double.h: Likewise.
22258 * soft-fp/eqdf2.c: Likewise.
22259 * soft-fp/eqsf2.c: Likewise.
22260 * soft-fp/eqtf2.c: Likewise.
22261 * soft-fp/extenddftf2.c: Likewise.
22262 * soft-fp/extended.h: Likewise.
22263 * soft-fp/extendsfdf2.c: Likewise.
22264 * soft-fp/extendsftf2.c: Likewise.
22265 * soft-fp/extendxftf2.c: Likewise.
22266 * soft-fp/fixdfdi.c: Likewise.
22267 * soft-fp/fixdfsi.c: Likewise.
22268 * soft-fp/fixdfti.c: Likewise.
22269 * soft-fp/fixsfdi.c: Likewise.
22270 * soft-fp/fixsfsi.c: Likewise.
22271 * soft-fp/fixsfti.c: Likewise.
22272 * soft-fp/fixtfdi.c: Likewise.
22273 * soft-fp/fixtfsi.c: Likewise.
22274 * soft-fp/fixtfti.c: Likewise.
22275 * soft-fp/fixunsdfdi.c: Likewise.
22276 * soft-fp/fixunsdfsi.c: Likewise.
22277 * soft-fp/fixunsdfti.c: Likewise.
22278 * soft-fp/fixunssfdi.c: Likewise.
22279 * soft-fp/fixunssfsi.c: Likewise.
22280 * soft-fp/fixunssfti.c: Likewise.
22281 * soft-fp/fixunstfdi.c: Likewise.
22282 * soft-fp/fixunstfsi.c: Likewise.
22283 * soft-fp/fixunstfti.c: Likewise.
22284 * soft-fp/floatdidf.c: Likewise.
22285 * soft-fp/floatdisf.c: Likewise.
22286 * soft-fp/floatditf.c: Likewise.
22287 * soft-fp/floatsidf.c: Likewise.
22288 * soft-fp/floatsisf.c: Likewise.
22289 * soft-fp/floatsitf.c: Likewise.
22290 * soft-fp/floattidf.c: Likewise.
22291 * soft-fp/floattisf.c: Likewise.
22292 * soft-fp/floattitf.c: Likewise.
22293 * soft-fp/floatundidf.c: Likewise.
22294 * soft-fp/floatundisf.c: Likewise.
22295 * soft-fp/floatunditf.c: Likewise.
22296 * soft-fp/floatunsidf.c: Likewise.
22297 * soft-fp/floatunsisf.c: Likewise.
22298 * soft-fp/floatunsitf.c: Likewise.
22299 * soft-fp/floatuntidf.c: Likewise.
22300 * soft-fp/floatuntisf.c: Likewise.
22301 * soft-fp/floatuntitf.c: Likewise.
22302 * soft-fp/fmadf4.c: Likewise.
22303 * soft-fp/fmasf4.c: Likewise.
22304 * soft-fp/fmatf4.c: Likewise.
22305 * soft-fp/gedf2.c: Likewise.
22306 * soft-fp/gesf2.c: Likewise.
22307 * soft-fp/getf2.c: Likewise.
22308 * soft-fp/ledf2.c: Likewise.
22309 * soft-fp/lesf2.c: Likewise.
22310 * soft-fp/letf2.c: Likewise.
22311 * soft-fp/muldf3.c: Likewise.
22312 * soft-fp/mulsf3.c: Likewise.
22313 * soft-fp/multf3.c: Likewise.
22314 * soft-fp/negdf2.c: Likewise.
22315 * soft-fp/negsf2.c: Likewise.
22316 * soft-fp/negtf2.c: Likewise.
22317 * soft-fp/op-1.h: Likewise.
22318 * soft-fp/op-2.h: Likewise.
22319 * soft-fp/op-4.h: Likewise.
22320 * soft-fp/op-8.h: Likewise.
22321 * soft-fp/op-common.h: Likewise.
22322 * soft-fp/quad.h: Likewise.
22323 * soft-fp/single.h: Likewise.
22324 * soft-fp/soft-fp.h: Likewise.
22325 * soft-fp/sqrtdf2.c: Likewise.
22326 * soft-fp/sqrtsf2.c: Likewise.
22327 * soft-fp/sqrttf2.c: Likewise.
22328 * soft-fp/subdf3.c: Likewise.
22329 * soft-fp/subsf3.c: Likewise.
22330 * soft-fp/subtf3.c: Likewise.
22331 * soft-fp/truncdfsf2.c: Likewise.
22332 * soft-fp/trunctfdf2.c: Likewise.
22333 * soft-fp/trunctfsf2.c: Likewise.
22334 * soft-fp/trunctfxf2.c: Likewise.
22335 * soft-fp/unorddf2.c: Likewise.
22336 * soft-fp/unordsf2.c: Likewise.
22337 * soft-fp/unordtf2.c: Likewise.
22338
9ebb0332
JM
223392013-10-15 Joseph Myers <joseph@codesourcery.com>
22340
22341 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22342 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22343
4b1a6d8b
OB
223442013-10-15 Ondřej Bílka <neleai@seznam.cz>
22345
22346 * elf/dl-libc.c: Clear initfini list after freeing.
22347
1e145589
JM
223482013-10-14 Joseph Myers <joseph@codesourcery.com>
22349
22350 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22351 * soft-fp/addsf3.c: Likewise.
22352 * soft-fp/addtf3.c: Likewise.
22353 * soft-fp/divdf3.c: Likewise.
22354 * soft-fp/divsf3.c: Likewise.
22355 * soft-fp/divtf3.c: Likewise.
22356 * soft-fp/double.h: Likewise.
22357 * soft-fp/eqdf2.c: Likewise.
22358 * soft-fp/eqsf2.c: Likewise.
22359 * soft-fp/eqtf2.c: Likewise.
22360 * soft-fp/extenddftf2.c: Likewise.
22361 * soft-fp/extended.h: Likewise.
22362 * soft-fp/extendsfdf2.c: Likewise.
22363 * soft-fp/extendsftf2.c: Likewise.
22364 * soft-fp/extendxftf2.c: Likewise.
22365 * soft-fp/fixdfdi.c: Likewise.
22366 * soft-fp/fixdfsi.c: Likewise.
22367 * soft-fp/fixdfti.c: Likewise.
22368 * soft-fp/fixsfdi.c: Likewise.
22369 * soft-fp/fixsfsi.c: Likewise.
22370 * soft-fp/fixsfti.c: Likewise.
22371 * soft-fp/fixtfdi.c: Likewise.
22372 * soft-fp/fixtfsi.c: Likewise.
22373 * soft-fp/fixtfti.c: Likewise.
22374 * soft-fp/fixunsdfdi.c: Likewise.
22375 * soft-fp/fixunsdfsi.c: Likewise.
22376 * soft-fp/fixunsdfti.c: Likewise.
22377 * soft-fp/fixunssfdi.c: Likewise.
22378 * soft-fp/fixunssfsi.c: Likewise.
22379 * soft-fp/fixunssfti.c: Likewise.
22380 * soft-fp/fixunstfdi.c: Likewise.
22381 * soft-fp/fixunstfsi.c: Likewise.
22382 * soft-fp/fixunstfti.c: Likewise.
22383 * soft-fp/floatdidf.c: Likewise.
22384 * soft-fp/floatdisf.c: Likewise.
22385 * soft-fp/floatditf.c: Likewise.
22386 * soft-fp/floatsidf.c: Likewise.
22387 * soft-fp/floatsisf.c: Likewise.
22388 * soft-fp/floatsitf.c: Likewise.
22389 * soft-fp/floattidf.c: Likewise.
22390 * soft-fp/floattisf.c: Likewise.
22391 * soft-fp/floattitf.c: Likewise.
22392 * soft-fp/floatundidf.c: Likewise.
22393 * soft-fp/floatundisf.c: Likewise.
22394 * soft-fp/floatunsidf.c: Likewise.
22395 * soft-fp/floatunsisf.c: Likewise.
22396 * soft-fp/floatuntidf.c: Likewise.
22397 * soft-fp/floatuntisf.c: Likewise.
22398 * soft-fp/floatuntitf.c: Likewise.
22399 * soft-fp/fmadf4.c: Likewise.
22400 * soft-fp/fmasf4.c: Likewise.
22401 * soft-fp/fmatf4.c: Likewise.
22402 * soft-fp/gedf2.c: Likewise.
22403 * soft-fp/gesf2.c: Likewise.
22404 * soft-fp/getf2.c: Likewise.
22405 * soft-fp/ledf2.c: Likewise.
22406 * soft-fp/lesf2.c: Likewise.
22407 * soft-fp/letf2.c: Likewise.
22408 * soft-fp/muldf3.c: Likewise.
22409 * soft-fp/mulsf3.c: Likewise.
22410 * soft-fp/multf3.c: Likewise.
22411 * soft-fp/negdf2.c: Likewise.
22412 * soft-fp/negsf2.c: Likewise.
22413 * soft-fp/negtf2.c: Likewise.
22414 * soft-fp/op-1.h: Likewise.
22415 * soft-fp/op-2.h: Likewise.
22416 * soft-fp/op-4.h: Likewise.
22417 * soft-fp/op-8.h: Likewise.
22418 * soft-fp/op-common.h: Likewise.
22419 * soft-fp/quad.h: Likewise.
22420 * soft-fp/single.h: Likewise.
22421 * soft-fp/soft-fp.h: Likewise.
22422 * soft-fp/sqrtdf2.c: Likewise.
22423 * soft-fp/sqrtsf2.c: Likewise.
22424 * soft-fp/sqrttf2.c: Likewise.
22425 * soft-fp/subdf3.c: Likewise.
22426 * soft-fp/subsf3.c: Likewise.
22427 * soft-fp/subtf3.c: Likewise.
22428 * soft-fp/truncdfsf2.c: Likewise.
22429 * soft-fp/trunctfdf2.c: Likewise.
22430 * soft-fp/trunctfsf2.c: Likewise.
22431 * soft-fp/trunctfxf2.c: Likewise.
22432 * soft-fp/unorddf2.c: Likewise.
22433 * soft-fp/unordsf2.c: Likewise.
22434 * soft-fp/unordtf2.c: Likewise.
22435
17c48a60
OB
224362013-10-14 Ondřej Bílka <neleai@seznam.cz>
22437
22438 [BZ #15672]
22439 * misc/error.c (error_tail): Fix possible buffer overflow.
22440
cabba934
OB
224412013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22442
22443 [BZ #13028]
22444 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22445 address.
22446
94bf958a
PM
224472013-10-14 P. J. McDermott <pj@pehjota.net>
22448
22449 [BZ #832]
22450 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22451 testing pipefail option.
22452
71b4dea7
JM
224532013-10-12 Joseph Myers <joseph@codesourcery.com>
22454
22455 * soft-fp/double.h: Indent preprocessor directives inside #if.
22456 * soft-fp/extended.h: Likewise.
22457 * soft-fp/op-2.h: Likewise.
22458 * soft-fp/op-4.h: Likewise.
22459 * soft-fp/op-common.h: Likewise.
22460 * soft-fp/quad.h: Likewise.
22461 * soft-fp/single.h: Likewise.
22462 * soft-fp/soft-fp.h: Likewise.
22463
55602758
YC
224642013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22465
22466 * iconv/iconv_prog.c: Fix typos.
22467 * stdio-common/psiginfo-data.h: Likewise.
22468
9cd83302
RT
224692013-10-12 Reuben Thomas <rrt@sc3d.org>
22470
22471 [BZ #15764]
22472 * locale/setlocale.c: Fix typo.
22473
99fd9f47
JM
224742013-10-12 Joseph Myers <joseph@codesourcery.com>
22475
b7ea74f0
JM
22476 [BZ #16036]
22477 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22478 signaling NaN arguments.
22479 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22480 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22481
8a509447
JM
22482 [BZ #14910]
22483 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22484 unordered operands.
22485 * soft-fp/gesf2.c (__gesf2): Likewise.
22486 * soft-fp/getf2.c (__getf2): Likewise.
22487 * soft-fp/ledf2.c (__ledf2): Likewise.
22488 * soft-fp/lesf2.c (__lesf2): Likewise.
22489 * soft-fp/letf2.c (__letf2): Likewise.
22490
98998e9f
JM
22491 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22492 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22493 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22494 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22495 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22496 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22497 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22498 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22499 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22500 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22501 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22502 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22503 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22504 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22505 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22506 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22507 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22508 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22509 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22510 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22511 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22512 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22513 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22514 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22515 * soft-fp/floattidf.c (__floattidf): Likewise.
22516 * soft-fp/floattisf.c (__floattisf): Likewise.
22517 * soft-fp/floattitf.c (__floattitf): Likewise.
22518 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22519 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22520 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22521 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22522 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22523 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22524 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22525 * soft-fp/gesf2.c (__gesf2): Likewise.
22526 * soft-fp/getf2.c (__getf2): Likewise.
22527 * soft-fp/ledf2.c (__ledf2): Likewise.
22528 * soft-fp/lesf2.c (__lesf2): Likewise.
22529 * soft-fp/letf2.c (__letf2): Likewise.
22530
8edc4a11
JM
22531 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22532 Undefine and redefine.
22533 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22534 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22535 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22536 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22537 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22538 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22539 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22540 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22541 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22542 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22543 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22544 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22545 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22546 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22547 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22548
8399acaf
JM
22549 [BZ #16032]
22550 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22551 without decrementing exponent if mantissa >= that for the
22552 denominator, not >.
22553 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22554 denominator, not >. Decrement exponent in < case instead of
22555 incrementing in >= case.
22556 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22557 without decrementing exponent if mantissa >= that for the
22558 denominator, not >.
22559
99fd9f47
JM
22560 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22561 computing saturated result for unsigned overflow.
22562
10e1cf6b
SP
225632013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22564 Jeff Law <law@redhat.com>
22565
22566 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22567 (atan2Mp): Add systemtap probe marker.
22568 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22569 (__ieee754_log): Add systemtap probe marker.
22570 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22571 (atanMp): Add systemtap probe marker.
22572 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22573 (tanMp): Add systemtap probe marker.
22574 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22575 (__slowexp): Add systemtap probe marker.
22576 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22577 (__slowpow): Add systemtap probe marker.
22578 * manual/probes.texi: Document probes.
22579
3d110c7c
EB
225802013-10-11 Eric Biggers <ebiggers3@gmail.com>
22581
22582 [BZ #15362]
22583 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22584 written.
22585 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22586 written.
22587 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22588 written to buffer but not flushed.
22589 * libio/iofwrite_u.c: Likewise.
22590 * libio/iopadn.c: Return bytes returned even if EOF was
22591 encountered.
22592 * libio/iowpadn.c: Likewise.
22593 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22594 if _IO_padn does not write the whole buffer.
22595 [!COMPILE_WPRINTF] (PAD): Likewise.
22596
75b4202a
DM
225972013-10-10 David S. Miller <davem@davemloft.net>
22598
22599 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22600 directory block.
22601
6c6352e6
JM
226022013-10-10 Joseph Myers <joseph@codesourcery.com>
22603
33b853c3
JM
22604 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22605 instead of FSF address.
22606 * soft-fp/fixdfti.c: Likewise.
22607 * soft-fp/fixsfti.c: Likewise.
22608 * soft-fp/fixtfti.c: Likewise.
22609 * soft-fp/fixunsdfti.c: Likewise.
22610 * soft-fp/fixunssfti.c: Likewise.
22611 * soft-fp/fixunstfti.c: Likewise.
22612 * soft-fp/floattidf.c: Likewise.
22613 * soft-fp/floattisf.c: Likewise.
22614 * soft-fp/floattitf.c: Likewise.
22615 * soft-fp/floatuntidf.c: Likewise.
22616 * soft-fp/floatuntisf.c: Likewise.
22617 * soft-fp/floatuntitf.c: Likewise.
22618 * soft-fp/trunctfxf2.c: Likewise.
22619
6c6352e6
JM
22620 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22621 * soft-fp/fixdfti.c: Likewise.
22622 * soft-fp/fixsfti.c: Likewise.
22623 * soft-fp/fixtfti.c: Likewise.
22624 * soft-fp/fixunsdfti.c: Likewise.
22625 * soft-fp/fixunssfti.c: Likewise.
22626 * soft-fp/fixunstfti.c: Likewise.
22627 * soft-fp/floattidf.c: Likewise.
22628 * soft-fp/floattisf.c: Likewise.
22629 * soft-fp/floattitf.c: Likewise.
22630 * soft-fp/floatuntidf.c: Likewise.
22631 * soft-fp/floatuntisf.c: Likewise.
22632 * soft-fp/floatuntitf.c: Likewise.
22633 * soft-fp/trunctfxf2.c: Likewise.
22634
3bf78b71
DM
226352013-10-10 David S. Miller <davem@davemloft.net>
22636
22637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22638
6f10289e
JM
226392013-10-10 Joseph Myers <joseph@codsourcery.com>
22640
bd878fc0
JM
22641 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22642 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22643 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22644 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22645 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22646 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22647 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22648
6f10289e
JM
22649 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22650 for NaNs before doing comparisons on argument.
22651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22652 Likewise.
22653
321e2684
WN
226542013-10-10 Will Newton <will.newton@linaro.org>
22655
22656 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22657 passed to _int_memalign does not overflow.
22658
40fefba1
TR
226592013-10-10 Torvald Riegel <triegel@redhat.com>
22660
22661 * scripts/bench.pl: Add include-sources directive.
22662 * benchtests/README: Update documentation.
22663
2ae21ed2
JM
226642013-10-10 Joseph Myers <joseph@codesourcery.com>
22665
dcc2dd3f
JM
22666 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22667 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22668 instead of FP_INIT_ROUNDMODE.
22669 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22670 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22671
2ae21ed2
JM
22672 [BZ #16034]
22673 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22674 copy class of input value.
22675 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22676 not handle exceptions.
22677 * soft-fp/negsf2.c (__negsf2): Likewise.
22678 * soft-fp/negtf2.c (__negtf2): Likewise.
22679 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22680
cb8f9562
JM
226812013-10-09 Joseph Myers <joseph@codesourcery.com>
22682
22683 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22684 semicolon. From Linux kernel.
22685
5b60c59d
AB
226862013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22687
22688 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22689
b86835ca
YC
226902013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22691
22692 [BZ #156]
22693 * manual/socket.texi: Added statement about buffer
22694 for gethostbyname2_r.
22695
e7044ea7
OB
226962013-10-08 Ondřej Bílka <neleai@seznam.cz>
22697
22698 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22699 Use .p2align directive instead, throughout.
22700 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22701 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22702 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22703 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22704 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22705 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22706 * sysdeps/x86_64/strchr.S: Likewise.
22707 * sysdeps/x86_64/strrchr.S: Likewise.
22708
09544cbc
SP
227092013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22710
88576635
SP
22711 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22712
e7b2d1dd
SP
22713 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22714
09544cbc
SP
22715 * sysdeps/generic/math_private.h (__mpsin1): Remove
22716 declaration.
22717 (__mpcos1): Likewise.
22718 (__mpsin): New argument __range_reduce.
22719 (__mpcos): Likewise.
22720 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22721 (slow): Use __mpsin and __mpcos.
22722 (slow1): Likewise.
22723 (slow2): Likewise.
22724 (sloww): Likewise.
22725 (sloww1): Likewise.
22726 (sloww2): Likewise.
22727 (bsloww): Likewise.
22728 (bsloww1): Likewise.
22729 (bsloww2): Likewise.
22730 (cslow2): Likewise.
22731 (csloww): Likewise.
22732 (csloww1): Likewise.
22733 (csloww2): Likewise.
22734 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22735 range_reduce. Merge in __mpsin1.
22736 (__mpcos): Likewise.
22737 (__mpsin1): Remove.
22738 (__mpcos1): Likewise.
22739
7602d070
JM
227402013-10-07 Joseph Myers <joseph@codesourcery.com>
22741
22742 * locale/loadlocale.c (_nl_intern_locale_data): Use
22743 LOCFILE_ALIGNED_P.
22744 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22745 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22746 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22747 obstack data is appropriately aligned.
22748 (obstack_int32_grow_fast): Likewise.
22749 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22750 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22751 (add_locale_uint32_array): Likewise.
22752
a357259b
SP
227532013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22754
22755 * benchtests/Makefile: Remove ARGLIST and RET variables.
22756 ($(objpfx)bench-%.c): Pass only function name to the script.
22757 * benchtests/README: Update documentation.
22758 * benchtests/acos-inputs: Add new directives.
22759 * benchtests/acosh-inputs: Likewise.
22760 * benchtests/asin-inputs: Likewise.
22761 * benchtests/asinh-inputs: Likewise.
22762 * benchtests/atan-inputs: Likewise.
22763 * benchtests/atanh-inputs: Likewise.
22764 * benchtests/cos-inputs: Likewise.
22765 * benchtests/cosh-inputs: Likewise.
22766 * benchtests/exp-inputs: Likewise.
22767 * benchtests/log-inputs: Likewise.
22768 * benchtests/pow-inputs: Likewise.
22769 * benchtests/rint-inputs: Likewise.
22770 * benchtests/sin-inputs: Likewise.
22771 * benchtests/sinh-inputs: Likewise.
22772 * benchtests/tan-inputs: Likewise.
22773 * benchtests/tanh-inputs: Likewise.
22774 * scripts/bench.pl: Add support for new directives.
22775
9ec1b13d
AM
227762013-10-07 Alan Modra <amodra@gmail.com>
22777
22778 * README: Fix careless merge.
22779
8b7d57cd
AM
227802013-10-05 Alan Modra <amodra@gmail.com>
22781
22782 * NEWS: Mention powerpc64le support and bugs fixed.
22783 * README: Both big-endian and little-endian powerpc64 supported.
22784
7b7bab13
ST
227852013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22786
57f41c40
AS
22787 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22788 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22789 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22790 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22791
d39baad1
RA
227922013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22793
22794 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22795 match prototype.
22796
cd78f7e7
JM
227972013-10-04 Joseph Myers <joseph@codesourcery.com>
22798
29d73d86
JM
22799 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22800 Move -mhard-float appending from
22801 ports/sysdeps/powerpc/powerpc32/Makefile.
22802 [$(with-fp) = yes] (ASFLAGS): Likewise.
22803 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22804 * sysdeps/powerpc/nofpu: Move directory from
22805 ports/sysdeps/powerpc/nofpu.
22806 * sysdeps/powerpc/soft-fp: Move directory from
22807 ports/sysdeps/powerpc/soft-fp.
22808 * sysdeps/powerpc/powerpc32/405: Move directory from
22809 ports/sysdeps/powerpc/powerpc32/405.
22810 * sysdeps/powerpc/powerpc32/440: Move directory from
22811 ports/sysdeps/powerpc/powerpc32/440.
22812 * sysdeps/powerpc/powerpc32/464: Move directory from
22813 ports/sysdeps/powerpc/powerpc32/464.
22814 * sysdeps/powerpc/powerpc32/476: Move directory from
22815 ports/sysdeps/powerpc/powerpc32/476.
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22817 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22821 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22823 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22825 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22826 * README: Update for powerpc-*-linux-gnu software floating point
22827 support in libc.
22828
e246b347
JM
22829 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22830 case to powerpc/powerpc32*.
22831 * sysdeps/unix/sysv/linux/configure: Regenerated.
22832
89c2003e
JM
22833 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22834 (_FPU_MASK_OM): Define as 0x04.
22835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22837 0x00c10080.
22838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22839 0x0000003c.
22840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22841
cd78f7e7
JM
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22843 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22844 getcontext_e500.
22845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22846 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22847 setcontext_e500.
22848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22849 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22850 and setcontext_e500.
22851
c755294d
CL
228522013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22853
22854 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22855
e16d221c
SP
228562013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22857
22858 * manual/threads.texi (Default Thread Attributes): Fix typo.
22859
215c7d43
WN
228602013-10-04 Will Newton <will.newton@linaro.org>
22861
22862 * malloc/Makefile: Add tst-memalign.
22863 * malloc/tst-memalign.c: New file.
22864
27d0461b
WN
22865 * malloc/tst-posix_memalign.c: Add comments.
22866 (do_test): Add comments and call free on all potentially
22867 allocated pointers. Add space after cast.
22868
1bc92709
WN
22869 * malloc/tst-pvalloc.c: Add comments.
22870 (do_test): Add comments and call free on all potentially
22871 allocated pointers. Remove duplicate check for NULL pointer.
22872 Add space after cast.
22873
66a9be9d
WN
22874 * malloc/tst-valloc.c: Add comments.
22875 (do_test): Add comments and call free on all potentially
22876 allocated pointers. Remove duplicate check for NULL pointer.
22877 Add space after cast.
22878
4cb81307
AM
228792013-10-04 Alan Modra <amodra@gmail.com>
22880
22881 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22882 Use stdint types in rather than __attribute__((mode())).
22883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22884
f8e3e9f3
AM
228852013-10-04 Alan Modra <amodra@gmail.com>
22886
22887 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22888 Correct handling of unaligned relocs for little-endian.
22889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22890
8f9ebb08
AM
228912013-10-04 Alan Modra <amodra@gmail.com>
22892
22893 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22894 * configure: Regenerate.
22895 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22896 * shlib-versions: Likewise.
22897
0edf96c2
AM
228982013-10-04 Alan Modra <amodra@gmail.com>
22899
22900 * string/tester.c (test_memrchr): Increment reported test cycle.
22901
e0f7a380
AM
229022013-10-04 Alan Modra <amodra@gmail.com>
22903
22904 * string/test-memcpy.c (do_one_test): When reporting errors, print
22905 string address and don't overrun end of string.
22906
466b0393
AM
229072013-10-04 Alan Modra <amodra@gmail.com>
22908
22909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22910 insrdi. Make better use of reg selection to speed exit slightly.
22911 Schedule entry path a little better. Remove useless "are we done"
22912 checks on entry to main loop. Handle wrapping around zero address.
22913 Correct main loop count. Handle single left-over word from main
22914 loop inline rather than by using loop_small. Remove extra word
22915 case in loop_small caused by wrong loop count. Add little-endian
22916 support.
22917 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22918 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22919 cache hint.
22920 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22921 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22922 support. Avoid rlwimi.
22923 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22924
3be87c77
AM
229252013-10-04 Alan Modra <amodra@gmail.com>
22926
22927 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22928 insrdi. Formatting.
3be87c77
AM
22929 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22930 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22931 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22932 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22933 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22934 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22935
759cfef3
AM
229362013-10-04 Alan Modra <amodra@gmail.com>
22937
22938 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22939 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22941 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22942 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22943 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22944 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22945 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22946 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22947 use of regs. Use power7 mtocrf. Tidy function tails.
22948
fe6e95d7
AM
229492013-10-04 Alan Modra <amodra@gmail.com>
22950
22951 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22952 Formatting. Consistently use rXXX register defines or rN defines.
22953 Use early exit labels that avoid restoring unused non-volatile regs.
22954 Make cr field use more consistent with rWORDn compares. Rename
22955 regs used as shift registers for unaligned loop, using rN defines
22956 for short lifetime/multiple use regs.
22957 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22959 addi 1,1,64 to pop stack frame. Simplify return value code.
22960 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22961
664318c3
AM
229622013-10-04 Alan Modra <amodra@gmail.com>
22963
22964 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22965 support. Correct typos, formatting. Optimize tail. Use insrdi
22966 rather than rlwimi.
22967 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22968 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22969 little-endian support. Correct typos.
22970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22971 rather than rlwimi.
22972 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22973 in loop and entry code to keep "and." results.
22974 (strchr): Add little-endian support. Comment. Move cntlzd
22975 earlier in tail.
22976 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22977
43b84013
AM
229782013-10-04 Alan Modra <amodra@gmail.com>
22979
22980 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22981 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22982 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22983 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22984
8a7413f9
AM
229852013-10-04 Alan Modra <amodra@gmail.com>
22986
22987 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22988 (rTMP): Define as r11.
22989 (strcmp): Add little-endian support. Optimise tail.
22990 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22991 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22992 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22993 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22994 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22995 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22996 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22997
33ee81de
AM
229982013-10-04 Alan Modra <amodra@gmail.com>
22999
23000 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23001 little-endian support. Remove unnecessary "are we done" tests.
23002 Handle "s" wrapping around zero and extremely large "size".
23003 Correct main loop count. Handle single left-over word from main
23004 loop inline rather than by using small_loop. Correct comments.
23005 Delete "zero" tail, use "end_max" instead.
23006 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23007
db9b4570
AM
230082013-10-04 Alan Modra <amodra@gmail.com>
23009
23010 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23011 support. Don't branch over align.
23012 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23013 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23014 support. Rearrange tmp reg use to suit. Comment.
23015 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23016
f7c399cf
AM
230172013-10-04 Alan Modra <amodra@gmail.com>
23018
23019 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23020
0b2c2ace
AM
230212013-10-04 Alan Modra <amodra@gmail.com>
23022
23023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23024 conditional form of branch and link when obtaining pc.
23025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23026
02f04a6c
AM
230272013-10-04 Alan Modra <amodra@gmail.com>
23028
23029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23030 HIWORD/LOWORD.
23031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23033
9b874b2f
AM
230342013-10-04 Alan Modra <amodra@gmail.com>
23035
23036 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23037 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23038 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23039 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23040 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23041 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23042 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23043 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23044 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23045 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23046
be1e5d31
AB
230472013-10-04 Anton Blanchard <anton@au1.ibm.com>
23048 Alistair Popple <alistair@ozlabs.au.ibm.com>
23049 Alan Modra <amodra@gmail.com>
23050
23051 [BZ #15723]
23052 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23054 _dl_hwcap access for little-endian.
23055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23056 destroy vmx regs when saving unaligned.
23057 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23058 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23059 destroy vmx regs when saving unaligned.
23060
fef13a78
AM
230612013-10-04 Alan Modra <amodra@gmail.com>
23062
23063 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23064 Don't use a union to pack hi/low value.
23065
76a66d51
AB
230662013-10-04 Anton Blanchard <anton@au1.ibm.com>
23067
23068 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23069 for little-endian.
23070 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23072 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23073 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23074 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23075
6a31fe7f
AM
230762013-10-04 Alan Modra <amodra@gmail.com>
23077
23078 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23079 constants to usual value for .cst8 section, and remove redundant
23080 high address load.
23081 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23082 constant for 0x1p52. Load little-endian words of double from
23083 correct stack offsets.
23084
7b88401f
AM
230852013-10-04 Alan Modra <amodra@gmail.com>
23086
23087 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23088 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23089 words of double from correct stack offsets.
23090 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23091 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23092 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23094 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23097 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23098 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23099 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23100 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23102 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23103 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23104 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23105 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23106 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23107
9c008155
AM
231082013-10-04 Alan Modra <amodra@gmail.com>
23109
23110 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23111 64-bit int/double union.
23112 (_FPU_SETCW): Likewise.
23113 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23114 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23115
da13146d
AM
231162013-10-04 Alan Modra <amodra@gmail.com>
23117
23118 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23119 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23120
603e8410
AM
231212013-10-04 Alan Modra <amodra@gmail.com>
23122
23123 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23124 use vector int constants.
23125 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23126
4a28b3ca
AB
231272013-10-04 Anton Blanchard <anton@au1.ibm.com>
23128
23129 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23130 array with long long.
23131 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23132 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23133 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23134 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23135 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23136 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23137 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23138 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23139 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23140 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23141 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23142 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23143 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23144
2ca85d2b
AB
231452013-10-04 Anton Blanchard <anton@au1.ibm.com>
23146
23147 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23148 (__signbit): Likewise. Correct for little-endian.
23149 (__signbitl): Call __signbit.
23150 (lrint): Correct for little-endian.
23151 (lrintf): Call lrint.
23152
62a728ae
AM
231532013-10-04 Alan Modra <amodra@gmail.com>
23154
23155 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23156 union 32-bit int array member with 64-bit int array.
23157 (t515, tm256): Double rather than long double.
23158 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23159
32c301df
AM
231602013-10-04 Alan Modra <amodra@gmail.com>
23161
23162 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23163 Delete.
23164 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23166 version of math_ldbl.h.
23167
650ef4bd
AM
231682013-10-04 Alan Modra <amodra@gmail.com>
23169
23170 [BZ #15734], [BZ #15735]
23171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23172 all uses of ieee875 long double macros and unions. Simplify test
23173 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23174 ldbl_extract_mantissa value for ix,iy exponents. Properly
23175 normalize after ldbl_extract_mantissa, and don't add hidden bit
23176 already handled. Don't treat low word of ieee854 mantissa like
23177 low word of IBM long double and mask off bit when testing for
23178 zero.
23179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23180 all uses of ieee875 long double macros and unions. Simplify tests
23181 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23182 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23183 two1022, instead use their values. Recognise that tests for large
23184 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23185 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23186 Rewrite all uses of ieee875 long double macros and unions. Simplify
23187 test for 0.0L and nan. Correct negation.
23188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23189 ieee875 long double macros and unions. Correct output for large
23190 magnitude x. Correct absolute value calculation.
23191 (__erfcl): Likewise.
23192 * math/libm-test.inc: Add tests for errors discovered in IBM long
23193 double versions of fmodl, remainderl, erfl and erfcl.
23194
765714ca
AM
231952013-10-04 Alan Modra <amodra@gmail.com>
23196
23197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23198 all uses of ieee854 long double macros and unions. Simplify tests
23199 for long doubles that are fully specified by the high double.
23200 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23201 Likewise.
23202 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23203 Remove dead code too.
23204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23205 (__ieee754_ynl): Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23209 Remove dead code too.
23210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23211 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23212 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23214 Simplify.
23215 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23216 Simplify.
23217 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23220 Comment on variable precision.
23221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23222 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23223 Likewise.
23224 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23228 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23229
4ebd120c
AM
232302013-10-04 Alan Modra <amodra@gmail.com>
23231
23232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23234 all uses of ieee854 long double macros and unions.
23235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23240 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23241 Likewise.
23242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23243 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23244 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23245 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23246 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23247 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23248 Simplify sign and nan test too.
23249 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23251 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23252 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23253 Likewise.
23254 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23255 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23256 Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23258 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23259 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23260 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23263
1b6adf88
AM
232642013-10-04 Alan Modra <amodra@gmail.com>
23265
23266 * stdio-common/printf_size.c (__printf_size): Don't use
23267 union ieee854_long_double in fpnum union.
23268 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23269 signbit macro to retrieve sign from long double.
23270 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23271 retrieve sign from long double.
23272 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23273 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23274 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23275 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23276 * math/test-misc.c (main): Don't use union ieee854_long_double.
23277
4cf69995
AM
232782013-10-04 Alan Modra <amodra@gmail.com>
23279
23280 [BZ #15680]
23281 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23282 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23283 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23284 calculation. Remove unnecessary test for denormal exponent.
23285 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23286 Correct handling of denormals. Avoid undefined shift behaviour.
23287 Correct normalisation of low mantissa when low double is denormal.
23288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23289 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23290 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23291 Correct normalisation of low mantissa. Test for overflow of high
23292 mantissa and normalise.
23293 (ldbl_nearbyint): Use more readable constant for two52.
23294 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23295 (__mpn_construct_long_double): Fix test for overflow of high
23296 mantissa and correct normalisation. Avoid undefined shift.
23297
9605ca6c
AM
232982013-10-04 Alan Modra <amodra@gmail.com>
23299
23300 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23301 (union ibm_extended_long_double): Define as an array of ieee754_double.
23302 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23303 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23304 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23305 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23309 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23313
975569d0
JM
233142013-10-03 Joseph Myers <joseph@codesourcery.com>
23315
d3d23756
JM
23316 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23317 page size instead of calling getpagesize.
23318
975569d0
JM
23319 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23320 (LOCFILE_ALIGN_MASK): Likewise.
23321 (LOCFILE_ALIGN_UP): Likewise.
23322 (LOCFILE_ALIGNED_P): Likewise.
23323 * locale/programs/ld-collate.c (collate_output): Use the new
23324 macros instead of __alignof__ (int32_t).
23325 * locale/weight.h (findidx): Likewise.
23326
b1fe1f2b
OB
233272013-10-03 Ondřej Bílka <neleai@seznam.cz>
23328
23329 [BZ #431]
23330 * manual/string.texi: Fix strncat and wcsncat.
23331
5f855e35
BM
233322013-10-03 Brooks Moses <bmoses@google.com>
23333
23334 [BZ #15915]
23335 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23336 * Makerules: ...here, and adjust associated comments.
23337
3cef6009
WN
233382013-10-02 Will Newton <will.newton@linaro.org>
23339
23340 * malloc/Makefile: Add tst-pvalloc.
23341 * malloc/tst-pvalloc.c: New file.
23342
7815420b
WN
233432013-10-02 Will Newton <will.newton@linaro.org>
23344
23345 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23346 improve test coverage.
23347
4868b204
WN
233482013-10-02 Will Newton <will.newton@linaro.org>
23349
23350 * malloc/Makefile: Add tst-posix_memalign.
23351 * malloc/tst-posix_memalign.c: New file.
23352
29c793b3
EB
233532013-10-01 Eric Blake <eblake@redhat.com>
23354
23355 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23356 Use __THROWNL rather than __THROW on static functions.
23357
fd967522
PM
233582013-09-30 Petr Machata <pmachata@redhat.com>
23359
23360 * elf/elf.h (R_AARCH64_ABS16): New macro.
23361 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23362 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23363 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23364 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23365 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23366 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23367 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23368 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23369 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23370 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23371 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23372 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23373 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23374 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23375 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23376 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23377 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23378 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23379 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23380 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23381 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23382 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23383 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23384 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23385 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23386 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23387 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23388 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23389 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23390 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23391 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23392 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23393 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23394 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23395 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23396 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23397 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23398 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23399 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23400 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23401 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23402 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23403 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23404 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23405 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23406 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23407 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23408 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23409 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23410 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23411 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23412 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23413 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23414 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23415 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23416 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23417 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23418 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23419 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23420 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23421 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23422 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23423 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23424 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23425 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23426 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23427 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23428 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23429 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23430 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23431 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23432 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23433 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23434 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23435 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23436 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23437 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23438 (R_AARCH64_TLSDESC_LDR): Likewise.
23439 (R_AARCH64_TLSDESC_ADD): Likewise.
23440 (R_AARCH64_TLSDESC_CALL): Likewise.
23441
b2179107
AS
234422013-09-30 Andreas Schwab <schwab@suse.de>
23443
23444 [BZ #15048]
23445 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23446 the nss database lookup.
23447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23449
47f28d0a
MF
234502013-09-28 Mike Frysinger <vapier@gentoo.org>
23451
23452 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23453
234542013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23455
23456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23457 ${Bash-specific parameter/pattern/string} parameter expansion.
23458 * sysdeps/unix/make-syscalls.sh: Likewise.
23459
f4518a17
KK
234602013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23461
23462 * sysdeps/sh/stackguard-macros.h: New file.
23463
dc1a95c7
OB
234642013-09-26 Ondřej Bílka <neleai@seznam.cz>
23465
23466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23468 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23469 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23470 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23471 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23472
5ebbff8f
AZ
234732013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23474
23475 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23476 Fix thread ID register.
23477
4fd2cf9f
JM
234782013-09-25 Joseph Myers <joseph@codesourcery.com>
23479
23480 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23481 [POSIX || UNIX98]: Require rather than permitting all symbols from
23482 <time.h>.
23483 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23484 element of struct sched_param.
23485 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23486 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23487 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23488 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23489 constant.
23490
12c22bc4
OL
234912013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23492
23493 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23494 argument calculation.
23495
a03d8ea7
JM
234962013-09-24 Joseph Myers <joseph@codesourcery.com>
23497
23498 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23499 Expect macro.
23500 [POSIX] (pthread_attr_t): Do not require type.
23501 [POSIX] (pthread_cond_t): Likewise.
23502 [POSIX] (pthread_condattr_t): Likewise.
23503 [POSIX] (pthread_key_t): Likewise.
23504 [POSIX] (pthread_mutex_t): Likewise.
23505 [POSIX] (pthread_mutexattr_t): Likewise.
23506 [POSIX] (pthread_once_t): Likewise.
23507 [POSIX] (pthread_t): Likewise.
23508 [POSIX-based standards] (pthread_atfork): Expect function.
23509
6055173a
JM
235102013-09-24 Joseph Myers <joseph@codesourcery.com>
23511 Richard Sandiford <richard@codesourcery.com>
23512
23513 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23514 (swap_endianness_p): New extern variable.
23515 (set_big_endian): New inline function.
23516 (maybe_swap_uint32): Likewise.
23517 (maybe_swap_uint32_array): Likewise.
23518 (maybe_swap_uint32_obstack): Likewise.
23519 * locale/programs/locfile.c: Include <stdbool.h>.
23520 (swap_endianness_p): New variable.
23521 (add_locale_uint32): Call maybe_swap_uint32.
23522 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23523 (write_locale_data): Call maybe_swap_uint32_array.
23524 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23525 maybe_swap_uint32.
23526 (obstack_int32_grow_fast): Likewise.
23527 (output_weightwc): Call maybe_swap_uint32_obstack.
23528 (collate_output): Likewise.
23529 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23530 (OPT_LITTLE_ENDIAN): Likewise.
23531 (options): Add --little-endian and --big-endian options.
23532 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23533 * locale/programs/locarchive.c: Include "locfile.h".
23534 (GET): New macro.
23535 (SET): Likewise.
23536 (INC): Likewise.
23537 (create_archive): Use the new macros to access fields of
23538 structures directly mapped from or written to locale archives.
23539 (oldlocrecentcmp): Likewise.
23540 (enlarge_archive): Likewise.
23541 (insert_name): Likewise.
23542 (add_alias): Likewise.
23543 (add_locale): Likewise.
23544 (delete_locales_from_archive): Likewise.
23545 (show_archive_content): Likewise.
23546 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23547 locale data.
23548
39bf0bb4
RM
235492013-09-24 Roland McGrath <roland@hack.frob.com>
23550
23551 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23552 http://www.gnu.org/doc/freemanuals.texi.
23553 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23554
f02eed10
WN
235552013-09-24 Will Newton <will.newton@linaro.org>
23556
23557 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23558 macro.
23559
a3a6c312
JM
235602013-09-23 Joseph Myers <joseph@codesourcery.com>
23561
23562 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23563 unsigned char.
23564
107375ac
MR
235652013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23566
23567 * manual/threads.texi (POSIX Threads): Fix a typo.
23568
141f3a77
SP
235692013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23570
303e567a
SP
23571 [BZ #14547]
23572 * string/tst-strcoll-overflow.c: New test case.
23573 * string/Makefile (xtests): Add tst-strcoll-overflow.
23574 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23575 cache if string sizes may cause integer overflow.
23576
141f3a77
SP
23577 [BZ #14547]
23578 * string/strcoll_l.c (coll_seq): New members rule, idx,
23579 save_idx and back_us.
23580 (get_next_seq_nocache): New function.
23581 (do_compare_nocache): New function.
23582 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23583 when malloc fails.
23584
c61b4d41
CD
235852013-09-23 Carlos O'Donell <carlos@redhat.com>
23586
0b1f8e35
CD
23587 [BZ #15754]
23588 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23589 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23590 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23591
c61b4d41
CD
23592 [BZ #15754]
23593 * elf/Makefile (tests): Add tst-ptrguard1.
23594 (tests-static): Add tst-ptrguard1-static.
23595 (tst-ptrguard1-ARGS): Define.
23596 (tst-ptrguard1-static-ARGS): Define.
23597 * elf/tst-ptrguard1.c: New file.
23598 * elf/tst-ptrguard1-static.c: New file.
23599 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23600 * sysdeps/i386/stackguard-macros.h: Likewise.
23601 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23602 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23603 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23604 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23605 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23606 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23607
236082013-09-23 Hector Marco <hecmargi@upv.es>
23609 Ismael Ripoll <iripoll@disca.upv.es>
23610 Carlos O'Donell <carlos@redhat.com>
23611
23612 [BZ #15754]
23613 * sysdeps/generic/stackguard-macros.h: Define
23614 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23615 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23616 Define __pointer_chk_guard_local.
23617 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23618 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23619
f5f4e7b4
VV
236202013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23621
23622 [BZ #15859]
23623 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23624
5bb43a43
AS
236252013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23626
23627 * include/string.h (__ffs): Declare as hidden.
23628 * string/ffs.c (__ffs): Define as hidden.
23629 * sysdeps/i386/ffs.c (__ffs): Likewise.
23630 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23631 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23632 * sysdeps/s390/ffs.c (__ffs): Likewise.
23633 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23634
3ea5be54
AO
236352013-09-20 Alexandre Oliva <aoliva@redhat.com>
23636
ffb89e53
AO
23637 * NEWS: Mention malloc probes.
23638
322dea08
AO
23639 * malloc/arena.c (new_heap): New memory_heap_new probe.
23640 (grow_heap): New memory_heap_more probe.
23641 (shrink_heap): New memory_heap_less probe.
23642 (heap_trim): New memory_heap_free probe.
23643 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23644 (systrim): New memory_sbrk_less probe.
23645 * manual/probes.texi: Document them.
23646
655673f3
AO
23647 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23648 * manual/probes.texi: Document it.
23649
35fed6f1
AO
23650 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23651 (__libc_realloc): Add memory_realloc_retry probe.
23652 (__libc_memalign): Add memory_memalign_retry probe.
23653 (__libc_valloc): Add memory_valloc_retry probe.
23654 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23655 (__libc_calloc): Add memory_calloc_retry probe.
23656 * manual/probes.texi: Document them.
23657
6999d38c
AO
23658 * malloc/arena.c (get_free_list): Add probe
23659 memory_arena_reuse_free_list.
23660 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23661 and memory_arena_reuse.
23662 (arena_get2) [!PER_THREAD]: Likewise.
23663 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23664 memory_arena_reuse_realloc.
23665 * manual/probes.texi: Document them.
23666
0653427f
AO
23667 * malloc/malloc.c (__libc_free): Add
23668 memory_mallopt_free_dyn_thresholds probe.
23669 (__libc_mallopt): Add multiple memory_mallopt probes.
23670 * manual/probes.texi: Document them.
23671
3ea5be54
AO
23672 * malloc/malloc.c: Include stap-probe.h.
23673 (__libc_mallopt): Add memory_mallopt probe.
23674 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23675 * manual/probes.texi: New.
23676 * manual/Makefile (chapters): Add probes.
23677 * manual/threads.texi: Set next node.
23678
e35696c3 236792013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23680
e35696c3
CL
23681 [BZ #15963, #13985]
23682 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23683 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23684 Add `Chinese' to `nan' entry name.
23685
4aafb73c
SP
236862013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23687
23688 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23689 (POLYNOMIAL): Likewise.
23690 (TAYLOR_SINCOS): Likewise.
23691 (TAYLOR_SLOW): Likewise.
23692 (__sin): Use TAYLOR_SINCOS.
23693 (__cos): Likewise.
23694 (slow): Use TAYLOR_SLOW.
23695 (sloww): Likewise.
23696 (bsloww): Likewise.
23697 (csloww): Likewise.
23698
d84f25c7
LD
236992013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23700
23701 * stdlib/strtod_l.c: Fix buffer overrun.
23702
5eea0404
SP
237032013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23704
7849ff93
SP
23705 * benchtests/Makefile (bench): Add sincos.
23706 * benchtests/bench-sincos.c: New file.
23707
cfa3c886
SP
23708 * math/libm-test.inc (cos_test_data): New test inputs.
23709 (sin_test_data): Likewise.
23710
b348e1e3
SP
23711 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23712 macro.
23713 (__sin): Use it.
23714 (__cos): Likewise.
23715 (slow1): Likewise.
23716 (slow2): Likewise.
23717 (sloww1): Likewise.
23718 (sloww2): Likewise.
23719 (bsloww1): Likewise.
23720 (bsloww2): Likewise.
23721 (cslow2): Likewise.
23722 (csloww1): Likewise.
23723 (csloww2): Likewise.
23724
6cce25f8
SP
23725 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23726 function.
23727 (__sin): Use it.
23728 (__cos): Likewise.
23729
5eea0404
SP
23730 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23731 gotos.
23732 (__cos): Likewise.
23733
9c21573c
MR
237342013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23735
23736 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23737 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23738 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23739 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23740 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23741 * elf/cache.c (print_entry): Handle the new cache flags.
23742
24d22e65
JM
237432013-09-18 Joseph Myers <joseph@codesourcery.com>
23744 Aldy Hernandez <aldyh@redhat.com>
23745
23746 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23747 Change condition to [_SOFT_FLOAT].
23748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23760 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23763 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23764 declaration.
23765
d13ef066
JM
237662013-09-18 Joseph Myers <joseph@codesourcery.com>
23767
2e071de0
JM
23768 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23769 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23770 (__longjmp): Use LOAD_GP to load saved GPRs.
23771 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23772 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23773 (__sigsetjmp): Use SAVE_GP to save GPRs.
23774
d13ef066
JM
23775 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23776 Do not append -msoft-float.
23777 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23778
97a0650b
SP
237792013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23780
23781 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23782
11ca09e9
JM
237832013-09-17 Joseph Myers <joseph@codesourcery.com>
23784
23785 [BZ #15966]
23786 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23787 (_FPU_GETCW): Use initial "__" on variable and field names but not
23788 on macro parameter name.
23789 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23790 parentheses around reference to macro parameter.
23791
08ffcf34
RS
237922013-09-13 Richard Sandiford <richard@codesourcery.com>
23793
23794 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23795 prototype.
23796 (ctype_startup): Use uint32_t in cast and sizeof for
23797 ctype->charnames.
23798
ae7080d3
JL
237992013-09-11 Jia Liu <proljc@gmail.com>
23800
23801 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23802 __daddr_t_defined.
23803 [__FreeBSD__]: Likewise.
23804
5905e7b3
OB
238052013-09-11 Ondřej Bílka <neleai@seznam.cz>
23806
23807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23808 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23809 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23810 (strchr): Remove __strchr_sse42 ifunc selection.
23811 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23812 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23813
b987c776
WN
238142013-09-11 Will Newton <will.newton@linaro.org>
23815
23816 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23817 parameter to RES. Remove hardcoded 1000 value.
23818 * benchtests/bench-skeleton.c (main): Pass RES parameter
23819 to TIMING_INIT and multiply result by 1000.
23820
ddf985af
AZ
238212013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23822
23823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23824
ffdd3181
AS
238252013-09-11 Andreas Schwab <schwab@suse.de>
23826
23827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23828 if not defined.
23829 (O_TMPFILE) [__USE_GNU]: Define.
23830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23831 Define.
23832
b73ed247
WN
238332013-09-11 Will Newton <will.newton@linaro.org>
23834
23835 [BZ #15857]
23836 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23837 does not overflow.
23838
55e17aad
WN
238392013-09-11 Will Newton <will.newton@linaro.org>
23840
23841 [BZ #15856]
23842 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23843 does not overflow.
23844
1159a193
WN
238452013-09-11 Will Newton <will.newton@linaro.org>
23846
23847 [BZ #15855]
23848 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23849 does not overflow.
23850
5905e7b3 238512013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23852
23853 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23854 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23856 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23857 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23858
cdfc721b
AM
238592013-09-10 Allan McRae <allan@archlinux.org>
23860
aa04af00
AM
23861 [BZ #15748]
23862 * manual/arith.texi (Parsing of Floats): Clarify
23863 cross-reference.
23864
cdfc721b
AM
23865 [BZ #15849]
23866 * manual/install.texi (Running make install): Mention
23867 --enable-pt-chown.
23868 * INSTALL: Regenerated.
23869
95e7cf29
MR
238702013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23871
23872 * csu/init-first.c (_init): Remove the !SHARED condition around
23873 FPU control word initialization.
23874 * elf/dl-support.c (_dl_fpu_control): New variable.
23875 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23876 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23877 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23878 * math/test-fpucw-static.c: New file.
23879 * math/test-fpucw-ieee.c: New file.
23880 * math/test-fpucw-ieee-static.c: New file.
23881 * math/Makefile (tests): Add `test-fpucw-ieee' and
23882 `$(tests-static)'.
23883 (tests-static): New variable.
23884 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23885 dependency to...
23886 [($(build-shared),yes)]
23887 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23888 ... this.
23889 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23890 New dependency.
23891
83e43bf0
AM
238922013-09-09 Allan McRae <allan@archlinux.org>
23893
a9f5ce09
AM
23894 [BZ #15939]
23895 * manual/string.texi (Collation Functions): Fix typo in
23896 strcoll example.
23897 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23898
34829bc2
AM
23899 [BZ #15893]
23900 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23901
3932737d
AM
23902 [BZ #15892]
23903 * libio/memstream.c (open_memstream): Fix memory leak.
23904 * libio/wmemstream.c (open_wmemstream): Likewise.
23905
83e43bf0
AM
23906 [BZ #15895]
23907 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23908
0c66b8e9
WN
239092013-09-09 Will Newton <will.newton@linaro.org>
23910
23911 * malloc/Makefile: Add tst-realloc to tests.
23912 * malloc/tst-realloc.c: New file.
23913
f6b00fd1
AM
239142013-09-09 Allan McRae <allan@archlinux.org>
23915
23916 [BZ #15844]
23917 * COPYING: Update from GNU website to fix FSF address.
23918 * COPYING.LIB: Likewise.
23919
eec55e16
DM
239202013-09-06 David S. Miller <davem@davemloft.net>
23921
23922 * po/zh_TW.po: Update Chinese (traditional) translation from
23923 translation project.
23924
1ecbb381
RS
239252013-09-06 Richard Sandiford <richard@codesourcery.com>
23926 Joseph Myers <joseph@codesourcery.com>
23927
23928 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23929 "localeinfo.h".
23930 (obstack_chunk_alloc): New macro.
23931 (obstack_chunk_free): Likewise.
23932 (record_offset): New function.
23933 (init_locale_data): Likewise.
23934 (align_locale_data): Likewise.
23935 (add_locale_empty): Likewise.
23936 (add_locale_raw_data): Likewise.
23937 (add_locale_raw_obstack): Likewise.
23938 (add_locale_string): Likewise.
23939 (add_locale_wstring): Likewise.
23940 (add_locale_uint32): Likewise.
23941 (add_locale_uint32_array): Likewise.
23942 (add_locale_char): Likewise.
23943 (start_locale_structure): Likewise.
23944 (end_locale_structure): Likewise.
23945 (start_locale_prelude): Likewise.
23946 (end_locale_prelude): Likewise.
23947 (write_locale_data): Take locale_file structure rather than an
23948 iovec.
23949 * locale/programs/locfile.h: Include "obstack.h".
23950 (struct locale_file): Change to store locale file contents instead
23951 of header.
23952 (init_locale_data): New prototype.
23953 (align_locale_data): Likewise.
23954 (add_locale_empty): Likewise.
23955 (add_locale_raw_data): Likewise.
23956 (add_locale_raw_obstack): Likewise.
23957 (add_locale_string): Likewise.
23958 (add_locale_wstring): Likewise.
23959 (add_locale_uint32): Likewise.
23960 (add_locale_uint32_array): Likewise.
23961 (add_locale_char): Likewise.
23962 (start_locale_structure): Likewise.
23963 (end_locale_structure): Likewise.
23964 (start_locale_prelude): Likewise.
23965 (end_locale_prelude): Likewise.
23966 (write_locale_data): Update prototype.
23967 * locale/programs/3level.h (struct TABLE): Remove result field.
23968 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23969 Use new locale_file interface.
23970 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23971 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23972 * locale/programs/ld-address.c (address_output): Use new
23973 locale_file interface.
23974 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23975 NO_ADD_LOCALE.
23976 (collate_finish): Don't call collseq_table_finalize.
23977 (collate_output): Use new locale_file interface.
23978 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23979 in file.
23980 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23981 (TABLE): Move defines earlier in file.
23982 (ELEMENT): Likewise.
23983 (DEFAULT): Likewise.
23984 (wctrans_table_add): Move macro and inline function earlier in
23985 file.
23986 (struct wctype_table): Move type earlier in file.
23987 (add_locale_wctype_table): New static prototype.
23988 (struct locale_ctype_t): Use logical types instead of struct iovec
23989 pointers for members.
23990 (ctype_output): Use new locale_file interface.
23991 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23992 new locale_file interface.
23993 (allocate_arrays): Update for use of new locale_file interface.
23994 * locale/programs/ld-identification.c (identification_output): Use
23995 new locale_file interface.
23996 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23997 * locale/programs/ld-messages.c (messages_output): Likewise.
23998 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23999 * locale/programs/ld-name.c (name_output): Likewise.
24000 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24001 * locale/programs/ld-paper.c (paper_output): Likewise.
24002 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24003 * locale/programs/ld-time.c (time_output): Likewise.
24004
e029e2e5
AZ
240052013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24006
24007 * benchtests/Makefile: Add memrchr benchmark.
24008 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24009 benchmark as memrchr.
24010 * benchtests/bench-memrchr-ifunc.c: New file.
24011 * benchtests/bench-memrchr.c: New file.
24012
bbf6e8e4
WN
240132013-09-06 Will Newton <will.newton@linaro.org>
24014
24015 * benchtests/Makefile (string-bench): Add memcpy.
24016
6c82a2f8
CD
240172013-09-05 Carlos O'Donell <carlos@redhat.com>
24018 Cong Wang <amwang@redhat.com>
24019
e732c5f0 24020 [BZ #15850]
6c82a2f8
CD
24021 * sysdeps/unix/sysv/linux/bits/in.h
24022 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24023 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24024 before __USE_KERNEL_IPV6_DEFS uses.
24025 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24026 IPPROTO_BEETPH.
24027 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24028 sockaddr_in6, or ipv6_mreq.
24029
5430fc65
AZ
240302013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24031
24032 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24033 memory access for final bytes in some large inputs.
24034 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24035
4660856c
AZ
240362013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24037
24038 * string/test-memrchr.c: New file.
24039 * string/test-memrchr-ifunc.c: New file.
24040 * string/Makefile: Add new memrchr testcase.
24041
bb8ea713
MF
240422013-09-05 Mike Frysinger <vapier@gentoo.org>
24043
24044 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24045 fanotify_init returns EPERM.
24046
b92a20b5
JM
240472013-09-04 Joseph Myers <joseph@codesourcery.com>
24048
24049 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24050 errors.
24051 (top level): Treat second token from macro or constant entries for
24052 allowed headers as allowed.
24053 * include/complex.h: Condition internal declarations on
24054 [!_ISOMAC].
24055 * include/fenv.h: Condition include of <stdbool.h> and internal
24056 declarations on [!_ISOMAC].
7447ccd9
CL
24057
240582013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24059
3e181dda 24060 [BZ #15923]
7447ccd9
CL
24061 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24062
3f2e46a4
JM
240632013-09-04 Joseph Myers <joseph@codesourcery.com>
24064
24065 * configure.in (--enable-versioning): Remove configure option.
24066 (libc_cv_asm_symver_directive): Remove configure test.
24067 (libc_cv_ld_version_script_option): Likewise.
24068 (VERSIONING): Remove variable and AC_SUBST.
24069 (DO_VERSIONING): Remove AC_DEFINE.
24070 * configure: Regenerated.
24071 * config.h.in (DO_VERSIONING): Remove macro.
24072 * Makerules [$(versioning) = yes]: Change conditionals to
24073 [$(build-shared) = yes].
24074 * config.make.in (versioning): Remove variable.
24075 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24076 [$(build-shared) = yes].
24077 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24078 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24079 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24080 [$(build-shared) = yes].
24081 * extra-lib.mk [$(versioning) = yes]: Likewise.
24082 * hurd/Makefile [$(versioning) = yes]: Likewise.
24083 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24084 [SHARED].
24085 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24086 [SHARED].
24087 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24088 [SHARED && !NO_HIDDEN].
24089 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24090 [SHARED].
24091 [SHARED && DO_VERSIONING]: Likewise..
24092 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24093 [$(build-shared) = yes].
24094 * manual/install.texi (--disable-versioning): Remove
24095 documentation.
24096 * INSTALL: Regenerated.
24097 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24098 to [SHARED].
24099 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24100 [$(build-shared) = yes].
24101 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24102 * sysdeps/i386/i686/multiarch/strstr-c.c
24103 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24104 [SHARED && !NO_HIDDEN].
24105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24106 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24107 * sysdeps/powerpc/powerpc32/dl-machine.c
24108 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24109 * sysdeps/powerpc/powerpc32/sysdep.h
24110 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24111 to [SHARED && PIC && !NO_HIDDEN].
24112 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24113 conditional to [SHARED].
24114
44558701
WN
241152013-09-04 Will Newton <will.newton@linaro.org>
24116
24117 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24118 * benchtests/bench-string.h: Include bench-timing.h instead
24119 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24120 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24121 call to HP_TIMING_DIFF_INIT.
24122 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24123 instead of hp-timing.h macros.
24124 * benchtests/bench-memchr.c: Likewise.
24125 * benchtests/bench-memcmp.c: Likewise.
24126 * benchtests/bench-memcpy.c: Likewise.
24127 * benchtests/bench-memmem.c: Likewise.
24128 * benchtests/bench-memmove.c: Likewise.
24129 * benchtests/bench-memset.c: Likewise.
24130 * benchtests/bench-rawmemchr.c: Likewise.
24131 * benchtests/bench-strcasecmp.c: Likewise.
24132 * benchtests/bench-strcasestr.c: Likewise.
24133 * benchtests/bench-strcat.c: Likewise.
24134 * benchtests/bench-strchr.c: Likewise.
24135 * benchtests/bench-strcmp.c: Likewise.
24136 * benchtests/bench-strcpy.c: Likewise.
24137 * benchtests/bench-strcpy_chk.c: Likewise.
24138 * benchtests/bench-strlen.c: Likewise.
24139 * benchtests/bench-strncasecmp.c: Likewise.
24140 * benchtests/bench-strncat.c: Likewise.
24141 * benchtests/bench-strncmp.c: Likewise.
24142 * benchtests/bench-strncpy.c: Likewise.
24143 * benchtests/bench-strnlen.c: Likewise.
24144 * benchtests/bench-strpbrk.c: Likewise.
24145 * benchtests/bench-strrchr.c: Likewise.
24146 * benchtests/bench-strspn.c: Likewise.
24147 * benchtests/bench-strstr.c: Likewise.
24148
cae16d66
WN
241492013-09-04 Will Newton <will.newton@linaro.org>
24150
24151 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24152
ffa3cd7f
JM
241532013-09-03 Joseph Myers <joseph@codesourcery.com>
24154
24155 [BZ #15427]
24156 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24157 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24158 * math/libm-test.inc (lgamma_test_data): Add more tests.
24159 * sysdeps/i386/fpu/libm-test-ulps: Update.
24160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24161
8f02859f
OB
241622013-09-03 Ondřej Bílka <neleai@seznam.cz>
24163
24164 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24166 Add ifunc.
24167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24168 Add strcmp-sse2-unaligned
24169 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24170
18d43716
MF
241712013-09-02 Mike Frysinger <vapier@gentoo.org>
24172
24173 * Versions.def (libc): Add GLIBC_2.19.
24174
ac444012
MF
241752013-09-02 Mike Frysinger <vapier@gentoo.org>
24176
24177 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24178 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24179
b7835e32
JM
241802013-09-02 Joseph Myers <joseph@codesourcery.com>
24181
24182 [BZ #14155]
24183 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24184 intermediate calculations in recurrence.
24185 (__ieee754_ynf): Likewise.
24186 * math/libm-test.inc (jn_test_data): Do not allow spurious
24187 underflow exception. Add more tests.
24188 (yn_test_data): Add more tests.
24189 * sysdeps/i386/fpu/libm-test-ulps: Update.
24190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24191
8220f4f0
OB
241922013-09-02 Ondřej Bílka <neleai@seznam.cz>
24193
24194 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24195
f24a6d08
OB
241962013-08-30 Ondřej Bílka <neleai@seznam.cz>
24197
24198 * csu/init-first.c: Fix then/than typos.
24199 * locale/programs/ld-collate.c: Likewise.
24200 * locale/programs/linereader.h: Likewise.
24201 * manual/charset.texi: Likewise.
24202 * manual/filesys.texi: Likewise.
24203 * manual/stdio.texi: Likewise.
24204 * manual/string.texi: Likewise.
24205 * stdlib/fmtmsg.c: Likewise.
24206 * sysdeps/i386/stpncpy.S: Likewise.
24207 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24208 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24209 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24210 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24211
382466e0
OB
242122013-08-30 Ondřej Bílka <neleai@seznam.cz>
24213
24214 * elf/dl-open.c: Fix typos.
24215 * iconvdata/gbbig5.c: Likewise.
24216 * iconvdata/iso-2022-jp.c: Likewise.
24217 * iconv/gconv_int.h: Likewise.
24218 * iconv/loop.c: Likewise.
24219 * nis/rpcsvc/nis.h: Likewise.
24220 * resolv/ns_name.c: Likewise.
24221 * stdio-common/vfscanf.c: Likewise.
24222 * streams/stropts.h: Likewise.
24223 * sunrpc/rpc_thread.c: Likewise.
24224 * sysdeps/i386/strpbrk.S: Likewise.
24225 * sysdeps/ieee754/k_standard.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24228 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24229 * sysdeps/mach/hurd/profil.c: Likewise.
24230 * sysdeps/s390/dl-procinfo.h: Likewise.
24231 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24232 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24233 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24234 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24236
0186c6e9
OB
242372013-08-30 Ondřej Bílka <neleai@seznam.cz>
24238
24239 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24241
d4e16af1
OB
242422013-08-29 Ondřej Bílka <neleai@seznam.cz>
24243
24244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24245 aix specific files.
24246 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24247 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24248 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24249 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24250 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24251 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24252 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24253 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24254
88335980
TS
242552013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24256 Roland McGrath <roland@hack.frob.com>
24257
24258 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24259 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24260
ed479b02
ST
242612013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24262
24263 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24264 __executable_start symbol instead of _start.
24265
f1cc4c86
TS
242662013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24267
d821f07c
TS
24268 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24269 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24270 Move macros to...
24271 * sysdeps/gnu/ldsodefs.h: ... this new file.
24272
c54290cf
TS
24273 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24274 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24275 instead of ELFOSABI_LINUX.
24276
0007fc9b 24277 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24278 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24279 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24280 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24281 Likewise.
24282 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24283 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24285 Likewise.
24286 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24287 (ibm_extended_long_double): Add ieee_nan member.
24288 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24289 (do_test): New function.
24290
f1cc4c86
TS
24291 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24292 TEST_TRUNC.
24293 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24294 functions, renamed from truncdfsf_test, trunctfsf_test,
24295 trunctfdf_test.
24296 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24297 functions.
24298 (do_test): Run all these.
24299
6f65e668
OB
243002013-08-29 Ondřej Bílka <neleai@seznam.cz>
24301
24302 * argp/argp-help.c: Fix typos.
24303 * argp/argp-parse.c: Likewise.
24304 * debug/backtracesyms.c: Likewise.
24305 * elf/elf.h: Likewise.
24306 * malloc/malloc.c: Likewise.
24307 * nis/nis_print.c: Likewise.
24308 * resolv/res_comp.c: Likewise.
24309 * stdlib/stdlib.h: Likewise.
24310 * sunrpc/clnt_tcp.c: Likewise.
24311 * sunrpc/clnt_udp.c: Likewise.
24312 * sunrpc/clnt_unix.c: Likewise.
24313 * sysdeps/unix/bsd/ptsname.c: Likewise.
24314 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24315 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24317 Likewise.
24318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24319 Likewise.
24320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24321 Likewise.
6f65e668
OB
24322 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24323
3a309239
SP
243242013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24325
24326 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24328
3b813b29
MF
243292013-08-27 Mike Frysinger <vapier@gentoo.org>
24330
24331 [BZ #15897]
24332 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24333 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24334 ($(objpfx)bug-dl-leaf): New rule.
24335 ($(objpfx)bug-dl-leaf.so): Likewise.
24336 ($(objpfx)bug-dl-leaf.out): Likewise.
24337 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24338 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24339 * dlfcn/bug-dl-leaf.c: New test.
24340 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24341 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24342 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24343 (dlclose): Likewise.
24344 (dlmopen): Likewise.
24345
8cc3269f
RM
243462013-08-27 Roland McGrath <roland@hack.frob.com>
24347
7f9d0034
RM
24348 * include/netdb.h [!_ISOMAC]:
24349 Don't include <tls.h>.
24350 (h_errno, __libc_h_errno): Move declaration and macros out of
24351 [_LIBC_REENTRANT].
24352
fb431262
RM
24353 * include/resolv.h [_RESOLV_H_]:
24354 Don't include <tls.h>.
24355 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24356 * resolv/res_libc.c: Don't include <tls.h>.
24357 (_res): Use __attribute__ ((nocommon)) in place of
24358 __attribute__ ((section (".bss"))).
24359
bd81123a
RM
24360 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24361 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24362
c4e42566
RM
24363 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24364
f890a59b
RM
24365 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24366 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24367
24368 * resolv/res_mkquery.c: Include <sys/time.h>.
24369
5d1f0a09
RM
24370 * inet/ifreq.c: Moved to ...
24371 * sysdeps/unix/ifreq.c: ... here.
24372 * inet/ifreq.c: New file, true stub version.
24373
6fcf28b3
RM
24374 * socket/sa_len.c: New file.
24375 * socket/Makefile (aux): Add it.
24376 * sysdeps/unix/sysv/linux/Makefile
24377 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24378 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24379 and #include <socket/sa_len.c>.
24380 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24381 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24382
e041fb8b
RM
24383 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24384 * bits/socket.h: ... here.
24385
8cc3269f
RM
24386 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24387 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24388 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24389
5d228a43
AS
243902013-08-27 Andreas Schwab <schwab@suse.de>
24391
45b8accc
AS
24392 [BZ #15736]
24393 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24394 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24395 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24396 * string/test-strcasecmp.c (test_main): Run tests in several
24397 locales.
24398 * string/test-strncasecmp.c (test_main): Likewise.
24399
5d228a43
AS
24400 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24401 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24402 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24404 (__strncasecmp_ssse3) [PIC]: Likewise.
24405
59d112a4
RM
244062013-08-26 Roland McGrath <roland@hack.frob.com>
24407
53234cc3
RM
24408 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24409
59d112a4
RM
24410 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24411 instead of explicitly declaring xdecrypt.
24412 * nis/nss_nis/nis-publickey.c: Likewise.
24413
595aba70
SP
244142013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24415
24416 [BZ #15890]
24417 * nscd/aicache.c: Include res_hconf.h.
24418 (addhstaiX): Initialize res_hconf.
24419
ffabd393
AS
244202013-08-26 Andreas Schwab <schwab@suse.de>
24421
24422 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24423 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24424
e0a69f5c
SP
244252013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24426
24427 * nscd/aicache.c (addhstaiX): Fix indentation.
24428
8c12f01d
MF
244292013-08-25 Mike Frysinger <vapier@gentoo.org>
24430
24431 * configure.ac: Quote $build_pt_chown test.
24432 * configure: Regenerated.
24433
8fe89494
JM
244342013-08-23 Joseph Myers <joseph@codesourcery.com>
24435
24436 [BZ #15532]
24437 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24438 * math/s_cexpf.c (__cexpf): Likewise.
24439 * math/s_cexpl.c (__cexpl): Likewise.
24440 * math/libm-test.inc (cexp_test_data): Correct expected return
24441 value for NaN + i0. Add another test.
24442
75b181d6
DM
244432013-08-22 David S. Miller <davem@davemloft.net>
24444
24445 * po/ca.po: Update Catalan translation from translation project.
936241e4 24446 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24447
acd06bb1
JM
244482013-08-21 Joseph Myers <joseph@codesourcery.com>
24449
24450 [BZ #15797]
24451 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24452 is infinite, not alongside NaN test.
24453 * math/s_fdimf.c (__fdimf): Likewise.
24454 * math/s_fdiml.c (__fdiml): Likewise.
24455 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24456 errno is unchanged.
24457
c0c3f78a
OB
244582013-08-21 Ondřej Bílka <neleai@seznam.cz>
24459
24460 * argp/argp-help.c: Fix typos.
24461 * crypt/speeds.c: Likewise.
24462 * csu/check_fds.c: Likewise.
24463 * elf/dl-load.c: Likewise.
24464 * elf/dl-open.c: Likewise.
24465 * elf/reldep3.c: Likewise.
24466 * elf/reldep.c: Likewise.
24467 * elf/sprof.c: Likewise.
24468 * iconv/iconv_charmap.c: Likewise.
24469 * iconv/skeleton.c: Likewise.
24470 * iconv/strtab.c: Likewise.
24471 * io/lockf64.c: Likewise.
24472 * libio/libioP.h: Likewise.
24473 * resolv/gai_notify.c: Likewise.
24474 * resolv/ns_name.c: Likewise.
24475 * resolv/ns_samedomain.c: Likewise.
24476 * resolv/res_send.c: Likewise.
24477 * stdlib/random.c: Likewise.
24478 * sunrpc/rpc/xdr.h: Likewise.
24479 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24481 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24482 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24487 * sysdeps/mach/hurd/check_fds.c: Likewise.
24488 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24489 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24490 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24491 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24492 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24493 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24494 * sysdeps/pthread/aio_notify.c: Likewise.
24495 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24496 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24497 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24499 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24500
46ed1038
LD
245012013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24502
24503 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24504 version if bit_Slow_SSE4_2 is set.
24505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24506 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24507
d400dcac
AZ
245082013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24509
24510 [BZ #15867]
24511 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24512 trampoline stack frame information.
24513 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24514 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24515 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24516 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24517 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24518 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24519 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24520 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24521 sa_flags value.
24522 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24523 interrupting a syscall and set with option SA_SIGINFO.
24524
42c8fdd8
JM
245252013-08-20 Joseph Myers <joseph@codesourcery.com>
24526
c980f2f4
JM
24527 [BZ #15531]
24528 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24529 argument is infinite.
24530 * math/s_cprojf.c (__cprojf): Likewise.
24531 * math/s_cprojl.c (__cprojl): Likewise.
24532 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24533 * math/libm-test.inc (cproj_test_data): Add more tests.
24534
0716c4fc
JM
24535 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24536
42c8fdd8
JM
24537 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24538 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24539 size. Use __ffs to determine corresponding shift.
24540
b31469d0
JM
245412013-08-20 Joseph Myers <joseph@codesourcery.com>
24542 Roland McGrath <roland@hack.frob.com>
24543
24544 * Makefile (INSTALL): Remove trailing blank lines from output of
24545 makeinfo.
24546
4e39af6e
AK
245472013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24548
24549 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24550 Align 32 bit compat elf_greg to 8 bytes.
24551
f315524e
AA
245522013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24553
24554 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24555
1326ba1a
SP
245562013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24557
24558 * string/strcoll_l.c (coll_seq): New structure.
24559 (get_next_seq_cached): New function.
24560 (get_next_seq): New function.
24561 (do_compare): New function.
24562 (STRCOLL): Use GNU style definition. Simplify implementation
24563 by using get_next_seq, get_next_seq_cached and do_compare.
24564
91ce4085
FW
245652013-08-16 Florian Weimer <fweimer@redhat.com>
24566
24567 [BZ #14699]
24568 CVE-2013-4237
24569 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24570 member.
24571 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24572 member.
24573 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24574 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24575 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24576 conditional.
24577 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24578 GETDENTS_64BIT_ALIGNED.
24579 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24580 * manual/filesys.texi (Reading/Closing Directory): Document
24581 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24582 strongly.
24583 * manual/conf.texi (Limits for Files): Add portability note to
24584 NAME_MAX, PATH_MAX.
24585 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24586
ca0a6bc4
AS
245872013-08-13 Andreas Schwab <schwab@suse.de>
24588
24589 [BZ #15749]
24590 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24591 of fabs.
24592 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24593 LDBL_MAX_EXP >= 16384]: Add tests for it.
24594
6c1fd795
DM
245952013-08-12 David S. Miller <davem@davemloft.net>
24596
24597 * version.h (RELEASE): Set to "development".
24598 (VERSION): Set to "2.18.90".
24599 * NEWS: Add 2.19 section.
24600
31ad488d
DM
246012013-08-03 David S. Miller <davem@davemloft.net>
24602
24603 * po/ko.po: Update Korean translation from translation project.
24604
db24e684
DM
246052013-08-01 David S. Miller <davem@davemloft.net>
24606
24607 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24608 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24609 Bilka.
24610
f723285b
DM
246112013-07-30 David S. Miller <davem@davemloft.net>
24612
24613 * po/fr.po: Update French translation from translation project.
24614
3cbc52db
DM
246152013-07-28 David S. Miller <davem@davemloft.net>
24616
30bbc0cc
DM
24617 * po/cs.po: Update Czech translation from translation project.
24618
3cbc52db
DM
24619 * po/sv.po: Update Swedish translation from translation project.
24620
d492e6d0
DM
246212013-07-27 David S. Miller <davem@davemloft.net>
24622
f1a7f492
DM
24623 * po/eo.po: Update Esperanto translation from translation project.
24624
90e62a4a
DM
24625 * po/vi.po: Update Vietnamese translation from translation project.
24626
d492e6d0
DM
24627 * po/de.po: Update German translation from translation project.
24628
d4baa62d
DM
246292013-07-26 David S. Miller <davem@davemloft.net>
24630
641aa7b4
DM
24631 * po/bg.po: Update Bulgarian translation from translation project.
24632
d4baa62d
DM
24633 * po/nl.po: Update Dutch translation from translation project.
24634 * po/pl.po: Update Polish translation from translation project.
24635 * po/ru.po: Update Russian translation from translation project.
24636
61a9dcb9
DM
246372013-07-24 David S. Miller <davem@davemloft.net>
24638
24639 * po/libc.pot: Update.
24640
7b1f8b58
AZ
246412013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24642
24643 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24644 variable page size.
24645 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24646 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24647 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24648
a8fc7a03
AK
246492013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24650
24651 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24652
e4608715
CD
246532013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24654 Andreas Schwab <schwab@suse.de>
24655 Roland McGrath <roland@hack.frob.com>
24656 Joseph Myers <joseph@codesourcery.com>
24657 Carlos O'Donell <carlos@redhat.com>
24658
24659 [BZ #15755]
24660 * config.h.in: Define HAVE_PT_CHOWN.
24661 * config.make.in (build-pt-chown): New variable.
24662 * configure.in (--enable-pt_chown): New configure option.
24663 * configure: Regenerate.
24664 * login/Makefile: Include Makeconfig. Build pt_chown only if
24665 build-pt-chown is enabled.
24666 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24667 pt_chown to fix pty ownership.
24668 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24669 CLOSE_ALL_FDS.
24670 * manual/install.texi (Configuring and compiling): Mention
24671 --enable-pt_chown. Add @findex for grantpt.
24672 * INSTALL: Regenerate.
24673
da2d62df
DM
246742013-07-20 David S. Miller <davem@davemloft.net>
24675
24676 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24677 difference between 32-bit and 64-bit.
24678
d7e06450
CD
246792013-07-15 Carlos O'Donell <carlos@redhat.com>
24680
24681 [BZ #15711]
24682 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24683 Avoid system header dependency with -ffreestanding.
24684 ($(objpfx)bits/syscall%d): Likewise.
24685
f959cfd7
DM
246862013-07-13 David S. Miller <davem@davemloft.net>
24687
24688 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24689 underflows from atanl/atan2l due to bug 15319.
24690 (casinh_test_data): Likewise.
24691
c61f8513
DM
246922013-07-07 David S. Miller <davem@davemloft.net>
24693
24694 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24695
72c90ed0
JA
246962013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24697
24698 * sysdeps/i386/fpu/libm-test-ulps: Update.
24699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24700
52dfbe13
SP
247012013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24702
24703 * configure.in (--enable-lock-elision): Fix message text.
24704 * INSTALL: Regenerate.
24705 * configure: Regenerate.
24706
3f169543
AZ
247072013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24708
24709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24710
521c6785
AJ
247112013-07-03 Andreas Jaeger <aj@suse.de>
24712
24713 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24714 define.
24715 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24716 (ptrace_peeksiginfo_args): Add.
24717 (__ptrace_peeksiginfo_flags): Add.
24718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24721
d2cc15cb
AM
247222013-07-03 Allan McRae <allan@archlinux.org>
24723
24724 * sysdeps/i386/fpu/libm-test-ulps: Update.
24725
3aaeeca7
DM
247262013-07-02 David S. Miller <davem@davemloft.net>
24727
24728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24729
5314ed1a
MT
247302013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24731
24732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24733
67338156
JM
247342013-07-02 Joseph Myers <joseph@codesourcery.com>
24735
24736 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24738
1717da59
AK
247392013-07-02 Andi Kleen <ak@linux.intel.com>
24740
24741 * config.h.in (ENABLE_LOCK_ELISION): Add.
24742 * configure.in (--enable-lock-elision): Add option.
24743 * manual/install.texi: Document --enable lock elision.
24744 * configure: Regenerate
24745 * INSTALL: Regenerate.
24746
1c81621c
L
247472013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24748
24749 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24750 SSE4.2 strcasecmp for libc.a.
24751 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24752
77f01ab5
JM
247532013-07-02 Joseph Myers <joseph@codesourcery.com>
24754
24755 [BZ #13304]
24756 * soft-fp/op-common.h (_FP_FMA): New macro.
24757 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24758 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24759 (_FP_MUL_MEAT_1_imm): ... here.
24760 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24761 (_FP_MUL_MEAT_1_wide): ... here.
24762 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24763 (_FP_MUL_MEAT_1_hard): ... here.
24764 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24765 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24766 (_FP_MUL_MEAT_2_wide): ... here.
24767 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24768 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24769 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24770 (_FP_MUL_MEAT_2_gmp): ... here.
24771 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24772 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24773 (_FP_MUL_MEAT_4_wide): ... here.
24774 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24775 (_FP_MUL_MEAT_4_gmp): ... here.
24776 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24777 (_FP_WFRACBITS_DW_S): Likewise.
24778 (_FP_WFRACXBITS_DW_S): Likewise.
24779 (_FP_HIGHBIT_DW_S): Likewise.
24780 (FP_FMA_S): Likewise.
24781 (_FP_FRAC_HIGH_DW_S): Likewise.
24782 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24783 (_FP_WFRACBITS_DW_D): Likewise.
24784 (_FP_WFRACXBITS_DW_D): Likewise.
24785 (_FP_HIGHBIT_DW_D): Likewise.
24786 (FP_FMA_D): Likewise.
24787 (_FP_FRAC_HIGH_DW_D): Likewise.
24788 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24789 (_FP_WFRACBITS_DW_E): Likewise.
24790 (_FP_WFRACXBITS_DW_E): Likewise.
24791 (_FP_HIGHBIT_DW_E): Likewise.
24792 (FP_FMA_E): Likewise.
24793 (_FP_FRAC_HIGH_DW_E): Likewise.
24794 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24795 (_FP_WFRACBITS_DW_Q): Likewise.
24796 (_FP_WFRACXBITS_DW_Q): Likewise.
24797 (_FP_HIGHBIT_DW_Q): Likewise.
24798 (FP_FMA_Q): Likewise.
24799 (_FP_FRAC_HIGH_DW_Q): Likewise.
24800 * soft-fp/fmasf4.c: New file.
24801 * soft-fp/fmadf4.c: Likewise.
24802 * soft-fp/fmatf4.c: Likewise.
24803
6308fd9a
LD
248042013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24805
24806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24807 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24808 Silvermont.
24809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24810 macro.
24811 (index_Slow_SSE4_2): Likewise.
24812 (index_Prefer_PMINUB_for_stringop): Likewise.
24813 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24814 bit_Slow_SSE4_2 is set.
24815 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24816 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24817
89cd9569
RA
248182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24819
24820 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24821 rtld_global._dl_hwcap2.
24822 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24823 POWER8.
24824 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24825 POWER8 feature descriptions defined in _dl_hwcap2.
24826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24827 string handling for POWER8 feature bits.
24828 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24829 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24830 _dl_powerpc_cap_flags.
24831 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24832 * sysdeps/powerpc/rtld-global-offsets.sym
24833 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24834 _dl_hwcap2 in the rtld_global_ro structure.
24835
1ae8bfe0
RA
248362013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24837
24838 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24839 hardware capabilities in support of AT_HWCAP2.
24840 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24841 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24842 GLRO(dl_hwcap2).
24843 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24844 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24845 explicitly the unknown a_type display mechanism is used.
24846 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24847 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24848 struct member.
24849 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24850 to macro prototype for AT_HWCAP2 support.
24851 * sysdeps/i386/dl-procinfo.h: Likewise.
24852 * sysdeps/s390/dl-procinfo.h: Likewise.
24853 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24854 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24855 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24856 return -1 for unknown a_type display fallback.
24857 * sysdeps/sparc/dl-procinfo.h: Likewise.
24858 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24859 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24860
8fbec010
JM
248612013-06-28 Joseph Myers <joseph@codesourcery.com>
24862
24863 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24864 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24865
0432680e
PY
248662013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24867
24868 [BZ #12492]
24869 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24870 mprotect making __stack_prot writable.
24871
ce61a2ad
NF
248722013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24873 Joseph Myers <joseph@codesourcery.com>
24874
24875 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24876 as being properly aligned.
24877
f91f1c0f
MR
248782013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24879
3d0f5d0c
MR
24880 * dlfcn/modstatic5.c: New file.
24881 * dlfcn/tststatic5.c: New file.
24882 * dlfcn/Makefile (tests): Add tststatic5.
24883 (tests-static): Likewise.
24884 (modules-names): Add modstatic5.
24885 (tststatic5-ENV): New variable.
24886 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24887
f91f1c0f
MR
24888 [BZ #15022]
24889 * elf/dl-support.c (_dl_main_map): New variable.
24890 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24891 (_dl_nns, _dl_load_adds): Set to 1.
24892 (_dl_initial_searchlist): Refer to _dl_main_map.
24893 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24894 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24895 call to _dl_get_origin.
24896 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24897 around call_map.
24898 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24899 * dlfcn/modstatic3.c: New file.
24900 * dlfcn/tststatic3.c: New file.
24901 * dlfcn/tststatic4.c: New file.
24902 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24903 (tests-static): Likewise.
24904 (modules-names): Add modstatic3.
24905 (tststatic3-ENV, tststatic4-ENV): New variables.
24906 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24907 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24908
cbe7d24b
JM
249092013-06-26 Joseph Myers <joseph@codesourcery.com>
24910
24911 * configure.in (CC): Require GCC version 4.4 or later.
24912 * configure: Regenerated.
24913 * manual/install.texi (Tools for Compilation): Update GCC version
24914 requirement.
24915 * INSTALL: Regenerated.
24916
11b8a0e1
LD
249172013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24918
24919 [BZ #15674]
bb5bb87c
L
24920 * string/test-memcmp.c (check2): New.
24921 (main): Call check2.
24922
11b8a0e1
LD
24923 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24924
b0037103
MR
249252013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24926
24927 [BZ #15022]
24928 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24929 over to...
24930 (dl_open_worker) [!SHARED]: ... here.
24931
c18c701d
RA
249322013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24933
24934 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24935
1d17fa5f
RH
249362013-06-25 Richard Henderson <rth@redhat.com>
24937
24938 * locale/programs/locarchive.c: Include <libc-internal.h>
24939
8fcb833a
JM
249402013-06-25 Joseph Myers <joseph@codesourcery.com>
24941
24942 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24943 trailing whitespace removed.
24944
17db6e8d
MF
249452013-06-24 Mike Frysinger <vapier@gentoo.org>
24946
24947 [BZ #10283]
17db6e8d
MF
24948 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24949 * locale/programs/locarchive.c: Include libc-mmap.h.
24950 (prepare_address_space): Take two new outputs (the mmap base and len).
24951 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24952 values.
24953 (create_archive): Declare new mmap base and len values for
24954 prepare_address_space, and store the result in ah.
24955 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24956 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24957 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24958 Declare new mmap base and len values for
24959 prepare_address_space, and store the result in new_ah.
24960 (open_archive): Declare new mmap base and len values for
24961 prepare_address_space, and store the result in ah.
24962 (close_archive): If ah->mmap_base is not NULL, use that and
24963 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24964 * sysdeps/generic/libc-mmap.h: New file.
24965
d605071e
MF
249662013-06-24 Mike Frysinger <vapier@gentoo.org>
24967
24968 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24969 (ALIGN_UP): Likewise.
24970 (PTR_ALIGN_DOWN): Likewise.
24971 (PTR_ALIGN_UP): Likewise.
24972
2f063a6e
RA
249732013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24974
24975 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24976 entry mapped to PPC_PLATFORM_POWER8.
24977 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24978 POWER8.
24979 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24980 (_dl_string_platform): Add case for exporting platform position for
24981 POWER8.
24982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24983 search path to sysdeps/powerpc/powerpc32/power8 directory.
24984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24985 search path to sysdeps/powerpc/powerpc64/power8 directory.
24986 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24987 power7 directories.
24988 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24989 power7 directories.
24990
a31ee4b3
SP
249912013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24992
a74ca98f
SP
24993 * INSTALL: Regenerate.
24994
a31ee4b3
SP
24995 * nscd/connections.c (nscd_init): Fix comment.
24996
695c378f
JM
249972013-06-22 Joseph Myers <joseph@codesourcery.com>
24998
d8412221
JM
24999 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25000
695c378f
JM
25001 [BZ #15667]
25002 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25003 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25004
d1d54715
MR
250052013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25006
25007 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25008 DL_DST_REQ_STATIC.
25009 (DL_DST_REQ_STATIC): Remove macro.
25010
8fdda7af
JM
250112013-06-21 Joseph Myers <joseph@codesourcery.com>
25012
25013 [BZ #7006]
25014 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25015 with a shift of 0 bits.
25016
f3bc5e5a
MR
250172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25018
25019 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25020 $(tststatic-ENV).
25021
be09e8c9
KK
250222013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25023
25024 [BZ #15655]
25025 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25026
85c2e611
AZ
250272013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25028
25029 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25030 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25031 accepts -fno-tree-loop-distribute-patterns.
25032 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25033 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25034 recursive call.
25035 * string/memset.c (memset): Likewise.
25036 * string/test-memmove.c (simple_memmove): Disable loop transformation
25037 to library calls.
25038 * string/test-memset.c (simple_memset): Likewise.
25039 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25040 * benchtests/bench-memset.c (simple_memset): Likewise.
25041 * configure: Regenerated.
25042
c91e0825
JM
250432013-06-20 Joseph Myers <joseph@codesourcery.com>
25044
b8c792af
JM
25045 * math/test-misc.c (main): Ignore fesetround failure when failures
25046 of subsequent rounding tests would be ignored.
25047
c91e0825
JM
25048 [BZ #15654]
25049 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25050 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25051 * math/fegetenv.c (__fegetenv): Return 0.
25052 * math/fegetexcept.c (fegetexcept): Return 0.
25053 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25054 FE_TONEAREST.
25055 * math/feholdexcpt.c (feholdexcept): Return 0.
25056 * math/fesetenv.c (__fesetenv): Return 0.
25057 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25058 argument FE_TONEAREST.
25059 * math/feupdateenv.c (__feupdateenv): Return 0.
25060 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25061
bfcacbde
RM
250622013-06-18 Roland McGrath <roland@hack.frob.com>
25063
25064 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25065 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25066 ($(objpfx)rtld-%.os rules): Use them.
25067
e55a9b25
AZ
250682013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25069
25070 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25071 fields.
25072
346d65b3
RM
250732013-06-17 Roland McGrath <roland@hack.frob.com>
25074
12086fb4
RM
25075 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25076 length of target pattern, then descending length of dependency pattern.
25077 * configure.in (AWK): Require gawk 3.1.2 or newer.
25078 * manual/install.texi (Tools for Compilation): Say that we do.
25079 * configure: Regenerated.
25080
346d65b3
RM
25081 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25082 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25083 * scripts/sysd-rules.awk: ... this new script.
25084 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25085 than a glob-style pattern.
25086
1a846317
JM
250872013-06-17 Joseph Myers <joseph@codesourcery.com>
25088
25089 * math/test-misc.c (main): Do not treat incorrectly rounded
25090 conversions as failure unless ROUNDING_TESTS passes.
25091
8fc75e6f
JM
250922013-06-15 Joseph Myers <joseph@codesourcery.com>
25093
3711a167
JM
25094 [BZ #15631]
25095 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25096 restore exception state around main square root computation, then
25097 check for inexactness explicitly.
25098
8fc75e6f
JM
25099 * math/libm-test.inc (fma_test_data): Add another test.
25100
61dd6208
SP
251012013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25102
adf23d2c
SP
25103 * manual/threads.texi (Non-POSIX Extensions): New document
25104 node. Document pthread_getattr_default_np and
25105 pthread_setattr_default_np.
25106
61dd6208
SP
25107 * Versions.def (libpthread): Add GLIBC_2.18.
25108 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25110 Likewise.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25112 Likewise.
25113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25114 Likewise.
25115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25116 Likewise.
25117 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25118 Likewise.
25119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25120 Likewise.
25121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25122 Likewise.
25123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25124 Likewise.
25125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25126 Likewise.
25127
d086fc7b
LD
251282013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25129
25130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25131 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25132
747ef469
SP
251332013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25134 H.J. Lu <hjl.tools@gmail.com>
25135
25136 [BZ #15627]
25137 * sysdeps/x86_64/rtld-memset.c: Remove file.
25138 * sysdeps/x86_64/rtld-memset.S: New file.
25139
1b2feed2
JM
251402013-06-14 Joseph Myers <joseph@codesourcery.com>
25141
25142 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25143 (test_in_one_mode): Take arguments for whether the rounding mode
25144 is supported for each floating-point type.
25145 (do_test): Pass new arguments to test_in_one_mode using
25146 ROUNDING_TESTS.
25147
a58ad3f8
RM
251482013-06-13 Roland McGrath <roland@hack.frob.com>
25149
25150 * posix/tst-waitid.c (do_test): Distinguish different instances of
25151 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25152 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25153 before entering the kernel for waitpid.
25154
c204ab28
SP
251552013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25156
25157 * NEWS: Fix note on clock function precision. Text by Roland
25158 McGrath.
25159
f4a29fba
RM
251602013-06-13 Roland McGrath <roland@hack.frob.com>
25161
25162 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25163 it into place only when and if the sanity check passes.
25164
1f24b9ad
JM
251652013-06-13 Joseph Myers <joseph@codesourcery.com>
25166
25167 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25168 output for whether conversion result is exact. Take argument
25169 indicating whether type is IBM long double.
25170 (round_for_all): Change need_exact field to ibm_ld.
25171 * stdlib/tst-strtod-round.c (struct exactness): New type.
25172 (struct test): Change bool ld_ok field to struct exactness exact.
25173 (TEST): Update all definitions for change to field.
25174 (tests): Regenerate array contents.
25175 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25176 field value. Check for IBM long double here.
25177 (do_test): Update calls to test_in_one_mode.
25178
58206c68
SP
251792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25180
25181 [BZ #12515]
25182 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25183 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25184
2d6f4c5b 251852013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25186
25187 [BZ #15605]
25188 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25189 generated by the compiler on loop optimizations.
25190 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25191 general definitions.
25192
94f2c076
JM
251932013-06-12 Joseph Myers <joseph@codesourcery.com>
25194
25195 * math/bug-nextafter.c: Include <math-tests.h>.
25196 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25197 the relevant type.
25198 * math/bug-nexttoward.c: Include <math-tests.h>.
25199 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25200 the relevant type.
25201 * math/test-misc.c: Include <math-tests.h>.
25202 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25203 the relevant type.
25204
e0e50a0a
AJ
252052013-06-12 Andreas Jaeger <aj@suse.de>
25206
25207 * po/ia.po: Update Interlingua translation from translation
25208 project.
25209
25061094
SP
252102013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25211
25212 * include/fenv.h: Include stdbool.h.
25213 (struct rm_ctx): New structure.
25214 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25215 Define macro.
25216 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25217 (SET_RESTORE_ROUNDF): Likewise.
25218 (SET_RESTORE_ROUNDL): Likewise.
25219 (SET_RESTORE_ROUND_NOEX): Likewise.
25220 (SET_RESTORE_ROUND_NOEXF): Likewise.
25221 (SET_RESTORE_ROUND_NOEXL): Likewise.
25222 (SET_RESTORE_ROUND_53BIT): Likewise.
25223 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25224 (libc_feresetround_noexf_ctx): Likewise.
25225 (libc_feresetround_noexl_ctx): Likewise.
25226 (libc_feholdsetround_53bit_ctx): Likewise.
25227 (libc_feresetround_53bit_ctx): Likewise.
25228 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25229 (libc_feholdexcept_setround_sse_ctx): New function.
25230 (libc_fesetenv_sse_ctx): Likewise.
25231 (libc_feupdateenv_sse_ctx): Likewise.
25232 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25233 (libc_feholdexcept_setround_387_ctx): Likewise.
25234 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25235 (libc_feholdsetround_387_prec_ctx): Likewise.
25236 (libc_feholdsetround_387_ctx): Likewise.
25237 (libc_feholdsetround_387_53bit_ctx): Likewise.
25238 (libc_feholdsetround_sse_ctx): Likewise.
25239 (libc_feresetround_sse_ctx): Likewise.
25240 (libc_feresetround_387_ctx): Likewise.
25241 (libc_feupdateenv_387_ctx): Likewise.
25242 (libc_feholdexcept_setroundf_ctx): Define macro.
25243 (libc_fesetenvf_ctx): Likewise.
25244 (libc_feupdateenvf_ctx): Likewise.
25245 (libc_feholdsetroundf_ctx): Likewise.
25246 (libc_feresetroundf_ctx): Likewise.
25247 (libc_feholdexcept_setround_ctx): Likewise.
25248 (libc_fesetenv_ctx): Likewise.
25249 (libc_feupdateenv_ctx): Likewise.
25250 (libc_feholdsetround_ctx): Likewise.
25251 (libc_feresetround_ctx): Likewise.
25252 (libc_feholdexcept_setroundl_ctx): Likewise.
25253 (libc_feupdateenvl_ctx): Likewise.
25254 (libc_feholdsetroundl_ctx): Likewise.
25255 (libc_feresetroundl_ctx): Likewise.
25256 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25257 (libc_feresetround_53bit_ctx): Likewise.
25258
59b30555
SP
252592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25260
25261 * locale/iso-639.def: Convert to UTF-8.
25262
f1d73d30
JM
252632013-06-11 Joseph Myers <joseph@codesourcery.com>
25264
25265 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25266 (EXCEPTION_TESTS_double): Likewise.
25267 (EXCEPTION_TESTS_long_double): Likewise.
25268 (EXCEPTION_TESTS): Likewise.
25269 * math/libm-test.inc (test_exceptions): Only test exceptions if
25270 EXCEPTION_TESTS (FLOAT).
25271
94aca5e7
SP
252722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25273
25274 * benchtests/Makefile (string-bench): Add strcpy_chk and
25275 stpcpy_chk.
25276 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25277 * benchtests/bench-stpcpy_chk.c: New file.
25278 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25279 * benchtests/bench-strcpy_chk.c: New file.
25280 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25281 code.
25282 (do_test): Likewise.
25283
fac0c5f2
RA
252842013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25285
25286 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25287 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25288 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25289 with tabs where appropriate.
25290 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25291 dl-procinfo.h.
25292 [PPC_PLATFORM_PPC440]: Likewise.
25293 [PPC_PLATFORM_PPC464]: Likewise.
25294 [PPC_PLATFORM_PPC476]: Likewise.
25295 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25296 ppc464, and ppc476 platform strings merging from ports/
25297 dl-procinfo.h.
25298
f22bc486
AS
252992013-06-11 Andreas Schwab <schwab@suse.de>
25300
25301 [BZ #14991]
25302 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25303 (from_ucs4_idx): Regenerate.
25304 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25305 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25306 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25307 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25308 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25309 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25310 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25311 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25312 from FROM_LOOP and TO_LOOP specific macros.
25313 (BODY): Handle combining characters.
25314 * iconvdata/BIG5HKSCS.irreversible: Update.
25315 * iconvdata/BIG5HKSCS.precomposed: New file.
25316 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25317 characters.
25318 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25319
c1f75dc3
SP
253202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25321
4eacded2
SP
25322 * include/sys/time.h: Fix indentation and add copyright header.
25323
fec799f8
SP
25324 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25325 (do_test): Likewise.
25326 * string/test-memchr.c (do_one_test): Likewise.
25327 (do_test): Likewise.
25328 * string/test-memcmp.c (do_one_test): Likewise.
25329 (do_test): Likewise.
25330 * string/test-memcpy.c (do_one_test): Likewise.
25331 (do_test): Likewise.
25332 * string/test-memmem.c (do_one_test): Likewise.
25333 (do_test): Likewise.
25334 (do_random_tests): Likewise.
25335 * string/test-memmove.c (do_one_test): Likewise.
25336 (do_test): Likewise.
25337 * string/test-memset.c (do_one_test): Likewise.
25338 (do_test): Likewise.
25339 * string/test-rawmemchr.c (do_one_test): Likewise.
25340 (do_test): Likewise.
25341 * string/test-strcasecmp.c (do_one_test): Likewise.
25342 (do_test): Likewise.
25343 * string/test-strcasestr.c (do_one_test): Likewise.
25344 (do_test): Likewise.
25345 * string/test-strcat.c (do_one_test): Likewise.
25346 (do_test): Likewise.
25347 * string/test-strchr.c (do_one_test): Likewise.
25348 (do_test): Likewise.
25349 * string/test-strcmp.c (do_one_test): Likewise.
25350 (do_test): Likewise.
25351 * string/test-strcpy.c (do_one_test): Likewise.
25352 (do_test): Likewise.
25353 * string/test-string.h: Likewise.
25354 (test_init): Likewise.
25355 * string/test-strlen.c (do_one_test): Likewise.
25356 (do_test): Likewise.
25357 * string/test-strncasecmp.c (do_one_test): Likewise.
25358 (do_test): Likewise.
25359 * string/test-strncat.c (do_one_test): Likewise.
25360 (do_test): Likewise.
25361 * string/test-strncmp.c (do_one_test): Likewise.
25362 (do_test_limit): Likewise.
25363 (do_test): Likewise.
25364 * string/test-strncpy.c (do_one_test): Likewise.
25365 (do_test): Likewise.
25366 * string/test-strnlen.c (do_one_test): Likewise.
25367 (do_test): Likewise.
25368 * string/test-strpbrk.c (do_one_test): Likewise.
25369 (do_test): Likewise.
25370 * string/test-strrchr.c (do_one_test): Likewise.
25371 (do_test): Likewise.
25372 * string/test-strspn.c (do_one_test): Likewise.
25373 (do_test): Likewise.
25374 * string/test-strstr.c (do_one_test): Likewise.
25375 (do_test): Likewise.
25376
97020474
SP
25377 * benchtests/Makefile (string-bench): Add string benchmarks.
25378 * benchtests/bench-bcopy-ifunc.c: New file.
25379 * benchtests/bench-bcopy.c: New file.
25380 * benchtests/bench-bzero-ifunc.c: New file.
25381 * benchtests/bench-bzero.c: New file.
25382 * benchtests/bench-memccpy-ifunc.c: New file.
25383 * benchtests/bench-memccpy.c: New file.
25384 * benchtests/bench-memchr-ifunc.c: New file.
25385 * benchtests/bench-memchr.c: New file.
25386 * benchtests/bench-memcmp-ifunc.c: New file.
25387 * benchtests/bench-memcmp.c: New file.
25388 * benchtests/bench-memmem-ifunc.c: New file.
25389 * benchtests/bench-memmem.c: New file.
25390 * benchtests/bench-memmove-ifunc.c: New file.
25391 * benchtests/bench-memmove.c: New file.
25392 * benchtests/bench-mempcpy-ifunc.c: New file.
25393 * benchtests/bench-mempcpy.c: New file.
25394 * benchtests/bench-memset-ifunc.c: New file.
25395 * benchtests/bench-memset.c: New file.
25396 * benchtests/bench-rawmemchr-ifunc.c: New file.
25397 * benchtests/bench-rawmemchr.c: New file.
25398 * benchtests/bench-stpcpy-ifunc.c: New file.
25399 * benchtests/bench-stpcpy.c: New file.
25400 * benchtests/bench-stpncpy-ifunc.c: New file.
25401 * benchtests/bench-stpncpy.c: New file.
25402 * benchtests/bench-strcasecmp-ifunc.c: New file.
25403 * benchtests/bench-strcasecmp.c: New file.
25404 * benchtests/bench-strcasestr-ifunc.c: New file.
25405 * benchtests/bench-strcasestr.c: New file.
25406 * benchtests/bench-strcat-ifunc.c: New file.
25407 * benchtests/bench-strcat.c: New file.
25408 * benchtests/bench-strchr-ifunc.c: New file.
25409 * benchtests/bench-strchr.c: New file.
25410 * benchtests/bench-strchrnul-ifunc.c: New file.
25411 * benchtests/bench-strchrnul.c: New file.
25412 * benchtests/bench-strcmp-ifunc.c: New file.
25413 * benchtests/bench-strcmp.c: New file.
25414 * benchtests/bench-strcpy-ifunc.c: New file.
25415 * benchtests/bench-strcpy.c: New file.
25416 * benchtests/bench-strcspn-ifunc.c: New file.
25417 * benchtests/bench-strcspn.c: New file.
25418 * benchtests/bench-strlen-ifunc.c: New file.
25419 * benchtests/bench-strlen.c: New file.
25420 * benchtests/bench-strncasecmp-ifunc.c: New file.
25421 * benchtests/bench-strncasecmp.c: New file.
25422 * benchtests/bench-strncat-ifunc.c: New file.
25423 * benchtests/bench-strncat.c: New file.
25424 * benchtests/bench-strncmp-ifunc.c: New file.
25425 * benchtests/bench-strncmp.c: New file.
25426 * benchtests/bench-strncpy-ifunc.c: New file.
25427 * benchtests/bench-strncpy.c: New file.
25428 * benchtests/bench-strnlen-ifunc.c: New file.
25429 * benchtests/bench-strnlen.c: New file.
25430 * benchtests/bench-strpbrk-ifunc.c: New file.
25431 * benchtests/bench-strpbrk.c: New file.
25432 * benchtests/bench-strrchr-ifunc.c: New file.
25433 * benchtests/bench-strrchr.c: New file.
25434 * benchtests/bench-strspn-ifunc.c: New file.
25435 * benchtests/bench-strspn.c: New file.
25436 * benchtests/bench-strstr-ifunc.c: New file.
25437 * benchtests/bench-strstr.c: New file.
25438
c1f75dc3
SP
25439 * benchtests/Makefile: Disable parallel execution of targets.
25440 (string-bench): Add memcpy.
25441 (benchset): New variable to store a list of benchmark sets.
25442 (bench-func): Renamed from bench.
25443 (bench-set): New target.
25444 (bench): Depend on bench-func and bench-set.
25445 * benchtests/README: Add section on benchmark sets.
25446 * benchtests/bench-memcpy-ifunc.c: New file.
25447 * benchtests/bench-memcpy.c: New file.
25448 * benchtests/bench-string.h: New file.
25449
50fd745b
AS
254502013-06-11 Andreas Schwab <schwab@suse.de>
25451
25452 [BZ #15577]
25453 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25454 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25455 values in the triple.
25456 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25457 terminator in the group key.
25458
3ee7e9fe
AJ
254592013-06-11 Andreas Jaeger <aj@suse.de>
25460
25461 * po/zh_TW.po: Update Chinese (traditional) translation from
25462 translation project.
25463
89fb6835
SP
254642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25465
25466 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25467 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25468 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25469 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25470 (clock_getcpuclockid): Likewise.
25471 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25472 Add weak_alias and libc_hidden_def.
25473 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25474 * rt/clock_gettime.c (clock_gettime): Rename to
25475 __clock_gettime. Add weak_alias and libc_hidden_def.
25476 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25477 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25478 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25479 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25480 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25481 Likewise.
25482 * rt/clock_settime.c (clock_settime): Rename to
25483 __clock_settime. Add weak_alias and libc_hidden_def.
25484 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25485
0efa6f8b
JM
254862013-06-10 Joseph Myers <joseph@codesourcery.com>
25487
b8c61b4b
JM
25488 * mach/err_boot.sub: Remove trailing whitespace.
25489 * mach/err_ipc.sub: Likewise.
25490 * mach/err_mach.sub: Likewise.
25491
0efa6f8b
JM
25492 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25493 (ROUNDING_TESTS_double): Likewise.
25494 (ROUNDING_TESTS_long_double): Likewise.
25495 (ROUNDING_TESTS): Likewise.
25496 * math/libm-test.inc: Include <math-tests.h>.
25497 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25498 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25499 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25500 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25501
50b818bf
SP
255022013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25503
25504 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25505 of assigning.
25506
60d2f8f3
JM
255072013-06-08 Joseph Myers <joseph@codesourcery.com>
25508
4902d2c3
JM
25509 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25510 otherwise empty TRANS lines.
25511 * sysdeps/gnu/errlist.c: Regenerated.
25512
60d2f8f3
JM
25513 * catgets/gencat.c (error_print): Use (void) in function
25514 definition.
25515 * crypt/crypt_util.c (__init_des): Likewise.
25516 * crypt/speeds.c (Stop): Likewise.
25517 (main): Likewise.
25518 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25519 * inet/ruserpass.c (token): Likewise.
25520 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25521 * intl/localealias.c (extend_alias_table): Likewise.
25522 * intl/plural-exp.c (init_germanic_plural): Likewise.
25523 * libio/fcloseall.c (__fcloseall): Likewise.
25524 * libio/genops.c (_IO_flush_all): Likewise.
25525 (_IO_flush_all_linebuffered): Likewise.
25526 (_IO_cleanup): Likewise.
25527 (_IO_iter_begin): Likewise.
25528 (_IO_iter_end): Likewise.
25529 (_IO_list_lock): Likewise.
25530 (_IO_list_unlock): Likewise.
25531 (_IO_list_resetlock): Likewise.
25532 * libio/getchar.c (getchar): Likewise.
25533 * libio/getchar_u.c (getchar_unlocked): Likewise.
25534 * libio/getwchar.c (getwchar): Likewise.
25535 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25536 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25537 * login/getpt.c (__getpt): Likewise.
25538 * login/tst-utmp.c (main): Likewise.
25539 * malloc/hooks.c (__malloc_check_init): Likewise.
25540 * malloc/malloc.c (__malloc_stats): Likewise.
25541 * malloc/mtrace.c (tr_break): Likewise.
25542 (mtrace): Likewise.
25543 (muntrace): Likewise.
25544 * misc/fstab.c (endfsent): Likewise.
25545 * misc/getclktck.c (__getclktck): Likewise.
25546 * misc/getdtsz.c (__getdtablesize): Likewise.
25547 * misc/gethostid.c (gethostid): Likewise.
25548 * misc/getpagesize.c (__getpagesize): Likewise.
25549 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25550 (__get_nprocs): Likewise.
25551 (__get_phys_pages): Likewise.
25552 (__get_avphys_pages): Likewise.
25553 * misc/getttyent.c (getttyent): Likewise.
25554 (setttyent): Likewise.
25555 (endttyent): Likewise.
25556 * misc/getusershell.c (getusershell): Likewise.
25557 (endusershell): Likewise.
25558 (setusershell): Likewise.
25559 (initshells): Likewise.
25560 * misc/hsearch.c (__hdestroy): Likewise.
25561 * misc/sync.c (sync): Likewise.
25562 * misc/syslog.c (closelog_internal): Likewise.
25563 (closelog): Likewise.
25564 * misc/ttyslot.c (ttyslot): Likewise.
25565 * misc/vhangup.c (vhangup): Likewise.
25566 * posix/fork.c (__fork): Likewise.
25567 * posix/getegid.c (__getegid): Likewise.
25568 * posix/geteuid.c (__geteuid): Likewise.
25569 * posix/getgid.c (__getgid): Likewise.
25570 * posix/getpid.c (__getpid): Likewise.
25571 * posix/getppid.c (__getppid): Likewise.
25572 * posix/getuid.c (__getuid): Likewise.
25573 * posix/pause.c (pause): Likewise.
25574 * posix/setpgrp.c (setpgrp): Likewise.
25575 * posix/setsid.c (__setsid): Likewise.
25576 * posix/test-vfork.c (noop): Likewise.
25577 * resolv/gethnamaddr.c (_endhtent): Likewise.
25578 (_gethtent): Likewise.
25579 (ht_endhostent): Likewise.
25580 (gethostent): Likewise.
25581 (dns_service): Likewise.
25582 * stdlib/drand48.c (drand48): Likewise.
25583 * stdlib/lrand48.c (lrand48): Likewise.
25584 * stdlib/mrand48.c (mrand48): Likewise.
25585 * stdlib/rand.c (rand): Likewise.
25586 * stdlib/random.c (__random): Likewise.
25587 * stdlib/setenv.c (clearenv): Likewise.
25588 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25589 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25590 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25591 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25592 (__get_nprocs): Likewise.
25593 (__get_phys_pages): Likewise.
25594 (__get_avphys_pages): Likewise.
25595 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25596 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25597 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25598 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25599 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25600 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25601 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25602 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25603 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25604 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25605 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25606 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25607 * sysdeps/posix/clock.c (clock): Likewise.
25608 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25609 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25610 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25611 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25612 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25614 (__get_nprocs_conf): Likewise.
25615 (__get_phys_pages): Likewise.
25616 (__get_avphys_pages): Likewise.
25617 * time/clock.c (clock): Likewise.
25618 * time/tzset.c (__tzname_max): Likewise.
25619
2e09a79a
JM
256202013-06-07 Joseph Myers <joseph@codesourcery.com>
25621
25622 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25623 (__bswap_32): Do not use "register".
25624 * crypt/crypt.c (_ufc_doit_r): Likewise.
25625 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25626 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25627 * gmon/gmon.c (__monstartup): Likewise.
25628 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25629 * hurd/hurdmalloc.c (more_memory): Likewise.
25630 (malloc): Likewise.
25631 (free): Likewise.
25632 (realloc): Likewise.
25633 (malloc_fork_prepare): Likewise.
25634 (malloc_fork_parent): Likewise.
25635 (malloc_fork_child): Likewise.
25636 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25637 (_svcauth_des): Likewise.
25638 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25639 * inet/inet_net.c (inet_network): Likewise.
25640 * inet/inet_netof.c (inet_netof): Likewise.
25641 * inet/rcmd.c (__validuser2_sa): Likewise.
25642 * io/fts.c (fts_open): Likewise.
25643 (fts_load): Likewise.
25644 (fts_close): Likewise.
25645 (fts_read): Likewise.
25646 (fts_children): Likewise.
25647 (fts_build): Likewise.
25648 (fts_stat): Likewise.
25649 (fts_sort): Likewise.
25650 (fts_alloc): Likewise.
25651 (fts_lfree): Likewise.
25652 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25653 (_IO_file_xsgetn): Likewise.
25654 (_IO_file_xsgetn_mmap): Likewise.
25655 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25656 (_IO_cookie_write): Likewise.
25657 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25658 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25659 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25660 * malloc/obstack.c (_obstack_begin): Likewise.
25661 (_obstack_begin_1): Likewise.
25662 (_obstack_newchunk): Likewise.
25663 (_obstack_allocated_p): Likewise.
25664 (obstack_free): Likewise.
25665 (_obstack_memory_used): Likewise.
25666 * misc/getttyent.c (getttynam): Likewise.
25667 (getttyent): Likewise.
25668 (skip): Likewise.
25669 (value): Likewise.
25670 * misc/getusershell.c (initshells): Likewise.
25671 * misc/syslog.c (__vsyslog_chk): Likewise.
25672 * misc/ttyslot.c (ttyslot): Likewise.
25673 * nis/nis_hash.c (__nis_hash): Likewise.
25674 * posix/fnmatch_loop.c (FCT): Likewise.
25675 * posix/getconf.c (print_all): Likewise.
25676 (main): Likewise.
25677 * posix/getopt.c (exchange): Likewise.
25678 * posix/glob.c (globfree): Likewise.
25679 (prefix_array): Likewise.
25680 (__glob_pattern_type): Likewise.
25681 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25682 (NS_GET32): Likewise.
25683 (NS_PUT16): Likewise.
25684 (NS_PUT32): Likewise.
25685 * resolv/gethnamaddr.c (getanswer): Likewise.
25686 (gethostbyname2): Likewise.
25687 (gethostbyaddr): Likewise.
25688 (_gethtent): Likewise.
25689 (_gethtbyname2): Likewise.
25690 (_gethtbyaddr): Likewise.
25691 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25692 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25693 * resolv/res_init.c (__res_vinit): Likewise.
25694 (net_mask): Likewise.
25695 * resolv/res_mkquery.c (outchar): Likewise.
25696 (PRINT): Likewise.
25697 * stdio-common/printf_fp.c (outchar): Likewise.
25698 (PRINT): Likewise.
25699 * stdio-common/printf_fphex.c (outchar): Likewise.
25700 (PRINT): Likewise.
25701 * stdio-common/printf_size.c (outchar): Likewise.
25702 (PRINT): Likewise.
25703 * stdio-common/test_rdwr.c (main): Likewise.
25704 * stdio-common/tfformat.c (matches): Likewise.
25705 * stdio-common/vfprintf.c (outchar): Likewise.
25706 (printf_unknown): Likewise.
25707 (buffered_vfprintf): Likewise.
25708 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25709 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25710 (ReadFile): Likewise.
25711 * stdlib/qsort.c (SWAP): Likewise.
25712 (_quicksort): Likewise.
25713 * stdlib/setenv.c (__add_to_environ): Likewise.
25714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25715 * stdlib/strtol_l.c (__strtol_l): Likewise.
25716 * stdlib/tst-strtod.c (main): Likewise.
25717 * stdlib/tst-strtol.c (main): Likewise.
25718 * stdlib/tst-strtoll.c (main): Likewise.
25719 * string/bits/string2.h (__strcmp_cc): Likewise.
25720 (__strcmp_cg): Likewise.
25721 (__strcspn_c1): Likewise.
25722 (__strcspn_c2): Likewise.
25723 (__strcspn_c3): Likewise.
25724 (__strspn_c1): Likewise.
25725 (__strspn_c2): Likewise.
25726 (__strspn_c3): Likewise.
25727 (__strsep_1c): Likewise.
25728 (__strsep_2c): Likewise.
25729 (__strsep_3c): Likewise.
25730 * string/memccpy.c (__memccpy): Likewise.
25731 * string/stpcpy.c (__stpcpy): Likewise.
25732 * string/strcmp.c (strcmp): Likewise.
25733 * string/strrchr.c (strrchr): Likewise.
25734 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25735 Likewise.
25736 * sysdeps/mach/hurd/getcwd.c
25737 (_hurd_canonicalize_directory_name_internal): Likewise.
25738 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25739 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25740 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25741 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25742 Likewise, in both definitions.
25743 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25744 definitions.
25745 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25746 64] (__bswap_64): Likewise.
25747 * time/test_time.c (main): Likewise.
25748 * time/tzfile.c (__tzfile_read): Likewise.
25749 (__tzfile_compute): Likewise.
25750 * time/tzset.c (__tzset_parse_tz): Likewise.
25751 (tzset_internal): Likewise.
25752 (compute_change): Likewise.
25753 * wcsmbs/wcscat.c (__wcscat): Likewise.
25754 * wcsmbs/wcschr.c (wcschr): Likewise.
25755 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25756 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25757 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25758 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25759 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25760 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25761 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25762 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25763 * wcsmbs/wmemset.c (wmemset): Likewise.
25764
9e54314b
JM
257652013-06-06 Joseph Myers <joseph@codesourcery.com>
25766
25767 * scripts/config.guess: Update to version 2013-05-16.
25768 * scripts/config.sub: Update to version 2013-04-24.
25769 * scripts/install-sh: Update to version 2011-11-20.07.
25770 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25771 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25772
350635a5
OB
257732013-06-06 Ondřej Bílka <neleai@seznam.cz>
25774
25775 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25776 * elf/sln.c: Likewise.
25777 * hurd/hurd/ioctl.h: Likewise.
25778 * hurd/hurdmalloc.c: Likewise.
25779 * hurd/xattr.c: Likewise.
25780 * include/shlib-compat.h: Likewise.
25781 * inet/ruserpass.c: Likewise.
25782 * libio/iofgets_u.c: Likewise.
25783 * libio/iofgetws_u.c: Likewise.
25784 * locale/programs/ld-identification.c: Likewise.
25785 * locale/programs/ld-time.c: Likewise.
25786 * mach/msg-destroy.c: Likewise.
25787 * nss/nss_files/files-netgrp.c: Likewise.
25788 * resolv/res_data.c: Likewise.
25789 * soft-fp/op-1.h: Likewise.
25790 * soft-fp/op-2.h: Likewise.
25791 * soft-fp/op-4.h: Likewise.
25792 * soft-fp/op-common.h: Likewise.
25793 * stdio-common/printf_fphex.c: Likewise.
25794 * stdlib/strtod_l.c: Likewise.
25795 * sunrpc/rpc/clnt.h: Likewise.
25796 * sysdeps/generic/framestate.c: Likewise.
25797 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25798 * sysdeps/i386/bsd-setjmp.S: Likewise.
25799 * sysdeps/i386/__longjmp.S: Likewise.
25800 * sysdeps/i386/setjmp.S: Likewise.
25801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25802 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25803 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25814 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25815 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25819 * sysdeps/ieee754/support.c: Likewise.
25820 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25821 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25822 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25823 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25824 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25825 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25826 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25827 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25828 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25829 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25830 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25831 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25832 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25833 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25834 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25835 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25838
44a988af
OB
258392013-06-05 Ondřej Bílka <neleai@seznam.cz>
25840
25506f09 25841 * posix/transbug.c: Remove executable mode.
44a988af 25842
9c84384c
JM
258432013-06-05 Joseph Myers <joseph@codesourcery.com>
25844
25845 * crypt/speeds.c: Remove trailing whitespace.
25846 * dlfcn/default.c: Likewise.
25847 * elf/ifuncdep2.c: Likewise.
25848 * elf/ifuncmain1.c: Likewise.
25849 * elf/ifuncmain1vis.c: Likewise.
25850 * elf/testobj.h: Likewise.
25851 * elf/tst-stackguard1.c: Likewise.
25852 * gmon/sys/gmon.h: Likewise.
25853 * hurd/hurdmsg.c: Likewise.
25854 * hurd/new-fd.c: Likewise.
25855 * hurd/ports-get.c: Likewise.
25856 * iconvdata/ibm1008_420.c: Likewise.
25857 * inet/tst-getni1.c: Likewise.
25858 * inet/tst-getni2.c: Likewise.
25859 * libio/ioungetc.c: Likewise.
25860 * libio/wfiledoalloc.c: Likewise.
25861 * manual/libm-err-tab.pl: Likewise.
25862 * math/w_dremf.c: Likewise.
25863 * misc/ftruncate.c: Likewise.
25864 * posix/bug-glob2.c: Likewise.
25865 * posix/tst-pcre.c: Likewise.
25866 * posix/wait4.c: Likewise.
25867 * resolv/README: Likewise.
25868 * resolv/res_debug.h: Likewise.
25869 * resolv/tst-inet_ntop.c: Likewise.
25870 * setjmp/bug269-setjmp.c: Likewise.
25871 * soft-fp/extended.h: Likewise.
25872 * soft-fp/op-1.h: Likewise.
25873 * soft-fp/op-2.h: Likewise.
25874 * soft-fp/op-4.h: Likewise.
25875 * soft-fp/op-8.h: Likewise.
25876 * soft-fp/testit.c: Likewise.
25877 * stdio-common/bug16.c: Likewise.
25878 * stdlib/random.c: Likewise.
25879 * sunrpc/rpcsvc/rquota.x: Likewise.
25880 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25881 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25882 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25883 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25884 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25885 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25886 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25887 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25888 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25889 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25890 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25907 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25909 * sysdeps/ieee754/s_lib_version.c: Likewise.
25910 * sysdeps/mach/hurd/check_fds.c: Likewise.
25911 * sysdeps/mach/hurd/getsockname.c: Likewise.
25912 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25913 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25914 * sysdeps/powerpc/bits/link.h: Likewise.
25915 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25916 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25917 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25918 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25919 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25920 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25921 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25922 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25923 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25924 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25925 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25926 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25927 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25928 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25929 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25930 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25931 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25935 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25936 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25937 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25938 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25939 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25942 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25944 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25945 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25946 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25947 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25948 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25949 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25950 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25951 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25952 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25953 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25954 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25955 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25956 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25957 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25958 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25959 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25960 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25961 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25962 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25963 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25964 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25965 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25967 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25970 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25972 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25973 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25974 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25975 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25977 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25978 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25979 * sysdeps/powerpc/sysdep.h: Likewise.
25980 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25981 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25982 * sysdeps/sh/dl-trampoline.S: Likewise.
25983 * sysdeps/sh/memset.S: Likewise.
25984 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25985 * sysdeps/sh/strlen.S: Likewise.
25986 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25987 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25988 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25989 * sysdeps/sparc/sparc32/rem.S: Likewise.
25990 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25991 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25992 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25993 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25994 * sysdeps/sparc/sparc32/urem.S: Likewise.
25995 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25996 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25997 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25998 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25999 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26000 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26001 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26002 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26003 * sysdeps/unix/bsd/times.c: Likewise.
26004 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26005 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26009 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26010 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26011 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26012 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26013 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26014 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26015 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26016 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26017 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26018 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26019 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26020 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26021 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26022 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26023 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26024 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26025 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26026 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26027 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26028 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26029 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26030 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26031 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26032 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26033 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26034 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26035 * sysdeps/x86_64/strcspn.S: Likewise.
26036
869378a5
RA
260372013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26038
26039 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26040 generated file. Regenerate properly from gen-translit.pl.
26041 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26042 locale/C-translit.h.
26043
840e2943
AS
260442013-06-05 Andreas Schwab <schwab@suse.de>
26045
26046 [BZ #15100]
26047 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26048 week as 6 instead of -1.
26049 * time/tst-strptime.c (day_tests): Add test case.
26050
4c60cb0c
SP
260512013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26052
26053 * sysdeps/generic/math_private.h
26054 (libc_feholdexcept_setround_53bit): Replace with
26055 libc_feholdsetround_53bit.
26056 (libc_feupdateenv_53bit): Replace with
26057 libc_feresetround_53bit.
26058 (SET_RESTORE_ROUND_53BIT): Adjust.
26059
d180203e
SP
260602013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26061
96df079a
SP
26062 * string/test-strchrnul.c: Add copyright header.
26063
d180203e
SP
26064 * posix/tst-getaddrinfo4.c: Increase test timeout.
26065
8b0ccb2d
CD
260662013-06-03 Carlos O'Donell <carlos@redhat.com>
26067
26068 [BZ #15536]
26069 * math/libm-test.inc (MAX_EXP): Remove
26070 (MIN_EXP): Define.
26071 (ulp): Use MIN_EXP - MANT_DIG.
26072 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26073
3b3c4d40
CD
260742013-05-31 Carlos O'Donell <carlos@redhat.com>
26075
26076 * po/be.po: Revert last change.
26077 * po/zh_CN.po: Likewise.
26078 * po/header.pot: Likewise.
26079
fab7ce3f
JM
260802013-05-31 Joseph Myers <joseph@codesourcery.com>
26081
26082 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26083 link-libc-deps to empty as target-specific variable.
26084 * Makerules (link-libc-args): New variable.
26085 (libc-for-link): Likewise.
26086 (link-libc-deps): Likewise.
26087 (lib%.so): Depend on $(link-libc-deps). Link with
26088 $(link-libc-args).
26089 (build-module): Link with $(link-libc-args).
26090 (build-module-asneeded): Likewise.
26091 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26092 list of objects.
26093 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26094 target-specific variable.
26095 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26096 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26097 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26098 libc.
26099 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26100 libc and ld.so.
26101 ($(objpfx)libpcprofile.so): Likewise.
26102 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26103 libc_nonshared.a.
26104 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26105 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26106 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26107 $(link-libc-deps).
26108 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26109 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26110 * login/Makefile ($(objpfx)libutil.so): Likewise.
26111 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26112 * math/Makefile ($(objpfx)libm.so): Likewise.
26113 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26114 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26115 variable instead of depending directly on libc.
26116 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26117 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26118 $(link-libc-deps).
26119 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26120 libc.
26121 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26122 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26123 ($(objpfx)libanl.so): Likewise.
26124 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26125 ld.so.
26126 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26127 $(link-libc-deps).
26128 * sysdeps/i386/fpu/Makefile: Remove file.
26129 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26130 ($(objpfx)libm.so): Remove dependency on ld.so.
26131
eca5920c
PF
261322013-05-30 Patsy Franklin <pfrankli@redhat.com>
26133
26134 [BZ # 15553]
26135 * nis/yp_xdr.c (XDRMAXNAME): Define.
26136 (XDRMAXRECORD): Define.
26137 (xdr_domainname): Use XDRMAXNAME.
26138 (xdr_mapname): Likewise.
26139 (xdr_peername): Likewise.
26140 (xdr_keydat): Use XDRMAXRECORD.
26141 (xdr_valdat): Likewise.
26142
261432013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26144
26145 [BZ #14256]
26146 * manual/errno.texi (ESTALE): Update to account for more than
26147 just NFS file systems.
26148 * sysdeps/gnu/errlist.c: Regenerated.
26149
b9375348
SP
261502013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26151
26152 [BZ #15465]
26153 * elf/Makefile (tests): Add tst-null-argv.
26154 (modules-names): Add tst-null-argv-lib.
26155 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26156 (tst-null-argv-ENV): Set environment for tst-null-argv.
26157 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26158 (RTLD_PROGNAME): New macro.
26159 * elf/tst-null-argv.c: New test case.
26160 * elf/tst-null-argv-lib.c: Library for test case.
26161 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26162 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26163 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26164 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26165 * elf/dl-init.c (call_init): Likewise.
26166 (_dl_init): Likewise.
26167 * elf/dl-load.c (print_search_path): Likewise.
26168 (_dl_map_object): Likewise.
26169 * elf/dl-lookup.c (do_lookup_x): Likewise.
26170 (add_dependency): Likewise.
26171 (_dl_lookup_symbol_x): Likewise.
26172 (_dl_debug_bindings): Likewise.
26173 * elf/dl-open.c (_dl_show_scope): Likewise.
26174 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26175 * elf/dl-version.c (match_symbol): Likewise.
26176 (_dl_check_map_versions): Likewise.
26177 * elf/rtld.c (dl_main): Likewise.
26178 (print_unresolved): Use RTLD_PROGNAME.
26179 (print_missing_version): Likewise.
26180 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26181 (elf_machine_rela): Likewise.
26182 * sysdeps/powerpc/powerpc32/dl-machine.c
26183 (__process_machine_rela): Likewise.
26184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26185 Likewise.
26186 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26187 Likewise.
26188 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26189 Likewise.
26190 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26191 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26192 Likewise.
26193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26194 Likewise.
26195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26196
8a9f20c8
CD
261972013-05-28 Carlos O'Donell <carlos@redhat.com>
26198
26199 * po/be.po: Add descriptive title.
26200 * po/zh_CN.po: Likewise.
26201 * po/header.pot: Likewise.
26202
0e60d68e
MF
262032013-05-28 Mike Frysinger <vapier@gentoo.org>
26204
26205 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26206 error message.
26207 (enlarge_archive): Likewise.
26208
56b672e9
BN
262092013-05-28 Ben North <ben@redfrontdoor.org>
26210
26211 * manual/arith.texi (frexp): It is the magnitude of the return
26212 value which lies in [0.5, 1), not the return value itself.
26213
5e056687
AZ
262142013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26215
26216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26217
2b66ef5d
TS
262182013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26219
528c2405
TS
26220 * stdio-common/bug26.c (main): Correct fscanf template.
26221
07b4c13d
TS
26222 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26223 declare _dl_skip_args.
26224
ec9dd97c
TS
26225 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26226 Don't declare.
26227
2b66ef5d
TS
26228 * manual/platform.texi: Add missing @end deftypefun.
26229
4f8dfe27
JM
262302013-05-24 Joseph Myers <joseph@codesourcery.com>
26231
0323d086
JM
26232 [BZ #15529]
26233 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26234 bit of mantissa of 2^16382.
26235 * math/libm-test.inc (hypot_test_data): Add more tests.
26236
dd4259b9
JM
26237 * math/libm-test.inc: Add drem and pow10 to list of tested
26238 functions.
26239 (pow10_test): New function.
26240 (drem_test): Likewise.
26241 (drem_test_tonearest): Likewise.
26242 (drem_test_towardzero): Likewise.
26243 (drem_test_downward): Likewise.
26244 (drem_test_upward): Likewise.
26245 (main): Call the new functions.
26246
4f8dfe27
JM
26247 * math/libm-test.inc (finite_test_data): Remove.
26248 (finite_test): Run tests from isfinite_test_data.
26249 (gamma_test_data): Remove.
26250 (gamma_test): Run tests from lgamma_test_data.
26251 * sysdeps/i386/fpu/libm-test-ulps: Update.
26252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26253
d116b7c4
AZ
262542013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26255
26256 * manual/platform.texi: Add PowerPC PPR function set documentation.
26257 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26258 implementation.
26259
e96e3767
CD
262602013-05-24 Carlos O'Donell <carlos@redhat.com>
26261
26262 * math/libm-test.inc (MAX_EXP): Define.
26263 (ULPDIFF): Define.
26264 (ulp): New function.
26265 (check_float_internal): Use ULPDIFF.
26266 (cpow_test): Disable failing test.
26267 (check_ulp): Test ulp() implemetnation.
26268 (main): Call check_ulp before starting tests.
26269
b679a606
JM
262702013-05-24 Joseph Myers <joseph@codesourcery.com>
26271
e8bdba36
JM
26272 * math/gen-libm-test.pl (generate_testfile): Do not handle
26273 START_DATA and END_DATA.
26274 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26275 END_DATA.
26276 (acos_tonearest_test_data): Likewise.
26277 (acos_towardzero_test_data): Likewise.
26278 (acos_downward_test_data): Likewise.
26279 (acos_upward_test_data): Likewise.
26280 (acosh_test_data): Likewise.
26281 (asin_test_data): Likewise.
26282 (asin_tonearest_test_data): Likewise.
26283 (asin_towardzero_test_data): Likewise.
26284 (asin_downward_test_data): Likewise.
26285 (asin_upward_test_data): Likewise.
26286 (asinh_test_data): Likewise.
26287 (atan_test_data): Likewise.
26288 (atanh_test_data): Likewise.
26289 (atan2_test_data): Likewise.
26290 (cabs_test_data): Likewise.
26291 (cacos_test_data): Likewise.
26292 (cacosh_test_data): Likewise.
26293 (carg_test_data): Likewise.
26294 (casin_test_data): Likewise.
26295 (casinh_test_data): Likewise.
26296 (catan_test_data): Likewise.
26297 (catanh_test_data): Likewise.
26298 (cbrt_test_data): Likewise.
26299 (ccos_test_data): Likewise.
26300 (ccosh_test_data): Likewise.
26301 (ceil_test_data): Likewise.
26302 (cexp_test_data): Likewise.
26303 (cimag_test_data): Likewise.
26304 (clog_test_data): Likewise.
26305 (clog10_test_data): Likewise.
26306 (conj_test_data): Likewise.
26307 (copysign_test_data): Likewise.
26308 (cos_test_data): Likewise.
26309 (cos_tonearest_test_data): Likewise.
26310 (cos_towardzero_test_data): Likewise.
26311 (cos_downward_test_data): Likewise.
26312 (cos_upward_test_data): Likewise.
26313 (cosh_test_data): Likewise.
26314 (cosh_tonearest_test_data): Likewise.
26315 (cosh_towardzero_test_data): Likewise.
26316 (cosh_downward_test_data): Likewise.
26317 (cosh_upward_test_data): Likewise.
26318 (cpow_test_data): Likewise.
26319 (cproj_test_data): Likewise.
26320 (creal_test_data): Likewise.
26321 (csin_test_data): Likewise.
26322 (csinh_test_data): Likewise.
26323 (csqrt_test_data): Likewise.
26324 (ctan_test_data): Likewise.
26325 (ctan_tonearest_test_data): Likewise.
26326 (ctan_towardzero_test_data): Likewise.
26327 (ctan_downward_test_data): Likewise.
26328 (ctan_upward_test_data): Likewise.
26329 (ctanh_test_data): Likewise.
26330 (ctanh_tonearest_test_data): Likewise.
26331 (ctanh_towardzero_test_data): Likewise.
26332 (ctanh_downward_test_data): Likewise.
26333 (ctanh_upward_test_data): Likewise.
26334 (erf_test_data): Likewise.
26335 (erfc_test_data): Likewise.
26336 (exp_test_data): Likewise.
26337 (exp_tonearest_test_data): Likewise.
26338 (exp_towardzero_test_data): Likewise.
26339 (exp_downward_test_data): Likewise.
26340 (exp_upward_test_data): Likewise.
26341 (exp10_test_data): Likewise.
26342 (exp2_test_data): Likewise.
26343 (expm1_test_data): Likewise.
26344 (fabs_test_data): Likewise.
26345 (fdim_test_data): Likewise.
26346 (finite_test_data): Likewise.
26347 (floor_test_data): Likewise.
26348 (fma_test_data): Likewise.
26349 (fma_towardzero_test_data): Likewise.
26350 (fma_downward_test_data): Likewise.
26351 (fma_upward_test_data): Likewise.
26352 (fmax_test_data): Likewise.
26353 (fmin_test_data): Likewise.
26354 (fmod_test_data): Likewise.
26355 (fpclassify_test_data): Likewise.
26356 (frexp_test_data): Likewise.
26357 (gamma_test_data): Likewise.
26358 (hypot_test_data): Likewise.
26359 (ilogb_test_data): Likewise.
26360 (isfinite_test_data): Likewise.
26361 (isgreater_test_data): Likewise.
26362 (isgreaterequal_test_data): Likewise.
26363 (isinf_test_data): Likewise.
26364 (isless_test_data): Likewise.
26365 (islessequal_test_data): Likewise.
26366 (islessgreater_test_data): Likewise.
26367 (isnan_test_data): Likewise.
26368 (isnormal_test_data): Likewise.
26369 (issignaling_test_data): Likewise.
26370 (isunordered_test_data): Likewise.
26371 (j0_test_data): Likewise.
26372 (j1_test_data): Likewise.
26373 (jn_test_data): Likewise.
26374 (ldexp_test_data): Likewise.
26375 (lgamma_test_data): Likewise.
26376 (lrint_test_data): Likewise.
26377 (lrint_tonearest_test_data): Likewise.
26378 (lrint_towardzero_test_data): Likewise.
26379 (lrint_downward_test_data): Likewise.
26380 (lrint_upward_test_data): Likewise.
26381 (llrint_test_data): Likewise.
26382 (llrint_tonearest_test_data): Likewise.
26383 (llrint_towardzero_test_data): Likewise.
26384 (llrint_downward_test_data): Likewise.
26385 (llrint_upward_test_data): Likewise.
26386 (log_test_data): Likewise.
26387 (log10_test_data): Likewise.
26388 (log1p_test_data): Likewise.
26389 (log2_test_data): Likewise.
26390 (logb_test_data): Likewise.
26391 (logb_downward_test_data): Likewise.
26392 (lround_test_data): Likewise.
26393 (llround_test_data): Likewise.
26394 (modf_test_data): Likewise.
26395 (nearbyint_test_data): Likewise.
26396 (nextafter_test_data): Likewise.
26397 (nexttoward_test_data): Likewise.
26398 (pow_test_data): Likewise.
26399 (pow_tonearest_test_data): Likewise.
26400 (pow_towardzero_test_data): Likewise.
26401 (pow_downward_test_data): Likewise.
26402 (pow_upward_test_data): Likewise.
26403 (remainder_test_data): Likewise.
26404 (remainder_tonearest_test_data): Likewise.
26405 (remainder_towardzero_test_data): Likewise.
26406 (remainder_downward_test_data): Likewise.
26407 (remainder_upward_test_data): Likewise.
26408 (remquo_test_data): Likewise.
26409 (rint_test_data): Likewise.
26410 (rint_tonearest_test_data): Likewise.
26411 (rint_towardzero_test_data): Likewise.
26412 (rint_downward_test_data): Likewise.
26413 (rint_upward_test_data): Likewise.
26414 (round_test_data): Likewise.
26415 (scalb_test_data): Likewise.
26416 (scalbn_test_data): Likewise.
26417 (scalbln_test_data): Likewise.
26418 (signbit_test_data): Likewise.
26419 (sin_test_data): Likewise.
26420 (sin_tonearest_test_data): Likewise.
26421 (sin_towardzero_test_data): Likewise.
26422 (sin_downward_test_data): Likewise.
26423 (sin_upward_test_data): Likewise.
26424 (sincos_test_data): Likewise.
26425 (sinh_test_data): Likewise.
26426 (sinh_tonearest_test_data): Likewise.
26427 (sinh_towardzero_test_data): Likewise.
26428 (sinh_downward_test_data): Likewise.
26429 (sinh_upward_test_data): Likewise.
26430 (sqrt_test_data): Likewise.
26431 (tan_test_data): Likewise.
26432 (tan_tonearest_test_data): Likewise.
26433 (tan_towardzero_test_data): Likewise.
26434 (tan_downward_test_data): Likewise.
26435 (tan_upward_test_data): Likewise.
26436 (tanh_test_data): Likewise.
26437 (tgamma_test_data): Likewise.
26438 (trunc_test_data): Likewise.
26439 (y0_test_data): Likewise.
26440 (y1_test_data): Likewise.
26441 (yn_test_data): Likewise.
26442 (significand_test_data): Likewise.
26443
b679a606
JM
26444 * math/gen-libm-test.pl (@functions): Remove variable.
26445 (generate_testfile): Don't handle START and END lines.
26446 * math/libm-test.inc (START): New macro.
26447 (END): Likewise.
26448 (END_COMPLEX): Likewise.
26449 (acos_test): Use END macro without arguments.
26450 (acos_test_tonearest): Likewise.
26451 (acos_test_towardzero): Likewise.
26452 (acos_test_downward): Likewise.
26453 (acos_test_upward): Likewise.
26454 (acosh_test): Likewise.
26455 (asin_test): Likewise.
26456 (asin_test_tonearest): Likewise.
26457 (asin_test_towardzero): Likewise.
26458 (asin_test_downward): Likewise.
26459 (asin_test_upward): Likewise.
26460 (asinh_test): Likewise.
26461 (atan_test): Likewise.
26462 (atanh_test): Likewise.
26463 (atan2_test): Likewise.
26464 (cabs_test): Likewise.
26465 (cacos_test): Use END_COMPLEX macro without arguments.
26466 (cacosh_test): Likewise.
26467 (carg_test): Use END macro without arguments.
26468 (casin_test): Use END_COMPLEX macro without arguments.
26469 (casinh_test): Likewise.
26470 (catan_test): Likewise.
26471 (catanh_test): Likewise.
26472 (cbrt_test): Use END macro without arguments.
26473 (ccos_test): Use END_COMPLEX macro without arguments.
26474 (ccosh_test): Likewise.
26475 (ceil_test): Use END macro without arguments.
26476 (cexp_test): Use END_COMPLEX macro without arguments.
26477 (cimag_test): Use END macro without arguments.
26478 (clog_test): Use END_COMPLEX macro without arguments.
26479 (clog10_test): Likewise.
26480 (conj_test): Likewise.
26481 (copysign_test): Use END macro without arguments.
26482 (cos_test): Likewise.
26483 (cos_test_tonearest): Likewise.
26484 (cos_test_towardzero): Likewise.
26485 (cos_test_downward): Likewise.
26486 (cos_test_upward): Likewise.
26487 (cosh_test): Likewise.
26488 (cosh_test_tonearest): Likewise.
26489 (cosh_test_towardzero): Likewise.
26490 (cosh_test_downward): Likewise.
26491 (cosh_test_upward): Likewise.
26492 (cpow_test): Use END_COMPLEX macro without arguments.
26493 (cproj_test): Likewise.
26494 (creal_test): Use END macro without arguments.
26495 (csin_test): Use END_COMPLEX macro without arguments.
26496 (csinh_test): Likewise.
26497 (csqrt_test): Likewise.
26498 (ctan_test): Likewise.
26499 (ctan_test_tonearest): Likewise.
26500 (ctan_test_towardzero): Likewise.
26501 (ctan_test_downward): Likewise.
26502 (ctan_test_upward): Likewise.
26503 (ctanh_test): Likewise.
26504 (ctanh_test_tonearest): Likewise.
26505 (ctanh_test_towardzero): Likewise.
26506 (ctanh_test_downward): Likewise.
26507 (ctanh_test_upward): Likewise.
26508 (erf_test): Use END macro without arguments.
26509 (erfc_test): Likewise.
26510 (exp_test): Likewise.
26511 (exp_test_tonearest): Likewise.
26512 (exp_test_towardzero): Likewise.
26513 (exp_test_downward): Likewise.
26514 (exp_test_upward): Likewise.
26515 (exp10_test): Likewise.
26516 (exp2_test): Likewise.
26517 (expm1_test): Likewise.
26518 (fabs_test): Likewise.
26519 (fdim_test): Likewise.
26520 (finite_test): Likewise.
26521 (floor_test): Likewise.
26522 (fma_test): Likewise.
26523 (fma_test_towardzero): Likewise.
26524 (fma_test_downward): Likewise.
26525 (fma_test_upward): Likewise.
26526 (fmax_test): Likewise.
26527 (fmin_test): Likewise.
26528 (fmod_test): Likewise.
26529 (fpclassify_test): Likewise.
26530 (frexp_test): Likewise.
26531 (gamma_test): Likewise.
26532 (hypot_test): Likewise.
26533 (ilogb_test): Likewise.
26534 (isfinite_test): Likewise.
26535 (isgreater_test): Likewise.
26536 (isgreaterequal_test): Likewise.
26537 (isinf_test): Likewise.
26538 (isless_test): Likewise.
26539 (islessequal_test): Likewise.
26540 (islessgreater_test): Likewise.
26541 (isnan_test): Likewise.
26542 (isnormal_test): Likewise.
26543 (issignaling_test): Likewise.
26544 (isunordered_test): Likewise.
26545 (j0_test): Likewise.
26546 (j1_test): Likewise.
26547 (jn_test): Likewise.
26548 (ldexp_test): Likewise.
26549 (lgamma_test): Likewise.
26550 (lrint_test): Likewise.
26551 (lrint_test_tonearest): Likewise.
26552 (lrint_test_towardzero): Likewise.
26553 (lrint_test_downward): Likewise.
26554 (lrint_test_upward): Likewise.
26555 (llrint_test): Likewise.
26556 (llrint_test_tonearest): Likewise.
26557 (llrint_test_towardzero): Likewise.
26558 (llrint_test_downward): Likewise.
26559 (llrint_test_upward): Likewise.
26560 (log_test): Likewise.
26561 (log10_test): Likewise.
26562 (log1p_test): Likewise.
26563 (log2_test): Likewise.
26564 (logb_test): Likewise.
26565 (logb_test_downward): Likewise.
26566 (lround_test): Likewise.
26567 (llround_test): Likewise.
26568 (modf_test): Likewise.
26569 (nearbyint_test): Likewise.
26570 (nextafter_test): Likewise.
26571 (nexttoward_test): Likewise.
26572 (pow_test): Likewise.
26573 (pow_test_tonearest): Likewise.
26574 (pow_test_towardzero): Likewise.
26575 (pow_test_downward): Likewise.
26576 (pow_test_upward): Likewise.
26577 (remainder_test): Likewise.
26578 (remainder_test_tonearest): Likewise.
26579 (remainder_test_towardzero): Likewise.
26580 (remainder_test_downward): Likewise.
26581 (remainder_test_upward): Likewise.
26582 (remquo_test): Likewise.
26583 (rint_test): Likewise.
26584 (rint_test_tonearest): Likewise.
26585 (rint_test_towardzero): Likewise.
26586 (rint_test_downward): Likewise.
26587 (rint_test_upward): Likewise.
26588 (round_test): Likewise.
26589 (scalb_test): Likewise.
26590 (scalbn_test): Likewise.
26591 (scalbln_test): Likewise.
26592 (signbit_test): Likewise.
26593 (sin_test): Likewise.
26594 (sin_test_tonearest): Likewise.
26595 (sin_test_towardzero): Likewise.
26596 (sin_test_downward): Likewise.
26597 (sin_test_upward): Likewise.
26598 (sincos_test): Likewise.
26599 (sinh_test): Likewise.
26600 (sinh_test_tonearest): Likewise.
26601 (sinh_test_towardzero): Likewise.
26602 (sinh_test_downward): Likewise.
26603 (sinh_test_upward): Likewise.
26604 (sqrt_test): Likewise.
26605 (tan_test): Likewise.
26606 (tan_test_tonearest): Likewise.
26607 (tan_test_towardzero): Likewise.
26608 (tan_test_downward): Likewise.
26609 (tan_test_upward): Likewise.
26610 (tanh_test): Likewise.
26611 (tgamma_test): Likewise.
26612 (trunc_test): Likewise.
26613 (y0_test): Likewise.
26614 (y1_test): Likewise.
26615 (yn_test): Likewise.
26616 (significand_test): Likewise.
26617
bae143d2
OB
266182013-05-24 Ondřej Bílka <neleai@seznam.cz>
26619
26620 [BZ #15381]
26621 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26622
9323d39b
EM
266232013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26624
d4ea44a0 26625 [BZ #14894]
9323d39b
EM
26626 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26627 __ppc_mdoio and __ppc_mdoom.
26628 * manual/platform.texi: Document new functions __ppc_yield,
26629 __ppc_mdoio and __ppc_mdoom.
26630
13e23af7
CD
266312013-05-22 Carlos O'Donell <carlos@redhat.com>
26632
26633 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26634 (main): Mention "tls" pseudo-hwcap is legacy.
26635 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26636
351fe550
JM
266372013-05-22 Joseph Myers <joseph@codesourcery.com>
26638
26639 * math/gen-libm-test.pl (parse_args): Output only string of
26640 arguments as text for test name, not full call or descriptions of
26641 tests for extra outputs.
26642 (generate_testfile): Do not pass function name to parse_args.
26643 Generate this_func variable from START.
26644 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26645 field to arg_str.
26646 (struct test_ff_f_data): Likewise.
26647 (test_ff_f_data_nexttoward): Likewise.
26648 (struct test_fi_f_data): Likewise.
26649 (struct test_fl_f_data): Likewise.
26650 (struct test_if_f_data): Likewise.
26651 (struct test_fff_f_data): Likewise.
26652 (struct test_c_f_data): Likewise.
26653 (struct test_f_f1_data): Likewise. Remove field extra_name.
26654 (struct test_fF_f1_data): Likewise.
26655 (struct test_ffI_f1_data): Likewise.
26656 (struct test_c_c_data): Rename test_name field to arg_str.
26657 (struct test_cc_c_data): Likewise.
26658 (struct test_f_i_data): Likewise.
26659 (struct test_ff_i_data): Likewise.
26660 (struct test_f_l_data): Likewise.
26661 (struct test_f_L_data): Likewise.
26662 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26663 and extra2_name.
26664 (COMMON_TEST_SETUP): New macro.
26665 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26666 (COMMON_TEST_CLEANUP): Likewise.
26667 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26668 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26669 macros.
26670 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26671 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26672 macros.
26673 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26674 (RUN_TEST_fff_f): Take argument string. Call new setup and
26675 cleanup macros.
26676 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26677 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26678 macros.
26679 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26680 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26681 macros.
26682 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26683 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26684 cleanup macros.
26685 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26686 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26687 cleanup macros.
26688 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26689 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26690 cleanup macros.
26691 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26692 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26693 macros.
26694 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26695 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26696 macros.
26697 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26698 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26699 macros.
26700 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26701 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26702 cleanup macros.
26703 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26704 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26705 cleanup macros.
26706 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26707 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26708 macros.
26709 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26710 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26711 cleanup macros.
26712 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26713 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26714 macros.
26715 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26716 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26717 macros.
26718 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26719 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26720 cleanup macros.
26721 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26722
85118d4d
EBM
267232013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26724
26725 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26726 to _sifields.sigfault.
26727 (si_addr_lsb): Define new macro.
26728 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26729 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26730 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26731
7a44c18f
CD
267322013-05-03 Carlos O'Donell <carlos at redhat.com>
26733
26734 [BZ #15441]
26735 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26736 returns -1.
26737 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26738 null return -1.
26739 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26740 loading the domain.
26741
b50a7181
JM
267422013-05-22 Joseph Myers <joseph@codesourcery.com>
26743
26744 * math/gen-libm-test.pl (parse_args): Do not include expected
26745 result in test name.
26746 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26748 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26749 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26750 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26752
051063c8
SP
267532013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26754
3ce9e010
SP
26755 * benchtests/Makefile: Sort function entries.
26756
051063c8
SP
26757 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26758 tanh, asinh, acosh, atanh.
26759 * benchtests/acos-inputs: New file.
26760 * benchtests/acosh-inputs: New file.
26761 * benchtests/asin-inputs: New file.
26762 * benchtests/asinh-inputs: New file.
26763 * benchtests/atanh-inputs: New file.
26764 * benchtests/cosh-inputs: New file.
26765 * benchtests/log-inputs: New file.
26766 * benchtests/sinh-inputs: New file.
26767 * benchtests/tanh-inputs: New file.
26768
47c22455
DL
267692013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26770
26771 [BZ #15339]
26772 * posix/tst-getaddrinfo4.c: New test.
26773 * posix/Makefile (tests): Add it.
26774
3d04f5db
SP
267752013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26776
26777 [BZ #15339]
26778 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26779 when no services were used.
26780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26781 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26782
d5dd6189
AS
267832013-05-21 Andreas Schwab <schwab@suse.de>
26784
26785 [BZ #15014]
26786 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26787 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26788 successful.
26789 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26790 redundant variable declarations and reallocation of buffer when
26791 parsing as IPv6 address. Always set NSS status when called from
26792 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26793 buffer too small. Correct computation of needed size.
26794 * nss/Makefile (tests): Add test-digits-dots.
26795 * nss/test-digits-dots.c: New test.
26796
fef94eab
SP
267972013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26798
26799 * benchtests/Makefile: Remove instructions for adding
26800 benchmark tests.
26801 * benchtests/README: New file to explain how to execute and
26802 enhance the benchmark tests.
26803
e39adf43
AS
268042013-05-21 Andreas Schwab <schwab@suse.de>
26805
26806 [BZ #15493]
26807 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26808 * setjmp/tst-sigsetjmp.c: New test.
26809
b2b671b6
OB
268102013-05-20 Ondřej Bílka <neleai@seznam.cz>
26811
26812 * sysdeps/x86_64/memset.S (memset): New implementation.
26813 (__bzero): Likewise.
26814 (__memset_tail): New function.
26815
2d48b41c
OB
268162013-05-20 Ondřej Bílka <neleai@seznam.cz>
26817
26818 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26819 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26820 __memcpy_sse2_unaligned ifunc selection.
26821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26822 Add memcpy-sse2-unaligned.S.
26823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26824 Add: __memcpy_sse2_unaligned.
26825
f16cc3eb
JM
268262013-05-19 Joseph Myers <joseph@codesourcery.com>
26827
3e694268
JM
26828 [BZ #15490]
26829 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26830 math_force_eval before restoring floating-point envrionment.
26831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26833 Likewise.
26834 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26835 <math_private.h>.
26836 (__nearbyintl): Use math_force_eval before restoring
26837 floating-point environment.
26838 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26839
db62a907
JM
26840 * math/gen-libm-test.pl (special_functions): Remove.
26841 (parse_args): Don't handle TEST_extra. Handle functions with no
26842 return value.
26843 * math/libm-test.inc (struct test_sincos_data): Replace with
26844 struct test_fFF_11_data.
26845 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26846 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26847 (sincos_test_data): Change element type to struct
26848 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26849 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26850 RUN_TEST_LOOP_sincos.
26851 * math/README.libm-test: Don't mention special handling of
26852 individual functions.
26853 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26854 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26855 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26856 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26857 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26859
f16cc3eb
JM
26860 * math/gen-libm-test.pl (get_variable): Remove function.
26861 (parse_args): Don't show pointer parameters to call in test
26862 names. Use "extra output N" in test names for extra outputs
26863 rather than naming variables.
26864
3779b5b6
JM
268652013-05-18 Joseph Myers <joseph@codesourcery.com>
26866
2ee094ff
JM
26867 [BZ #15488]
26868 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26869 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26870 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26871 double tests.
26872 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26873 disable.
26874 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26875 check_long_double.
26876
3779b5b6
JM
26877 * math/gen-libm-test.pl (@tests): Remove variable.
26878 ($count): Likewise.
26879 (new_test): Remove function.
26880 (show_exceptions): New function.
26881 (special_functions): Use show_exceptions instead of new_test.
26882 (parse_args): Likewise.
26883 (generate_testfile): Pass only function name in generated call to
26884 print_max_error or print_complex_max_error.
26885 (get_ulps): Do not handle complex tests specially.
26886 (output_test): Rename to ...
26887 (get_all_ulps_for_test): ... this. Return a string rather than
26888 printing to a file. Require ulps to be present.
26889 (output_ulps): Generate arrays rather than #defines.
26890 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26891 (struct ulp_data): New type.
26892 (BUILD_COMPLEX_ULP): Remove macro.
26893 (compare_ulp_data): New function.
26894 (find_ulps): Likewise.
26895 (find_test_ulps): Likewise.
26896 (find_function_ulps): Likewise.
26897 (find_complex_function_ulps): Likewise.
26898 (print_max_error): Determine allowed ulps using
26899 find_function_ulps.
26900 (print_complex_max_error): Determine allowed ulps using
26901 find_complex_function_ulps.
26902 (check_float_internal): Determine max ulps using find_test_ulps.
26903 (check_float): Do not take max_ulp parameter. Update call to
26904 check_float_internal.
26905 (check_complex): Likewise.
26906 (check_int): Do not take max_ulp parameter.
26907 (check_long): Likewise.
26908 (check_bool): Likewise.
26909 (check_longlong): Likewise.
26910 (struct test_f_f_data): Remove max_ulp field.
26911 (struct test_ff_f_data): Likewise.
26912 (struct test_ff_f_data_nexttoward): Likewise.
26913 (struct test_fi_f_data): Likewise.
26914 (struct test_fl_f_data): Likewise.
26915 (struct test_if_f_data): Likewise.
26916 (struct test_fff_f_data): Likewise.
26917 (struct test_c_f_data): Likewise.
26918 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26919 (struct test_fF_f1_data): Likewise.
26920 (struct test_ffI_f1_data): Likewise.
26921 (struct test_c_c_data): Remove max_ulp field.
26922 (struct test_cc_c_data): Likewise.
26923 (struct test_f_i_data): Likewise.
26924 (struct test_ff_i_data): Likewise.
26925 (struct test_f_l_data): Likewise.
26926 (struct test_f_L_data): Likewise.
26927 (struct test_sincos_data): Likewise.
26928 (RUN_TEST_f_f): Do not handle ulps.
26929 (RUN_TEST_LOOP_f_f): Likewise.
26930 (RUN_TEST_2_f): Likewise.
26931 (RUN_TEST_LOOP_2_f): Likewise.
26932 (RUN_TEST_fff_f): Likewise.
26933 (RUN_TEST_LOOP_fff_f): Likewise.
26934 (RUN_TEST_c_f): Likewise.
26935 (RUN_TEST_LOOP_c_f): Likewise.
26936 (RUN_TEST_f_f1): Likewise.
26937 (RUN_TEST_LOOP_f_f1): Likewise.
26938 (RUN_TEST_fF_f1): Likewise.
26939 (RUN_TEST_LOOP_fF_f1): Likewise.
26940 (RUN_TEST_fI_f1): Likewise.
26941 (RUN_TEST_LOOP_fI_f1): Likewise.
26942 (RUN_TEST_ffI_f1): Likewise.
26943 (RUN_TEST_LOOP_ffI_f1): Likewise.
26944 (RUN_TEST_c_c): Likewise.
26945 (RUN_TEST_LOOP_c_c): Likewise.
26946 (RUN_TEST_cc_c): Likewise.
26947 (RUN_TEST_LOOP_cc_c): Likewise.
26948 (RUN_TEST_f_i): Likewise.
26949 (RUN_TEST_LOOP_f_i): Likewise.
26950 (RUN_TEST_f_i_tg): Likewise.
26951 (RUN_TEST_LOOP_f_i_tg): Likewise.
26952 (RUN_TEST_ff_i_tg): Likewise.
26953 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26954 (RUN_TEST_f_b): Likewise.
26955 (RUN_TEST_LOOP_f_b): Likewise.
26956 (RUN_TEST_f_b_tg): Likewise.
26957 (RUN_TEST_LOOP_f_b_tg): Likewise.
26958 (RUN_TEST_f_l): Likewise.
26959 (RUN_TEST_LOOP_f_l): Likewise.
26960 (RUN_TEST_f_L): Likewise.
26961 (RUN_TEST_LOOP_f_L): Likewise.
26962 (RUN_TEST_sincos): Likewise.
26963 (RUN_TEST_LOOP_sincos): Likewise.
26964
8269107f
JM
269652013-05-17 Joseph Myers <joseph@codesourcery.com>
26966
bb38759d
JM
26967 [BZ #15480]
26968 [BZ #15485]
26969 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26970 main case of finite arguments, set rounding mode to FE_TONEAREST
26971 and discard exceptions.
26972 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26973 exceptions.
26974 (remainder_tonearest_test_data): New variable.
26975 (remainder_test_tonearest): New function.
26976 (remainder_towardzero_test_data): New variable.
26977 (remainder_test_towardzero): New function.
26978 (remainder_downward_test_data): New variable.
26979 (remainder_test_downward): New function.
26980 (remainder_upward_test_data): New variable.
26981 (remainder_test_upward): New function.
26982 (main): Call the new test functions.
26983
a00bdcf0
JM
26984 * math/libm-test.inc (struct test_f_f1_data): Remove field
26985 extra_init.
26986 (struct test_fF_f1_data): Likewise.
26987 (struct test_ffI_f1_data): Likewise.
26988 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26989 based on value of EXTRA_EXPECTED.
26990 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26991 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26992 EXTRA_VAR based on value of EXTRA_EXPECTED.
26993 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26994 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26995 EXTRA_VAR based on value of EXTRA_EXPECTED.
26996 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26997 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26998 EXTRA_VAR based on value of EXTRA_EXPECTED.
26999 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27000 * math/gen-libm-test.pl (parse_args): Don't output initializers
27001 for extra output values.
27002
de407f79
JM
27003 * math/libm-test.inc (check_int): Expect result to be exactly
27004 equal to expected value and do not handle ulps.
27005 (check_long): Likewise.
27006 (check_longlong): Likewise.
27007
8269107f
JM
27008 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27009 exceptions.
27010 (cimag_test_data): Likewise.
27011 (conj_test_data): Likewise.
27012 (copysign_test_data): Likewise.
27013 (cproj_test_data): Likewise.
27014 (creal_test_data): Likewise.
27015 (fabs_test_data): Likewise.
27016 (fdim_test_data): Likewise.
27017 (finite_test_data): Likewise.
27018 (floor_test_data): Likewise.
27019 (fmax_test_data): Likewise.
27020 (fmin_test_data): Likewise.
27021 (fmod_test_data): Likewise.
27022 (fpclassify_test_data): Likewise.
27023 (frexp_test_data): Likewise.
27024 (ilogb_test_data): Likewise.
27025 (isfinite_test_data): Likewise.
27026 (isgreater_test_data): Likewise.
27027 (isgreaterequal_test_data): Likewise.
27028 (isinf_test_data): Likewise.
27029 (isless_test_data): Likewise.
27030 (islessequal_test_data): Likewise.
27031 (islessgreater_test_data): Likewise.
27032 (isnan_test_data): Likewise.
27033 (isnormal_test_data): Likewise.
27034 (issignaling_test_data): Likewise.
27035 (isunordered_test_data): Likewise.
27036 (ldexp_test_data): Likewise.
27037 (lrint_test_data): Likewise.
27038 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27039 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27040 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27041 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27042 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27043 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27044 test input.
27045 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27046 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27047 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27048 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27049 that test input.
27050 (lrint_downward_test_data): Test for "inexact" exceptions.
27051 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27052 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27053 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27054 test input.
27055 (lrint_upward_test_data): Test for "inexact" exceptions.
27056 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27057 test input.
27058 (llrint_test_data): Test for "inexact" exceptions.
27059 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27060 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27061 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27062 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27063 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27064 (llrint_downward_test_data): Test for "inexact" exceptions.
27065 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27066 (llrint_upward_test_data): Test for "inexact" exceptions.
27067 (logb_test_data): Likewise.
27068 (logb_downward_test_data): Likewise.
27069 (nextafter_test_data): Likewise.
27070 (nexttoward_test_data): Likewise.
27071 (remainder_test_data): Likewise.
27072 (remquo_test_data): Likewise.
27073 (scalbn_test_data): Likewise.
27074 (scalbln_test_data): Likewise.
27075 (signbit_test_data): Likewise.
27076 (sqrt_test_data): Likewise.
27077 (significand_test_data): Likewise.
27078
48a18de1
SP
270792013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27080
27081 [BZ #15424]
27082 * benchtests/bench-modf.c (struct args): Mark arg0 as
27083 volatile.
27084 * scripts/bench.pl: Mark members of struct args as volatile.
27085
13d3b41a
AZ
270862013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27087
68191c1d 27088 [BZ # 15497]
13d3b41a
AZ
27089 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27090 negative infinity on POWER6 or lower.
27091 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27092
2848b105
MR
270932013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27094
27095 [BZ #15442]
27096 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27097 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27098 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27099 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27100 (_FP_SETQNAN): New macro.
27101 (_FP_SETQNAN_SEMIRAW): Likewise.
27102 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27103 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27104 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27105 (FP_EXTEND): Use _FP_FRAC_SNANP.
27106 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27107 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27108 into account.
27109 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27110 New macro.
27111 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27112 Likewise.
27113
323e5cb7
JM
271142013-05-16 Joseph Myers <joseph@codesourcery.com>
27115
c58b274f
JM
27116 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27117 with DIVIDE_BY_ZERO_EXCEPTION.
27118 (gamma_test_data): Likewise.
27119 (lgamma_test_data): Likewise.
27120 (log_test_data): Likewise.
27121 (log10_test_data): Likewise.
27122 (log2_test_data): Likewise.
27123 (tgamma_test_data): Likewise.
27124
0ab34904
JM
27125 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27126 (acos_test_tonearest): Likewise.
27127 (acos_test_towardzero): Likewise.
27128 (acos_test_downward): Likewise.
27129 (acos_test_upward): Likewise.
27130 (acosh_test): Likewise.
27131 (asin_test): Likewise.
27132 (asin_test_tonearest): Likewise.
27133 (asin_test_towardzero): Likewise.
27134 (asin_test_downward): Likewise.
27135 (asin_test_upward): Likewise.
27136 (asinh_test): Likewise.
27137 (atan_test): Likewise.
27138 (atanh_test): Likewise.
27139 (atan2_test): Likewise.
27140 (cabs_test): Likewise.
27141 (cacos_test): Likewise.
27142 (cacosh_test): Likewise.
27143 (casin_test): Likewise.
27144 (casinh_test): Likewise.
27145 (catan_test): Likewise.
27146 (catanh_test): Likewise.
27147 (cbrt_test): Likewise.
27148 (ccos_test): Likewise.
27149 (ccosh_test): Likewise.
27150 (cexp_test): Likewise.
27151 (clog_test): Likewise.
27152 (clog10_test): Likewise.
27153 (cos_test): Likewise.
27154 (cos_test_tonearest): Likewise.
27155 (cos_test_towardzero): Likewise.
27156 (cos_test_downward): Likewise.
27157 (cos_test_upward): Likewise.
27158 (cosh_test): Likewise.
27159 (cosh_test_tonearest): Likewise.
27160 (cosh_test_towardzero): Likewise.
27161 (cosh_test_downward): Likewise.
27162 (cosh_test_upward): Likewise.
27163 (cpow_test): Likewise.
27164 (csin_test): Likewise.
27165 (csinh_test): Likewise.
27166 (csqrt_test): Likewise.
27167 (ctan_test): Likewise.
27168 (ctan_test_tonearest): Likewise.
27169 (ctan_test_towardzero): Likewise.
27170 (ctan_test_downward): Likewise.
27171 (ctan_test_upward): Likewise.
27172 (ctanh_test): Likewise.
27173 (ctanh_test_tonearest): Likewise.
27174 (ctanh_test_towardzero): Likewise.
27175 (ctanh_test_downward): Likewise.
27176 (ctanh_test_upward): Likewise.
27177 (erf_test): Likewise.
27178 (erfc_test): Likewise.
27179 (exp_test): Likewise.
27180 (exp_test_tonearest): Likewise.
27181 (exp_test_towardzero): Likewise.
27182 (exp_test_downward): Likewise.
27183 (exp_test_upward): Likewise.
27184 (exp10_test): Likewise.
27185 (exp2_test): Likewise.
27186 (expm1_test): Likewise.
27187 (fmod_test): Likewise.
27188 (gamma_test): Likewise.
27189 (hypot_test): Likewise.
27190 (j0_test): Likewise.
27191 (j1_test): Likewise.
27192 (jn_test): Likewise.
27193 (lgamma_test): Likewise.
27194 (log_test): Likewise.
27195 (log10_test): Likewise.
27196 (log1p_test): Likewise.
27197 (log2_test): Likewise.
27198 (logb_test_downward): Likewise.
27199 (pow_test): Likewise.
27200 (pow_test_tonearest): Likewise.
27201 (pow_test_towardzero): Likewise.
27202 (pow_test_downward): Likewise.
27203 (pow_test_upward): Likewise.
27204 (remainder_test): Likewise.
27205 (remquo_test): Likewise.
27206 (sin_test): Likewise.
27207 (sin_test_tonearest): Likewise.
27208 (sin_test_towardzero): Likewise.
27209 (sin_test_downward): Likewise.
27210 (sin_test_upward): Likewise.
27211 (sincos_test): Likewise.
27212 (sinh_test): Likewise.
27213 (sinh_test_tonearest): Likewise.
27214 (sinh_test_towardzero): Likewise.
27215 (sinh_test_downward): Likewise.
27216 (sinh_test_upward): Likewise.
27217 (sqrt_test): Likewise.
27218 (tan_test): Likewise.
27219 (tan_test_tonearest): Likewise.
27220 (tan_test_towardzero): Likewise.
27221 (tan_test_downward): Likewise.
27222 (tan_test_upward): Likewise.
27223 (tanh_test): Likewise.
27224 (tgamma_test): Likewise.
27225 (y0_test): Likewise.
27226 (y1_test): Likewise.
27227 (yn_test): Likewise.
27228
323e5cb7
JM
27229 * math/gen-libm-test.pl (adjust_arg): Remove function.
27230 (special_function): Remove argument $in_func. Only handle
27231 generating output for tables of tests, not inside functions.
27232 (parse_args): Likewise.
27233 (generate_testfile): Remove variable $in_func. Update call to
27234 parse_args.
27235 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27236 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27237 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27238 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27239 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27240 (MAX_VALUE_INIT): Rename macro to max_value.
27241 (MIN_VALUE_INIT): Rename macro to min_value.
27242 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27243 (plus_zero): Remove variable.
27244 (minus_zero): Likewise.
27245 (plus_infty): Likewise.
27246 (minus_infty): Likewise.
27247 (qnan_value): Likewise.
27248 (max_value): Likewise.
27249 (min_value): Likewise.
27250 (min_subnorm_value): Likewise.
27251
e054f494
RA
272522013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27253
27254 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27255 uint64_t or uint32_t usage.
27256 * crypt/sha256-block.c: Likewise.
27257 * crypt/sha256-crypt.c: Likewise.
27258 * crypt/sha256.c: Likewise.
27259 * crypt/sha512-block.c: Likewise.
27260 * crypt/sha512-crypt.c: Likewise.
27261 * crypt/sha512.c: Likewise.
27262 * debug/backtrace-tst.c: Likewise.
27263 * debug/pcprofiledump.c: Likewise.
27264 * elf/cache.c: Likewise.
27265 * elf/dl-cache.c: Likewise.
27266 * elf/dl-misc.c: Likewise.
27267 * elf/dl-profile.c: Likewise.
27268 * elf/dl-support.c: Likewise.
27269 * elf/ldconfig.c: Likewise.
27270 * elf/sprof.c: Likewise.
27271 * iconv/dummy-repertoire.c: Likewise.
27272 * iconv/iconv_charmap.c: Likewise.
27273 * iconv/skeleton.c: Likewise.
27274 * iconvdata/8bit-generic.c: Likewise.
27275 * iconvdata/cp737.h: Likewise.
27276 * iconvdata/cp775.h: Likewise.
27277 * iconvdata/ibm1008.h: Likewise.
27278 * iconvdata/ibm1025.h: Likewise.
27279 * iconvdata/ibm1046.h: Likewise.
27280 * iconvdata/ibm1097.h: Likewise.
27281 * iconvdata/ibm1112.h: Likewise.
27282 * iconvdata/ibm1122.h: Likewise.
27283 * iconvdata/ibm1123.h: Likewise.
27284 * iconvdata/ibm1124.h: Likewise.
27285 * iconvdata/ibm1129.h: Likewise.
27286 * iconvdata/ibm1130.h: Likewise.
27287 * iconvdata/ibm1132.h: Likewise.
27288 * iconvdata/ibm1133.h: Likewise.
27289 * iconvdata/ibm1137.h: Likewise.
27290 * iconvdata/ibm1140.h: Likewise.
27291 * iconvdata/ibm1141.h: Likewise.
27292 * iconvdata/ibm1142.h: Likewise.
27293 * iconvdata/ibm1143.h: Likewise.
27294 * iconvdata/ibm1144.h: Likewise.
27295 * iconvdata/ibm1145.h: Likewise.
27296 * iconvdata/ibm1146.h: Likewise.
27297 * iconvdata/ibm1147.h: Likewise.
27298 * iconvdata/ibm1148.h: Likewise.
27299 * iconvdata/ibm1149.h: Likewise.
27300 * iconvdata/ibm1153.h: Likewise.
27301 * iconvdata/ibm1154.h: Likewise.
27302 * iconvdata/ibm1155.h: Likewise.
27303 * iconvdata/ibm1156.h: Likewise.
27304 * iconvdata/ibm1157.h: Likewise.
27305 * iconvdata/ibm1158.h: Likewise.
27306 * iconvdata/ibm1160.h: Likewise.
27307 * iconvdata/ibm1161.h: Likewise.
27308 * iconvdata/ibm1162.h: Likewise.
27309 * iconvdata/ibm1163.h: Likewise.
27310 * iconvdata/ibm1164.h: Likewise.
27311 * iconvdata/ibm1166.h: Likewise.
27312 * iconvdata/ibm1167.h: Likewise.
27313 * iconvdata/ibm12712.h: Likewise.
27314 * iconvdata/ibm1390.h: Likewise.
27315 * iconvdata/ibm1399.h: Likewise.
27316 * iconvdata/ibm16804.h: Likewise.
27317 * iconvdata/ibm4517.h: Likewise.
27318 * iconvdata/ibm4899.h: Likewise.
27319 * iconvdata/ibm4909.h: Likewise.
27320 * iconvdata/ibm4971.h: Likewise.
27321 * iconvdata/ibm5347.h: Likewise.
27322 * iconvdata/ibm803.h: Likewise.
27323 * iconvdata/ibm856.h: Likewise.
27324 * iconvdata/ibm901.h: Likewise.
27325 * iconvdata/ibm902.h: Likewise.
27326 * iconvdata/ibm9030.h: Likewise.
27327 * iconvdata/ibm9066.h: Likewise.
27328 * iconvdata/ibm921.h: Likewise.
27329 * iconvdata/ibm922.h: Likewise.
27330 * iconvdata/ibm9448.h: Likewise.
27331 * iconvdata/isiri-3342.h: Likewise.
27332 * iconvdata/jis0201.h: Likewise.
27333 * include/link.h: Likewise.
27334 * include/netdb.h: Likewise.
27335 * inet/check_native.c: Likewise.
27336 * inet/check_pf.c: Likewise.
27337 * inet/getipv4sourcefilter.c: Likewise.
27338 * inet/getnameinfo.c: Likewise.
27339 * inet/getsourcefilter.c: Likewise.
27340 * inet/htonl.c: Likewise.
27341 * inet/setipv4sourcefilter.c: Likewise.
27342 * inet/setsourcefilter.c: Likewise.
27343 * inet/test-inet6_opt.c: Likewise.
27344 * inet/tst-network.c: Likewise.
27345 * locale/C-collate.c: Likewise.
27346 * locale/C-ctype.c: Likewise.
27347 * locale/C-time.c: Likewise.
27348 * locale/C-translit.h: Likewise.
27349 * locale/loadarchive.c: Likewise.
27350 * locale/programs/3level.h: Likewise.
27351 * locale/programs/charmap.c: Likewise.
27352 * locale/programs/charmap.h: Likewise.
27353 * locale/programs/ld-address.c: Likewise.
27354 * locale/programs/ld-collate.c: Likewise.
27355 * locale/programs/ld-ctype.c: Likewise.
27356 * locale/programs/ld-identification.c: Likewise.
27357 * locale/programs/ld-measurement.c: Likewise.
27358 * locale/programs/ld-messages.c: Likewise.
27359 * locale/programs/ld-monetary.c: Likewise.
27360 * locale/programs/ld-name.c: Likewise.
27361 * locale/programs/ld-numeric.c: Likewise.
27362 * locale/programs/ld-paper.c: Likewise.
27363 * locale/programs/ld-telephone.c: Likewise.
27364 * locale/programs/ld-time.c: Likewise.
27365 * locale/programs/linereader.c: Likewise.
27366 * locale/programs/locale.c: Likewise.
27367 * locale/programs/locarchive.c: Likewise.
27368 * locale/programs/locfile.h: Likewise.
27369 * locale/programs/repertoire.c: Likewise.
27370 * locale/programs/simple-hash.c: Likewise.
27371 * locale/programs/simple-hash.h: Likewise.
27372 * malloc/memusage.c: Likewise.
27373 * malloc/memusagestat.c: Likewise.
27374 * nis/nis_defaults.c: Likewise.
27375 * nis/nis_hash.c: Likewise.
27376 * nis/nis_print.c: Likewise.
27377 * nis/nis_xdr.c: Likewise.
27378 * nscd/connections.c: Likewise.
27379 * nscd/hstcache.c: Likewise.
27380 * nscd/nscd_gethst_r.c: Likewise.
27381 * nscd/nscd_getserv_r.c: Likewise.
27382 * nscd/nscd_helper.c: Likewise.
27383 * nscd/servicescache.c: Likewise.
27384 * nss/makedb.c: Likewise.
27385 * nss/nss_db/db-XXX.c: Likewise.
27386 * nss/nss_db/db-initgroups.c: Likewise.
27387 * nss/nss_db/db-netgrp.c: Likewise.
27388 * nss/nss_files/files-network.c: Likewise.
27389 * nss/nss_files/files-parse.c: Likewise.
27390 * posix/bug-regex5.c: Likewise.
27391 * posix/fnmatch_loop.c: Likewise.
27392 * posix/regcomp.c: Likewise.
27393 * posix/regexec.c: Likewise.
27394 * posix/tst-rfc3484-2.c: Likewise.
27395 * posix/tst-rfc3484-3.c: Likewise.
27396 * posix/tst-rfc3484.c: Likewise.
27397 * resolv/nss_dns/dns-canon.c: Likewise.
27398 * resolv/nss_dns/dns-network.c: Likewise.
27399 * resolv/res_init.c: Likewise.
27400 * resolv/res_mkquery.c: Likewise.
27401 * resolv/tst-aton.c: Likewise.
27402 * stdlib/cxa_atexit.c: Likewise.
27403 * stdlib/cxa_finalize.c: Likewise.
27404 * stdlib/gen-fpioconst.c: Likewise.
27405 * stdlib/strtol_l.c: Likewise.
27406 * string/tst-endian.c: Likewise.
27407 * sunrpc/auth_des.c: Likewise.
27408 * sunrpc/clnt_udp.c: Likewise.
27409 * sunrpc/rtime.c: Likewise.
27410 * sunrpc/svcauth_des.c: Likewise.
27411 * sunrpc/xdr.c: Likewise.
27412 * sunrpc/xdr_intXX_t.c: Likewise.
27413 * sunrpc/xdr_rec.c: Likewise.
27414 * sysdeps/generic/ldconfig.h: Likewise.
27415 * sysdeps/generic/ldsodefs.h: Likewise.
27416 * sysdeps/generic/memusage.h: Likewise.
27417 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27420 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27425 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27427 * sysdeps/posix/getaddrinfo.c: Likewise.
27428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27430 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27432 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27433 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27434 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27435 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27436 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27437 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27438 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27439 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27440 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27441 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27442 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27443 * sysdeps/x86_64/dl-tls.h: Likewise.
27444 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27445 * time/alt_digit.c: Likewise.
27446 * time/era.c: Likewise.
27447 * wcsmbs/tst-c16c32-1.c: Likewise.
27448
8c75f674
JM
274492013-05-16 Joseph Myers <joseph@codesourcery.com>
27450
27451 * math/libm-test.inc (struct test_sincos_data): New type.
27452 (RUN_TEST_LOOP_sincos): New macro.
27453 (sincos_test_data): New variable.
27454 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27455
e6e49e59
RH
274562013-05-16 Richard Henderson <rth@redhat.com>
27457
27458 * math/atest-exp2.c (LIMB64): New macro.
27459 (CONSTSZ): New macro.
27460 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27461 (hexdig): Move ...
27462 (print_mpn_fp): ... to function scope.
27463 (read_mpn_hex): Remove.
27464 (get_log2): Remove.
27465 (exp2_mpn): Use mp_log2.
27466 (main): Use mp_exp1.
27467
15c7c18d
JM
274682013-05-16 Joseph Myers <joseph@codesourcery.com>
27469
105a07df
JM
27470 * math/libm-test.inc: Remove comment about not testing "inexact"
27471 exceptions.
27472 (INEXACT_EXCEPTION): New macro.
27473 (NO_INEXACT_EXCEPTION): Likewise.
27474 (INVALID_EXCEPTION_OK): Update value.
27475 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27476 (OVERFLOW_EXCEPTION_OK): Likewise.
27477 (UNDERFLOW_EXCEPTION_OK): Likewise.
27478 (IGNORE_ZERO_INF_SIGN): Likewise.
27479 (ERRNO_UNCHANGED): Likewise.
27480 (ERRNO_EDOM): Likewise.
27481 (ERRNO_ERANGE): Likewise.
27482 (test_exceptions): Handle testing "inexact" exceptions.
27483 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27484 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27485 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27486 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27487 INEXACT_EXCEPTION.
27488 (rint_towardzero_test_data): Likewise.
27489 (rint_downward_test_data): Likewise.
27490 (rint_upward_test_data): Likewise.
27491
e9eee333
JM
27492 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27493 with OVERFLOW_EXCEPTION.
27494 (exp10_test_data): Likewise.
27495 (exp2_test_data): Likewise.
27496 (expm1_test_data): Likewise.
27497 (lgamma_test_data): Likewise.
27498 (pow_test_data): Likewise.
27499 (tgamma_test_data): Likewise.
27500 (yn_test_data): Remove duplicate test of overflow.
27501
1c38ff73
JM
27502 * math/libm-test.inc (struct test_cc_c_data): New type.
27503 (RUN_TEST_LOOP_cc_c): New macro.
27504 (cpow_test_data): New variable.
27505 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27506
15c7c18d
JM
27507 * math/libm-test.inc (struct test_f_L_data): New type.
27508 (RUN_TEST_LOOP_f_L): New macro.
27509 (llrint_test_data): New variable.
27510 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27511 (llrint_tonearest_test_data): New variable.
27512 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27513 (llrint_towardzero_test_data): New variable.
27514 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27515 (llrint_downward_test_data): New variable.
27516 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27517 (llrint_upward_test_data): New variable.
27518 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27519 (llround_test_data): New variable.
27520 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27521
f137ff13
PC
275222013-05-13 Peter Collingbourne <pcc@google.com>
27523
27524 * math/atest-exp2.c (get_log2): Remove const attribute.
27525
3608cb24
JM
275262013-05-15 Joseph Myers <joseph@codesourcery.com>
27527
27528 * math/libm-test.inc (struct test_f_l_data): New type.
27529 (RUN_TEST_LOOP_f_l): New macro.
27530 (lrint_test_data): New variable.
27531 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27532 (lrint_tonearest_test_data): New variable.
27533 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27534 (lrint_towardzero_test_data): New variable.
27535 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27536 (lrint_downward_test_data): New variable.
27537 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27538 (lrint_upward_test_data): New variable.
27539 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27540 (lround_test_data): New variable.
27541 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27542
39b1f617
PC
275432013-05-15 Peter Collingbourne <pcc@google.com>
27544
1deff3dc
PC
27545 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27546 (EXTRACT_WORDS64) Use where appropriate.
27547 (INSERT_WORDS64) Likewise.
27548
791f3ba0
PC
27549 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27550 constraints with x constraints.
27551 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27552
39b1f617
PC
27553 * malloc/obstack.c (_obstack_compat): Add initializer.
27554
12fba011
EM
275552013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27556
27557 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27558 si_trapno and add si_addr_lsb to _sifields.sigfault.
27559 (si_trapno): Remove macro.
27560 (si_addr_lsb): Define new macro.
27561 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27562
d369f531
JM
275632013-05-15 Joseph Myers <joseph@codesourcery.com>
27564
b861c6c4
JM
27565 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27566 instead of TEST_f_l.
27567 (llrint_test_tonearest): Likewise.
27568 (llrint_test_towardzero): Likewise.
27569 (llrint_test_downward): Likewise.
27570 (llrint_test_upward): Likewise.
27571 (llround_test): Likewise.
27572
7abeee12
JM
27573 * math/libm-test.inc (struct test_f_i_data): Add comment.
27574 (RUN_TEST_LOOP_f_b): New macro.
27575 (RUN_TEST_LOOP_f_b_tg): Likewise.
27576 (finite_test_data): New variable.
27577 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27578 (isfinite_test_data): New variable.
27579 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27580 (isinf_test_data): New variable.
27581 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27582 (isnan_test_data): New variable.
27583 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27584 (isnormal_test_data): New variable.
27585 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27586 (issignaling_test_data): New variable.
27587 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27588 (signbit_test_data): New variable.
27589 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27590
cbe8c4d3
JM
27591 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27592 with INVALID_EXCEPTION.
27593 (acosh_test_data): Likewise.
27594 (asin_test_data): Likewise.
27595 (atanh_test_data): Likewise.
27596 (fmod_test_data): Likewise.
27597 (log_test_data): Likewise.
27598 (log10_test_data): Likewise.
27599 (log2_test_data): Likewise.
27600 (pow_test_data): Likewise.
27601 (sqrt_test_data): Likewise.
27602 (y0_test_data): Likewise.
27603 (y1_test_data): Likewise.
27604 (yn_test_data): Likewise.
27605
5575c0e5
JM
27606 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27607 function contents.
27608
d369f531
JM
27609 * math/libm-test.inc (struct test_ff_i_data): New type.
27610 (RUN_TEST_LOOP_ff_i_tg): New macro.
27611 (isgreater_test_data): New variable.
27612 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27613 (isgreaterequal_test_data): New variable.
27614 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27615 (isless_test_data): New variable.
27616 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27617 (islessequal_test_data): New variable.
27618 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27619 (islessgreater_test_data): New variable.
27620 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27621 (isunordered_test_data): New variable.
27622 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27623
781fd748
DM
276242013-05-14 David S. Miller <davem@davemloft.net>
27625
27626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27627
87aa21df
JM
276282013-05-14 Joseph Myers <joseph@codesourcery.com>
27629
5e908270
JM
27630 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27631
f71172e5
JM
27632 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27633 extra_test to int.
27634 (struct test_f_i_data): Change type of max_ulp to int.
27635
8cfa635a
JM
27636 * math/libm-test.inc (test_ffI_f1_data): New type.
27637 (RUN_TEST_LOOP_ffI_f1): New macro.
27638 (remquo_test_data): New variable.
27639 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27640
2bcb36b2
JM
27641 * setjmp/tst-setjmp-fp.c: New file.
27642 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27643 (link-libm): New variable.
27644 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27645
acbd839a
JM
27646 * math/libm-test.inc (struct test_f_i_data): New type.
27647 (RUN_TEST_LOOP_f_i): New macro.
27648 (RUN_TEST_LOOP_f_i_tg): Likewise.
27649 (fpclassify_test_data): New variable.
27650 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27651 (ilogb_test_data): New variable.
27652 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27653
e414d745
JM
27654 * math/libm-test.inc (scalbln_test): Correct function name in END
27655 call.
27656
d9c2a0fd
JM
27657 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27658 (RUN_TEST_LOOP_fI_f1): New macro.
27659 (frexp_test_data): New variable.
27660 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27661
9dc9095d
JM
27662 * math/libm-test.inc (struct test_fF_f1_data): New type.
27663 (RUN_TEST_LOOP_fF_f1): New macro.
27664 (modf_test_data): New variable.
27665 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27666
87aa21df
JM
27667 * math/libm-test.inc (struct test_f_f1_data): New type.
27668 (RUN_TEST_LOOP_f_f1): New macro.
27669 (gamma_test_data): New variable.
27670 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27671 (lgamma_test_data): New variable.
27672 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27673
141af660
CD
276742013-05-13 Carlos O'Donell <carlos@redhat.com>
27675
27676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27677 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27678 (main): Comment "tls" pseudo-hwcap.
27679
6d33265c
JM
276802013-05-13 Joseph Myers <joseph@codesourcery.com>
27681
68fc074c
JM
27682 * math/libm-test.inc (struct test_fl_f_data): New type.
27683 (RUN_TEST_LOOP_fl_f): New variable.
27684 (scalbln_test_data): New variable.
27685 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27686
243216e1
JM
27687 * math/libm-test.inc (struct test_fi_f_data): New type.
27688 (RUN_TEST_LOOP_fi_f): New macro.
27689 (ldexp_test_data): New variable.
27690 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27691 (scalbn_test_data): New variable.
27692 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27693
6a1992e2
JM
27694 * math/libm-test.inc (struct test_c_f_data): New type.
27695 (RUN_TEST_LOOP_c_f): New macro.
27696 (cabs_test_data): New variable.
27697 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27698 (carg_test_data): New variable.
27699 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27700 (cimag_test_data): New variable.
27701 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27702 (creal_test_data): New variable.
27703 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27704
0e400df5
JM
27705 * math/libm-test.inc (struct test_if_f_data): New type.
27706 (RUN_TEST_LOOP_if_f): New macro.
27707 (jn_test_data): New variable.
27708 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27709 (yn_test_data): New variable.
27710 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27711
6d33265c
JM
27712 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27713
f98ece5f
AZ
277142013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27715
27716 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27717 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27718
0f7d347b
SP
277192013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27720
43fe811b
SP
27721 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27722 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27723 (bench-deps): Add bench-timing.h.
27724 * benchtests-bench-skeleton.c: Include bench-timing.h.
27725 (main): Use TIMING_* macros instead of clock_gettime.
27726 * benchtests/bench-timing.h: New file.
27727
0f7d347b
SP
27728 [BZ #14582]
27729 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27730 Renamed from _LIB_VERSION.
27731 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27732
601a3a5f
JM
277332013-05-12 Joseph Myers <joseph@codesourcery.com>
27734
4f184d30
JM
27735 * math/libm-test.inc (struct test_fff_f_data): New type.
27736 (RUN_TEST_LOOP_fff_f): New macro.
27737 (fma_test_data): New variable.
27738 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27739 (fma_towardzero_test_data): New variable.
27740 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27741 (fma_downward_test_data): New variable.
27742 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27743 (fma_upward_test_data): New variable.
27744 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27745
08198877
JM
27746 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27747 (struct test_c_c_data): New type.
27748 (RUN_TEST_LOOP_c_c): New macro.
27749 (cacos_test_data): New variable.
27750 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27751 (cacosh_test_data): New variable.
27752 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27753 (casin_test_data): New variable.
27754 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27755 (casinh_test_data): New variable.
27756 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27757 (catan_test_data): New variable.
27758 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27759 (catanh_test_data): New variable.
27760 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27761 (ccos_test_data): New variable.
27762 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27763 (ccosh_test_data): New variable.
27764 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27765 (cexp_test_data): New variable.
27766 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27767 (clog_test_data): New variable.
27768 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27769 (clog10_test_data): New variable.
27770 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27771 (conj_test_data): New variable.
27772 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27773 (cproj_test_data): New variable.
27774 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27775 (csin_test_data): New variable.
27776 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27777 (csinh_test_data): New variable.
27778 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27779 (csqrt_test_data): New variable.
27780 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27781 (ctan_test_data): New variable.
27782 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27783 (ctan_tonearest_test_data): New variable.
27784 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27785 (ctan_towardzero_test_data): New variable.
27786 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27787 (ctan_downward_test_data): New variable.
27788 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27789 (ctan_upward_test_data): New variable.
27790 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27791 (ctanh_test_data): New variable.
27792 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27793 (ctanh_tonearest_test_data): New variable.
27794 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27795 (ctanh_towardzero_test_data): New variable.
27796 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27797 (ctanh_downward_test_data): New variable.
27798 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27799 (ctanh_upward_test_data): New variable.
27800 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27801 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27802 of BUILD_COMPLEX.
27803
601a3a5f
JM
27804 * math/libm-test.inc (struct test_ff_f_data): New type.
27805 (struct test_ff_f_data_nexttoward): Likewise.
27806 (RUN_TEST_LOOP_2_f): New macro.
27807 (RUN_TEST_LOOP_ff_f): Likewise.
27808 (atan2_test_data): New variable.
27809 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27810 (copysign_test_data): New variable.
27811 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27812 (fdim_test_data): New variable.
27813 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27814 (fmax_test_data): New variable.
27815 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27816 (fmin_test_data): New variable.
27817 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27818 (fmod_test_data): New variable.
27819 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27820 (hypot_test_data): New variable.
27821 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27822 (nextafter_test_data): New variable.
27823 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27824 (nexttoward_test_data): New variable.
27825 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27826 (pow_test_data): New variable.
27827 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27828 (pow_tonearest_test_data): New variable.
27829 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27830 (pow_towardzero_test_data): New variable.
27831 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27832 (pow_downward_test_data): New variable.
27833 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27834 (pow_upward_test_data): New variable.
27835 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27836 (remainder_test_data): New variable.
27837 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27838 (scalb_test_data): New variable.
27839 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27840 * sysdeps/i386/fpu/libm-test-ulps: Update.
27841
74c57478
JM
278422013-05-11 Joseph Myers <joseph@codesourcery.com>
27843
8329e4da
JM
27844 * math/libm-test.inc (fma_test): Use max_value instead of local
27845 variable fltmax.
27846 (nextafter_test): Likewise.
27847
74c57478
JM
27848 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27849 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27850 (acos_downward_test_data): New variable.
27851 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27852 (acos_upward_test_data): New variable.
27853 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27854 (acosh_test_data): New variable.
27855 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27856 (asin_test_data): New variable.
27857 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27858 (asin_tonearest_test_data): New variable.
27859 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27860 (asin_towardzero_test_data): New variable.
27861 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27862 (asin_downward_test_data): New variable.
27863 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27864 (asin_upward_test_data): New variable.
27865 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27866 (asinh_test_data): New variable.
27867 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27868 (atan_test_data): New variable.
27869 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27870 (atanh_test_data): New variable.
27871 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27872 (cbrt_test_data): New variable.
27873 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27874 (ceil_test_data): New variable.
27875 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27876 (cos_test_data): New variable.
27877 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27878 (cos_tonearest_test_data): New variable.
27879 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27880 (cos_towardzero_test_data): New variable.
27881 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27882 (cos_downward_test_data): New variable.
27883 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27884 (cos_upward_test_data): New variable.
27885 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27886 (cosh_test_data): New variable.
27887 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27888 (cosh_tonearest_test_data): New variable.
27889 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27890 (cosh_towardzero_test_data): New variable.
27891 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27892 (cosh_downward_test_data): New variable.
27893 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27894 (cosh_upward_test_data): New variable.
27895 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27896 (erf_test_data): New variable.
27897 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27898 (erfc_test_data): New variable.
27899 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27900 (exp_test_data): New variable.
27901 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27902 (exp_tonearest_test_data): New variable.
27903 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27904 (exp_towardzero_test_data): New variable.
27905 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27906 (exp_downward_test_data): New variable.
27907 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27908 (exp_upward_test_data): New variable.
27909 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27910 (exp10_test_data): New variable.
27911 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27912 (exp2_test_data): New variable.
27913 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27914 (expm1_test_data): New variable.
27915 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27916 (fabs_test_data): New variable.
27917 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27918 (floor_test_data): New variable.
27919 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27920 (j0_test_data): New variable.
27921 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27922 (j1_test_data): New variable.
27923 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27924 (log_test_data): New variable.
27925 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27926 (log10_test_data): New variable.
27927 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27928 (log1p_test_data): New variable.
27929 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27930 (log2_test_data): New variable.
27931 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27932 (logb_test_data): New variable.
27933 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27934 (logb_downward_test_data): New variable.
27935 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27936 (nearbyint_test_data): New variable.
27937 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27938 (rint_test_data): New variable.
27939 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27940 (rint_tonearest_test_data): New variable.
27941 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27942 (rint_towardzero_test_data): New variable.
27943 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27944 (rint_downward_test_data): New variable.
27945 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27946 (rint_upward_test_data): New variable.
27947 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27948 (round_test_data): New variable.
27949 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27950 (sin_test_data): New variable.
27951 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27952 (sin_tonearest_test_data): New variable.
27953 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27954 (sin_towardzero_test_data): New variable.
27955 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27956 (sin_downward_test_data): New variable.
27957 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27958 (sin_upward_test_data): New variable.
27959 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27960 (sinh_test_data): New variable.
27961 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27962 (sinh_tonearest_test_data): New variable.
27963 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27964 (sinh_towardzero_test_data): New variable.
27965 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27966 (sinh_downward_test_data): New variable.
27967 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27968 (sinh_upward_test_data): New variable.
27969 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27970 (sqrt_test_data): New variable.
27971 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27972 (tan_test_data): New variable.
27973 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27974 (tan_tonearest_test_data): New variable.
27975 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27976 (tan_towardzero_test_data): New variable.
27977 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27978 (tan_downward_test_data): New variable.
27979 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27980 (tan_upward_test_data): New variable.
27981 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27982 (tanh_test_data): New variable.
27983 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27984 (tgamma_test_data): New variable.
27985 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27986 (trunc_test_data): New variable.
27987 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27988 (y0_test_data): New variable.
27989 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27990 (y1_test_data): New variable.
27991 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27992 (significand_test_data): New variable.
27993 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27994
7187d844
CG
279952013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27996
27997 [BZ #12387]
27998 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27999
f63fae73
PT
280002013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28001
28002 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28003
8a67a4b3
AJ
280042013-05-10 Andreas Jaeger <aj@suse.de>
28005
28006 [BZ #15448]
28007 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28008 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28009
51df539d
JM
280102013-05-10 Joseph Myers <joseph@codesourcery.com>
28011
28012 * math/gen-libm-test.pl (adjust_arg): New function.
28013 (special_functions): Handle generating output in both functions
28014 and arrays.
28015 (parse_args): Likewise.
28016 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28017 $in_func argument to parse_args.
28018 * math/libm-test.inc (struct test_f_f_data): New type.
28019 (IF_ROUND_INIT_): New macro.
28020 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28021 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28022 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28023 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28024 (ROUND_RESTORE_): Likewise.
28025 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28026 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28027 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28028 (ROUND_RESTORE_FE_UPWARD): Likewise.
28029 (RUN_TEST_LOOP_f_f): New macro.
28030 (acos_test_data): New variable.
28031 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28032 (acos_tonearest_test_data): New variable.
28033 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28034
5c637fe5
SP
280352013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28036
28037 * benchtests/bench-skeleton.c (startup): Fix coding style.
28038
ab2b9461
JM
280392013-05-10 Joseph Myers <joseph@codesourcery.com>
28040
28041 [BZ #6809]
28042 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28043 negative infinity argument.
28044 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28045 negative infinity argument.
28046 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28047 negative infinity argument.
28048 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28049 domain errors.
28050
4c0fe6fe
FW
280512013-05-10 Florian Weimer <fweimer@redhat.com>
28052
28053 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28054 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28055 * iconv/iconv_prog.c (main): Likewise.
28056 * locale/programs/charmap-dir.c (charmap_readdir)
28057 (fopen_uncompressed): Likewise.
28058 * locale/programs/locfile.c (siblings_uncached)
28059 (write_locale_data): Use lstat64 instead of lstat.
28060 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28061 stat.
28062
a3375d29
AJ
280632013-05-10 Andreas Jaeger <aj@suse.de>
28064
28065 [BZ #15395]
28066 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28067 localization.
28068 Include <locale.h>.
28069
36129722
CD
280702013-05-09 Carlos O'Donell <carlos@redhat.com>
28071
28072 * elf/dl-close.c (_dl_close_worker): Add comments.
28073
faa7f811
JM
280742013-05-09 Joseph Myers <joseph@codesourcery.com>
28075
ed41ffef
JM
28076 [BZ #15359]
28077 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28078 high part of pi/2.
28079 (__ieee754_rem_pio2l): Update comments.
28080
d0213cd0
JM
28081 [BZ #15429]
28082 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28083 high part of pi/2.
28084 (__ieee754_rem_pio2l): Update comments.
28085
0d3e777a
JM
28086 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28087 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28088
24f56066
JM
28089 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28090 M_PI_4l.
28091
faa7f811
JM
28092 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28093 (M_PI_34_LOG10El): Likewise.
28094 (M_PI2_LOG10El): Likewise.
28095 (M_PI4_LOG10El): Likewise.
28096 (M_PI_LOG10El): Likewise.
28097
e9a5e0fd
AZ
280982013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28099
28100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28101
d8cd06db
JM
281022013-05-08 Joseph Myers <joseph@codesourcery.com>
28103
a0d9f9d7
JM
28104 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28105 (MINUS_ZERO_INIT): Likewise.
28106 (PLUS_INFTY_INIT): Likewise.
28107 (MINUS_INFTY_INIT): Likewise.
28108 (QNAN_VALUE_INIT): Likewise.
28109 (MAX_VALUE_INIT): Likewise.
28110 (MIN_VALUE_INIT): Likewise.
28111 (MIN_SUBNORM_VALUE_INIT): Likewise.
28112 (plus_zero): Initialize with PLUS_ZERO_INIT.
28113 (minus_zero): Initialize with MINUS_ZERO_INIT.
28114 (plus_infty): Initialize with PLUS_INFTY_INIT.
28115 (minus_infty): Initialize with MINUS_INFTY_INIT.
28116 (qnan_value): Initialize with QNAN_VALUE_INIT.
28117 (max_value): Initialize with MAX_VALUE_INIT.
28118 (min_value): Initialize with MIN_VALUE_INIT.
28119 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28120
ae08db3b
JM
28121 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28122 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28123 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28124 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28125
f44bf14a
JM
28126 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28127 (RUN_TEST_2_f): Likewise.
28128 (RUN_TEST_ff_f): Likewise.
28129 (RUN_TEST_fi_f): Likewise.
28130 (RUN_TEST_fl_f): Likewise.
28131 (RUN_TEST_fff_f): Likewise.
28132 (RUN_TEST_c_f): Likewise.
28133 (RUN_TEST_f_f1): Likewise.
28134 (RUN_TEST_fF_f1): Likewise.
28135 (RUN_TEST_fI_f1): Likewise.
28136 (RUN_TEST_ffI_f1): Likewise.
28137 (RUN_TEST_c_c): Likewise.
28138 (RUN_TEST_cc_c): Likewise.
28139 (RUN_TEST_f_i): Likewise.
28140 (RUN_TEST_f_i_tg): Likewise.
28141 (RUN_TEST_ff_i_tg): Likewise.
28142 (RUN_TEST_f_b): Likewise.
28143 (RUN_TEST_f_b_tg): Likewise.
28144 (RUN_TEST_f_l): Likewise.
28145 (RUN_TEST_f_L): Likewise.
28146 (RUN_TEST_sincos): Likewise.
28147 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28148 whether to show exceptions. Do not include ");\n" in return
28149 value.
28150 (special_functions): Output call to RUN_TEST_sincos instead of
28151 check_float calls. Update calls to new_test.
28152 (parse_args): Output call to single RUN_TEST_* macro instead of
28153 check_* calls and other assignments. Update calls to new_test.
28154
d8cd06db
JM
28155 [BZ #2546]
28156 [BZ #2560]
28157 [BZ #5159]
28158 [BZ #15426]
28159 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28160 input to result for tgamma overflow.
28161 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28162 (gamma_coeff): New variable.
28163 (NCOEFF): New macro.
28164 (gamma_positive): New function.
28165 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28166 underflow here. Use gamma_positive instead of exp (lgamma) for
28167 other arguments.
28168 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28169 (gamma_coeff): New variable.
28170 (NCOEFF): New macro.
28171 (gammaf_positive): New function.
28172 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28173 underflow here. Use gamma_positive instead of exp (lgamma) for
28174 other arguments.
28175 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28176 (gamma_coeff): New variable.
28177 (NCOEFF): New macro.
28178 (gammal_positive): New function.
28179 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28180 underflow here. Use gamma_positive instead of exp (lgamma) for
28181 other arguments.
28182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28183 (gamma_coeff): New variable.
28184 (NCOEFF): New macro.
28185 (gammal_positive): New function.
28186 (__ieee754_gammal_r): Handle positive infinity, overflow and
28187 underflow here. Handle NaN the same as positive infinity. Remove
28188 check x < 0xffffffff for negative integers. Use gamma_positive
28189 instead of exp (lgamma) for other arguments.
28190 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28191 (gamma_coeff): New variable.
28192 (NCOEFF): New macro.
28193 (gammal_positive): New function.
28194 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28195 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28196 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28197 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28198 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28199 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28200 * sysdeps/generic/math_private.h (__gamma_productf): New
28201 prototype.
28202 (__gamma_product): Likewise.
28203 (__gamma_productl): Likewise.
28204 * math/Makefile (libm-calls): Add gamma_product.
28205 * math/libm-test.inc (tgamma_test): Add more tests.
28206 * sysdeps/i386/fpu/libm-test-ulps: Update.
28207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28208
bb7cf681
OB
282092013-05-08 Ondřej Bílka <neleai@seznam.cz>
28210
28211 * benchtests/bench-skeleton.c (main): Preheat CPU.
28212
ba853947
AJ
282132013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28214
28215 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28216
8347c74c
RM
282172013-05-07 Roland McGrath <roland@hack.frob.com>
28218
28219 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28220 and _dl_skip_args_internal.
28221
e8dd4791
CD
282222013-05-07 Carlos O'Donell <carlos@redhat.com>
28223
28224 * manual/message.texi (Message Translation): Talk about users.
28225 Message to key mapping impacts design.
28226
c7405830
RM
282272013-05-06 Roland McGrath <roland@hack.frob.com>
28228
a9173057
RM
28229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28230
976e2f03
RM
28231 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28232
9723ffc5
RM
28233 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28234 * sysdeps/wordsize-64/glob64.c: ... here.
28235
962e6658
RM
28236 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28237 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28238 New macros.
28239
ee586a6d
RM
28240 * debug/getlogin_r_chk.c: Moved to ...
28241 * login/getlogin_r_chk.c: ... here.
28242 * debug/Makefile (routines): Move getlogin_r_chk to ...
28243 * login/Makefile (routines): ... here.
28244 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28245 * login/Versions (libc: GLIBC_2.4): ... here.
28246
355f9165
RM
28247 * io/poll.c (__poll): Renamed from poll.
28248 Add libc_hidden_def.
28249 (poll): Define as weak alias.
28250
bd9ffde6
RM
28251 * debug/ptsname_r_chk.c: Moved to ...
28252 * login/ptsname_r_chk.c: ... here.
28253 * debug/Makefile (routines): Move ptsname_r_chk to ...
28254 * login/Makefile (routines): ... here.
28255 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28256 * login/Versions (libc: GLIBC_2.4): ... here.
28257
8fb16a04
RM
28258 * posix/getlogin.c: Moved to ...
28259 * login/getlogin.c: ... here.
28260 * posix/getlogin_r.c: Moved to ...
28261 * login/getlogin_r.c: ... here.
28262 * posix/getlogin_r.c: Moved to ...
28263 * login/getlogin_r.c: ... here.
28264 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28265 * login/Makefile (routines): ... here.
28266 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28267 * login/Versions (libc: GLIBC_2.0): ... here.
28268
b99b892f
RM
28269 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28270 (setrlimit): Define as weak alias.
28271
c7405830
RM
28272 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28273 Call __ names for open, ftruncate, and close.
28274 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28275 (truncate): Define as weak alias.
28276
5bf96de5
JM
282772013-05-06 Joseph Myers <joseph@codesourcery.com>
28278
9ea3513c
JM
28279 * math/gen-libm-test.pl (parse_args): Initialize x before each
28280 test of frexp, modf and remquo.
28281
5bf96de5
JM
28282 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28283 test signgam value.
28284
16e616a7
AZ
282852013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28286
28287 [BZ #15418]
28288 [BZ #15419]
28289 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28290 internal tests.
28291 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28292
d5e82754
RM
282932013-05-06 Roland McGrath <roland@hack.frob.com>
28294
28295 * elf/dl-writev.h: New file.
28296 * elf/dl-misc.c: Include it.
28297 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28298 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28299
a7548d41
JM
283002013-05-04 Joseph Myers <joseph@codesourcery.com>
28301
b7dab1e4
JM
28302 * math/libm-test.inc (noXFails): Remove variable.
28303 (noXPasses): Likewise.
28304 (BUILD_COMPLEX_INT): Remove macro.
28305 (print_screen): Remove xfail argument.
28306 (print_screen_max_error): Likewise.
28307 (update_stats): Likewise.
28308 (print_max_error): Likewise. Update calls to other affected
28309 functions.
28310 (print_complex_max_error): Likewise.
28311 (test_single_exception): Update calls to print_screen.
28312 (test_single_errno): Likewise.
28313 (check_float_internal): Remove xfail argument. Update calls to
28314 other affected functions.
28315 (check_float): Likewise.
28316 (check_complex): Likewise.
28317 (check_int): Likewise.
28318 (check_long): Likewise.
28319 (check_bool): Likewise.
28320 (check_longlong): Likewise.
28321 (main): Don't print noXFails and noXPasses.
28322 * math/gen-libm-test.pl (top level): Don't mention expected
28323 failure handling in comment.
28324 (new_test): Don't handle expected failures.
28325 (parse_args): Don't mention expected failure handling in comment.
28326 (generate_testfile): Don't handle expected failures.
28327 (parse_ulps): Likewise.
28328 (print_ulps_file): Likewise.
28329 (get_failure): Remove function.
28330 (output_test): Don't handle expected failures.
28331 * make/README.libm-test: Don't mention expected failure handling.
28332
a7548d41
JM
28333 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28334 (minus_zero): Likewise.
28335 (plus_infty): Likewise.
28336 (minus_infty): Likewise.
28337 (qnan_value): Likewise.
28338 (max_value): Likewise.
28339 (min_value): Likewise.
28340 (min_subnorm_value): Likewise.
28341 (initialize): Do not initialize those variables dynamically.
28342
60bfd54c
RM
283432013-05-03 Roland McGrath <roland@hack.frob.com>
28344
cc0e6ed8
RM
28345 * io/open.c (__open_2): Moved to ...
28346 * io/open_2.c: ... this new file.
28347 * io/open64.c (__open64_2): Moved to ...
28348 * io/open64_2.c: ... this new file.
28349 * io/openat.c (__openat_2): Moved to ...
28350 * io/openat_2.c: ... this new file.
28351 * io/openat64.c (__openat64_2): Moved to ...
28352 * io/openat64_2.c: ... this new file.
28353 * io/Makefile (routines): Add them.
28354 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28355 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28356 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28357 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28358 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28359 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28360 (__openat64): Add hidden_ver.
28361 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28362 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28363
60bfd54c
RM
28364 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28365 Separately conditionalize setting of GLRO(dl_sysinfo) so
28366 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28367 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28368
83e7640f
AZ
283692013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28370
28371 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28372 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28373 definition.
28374 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28375 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28376 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28377 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28378 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28379
d5dc2af3
JM
283802013-05-03 Joseph Myers <joseph@codesourcery.com>
28381
c31a5b1e
JM
28382 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28383 test signgam value.
28384
d5dc2af3
JM
28385 * math/libm-test.inc (hypot_test): Do not use
28386 IGNORE_ZERO_INF_SIGN.
28387
164fd39d
AJ
283882013-05-03 Andreas Jaeger <aj@suse.de>
28389
28390 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28391 Linux 3.9.
28392 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28393 (PF_MAX): Adjust for VSOCK change.
28394
8237f48c
AZ
283952013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28396
28397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28398
9df02941
CD
283992013-05-02 Carlos O'Donell <carlos@redhat.com>
28400
28401 [BZ #15264]
28402 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28403 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28404 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28405
d422395e
DM
284062013-05-02 David S. Miller <davem@davemloft.net>
28407
28408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28409
a07c5731
OB
284102013-05-01 Ondřej Bílka <neleai@seznam.cz>
28411
28412 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28413
1324e37f
RM
284142013-05-01 Roland McGrath <roland@hack.frob.com>
28415
28416 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28417
0695940b
RS
284182013-05-01 Richard Smith <richard@metafoo.co.uk>
28419
bb5f27ad 28420 [BZ #14952]
0695940b
RS
28421 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28422 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28423 Use __attribute__ ((__gnu_inline__)).
28424 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28425 Don't use __attribute__ ((__gnu_inline__)).
28426
10de07f5
JM
284272013-05-01 Joseph Myers <joseph@codesourcery.com>
28428
28429 [BZ #15423]
28430 * math/s_catan.c (__catan): Handle small real or imaginary part of
28431 input specially to avoid spurious underflow.
28432 * math/s_catanf.c (__catanf): Likewise.
28433 * math/s_catanh.c (__catanh): Likewise.
28434 * math/s_catanhf.c (__catanhf): Likewise.
28435 * math/s_catanhl.c (__catanhl): Likewise.
28436 * math/s_catanl.c (__catanl): Likewise.
28437 * math/libm-test.inc (catan_test): Add more tests.
28438 (catanh_test): Likewise.
28439 * sysdeps/i386/fpu/libm-test-ulps: Update.
28440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28441
cb4d5414
AZ
284422013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28443
28444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28445
caf84319
JM
284462013-04-30 Joseph Myers <joseph@codesourcery.com>
28447
28448 [BZ #15416]
28449 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28450 accurately for denominator in atan2.
28451 * math/s_catanf.c (__catanf): Likewise.
28452 * math/s_catanh.c (__catanh): Likewise.
28453 * math/s_catanhf.c (__catanhf): Likewise.
28454 * math/s_catanhl.c (__catanhl): Likewise.
28455 * math/s_catanl.c (__catanl): Likewise.
28456 * math/libm-test.inc (catan_test): Add more tests.
28457 (catanh_test): Likewise.
28458 * sysdeps/i386/fpu/libm-test-ulps: Update.
28459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28460
d569c6ee
SP
284612013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28462
6dbe713d
SP
28463 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28464
f0ee064b
SP
28465 * benchtests/Makefile (bench): Remove slow benchmarks.
28466 * benchtests/atan-inputs: Add slow benchmark inputs.
28467 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28468 (BENCH_FUNC): Accept variant offset.
28469 (VARIANT): Define.
28470 * benchtests/bench-skeleton.c (main): Run benchmark for each
28471 variant.
28472 * benchtests/cos-inputs: Add slow benchmark inputs.
28473 * benchtests/exp-inputs: Likewise.
28474 * benchtests/pow-inputs: Likewise.
28475 * benchtests/sin-inputs: Likewise.
28476 * benchtests/slowatan-inputs: Remove.
28477 * benchtests/slowatan.c: Remove.
28478 * benchtests/slowcos-inputs: Remove.
28479 * benchtests/slowcos.c: Remove.
28480 * benchtests/slowexp-inputs: Remove.
28481 * benchtests/slowexp.c: Remove.
28482 * benchtests/slowpow-inputs: Remove.
28483 * benchtests/slowpow.c: Remove.
28484 * benchtests/slowsin-inputs: Remove.
28485 * benchtests/slowsin.c: Remove.
28486 * benchtests/slowtan-inputs: Remove.
28487 * benchtests/slowtan.c: Remove.
28488 * benchtests/tan-inputs: Add slow benchmark inputs.
28489 * scripts/bench.pl: Parse comments and directives.
28490
d569c6ee
SP
28491 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28492 in CPPFLAGS.
28493 ($(objpfx)bench-%.c): Remove *-ITER.
28494 * benchtests/bench-modf.c: Remove definition of ITER.
28495 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28496 (main): Loop for DURATION seconds instead of fixed number of
28497 iterations.
28498 * scripts/bench.pl: Don't expect iterations in parameters.
28499
a6a242fe
RM
285002013-04-29 Roland McGrath <roland@hack.frob.com>
28501
28502 * io/fchdir.c (__fchdir): Renamed from fchdir.
28503 (fchdir): Define as weak alias.
28504
f2da7793
JM
285052013-04-29 Joseph Myers <joseph@codesourcery.com>
28506
28507 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28508 (ERRNO_EDOM): Likewise.
28509 (ERRNO_ERANGE): Likewise.
28510 (noErrnoTests): New variable.
28511 (init_max_error): Set errno to 0.
28512 (test_single_errno): New function.
28513 (test_errno): Likewise.
28514 (check_float_internal): Call test_errno. Set errno to 0.
28515 (check_complex): Refer to errno tests in comment.
28516 (check_int): Call test_errno. Set errno to 0.
28517 (check_long): Likewise.
28518 (check_bool): Likewise.
28519 (check_longlong): Likewise.
28520 (cos_test): Use ERRNO_* flags for errno tests instead of
28521 check_int.
28522 (expm1_test): Likewise.
28523 (fmod_test): Likewise.
28524 (ilogb_test): Likewise.
28525 (lgamma_test): Likewise.
28526 (pow_test): Likewise.
28527 (remainder_test): Likewise.
28528 (sin_test): Likewise.
28529 (tan_test): Likewise.
28530 (yn_test): Likewise.
28531 (initialize): Set errno to 0.
28532 (main): Print number of errno tests.
28533 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28534
b1a36ceb
AJ
285352013-04-29 Andreas Jaeger <aj@suse.de>
28536
c3ed8088
AJ
28537 [BZ #15084]
28538 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28539 and RES_USEVC.
28540
f1a24198
AJ
28541 [BZ #15085]
28542 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28543 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28544 unimplemented.
28545
9ce3b2cb
AJ
28546 [BZ #15380]
28547 * stdlib/random.c (__initstate): Return NULL if
28548 __initstate fails.
28549
f1a24198 28550 [BZ #15086]
b1a36ceb
AJ
28551 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28552 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28553 RES_SNGLKUPREOP.
28554
7e7b6f36
AZ
285552013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28556
28557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28558
4d14f449
JM
285592013-04-29 Joseph Myers <joseph@codesourcery.com>
28560
28561 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28562 of individual tests.
28563 (casin_test): Likewise.
28564 (casinh_test): Likewise.
28565
5b4217d7
JM
285662013-04-27 Joseph Myers <joseph@codesourcery.com>
28567
28568 [BZ #15409]
28569 * math/s_catan.c (__catan): Handle arguments with large real or
28570 imaginary part separately without squaring.
28571 * math/s_catanf.c (__catanf): Likewise.
28572 * math/s_catanh.c (__catanh): Likewise.
28573 * math/s_catanhf.c (__catanhf): Likewise.
28574 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28575 and redefine.
28576 (__catanhl): Handle arguments with large real or imaginary part
28577 separately without squaring.
28578 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28579 and redefine.
28580 (__catanl): Handle arguments with large real or imaginary part
28581 separately without squaring.
28582 * math/libm-test.inc (catan_test): Add more tests.
28583 (catanh_test): Likewise.
28584 * sysdeps/i386/fpu/libm-test-ulps: Update.
28585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28586
4220c3ef
AJ
285872013-04-27 Andreas Jaeger <aj@suse.de>
28588
28589 [BZ #15007]
28590 * stdlib/stdlib.h: Update guards for qecvt.
28591 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28592 <stdlib.h>.
28593
4721b2d1
AM
285942013-04-27 Allan McRae <allan@archlinux.org>
28595
28596 * sysdeps/i386/fpu/libm-test-ulps: Update.
28597
f0302940
JM
285982013-04-26 Joseph Myers <joseph@codesourcery.com>
28599
9457fd95
JM
28600 [BZ #15406]
28601 * math/s_catan.c: Include <float.h>.
28602 (__catan): Ensure underflow exception occurs for underflowed
28603 result.
28604 * math/s_catanf.c: Include <float.h>.
28605 (__catanf): Ensure underflow exception occurs for underflowed
28606 result.
28607 * math/s_catanh.c: Include <float.h>.
28608 (__catanh): Ensure underflow exception occurs for underflowed
28609 result.
28610 * math/s_catanhf.c: Include <float.h>.
28611 (__catanhf): Ensure underflow exception occurs for underflowed
28612 result.
28613 * math/s_catanhl.c: Include <float.h>.
28614 (__catanhl): Ensure underflow exception occurs for underflowed
28615 result.
28616 * math/s_catanl.c: Include <float.h>.
28617 (__catanl): Ensure underflow exception occurs for underflowed
28618 result.
28619 * math/libm-test.inc (catan_test): Add more tests.
28620 (catanh_test): Likewise.
28621
f0302940
JM
28622 [BZ #15405]
28623 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28624 underflowed result.
28625 * math/s_ccoshf.c (__ccoshf): Likewise.
28626 * math/s_ccoshl.c (__ccoshl): Likewise.
28627 * math/s_csin.c (__csin): Likewise.
28628 * math/s_csinf.c (__csinf): Likewise.
28629 * math/s_csinh.c (__csinh): Likewise.
28630 * math/s_csinhf.c (__csinhf): Likewise.
28631 * math/s_csinhl.c (__csinhl): Likewise.
28632 * math/s_csinl.c (__csinl): Likewise.
28633 * math/libm-test.inc (ccos_test): Add more tests.
28634 (ccosh_test): Likewise.
28635 (csin_test): Likewise.
28636 (csinh_test): Likewise.
28637
aa630f59
AZ
286382013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28639
28640 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28641 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28642 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28643 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28644 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28645 powerpc/power5+/fpu folders.
28646 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28647
28648
1b835983
MT
286492013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28650
28651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28652
73709b26
JM
286532013-04-25 Joseph Myers <joseph@codesourcery.com>
28654
28655 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28656 additions to variable.
28657 [$(config-machine) = x86_64] (modules-names): Likewise.
28658 ($(objpfx)tst-audit3): Remove dependency.
28659 ($(objpfx)tst-audit3.out): Likewise.
28660 ($(objpfx)tst-audit4): Likewise.
28661 ($(objpfx)tst-audit4.out): Likewise.
28662 ($(objpfx)tst-audit5): Likewise.
28663 ($(objpfx)tst-audit5.out): Likewise.
28664 ($(objpfx)tst-audit6): Likewise.
28665 ($(objpfx)tst-audit6.out): Likewise.
28666 ($(objpfx)tst-audit7): Likewise.
28667 ($(objpfx)tst-audit7.out): Likewise.
28668 (tst-audit3-ENV): Remove variable.
28669 (tst-audit4-ENV): Likewise.
28670 (tst-audit5-ENV): Likewise.
28671 (tst-audit6-ENV): Likewise.
28672 (tst-audit7-ENV): Likewise.
28673 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28674 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28675 addition to variable.
28676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28677 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28678 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28679 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28681 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28682 tst-audit3, tst-audit4 and tst-audit5.
28683 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28684 tst-audit6 and tst-audit7.
28685 [$(subdir) = elf] (modules-names): Add audit modules for those
28686 tests.
28687 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28688 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28689 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28690 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28691 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28692 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28693 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28694 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28695 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28696 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28697 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28698 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28699 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28700 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28701 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28702 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28703 Likewise.
28704 [$(subdir) = elf && $(config-cflags-avx) = yes]
28705 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28706 [$(subdir) = elf && $(config-cflags-avx) = yes]
28707 (CFLAGS-tst-auditmod4a.c): Likewise.
28708 [$(subdir) = elf && $(config-cflags-avx) = yes]
28709 (CFLAGS-tst-auditmod4b.c): Likewise.
28710 [$(subdir) = elf && $(config-cflags-avx) = yes]
28711 (CFLAGS-tst-auditmod6b.c): Likewise.
28712 [$(subdir) = elf && $(config-cflags-avx) = yes]
28713 (CFLAGS-tst-auditmod6c.c): Likewise.
28714 [$(subdir) = elf && $(config-cflags-avx) = yes]
28715 (CFLAGS-tst-auditmod7b.c): Likewise.
28716 * elf/tst-audit3.c: Move to ...
28717 * sysdeps/x86_64/tst-audit3.c: ... here.
28718 * elf/tst-audit4.c: Move to ...
28719 * sysdeps/x86_64/tst-audit4.c: ... here.
28720 * elf/tst-audit5.c: Move to ...
28721 * sysdeps/x86_64/tst-audit5.c: ... here.
28722 * elf/tst-audit6.c: Move to ...
28723 * sysdeps/x86_64/tst-audit6.c: ... here.
28724 * elf/tst-audit7.c: Move to ...
28725 * sysdeps/x86_64/tst-audit7.c: ... here.
28726 * elf/tst-auditmod3a.c: Move to ...
28727 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28728 * elf/tst-auditmod3b.c: Move to ...
28729 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28730 * elf/tst-auditmod4a.c: Move to ...
28731 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28732 * elf/tst-auditmod4b.c: Move to ...
28733 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28734 * elf/tst-auditmod5a.c: Move to ...
28735 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28736 * elf/tst-auditmod5b.c: Move to ...
28737 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28738 * elf/tst-auditmod6a.c: Move to ...
28739 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28740 * elf/tst-auditmod6b.c: Move to ...
28741 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28742 * elf/tst-auditmod6c.c: Move to ...
28743 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28744 * elf/tst-auditmod7a.c: Move to ...
28745 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28746 * elf/tst-auditmod7b.c: Move to ...
28747 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28748
1ef74943
PP
287492013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28750
28751 [BZ #15366]
28752 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28753 define unconditionally.
28754 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28755 define unconditionally.
28756 (INT8_C, INT16_C, etc.): Likewise.
28757
93fd48c5
MR
287582013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28759
ae9552cf
MR
28760 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28761 __ehdr_start with hidden visibility.
28762
93fd48c5
MR
28763 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28764
418601aa
CD
287652013-04-24 Carlos O'Donell <carlos@redhat.com>
28766
28767 * math/libm-test.inc (cos_test): Use accurate hex constants.
28768 (sincost_test): Likewise.
28769
2f38fbfe
JM
287702013-04-24 Joseph Myers <joseph@codesourcery.com>
28771
5e221800
JM
28772 * math/libm-test.inc (catan_test): Add more tests.
28773 (catanh_test): Likewise.
28774
77f143fd
JM
28775 * math/s_catanf.c (__catanf): Use suffixed floating-point
28776 constants.
28777 * math/s_catanhf.c (__catanhf): Likewise.
28778 * math/s_catanhl.c (__catanhl): Likewise.
28779 * math/s_catanl.c (__catanl): Likewise.
28780
2f38fbfe
JM
28781 [BZ #15394]
28782 * math/s_catan.c (__catan): Calculate imaginary part of result
28783 with log1p not log unless computing log of number close to 0.
28784 * math/s_catanf.c (__catanf): Likewise.
28785 * math/s_catanl.c (__catanl): Likewise.
28786 * math/s_catanh.c (__catanh): Calculate real part of result with
28787 log1p not log unless computing log of number close to 0.
28788 * math/s_catanhf.c (__catanhf): Likewise.
28789 * math/s_catanhl.c (__catanhl): Likewise.
28790 * math/libm-test.inc (catan_test): Add more tests.
28791 (catanh_test): Likewise.
28792 * sysdeps/i386/fpu/libm-test-ulps: Update.
28793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28794
45d69176
SP
287952013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28796
28797 * benchtests/Makefile: Mention files in which fast and slow
28798 paths of math functions are implemented.
28799
87f51853
RM
288002013-04-23 Roland McGrath <roland@hack.frob.com>
28801
28802 * sysdeps/posix/timespec_get.c: New file.
28803
3c026539
AZ
288042013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28805
28806 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28807 POWER.
28808 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28809 for POWER.
28810 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28811 powerpc/power5/fpu folders.
28812 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28813 * benchtests/Makefile: Add modf testcase.
28814 * benchtests/bench-modf.c: New file: Benchmark test for mo
28815
ff491d14
SP
288162013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28817
28818 [BZ #14888]
28819 * time/Makefile (tests): Add tst-strptime-whitespace.
28820 * time/strptime_l.c (get_number): Use ISSPACE.
28821 (__strptime_internal): Likewise.
28822 * time/tst-strptime-whitespace.c: New test case.
28823
7ed3f4e8
AS
288242013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28825
28826 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28827 member.
28828 (_nss_files_init): Set it here.
28829
5c95f7b6
HC
288302013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28831
28832 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28833 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28834 unsigned.
28835
d34c9158
JBG
288362013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28837
28838 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28839
2169712d
SP
288402013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28841
28842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28843 size just once.
28844
29c5de99
DM
288452013-04-21 David S. Miller <davem@davemloft.net>
28846
28847 * po/ru.po: Update Russion translation from translation project.
28848
ccdad15d
AC
288492013-04-17 Adam Conrad <adconrad@0c3.net>
28850
28851 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28852 and setfsgid.
28853
0f122b8d
CD
288542013-04-17 Carlos O'Donell <carlos@redhat.com>
28855
5c5b07da 28856 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28857 * configure: Regenerate.
5c5b07da 28858 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28859 Add example to error message.
28860 * sysdeps/i386/configure: Regenerate.
28861
037714dd
SP
288622013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28863
28864 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28865 slowtan.
28866 * benchtests/cos-inputs: New file.
28867 * benchtests/slowcos-inputs: New file.
28868 * benchtests/slowcos.c: New file.
28869 * benchtests/slowtan-inputs: New file.
28870 * benchtests/slowtan.c: New file.
28871 * benchtests/tan-inputs: New file.
28872
e913141d
RM
288732013-04-16 Roland McGrath <roland@hack.frob.com>
28874
28875 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28876 considered kosher.
28877
a2964074
SP
288782013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28879
4856bcd2
SP
28880 * benchtests/Makefile: Include cppflags-iterator.mk to add
28881 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28882
a2964074
SP
28883 * Makefile.in (bench-clean): New target.
28884 * benchtests/Makefile (bench-clean): Likewise.
28885
9fbf9aca
DH
288862013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28887
28888 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28889
207d1e2a
TS
288902013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28891
28892 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28893
306dfba9
AS
288942013-04-15 Andreas Schwab <schwab@suse.de>
28895
28896 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28897 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28898 * nscd/pwdcache.c (cache_addpw): Likewise.
28899 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28900 more than recsize.
28901
206a6699
SP
289022013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28903
28904 * benchtests/Makefile (bench): Write all output to
28905 bench-out.tmp together.
28906
0582f6b3
AS
289072013-04-15 Andreas Schwab <schwab@suse.de>
28908
28909 * nscd/nscd.c (main): Don't fork again after closing files.
28910
acb4325f
SP
289112013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28912
5cb26d0a
SP
28913 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28914
acb4325f
SP
28915 * benchtests/Rules (bench-deps): Collect dependencies into a
28916 single variable. Add Makefile to dependencies.
28917 ($(objpfx)bench-%.c): Depend on bench-deps.
28918
47792506
RM
289192013-04-12 Roland McGrath <roland@hack.frob.com>
28920 Xavier Roche <roche+kml2@exalead.com>
28921
28922 [BZ #15361]
28923 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28924 just that it's a file descriptor.
28925 * manual/llio.texi (Synchronizing AIO Operations): Update description
28926 for EBADF error from aio_fsync.
28927
8fc1bee5
SP
289282013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28929
28930 * Rules (bench): Move target definition...
28931 * benchtests/Makefile: ... here.
28932
aba5e333
CD
289332013-04-11 Carlos O'Donell <carlos@redhat.com>
28934
28935 * math/libm-test.inc (cos_test): Fix PI/2 test.
28936 (sincos_test): Likewise.
28937 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28938 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28939
273cdee8
AS
289402013-04-11 Andreas Schwab <schwab@suse.de>
28941
6ecec3b6
AS
28942 [BZ #13988]
28943 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28944 accept exponent character only when digits were seen.
28945 * stdio-common/Makefile (tests): Add bug26.
28946 * stdio-common/bug26.c: New file.
28947
273cdee8
AS
28948 [BZ #14293]
28949 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28950 non-freeable.
28951
8da491f5
SP
289522013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28953
01dc6df9
SP
28954 * Makeconfig (rtld-prefix): Define built linker prefix.
28955 * Rules (run-bench): Use it.
28956 * math/Makefile (run-regen-ulps): Likewise.
28957
8da491f5
SP
28958 * Rules (bench): Remove eval.
28959
abe7f530
SP
289602013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28961 Roland McGrath <roland@hack.frob.com>
28962 Ondrej Bilka <neleai@seznam.cz>
28963
28964 [BZ #15346]
28965 * time/getdate.c: Include ctype.h and alloca.h.
28966 (__getdate_r): Trim leading and trailing spaces of input.
28967 * time/tst-getdate.c (tests): Add tests with leading and
28968 trailing spaces.
28969
61c23e62
RM
289702013-04-08 Roland McGrath <roland@hack.frob.com>
28971
28972 [BZ #14280]
28973 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28974 when computing value.
28975
7208a313
CD
289762013-04-06 Carlos O'Donell <carlos@redhat.com>
28977
085b2d41
CD
28978 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28979 Use testrun.sh to run libm tests.
28980
7208a313
CD
28981 [BZ #15309]
28982 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28983
872c0acd
MM
289842013-04-06 Marko Myllynen <myllynen@redhat.com>
28985
28986 [BZ #15264]
28987 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28988
26510bdd
CD
289892013-04-06 Carlos O'Donell <carlos@redhat.com>
28990
28991 * Makefile.in (regen-ulps): New target.
28992 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28993 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28994 [ifneq (no,$(PERL)] (regen-ulps): New target.
28995 [ifeq (no,$(PERL)] (regen-ulps): New target.
28996 * math/libm-test.inc (ulps_file_name): Define.
28997 (output_dir): New variable.
28998 (options): Add "output-dir" option.
28999 (parse_opt): Handle 'o' case.
29000 (main): If output_dir is non-NULL use it as a prefix
29001 otherwise use "".
29002 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29003
a01f19c8
CD
290042013-04-06 Carlos O'Donell <carlos@redhat.com>
29005
29006 [BZ #10060, #10062]
29007 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29008 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29009 fail configure if __sync_val_compare_and_swap is not inlined.
29010 * sysdeps/i386/configure: Regenerate.
29011 * configure.in: Build for i686 when configured for i386.
29012 * configure: Regenerate.
29013 * README: Remove i386 reference.
29014
b7a329a5
CD
290152013-04-06 Carlos O'Donell <carlos@redhat.com>
29016
29017 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29018 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29019
bf0f50df
TS
290202013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29021
ee091edf
TS
29022 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29023 (lmsnanval): New variables.
29024 (F): Add conversion tests.
29025 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29026 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29027
a8b792d6
TS
29028 * stdio-common/tstdiomisc.c (F): Properly collect individual
29029 tests' results.
29030
a1cbf437
TS
29031 [BZ #14686, #15336]
29032 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29033 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29034 Instead, use input NaN values or generate a qNaN by arithmetic
29035 operation. Also fix bugs to comply with the standard.
29036 * math/libm-test.inc (remainder_test): Add more tests.
29037
8b43a0c9
TS
29038 [BZ #15335, #15342]
29039 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29041 input NaN values or generate a qNaN by arithmetic operation.
29042
d91da4ce
TS
29043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29044 unreachable code.
29045
bf0f50df
TS
29046 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29047 definitions.
29048
05e166c8
JM
290492013-04-03 Joseph Myers <joseph@codesourcery.com>
29050
29051 [BZ #14478]
29052 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29053 underflowed result.
29054 * math/s_cexpf.c (__cexpf): Likewise.
29055 * math/s_cexpl.c (__cexpl): Likewise.
29056 * math/libm-test.inc (cexp_test): Add more tests.
29057
1cef1b19
AS
290582013-04-03 Andreas Schwab <schwab@suse.de>
29059
29060 [BZ #15330]
29061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29062 order arrays from heap if bigger than alloca cutoff.
29063
74d87055
TS
290642013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29065
29066 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29067 (SNAN_TESTS_double): Refer to GCC PR56831.
29068 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29069 GCC PR56828.
29070
d755bba4
SP
290712013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29072
90d5d5bb
SP
29073 * Rules (bench): Move bench.out after the run is complete.
29074
73e0cd5d
SP
29075 * Rules (bench): Echo currently running benchmark.
29076
64aabd4b
SP
29077 * benchtests/Makefile (bench): Add atan and slowatan.
29078 * benchtests/atan-inputs: New file.
29079 * benchtests/slowatan-inputs: New file.
29080 * benchtests/slowatan.c: New file.
29081
c871eccd
SP
29082 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29083 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29084 its value.
29085
d755bba4
SP
29086 [BZ #15305]
29087 * sysdeps/unix/sysv/linux/kernel-features.h
29088 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29089 __ASSUME_XFS_RESTRICTED_CHOWN.
29090 * sysdeps/unix/sysv/linux/pathconf.c
29091 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29092 Save and restore errno.
29093
52ce4860
JM
290942013-04-02 Joseph Myers <joseph@codesourcery.com>
29095
29096 [BZ #15327]
29097 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29098 arguments using __kernel_casinh.
29099 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29100 arguments using __kernel_casinhf.
29101 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29102 arguments using __kernel_casinhl.
29103 * math/libm-test.inc (cacosh_test): Add more tests.
29104 * sysdeps/i386/fpu/libm-test-ulps: Update.
29105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29106
81f311c2
SP
291072013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29108
e7906a47
SP
29109 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29111
92e3664b
SP
29112 * bench/Makefile (bench): Add sin and slowsin.
29113 * benchtests/sin-inputs: New file.
29114 * benchtests/slowsin-inputs: New file.
29115 * benchtests/slowsin.c: New file.
29116
81f311c2
SP
29117 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29118 (bench): Add slowexp and slowpow.
29119 (exp-ITER): Increase iterations.
29120 (pow-ITER): Likewise.
29121 * benchtests/exp-inputs: Change input.
29122 * benchtests/pow-inputs: Likewise.
29123 * benchtests/slowexp-inputs: New file.
29124 * benchtests/slowexp.c: New file.
29125 * benchtests/slowpow-inputs: New file.
29126 * benchtests/slowpow.c: New file.
29127
ab0f1aa9
AZ
291282013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29129
29130 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29131 instructions.
29132 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29133 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29134 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29135 * benchtests/Makefile: Add rint benchtest.
29136 * benchtests/rint-inputs: Input for rint benchtest.
29137
57267616
TS
291382013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29139
29140 * Versions.def (libm): Add GLIBC_2.18.
29141 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29142 hidden libm prototypes.
29143 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29144 * math/Makefile (libm-calls): Add s_issignaling.
29145 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29146 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29147 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29148 declaration.
29149 * math/math.h [__USE_GNU] (issignaling): New macro.
29150 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29151 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29153 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29155 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29156 * manual/arith.texi (issignaling): New section.
29157 * manual/libm-err-tab.pl (@all_functions): Update comment.
29158 * math/gen-libm-test.pl (parse_args): Apply special handling for
29159 issignaling.
29160 * math/libm-test.inc (print_float, issignaling_test): New
29161 functions.
29162 (check_float_internal): Add issignaling checks.
29163 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29164 default definition.
29165 * sysdeps/powerpc/math-tests.h: New file.
29166 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29167 tests.
29168 * math/test-snan.c (TEST_FUNC): Likewise.
29169
6142896d
DM
291702013-03-30 David S. Miller <davem@davemloft.net>
29171
29172 * po/de.po: Update from translation team.
29173
ccc8cadf
JM
291742013-03-30 Joseph Myers <joseph@codesourcery.com>
29175
29176 [BZ #10357]
29177 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29178 imaginary part less than 1.0 and real part less than 0.5
29179 specially.
29180 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29181 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29182 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29183 (cacos_test): Add more tests.
29184 (casin_test): Likewise.
29185 (casinh_test): Likewise.
29186 * sysdeps/i386/fpu/libm-test-ulps: Update.
29187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29188
0f6a8d4b
SP
291892013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29190
0d1029de
SP
29191 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29192 ONE with its value.
29193
c2d94018
SP
29194 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29195 (__pow_mp): Replace ONE and MONE with their values.
29196 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29198 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29199 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29200 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29202
27ec37f1
SP
29203 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29204
a64d7e0e
SP
29205 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29206 (__pow_mp): Replace ZERO and MZERO with their values.
29207 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29209 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29211 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29212 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29213 (__sqr): Likewise.
29214
d26dd3eb
SP
29215 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29216
0f6a8d4b
SP
29217 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29218
e57b0c61
RM
292192013-03-28 Roland McGrath <roland@hack.frob.com>
29220
29221 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29222 Declare with __attribute__ ((weak)).
29223 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29224 Call __call_tls_dtors only if it's not NULL.
29225
356b3480
RM
292262013-03-28 Roland McGrath <roland@hack.frob.com>
29227
288f7d79
RM
29228 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29229 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29230 magic __ehdr_start linker symbol if it's defined.
29231 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29232 them up here if it was already done.
29233
dc0a0263
RM
29234 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29235 (_dl_aux_init): Use const in cast when setting it.
29236 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29237 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29238 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29239
3d3436ae
RM
29240 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29241 Declare them here.
29242 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29243 * csu/libc-tls.c: Nor here.
29244 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29245
356b3480
RM
29246 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29247 (__libc_message): Never call vsyslog.
29248
b0f1246a
AM
292492013-03-28 Alan Modra <amodra@gmail.com>
29250
29251 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29252 Define as empty.
29253 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29254 Likewise.
29255
fbbe2b9a
AZ
292562013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29257
29258 [BZ #15214]
29259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29260 underflow.
29261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29262
1728ab37
SP
292632013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29264
7a86be6e
SP
29265 [BZ #15304]
29266 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29267 Don't add gid passed as argument.
29268
1728ab37
SP
29269 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29270
3a7182a1
JM
292712013-03-27 Joseph Myers <joseph@codesourcery.com>
29272
29273 [BZ #15307]
29274 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29275 imaginary part between 1.0 and 1.5 and real part less than 0.5
29276 specially.
29277 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29278 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29279 * math/libm-test.inc (cacos_test): Add more tests.
29280 (casin_test): Likewise.
29281 (casinh_test): Likewise.
29282 * sysdeps/i386/fpu/libm-test-ulps: Update.
29283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29284
6f2e90e7
SP
292852013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29286
5739f705
SP
29287 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29288 constants.
29289 (norm): Likewise.
29290 (denorm): Likewise.
29291 (__dbl_mp): Likewise.
29292 (add_magnitudes): Likewise.
29293 (sub_magnitudes): Likewise.
29294 (__add): Likewise.
29295 (__sub): Likewise.
29296 (__mul): Likewise.
29297 (__sqr): Likewise.
29298 (__inv): Likewise.
29299 (__dvd): Likewise.
29300
e375e83d
SP
29301 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29302 commented code.
29303 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29304 (__dubcos): Likewise.
29305 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29306 (__ieee754_acos): Likewise.
29307 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29308 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29309 (__exp1): Likewise.
29310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29312 (log1): Likewise.
29313 (my_log2): Likewise.
29314 (checkint): Likewise.
29315 * sysdeps/ieee754/dbl-64/e_remainder.c
29316 (__ieee754_remainder): Likewise.
29317 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29319 (bsloww): Likewise.
29320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29321
6f2e90e7
SP
29322 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29323 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29324 MANTISSA_STORE_T to store computations on mantissa. Use
29325 macros for rounding and division.
29326 (denorm): Likewise.
29327 (__dbl_mp): Likewise.
29328 (add_magnitudes): Likewise.
29329 (sub_magnitudes): Likewise.
29330 (__mul): Likewise.
29331 (__sqr): Likewise.
29332 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29333 powers of two in terms of TWOPOW macro.
29334 (mp_no): Make type of mantissa as MANTISSA_T.
29335 [!RADIXI]: Define RADIXI.
29336 [!TWO52]: Define TWO52.
29337 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29338
fce14d4e
AZ
293392013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29340
29341 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29342 llroundl symbol when building for PPC32.
29343
9ad027fb
MW
293442013-03-24 Mark H Weaver <mhw@netris.org>
29345
29346 * manual/arith.texi (Normalization Functions): Fix prototypes for
29347 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29348
e42a38dd
AZ
293492013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29350
29351 [BZ #13889]
29352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29353 high value to check if expl overflow.
29354 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29355 to check for underflow and overflow.
29356 * math/libm-test.inc: Add exp test.
29357
2e0fb521
DL
293582013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29359
29360 [BZ #11120]
29361 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29362 with NOT_IN_libc.
29363
b5784d95
AZ
293642013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29365
29366 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29367 symbol.
29368
5aa4a1a1
TS
293692013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29370
bdef0be7
TS
29371 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29372 wrap blocks consisting of several statements.
29373
5aa4a1a1
TS
29374 * sysdeps/generic/math-tests.h: New file.
29375 * sysdeps/i386/fpu/math-tests.h: Likewise.
29376 * math/test-snan.c: Include it.
29377 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29378
98c48fe5
JM
293792013-03-21 Joseph Myers <joseph@codesourcery.com>
29380
29381 [BZ #15285]
29382 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29383 (__ieee754_j0l): Do not improve calculations using cos of twice
29384 input for inputs above LDBL_MAX / 2.0L.
29385 (__ieee754_y0l): Likewise.
29386 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29387 (__ieee754_j1l): Do not improve calculations using cos of twice
29388 input for inputs above LDBL_MAX / 2.0L.
29389 (__ieee754_y1l): Likewise.
29390 * math/libm-test.inc (j0_test): Add another test.
29391 (j1_test): Likewise.
29392 (y0_test): Likewise.
29393 (y1_test): Likewise.
29394 * sysdeps/i386/fpu/libm-test-ulps: Update.
29395
3775a8bc
SP
293962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29397
29398 * Rules ($(objpfx)bench-%.c): Include code from a C source
29399 file.
29400
0a1b2ae6
JM
294012013-03-21 Joseph Myers <joseph@codesourcery.com>
29402
29403 [BZ #15287]
29404 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29405 imaginary part 1.0 and real part less than 0.5 specially.
29406 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29407 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29408 * math/libm-test.inc (cacos_test): Add more tests.
29409 (casin_test): Likewise.
29410 (casinh_test): Likewise.
29411 * sysdeps/i386/fpu/libm-test-ulps: Update.
29412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29413
b33d4ce4
SP
294142013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29415
29416 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29417 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29418
bef0b507
JM
294192013-03-20 Joseph Myers <joseph@codesourcery.com>
29420
29421 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29422 * config.make.in (config-cflags-sse4): Remove variable.
29423 (config-cflags-avx): Likewise.
29424 (config-cflags-sse2avx): Likewise.
29425 (config-cflags-novzeroupper): Likewise.
29426 (config-asflags-i686): Likewise.
29427 (have-mfma4): Likewise.
29428 (have-as-vis3): Likewise.
29429 (MIG): Likewise.
29430 * configure.in (MIG): Do not AC_SUBST.
29431 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29432 (libc_cv_cc_sse4): Do not AC_SUBST.
29433 (libc_cv_cc_avx): Likewise.
29434 (libc_cv_cc_sse2avx): Likewise.
29435 (libc_cv_cc_novzeroupper): Likewise.
29436 (libc_cv_cc_fma4): Likewise.
29437 (libc_cv_as_i686): Likewise.
29438 (libc_cv_sparc_as_vis3): Likewise.
29439 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29440 LIBC_CONFIG_VAR.
29441 (config-asflags-i686): Likewise.
29442 (config-cflags-avx): Likewise.
29443 (config-cflags-sse2avx): Likewise.
29444 (have-mfma4): Likewise.
29445 (config-cflags-novzeroupper): Likewise.
29446 * sysdeps/mach/configure.in (MIG): Likewise.
29447 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29448 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29449 LIBC_CONFIG_VAR.
29450 (config-cflags-avx): Likewise.
29451 (config-cflags-sse2avx): Likewise.
29452 (have-mfma4): Likewise.
29453 (config-cflags-novzeroupper): Likewise.
29454 * configure: Regenerated.
29455 * sysdeps/i386/configure: Likewise.
29456 * sysdeps/mach/configure: Likewise.
29457 * sysdeps/sparc/configure: Likewise.
29458 * sysdeps/x86_64/configure: Likewise.
29459
912cc4b3
RM
294602013-03-20 Roland McGrath <roland@hack.frob.com>
29461
29462 [BZ #14812]
29463 * locale/programs/localedef.c (options): Put N_ translation marker
29464 on argument names, not just descriptions.
29465
04eed2b0
MS
294662013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29467
29468 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29469
a065ceff
OB
294702013-03-20 Ondřej Bílka <neleai@seznam.cz>
29471
9bb2a810 29472 [BZ #14176]
a065ceff
OB
29473 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29474
a600e5ce
RM
294752013-03-19 Roland McGrath <roland@hack.frob.com>
29476
29477 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29478 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29479 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29480 [!BEFORE_ABORT] (before_abort): New function.
29481 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29482 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29483 (writev_for_fatal): New function.
29484 (WRITEV_FOR_FATAL): New macro; call that.
29485 (backtrace_and_maps): New function.
29486 (BEFORE_ABORT): New macro; call that.
29487 (struct str_list): Type removed.
29488 (__libc_message, __libc_fatal): Functions removed.
29489 Include <sysdeps/posix/libc_fatal.c> instead.
29490
6b18bea6
JM
294912013-03-19 Joseph Myers <joseph@codesourcery.com>
29492
29493 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29494 constants.
29495 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29496 double constants.
29497
aaa8cb4b
AS
294982013-03-19 Andreas Schwab <schwab@suse.de>
29499
44673770
AS
29500 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29501 * sysdeps/gnu/configure: Regenerate.
29502
aaa8cb4b
AS
29503 * configure.in: Substitute libc_cv_rtlddir.
29504 * configure: Regenerate.
29505 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29506 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29507 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29508 * elf/Makefile (install-others, CFLAGS-interp.c)
29509 (ldso_install, common-ldd-rewrite): Likewise.
29510 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29511 $(inst_slibdir)/$(rtld-installed-name).
29512 * scripts/rellns-sh: Add -p option.
29513 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29514 for source.
29515
d3cfc668
SP
295162013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29517
29518 * manual/nptl.texi: Renamed to ...
29519 * manual/threads.texi: ... this.
29520 * manual/Makefile (chapters): Update.
29521
0e2b9cdd
RM
295222013-03-18 Roland McGrath <roland@hack.frob.com>
29523
29524 [BZ #14812]
29525 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29526 on argument names, not just descriptions.
0e2b9cdd
RM
29527 * malloc/memusagestat.c (options): Likewise.
29528 * nss/getent.c (options): Likewise.
63270c24
RM
29529
295302013-03-18 Benno Schulenberg <bensberg@justemail.net>
29531
29532 [BZ #14812]
29533 * iconv/iconv_prog.c (options): Put N_ translation marker
29534 on argument names, not just descriptions.
29535 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29536
b2e1393c
OB
295372013-03-18 Ondrej Bilka <neleai@seznam.cz>
29538
29539 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29540 implementation which is faster on all x86_64 architectures.
29541 Tested on AMD, Intel Nehalem, SNB, IVB.
29542 * sysdeps/x86_64/strnlen.S: Likewise.
29543
29544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29545 Remove all multiarch strlen and strnlen versions.
29546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29547 Remove strlen and strnlen related parts.
29548
29549 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29550 Inline strlen part.
29551 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29552
29553 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29554 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29555 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29556 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29557 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29558 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29559
ec4ff04d
CD
295602013-03-17 Carlos O'Donell <carlos@redhat.com>
29561
29562 * manual/memory.texi (Malloc Tunable Parameters):
29563 Sort parameters alphabetically. Add comments for missing entries.
29564
cd18e90a
DM
295652013-03-17 David S. Miller <davem@davemloft.net>
29566
29567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29568
2a185d32
JM
295692013-03-16 Joseph Myers <joseph@codesourcery.com>
29570
d2f9799e
JM
29571 [BZ #15283]
29572 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29573 for arguments at most half maximum finite value.
29574 * math/libm-test.inc (j0_test): Add more tests.
29575 (j1_test): Likewise.
29576 (y0_test): Likewise.
29577 (y1_test): Likewise.
29578 * sysdeps/i386/fpu/libm-test-ulps: Update.
29579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29580
2a185d32
JM
29581 [BZ #14155]
29582 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29583 1 / x and functions P and Q for arguments above 0x1p256L.
29584 (__ieee754_y0l): Likewise.
29585 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29586 (__ieee754_y1l): Likewise.
29587 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29588 (j1_test): Likewise.
29589 (y0_test): Likewise.
29590 (y1_test): Likewise.
29591
6cbec759
TS
295922013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29593
29594 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29595 variable.
29596
bc16e260
RM
295972013-03-15 Roland McGrath <roland@hack.frob.com>
29598
aefc9b8c
RM
29599 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29600 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29601 zero since it's initialized to EXEC_PAGESIZE.
29602
bc16e260
RM
29603 * sysdeps/unix/sysv/linux/ldsodefs.h
29604 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29605 * sysdeps/generic/ldsodefs.h: ... here.
29606
a57da955
TS
296072013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29608
af00a34d
TS
29609 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29610
495ded2c
TS
29611 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29612 math/test-snan.c.
29613 * math/test-snan.c: Renamed from
29614 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29615 * math/Makefile (tests): Add test-snan.
29616 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29617 test-powerpc-snan.
29618
777b0332
TS
29619 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29620 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29621 functions.
29622 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29623 __builtin_nan family of functions.
29624 * math/libm-test.inc (initialize): Initialize qnan_value with
29625 __builtin_nan family of functions.
29626 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29627 Remove variables.
29628 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29629 Remove functions.
29630 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29631 storage class. Initialize qNaN_var and sNaN_var with
29632 __builtin_nan and __builtin_nans families of functions,
29633 respectively.
29634
64d063b8
TS
29635 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29636 (sqrt_test): Remove duplicate test with qNaN input.
29637 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29638 (round_test, signbit_test, significand_test): Note missing +/-Inf
29639 as well as qNaN tests.
29640
67e971f1
TS
29641 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29642 qNaN_var. Fix a few strings, too.
29643 * math/libm-test.inc (nan_value): Rename to qnan_value.
29644 * math/gen-libm-test.pl (%beautify): Adjust to that.
29645 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29646 * math/test-misc.c (main): Likewise.
29647 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29648 to __qnan_bytes, and __qnan_union, respectively.
29649 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29650 Likewise.
29651 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29652 and lqnanval, respectively.
29653 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29654 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29655 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29656 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29657
64487e12
TS
29658 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29659 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29660 doubles.
29661
e015e27b
TS
29662 * math/test-misc.c (main): Fix copy'n'pastos.
29663 * misc/tst-efgcvt.c (special): Likewise.
29664
a57da955
TS
29665 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29666 Remove declarations.
29667
1e380345
SP
296682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29669
29670 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29671 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29672 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29673 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29674
ef26eece
AZ
296752013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29676
29677 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29678 macro to return vdso values correctly in IFUNC implementations.
29679 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29680 Optimization by using IFUNC.
29681
8cfdb7e0
SP
296822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29683 Richard Henderson <rth@redhat.com>
29684 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29685
29686 * Makefile.in (bench): New target.
29687 * NEWS: Mention the benchmark framework.
29688 * Rules (bench): Likewise.
29689 (binaries-bench): Generate binaries for functions to
29690 benchmark.
29691 * benchtests/Makefile: New makefile for benchmark tests.
29692 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29693 programs.
29694 * benchtests/exp-inputs: New input file for EXP function.
29695 * benchtests/pow-inputs: New input file for POW function.
29696 * scripts/bench.pl: New script to generate source files for
29697 benchmark programs.
29698
bcda9880
SP
296992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29700
d22ca8cd
SP
29701 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29702 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29703 computations on mantissa. Use macros for rounding and
29704 division.
29705 (denorm): Likewise.
29706 (__dbl_mp): Likewise.
29707 (add_magnitudes): Likewise.
29708 (sub_magnitudes): Likewise.
29709 (__mul): Likewise.
29710 (__sqr): Likewise.
29711 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29712 powers of two in terms of TWOPOW macro.
29713 (mp_no): Make type of mantissa as MANTISSA_T.
29714 [!RADIXI]: Define RADIXI.
29715 [!TWO52]: Define TWO52.
29716 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29717
bcda9880
SP
29718 * manual/nptl.texi (cindex): Modify threads to pthreads.
29719
06d5adfb
JM
297202013-03-15 Joseph Myers <joseph@codesourcery.com>
29721
29722 * sysdeps/x86_64/preconfigure: Regenerated.
29723
41c7328e
JM
297242013-03-14 Joseph Myers <joseph@codesourcery.com>
29725
29726 [BZ #14155]
29727 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29728 0x1p28 and above.
29729 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29730 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29731 0x1p28 and above.
29732 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29733 * math/libm-test.inc (j0_test): Do not allow one spurious
29734 underflow exception.
29735 (y1_test): Likewise.
29736
e25cfa60
SP
297372013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29738
0409959c
SP
29739 * manual/Makefile (chapters): Add nptl.
29740 * manual/debug.texi (Debugging Support): Add link to Threads
29741 chapter.
29742 * manual/nptl.texi: New file.
29743
e25cfa60
SP
29744 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29745
58a1335e
PB
297462013-03-14 Petr Baudis <pasky@ucw.cz>
29747
29748 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29749 for non-NULL pointer before the memory validity test. Pointed
29750 out by Holger Brunck <holger.brunck@keymile.com>.
29751
9dc7c64f
AS
297522013-03-13 Andreas Schwab <schwab@suse.de>
29753
29754 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29755 instead of .os.
29756
54206aa6
JM
297572013-03-13 Joseph Myers <joseph@codesourcery.com>
29758
29759 * timezone/zic.c: Update from tzcode 2013b.
29760
e98cdb38
CD
297612013-03-12 Carlos O'Donell <carlos@redhat.com>
29762
29763 * manual/install.texi (Configuring and compiling):
29764 Mention i686 and i586.
29765 * INSTALL: Regenerate.
29766
9967e003
RM
297672013-03-12 Roland McGrath <roland@hack.frob.com>
29768
29769 * sysdeps/init_array/elf-init.c: New file.
29770 * csu/elf-init.c
29771 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29772 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29773
29774 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29775 __gmon_start__ as global, but as static with a .preinit_array pointer.
29776 * sysdeps/init_array/gmon-start.c: New file. Use that.
29777 * sysdeps/init_array/crti.S: New file, empty except for comments.
29778 * sysdeps/init_array/crtn.S: Likewise.
29779
e6b5a293 297802013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29781
29782 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29783 definining bcopy.
80f844c9
OB
29784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29785 Remove Prefer_SSE_for_memop.
29786 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29787 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29788 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29790 memset-x86-64.
80f844c9 29791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29792 Remove bzero, memset ifunc support.
80f844c9
OB
29793 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29794 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29795 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29796 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29797
fb6b0fcb
AS
297982013-03-11 Andreas Schwab <schwab@suse.de>
29799
29800 [BZ #15234]
29801 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29802 by SHLIB_COMPAT.
29803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29804 (GLIBC_2.16): Remove pthread_atfork.
29805
3e6bd4b1
PP
298062013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29807
29808 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29809 (ptestcases.h): Likewise.
29810
222d7f00
RM
298112013-03-08 Roland McGrath <roland@hack.frob.com>
29812
29813 * Makeconfig ($(common-objpfx)config.status): Depend on
29814 sysdeps/*/preconfigure{,.in} too.
29815
1ba4f030
JM
298162013-03-08 Joseph Myers <joseph@codesourcery.com>
29817
a222d91a
JM
29818 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29819 (__free_hook): Use void * instead of __malloc_ptr_t.
29820 (__malloc_hook): Likewise.
29821 (__realloc_hook): Likewise.
29822 (__memalign_hook): Likewise.
29823 (__after_morecore_hook): Likewise.
29824 * malloc/arena.c (save_malloc_hook): Likewise.
29825 (save_free_hook): Likewise.
29826 * malloc/hooks.c (malloc_hook_ini): Likewise.
29827 (realloc_hook_ini): Likewise.
29828 (memalign_hook_ini): Likewise.
29829 * malloc/malloc.c (malloc_hook_ini): Likewise.
29830 (realloc_hook_ini): Likewise.
29831 (memalign_hook_ini): Likewise.
29832 (__free_hook): Likewise.
29833 (__malloc_hook): Likewise.
29834 (__realloc_hook): Likewise.
29835 (__memalign_hook): Likewise.
29836 (__libc_malloc): Likewise.
29837 (__libc_free): Likewise.
29838 (__libc_realloc): Likewise.
29839 (__libc_memalign): Likewise.
29840 (__libc_valloc): Likewise.
29841 (__libc_pvalloc): Likewise.
29842 (__libc_calloc): Likewise.
29843 (__posix_memalign): Likewise.
29844 * malloc/morecore.c (__sbrk): Likewise.
29845 (__default_morecore): Likewise.
29846
5cc45e10
JM
29847 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29848
dd54b864
JM
29849 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29850 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29851 __malloc_ptrdiff_t.
29852
1ba4f030
JM
29853 * malloc/malloc.h (__malloc_size_t): Remove macro.
29854 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29855 __malloc_size_t.
29856 (old_memalign_hook): Likewise.
29857 (old_realloc_hook): Likewise.
29858 (struct hdr): Likewise.
29859 (flood): Likewise.
29860 (mallochook): Likewise.
29861 (memalignhook): Likewise.
29862 (reallochook): Likewise.
29863 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29864 (tr_old_realloc_hook): Likewise.
29865 (tr_old_memalign_hook): Likewise.
29866 (tr_mallochook): Likewise.
29867 (tr_reallochook): Likewise.
29868 (tr_memalignhook): Likewise.
29869
edf66e57
AZ
298702013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29871
29872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29873 default_ldbl_pack and using as default implementation.
29874 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29875 implementation.
29876 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29877 redundant definition.
29878 (ldbl_insert_mantissa): Likewise.
29879 (ldbl_canonicalize): Likewise.
29880 (ldbl_nearbyint): Likewise.
29881 (ldbl_pack): Rename to ldbl_pack_ppc.
29882 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29883 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29884 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29885
6d9145d8
SP
298862013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29887
29888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29889 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29891 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29894 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29895 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29896
4dd4e157
AJ
298972013-03-07 Andreas Jaeger <aj@suse.de>
29898
29899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29900 bits/mman-linux.h.
29901
adbb8027
SP
299022013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29903
ce544b5b
SP
29904 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29905 Include mpa.h and declare __MPEXP.
29906 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29907 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29908 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29909 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29910 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29911 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29912 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29913
4cc149fd
SP
29914 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29915 (__slowpow): Use long double EXPL and LOGL functions to
29916 compute POW.
29917 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29918 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29919 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29920 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29921 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29923
e6ebd4a7
SP
29924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29925 intermediate variable to calculate exponent.
29926 (__sqr): Likewise.
29927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29928 Likewise.
29929 (__sqr): Likewise.
29930
82a9811d
SP
29931 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29932 [!NO__SQR]: Define __sqr.
29933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29934 and NO__SQR. Remove all code except __mul and __sqr. Include
29935 sysdeps/ieee754/dbl-64/mpa.c.
29936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29937
adbb8027
SP
29938 [BZ #12723]
29939 * posix/Makefile (tests): Add tst-pathconf.
29940 * posix/tst-pathconf.c: New test case.
29941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29942 _PC_PIPE_BUF.
29943 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29944
39120df9
PF
299452013-03-06 Patsy Franklin <pfrankli@redhat.com>
29946
29947 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29948
67525cb8
AJ
299492013-03-06 Andreas Jaeger <aj@suse.de>
29950
664a9ce4
AJ
29951 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29952 definition via __MAP_ANONYMOUS.
29953
8e39047d
AJ
29954 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29955 it's not part of Linux headers.
29956
67525cb8
AJ
29957 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29958 (MAP_HUGE_MASK): Define.
29959
29960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29961 Define.
29962 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29963 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29964 Define.
29965 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29966 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29967 Define.
29968 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29970 Define.
29971 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29972
29973 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29974 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29975 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29976 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29977 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29978 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29979
29980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29981 Handle f2fs.
29982
29983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29984 Handle f2fs and efivarfs.
29985
29986 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29987 f2fs.
29988
29989 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29990 (EFIVARFS_MAGIC): Add.
29991 (F2FS_LINK_MAX): Add.
29992
e1b42695
PP
299932013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29994
29995 * stdio-common/vfprintf.c: Replace __builtin_expect with
29996 __glibc_unlikely.
29997
2d67d91a
JM
299982013-03-06 Joseph Myers <joseph@codesourcery.com>
29999
30000 [BZ #13550]
30001 * sysdeps/generic/bp-sym.h: Remove file.
30002 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30003 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30004 <bp-sym.h> and <bp-asm.h>.
30005 (__longjmp): Don't use BP_SYM.
30006 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30007 and <bp-asm.h>.
30008 (memcpy): Don't use BP_SYM.
30009 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30010 <bp-sym.h> and <bp-asm.h>.
30011 (memcpy): Don't use BP_SYM.
30012 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30013 <bp-asm.h>.
30014 (memcpy): Don't use BP_SYM.
30015 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30016 <bp-asm.h>.
30017 (memset): Don't use BP_SYM.
30018 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30019 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30020 (__bzero): Don't use BP_SYM.
30021 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30022 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30023 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30024 <bp-sym.h> and <bp-asm.h>.
30025 (memcmp): Don't use BP_SYM. Remove comment about bounded
30026 pointers.
30027 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30028 <bp-sym.h> and <bp-asm.h>.
30029 (memcpy): Don't use BP_SYM.
30030 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30031 <bp-sym.h> and <bp-asm.h>.
30032 (memset): Don't use BP_SYM.
30033 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30034 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30035 (__bzero): Don't use BP_SYM.
30036 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30037 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30038 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30039 <bp-sym.h> and <bp-asm.h>.
30040 (strncmp): Don't use BP_SYM. Remove comment about bounded
30041 pointers.
30042 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30043 <bp-sym.h> and <bp-asm.h>.
30044 (memcpy): Don't use BP_SYM.
30045 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30046 <bp-sym.h> and <bp-asm.h>.
30047 (memset): Don't use BP_SYM.
30048 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30049 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30050 (__bzero): Don't use BP_SYM.
30051 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30052 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30054 <bp-sym.h> and <bp-asm.h>.
30055 (__memchr): Don't use BP_SYM.
30056 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30057 <bp-sym.h> and <bp-asm.h>.
30058 (memcmp): Don't use BP_SYM. Remove comment about bounded
30059 pointers.
30060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30061 <bp-sym.h> and <bp-asm.h>.
30062 (memcpy): Don't use BP_SYM.
30063 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30064 <bp-sym.h> and <bp-asm.h>.
30065 (__mempcpy): Don't use BP_SYM.
30066 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30067 <bp-sym.h> and <bp-asm.h>.
30068 (__memrchr): Don't use BP_SYM.
30069 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30070 <bp-sym.h> and <bp-asm.h>.
30071 (memset): Don't use BP_SYM.
30072 (__bzero): Likewise.
30073 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30074 <bp-sym.h> and <bp-asm.h>.
30075 (__rawmemchr): Don't use BP_SYM.
30076 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30077 <bp-sym.h> and <bp-asm.h>.
30078 (__STRCMP): Don't use BP_SYM.
30079 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30080 <bp-sym.h> and <bp-asm.h>.
30081 (strchr): Don't use BP_SYM.
30082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30083 <bp-sym.h> and <bp-asm.h>.
30084 (__strchrnul): Don't use BP_SYM.
30085 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30086 <bp-sym.h> and <bp-asm.h>.
30087 (strlen): Don't use BP_SYM.
30088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30089 <bp-sym.h> and <bp-asm.h>.
30090 (strncmp): Don't use BP_SYM. Remove comment about bounded
30091 pointers.
30092 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30093 <bp-sym.h> and <bp-asm.h>.
30094 (__strnlen): Don't use BP_SYM.
30095 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30096 <bp-sym.h> and <bp-asm.h>.
30097 (__GI__setjmp): Don't use BP_SYM.
30098 (_setjmp): Likewise.
30099 (__sigsetjmp): Likewise.
30100 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30101 (L(start_addresses)): Don't use BP_SYM.
30102 (_start): Likewise.
30103 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30104 <bp-asm.h>.
30105 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30106 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30107 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30108 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30109 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30110 <bp-asm.h>.
30111 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30112 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30113 about bounded pointers.
30114 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30115 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30116 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30117 <bp-asm.h>.
30118 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30119 about bounded pointers. Remove GKM FIXME comments.
30120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30121 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30122 <bp-asm.h>.
30123 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30124 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30125 Remove GKM FIXME comments.
30126 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30127 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30128 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30129 <bp-asm.h>.
30130 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30131 about bounded pointers. Remove GKM FIXME comment.
30132 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30133 and <bp-asm.h>.
30134 (strncmp): Don't use BP_SYM. Remove comment about bounded
30135 pointers.
30136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30137 <bp-sym.h> and <bp-asm.h>.
30138 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30140 <bp-sym.h> and <bp-asm.h>.
30141 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30142 comment.
30143
cdcf361f
PP
301442013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30145
30146 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30147 call free(NULL).
30148
3c4a2b15
DM
301492013-03-05 David S. Miller <davem@davemloft.net>
30150
30151 * po/es.po: Update from translation team.
30152
cdcf361f 301532013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30154
30155 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30156 <bits/mman-linux.h>.
30157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30158 is fine.
30159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30160 <bits/mman-linux.h> to end of file.
30161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30162 is fine.
30163 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30164 <bits/mman-linux.h> to end of file.
30165 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30166 is fine.
30167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30168 <bits/mman-linux.h> to end of file.
30169
30170 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30171 (MCL_CURRENT, MCL_FUTURE): Define here.
30172
5f67c04f
AK
301732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30174
8a4473cc 30175 [BZ #15232]
5f67c04f
AK
30176 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30177 attribute_hidden.
30178 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30179
c3e94a95
AK
301802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30181
30182 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30183 fourth parameter needed for rt_sigprocmask syscall.
30184 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30185 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30186 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30187 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30188 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30189 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30190
cfb6382a
JM
301912013-03-04 Joseph Myers <joseph@codesourcery.com>
30192
30193 [BZ #13550]
30194 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30195 comment about bounded pointers.
30196 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30197 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30198
539d8e01
AJ
301992013-03-04 Andreas Jaeger <aj@suse.de>
30200
30201 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30202 common definitions.
30203
30204 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30205 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30206 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30207 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30209 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30210
2e167a70 302112013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30212
30213 [BZ #15055]
30214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30215 __ieee754_sqrl instead of __sqrl.
30216
68508633
JM
302172013-03-01 Joseph Myers <joseph@codesourcery.com>
30218
30219 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30220 * sysdeps/powerpc/fpu_control.h: ... here.
30221 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30222 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30223 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30224 * sysdeps/powerpc/bits/mathinline.h: ... here.
30225
7775448e
RM
302262013-03-01 Roland McGrath <roland@hack.frob.com>
30227
30228 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30229 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30230 to just [NEED_DL_SYSINFO_DSO].
30231 * elf/dl-support.c: Likewise.
30232 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30233 * elf/rtld.c (dl_main): Likewise.
30234 * elf/setup-vdso.h (setup_vdso): Likewise.
30235 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30236 * sysdeps/unix/sysv/linux/dl-sysdep.c
30237 (_dl_discover_osversion): Likewise.
30238
4e9b5995
CD
302392013-03-01 Carlos O'Donell <carlos@redhat.com>
30240
30241 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30242 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30243
e23872c8
SP
302442013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30245
e5c74c63
SP
30246 * NEWS: Mention libm performance improvements and non-x86 PI
30247 futex support.
30248
e23872c8
SP
30249 * csu/libc-start.c (__pthread_initialize_minimal): Change
30250 function arguments.
30251 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30252
b5510883
JM
302532013-02-28 Joseph Myers <joseph@codesourcery.com>
30254
30255 [BZ #13550]
30256 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30257 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30258 <bp-sym.h> and <bp-asm.h>.
30259 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30260 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30261 and <bp-asm.h>.
30262 (memcpy): Don't use BP_SYM.
30263 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30264 <bp-asm.h>.
30265 (__mpn_add_n): Don't use BP_SYM.
30266 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30267 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30268 and <bp-asm.h>.
30269 (__mpn_addmul_1): Don't use BP_SYM.
30270 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30271 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30272 <bp-sym.h>.
30273 (_setjmp): Don't use BP_SYM.
30274 (__novmx_setjmp): Likewise.
30275 (__GI__setjmp): Likewise.
30276 (__vmx_setjmp): Likewise.
30277 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30278 <bp-sym.h>.
30279 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30280 (__bzero): Don't use BP_SYM.
30281 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30282 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30283 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30284 <bp-sym.h> and <bp-asm.h>.
30285 (memcpy): Don't use BP_SYM.
30286 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30287 <bp-sym.h> and <bp-asm.h>.
30288 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30289 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30290 <bp-sym.h> and <bp-asm.h>.
30291 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30292 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30293 <bp-asm.h>.
30294 (__mpn_lshift): Don't use BP_SYM.
30295 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30296 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30297 <bp-asm.h>.
30298 (memset): Don't use BP_SYM.
30299 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30300 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30301 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30302 <bp-asm.h>.
30303 (__mpn_mul_1): Don't use BP_SYM.
30304 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30306 <bp-sym.h> and <bp-asm.h>.
30307 (memcmp): Don't use BP_SYM.
30308 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30309 <bp-sym.h> and <bp-asm.h>.
30310 (memcpy): Don't use BP_SYM.
30311 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30312 <bp-sym.h> and <bp-asm.h>.
30313 (memset): Don't use BP_SYM.
30314 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30315 <bp-sym.h> and <bp-asm.h>.
30316 (strncmp): Don't use BP_SYM.
30317 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30318 <bp-sym.h> and <bp-asm.h>.
30319 (memcpy): Don't use BP_SYM.
30320 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30321 <bp-sym.h> and <bp-asm.h>.
30322 (memset): Don't use BP_SYM.
30323 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30324 <bp-sym.h> and <bp-asm.h>.
30325 (__memchr): Don't use BP_SYM.
30326 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30327 <bp-sym.h> and <bp-asm.h>.
30328 (memcmp): Don't use BP_SYM.
30329 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30330 <bp-sym.h> and <bp-asm.h>.
30331 (memcpy): Don't use BP_SYM.
30332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30333 <bp-sym.h> and <bp-asm.h>.
30334 (__mempcpy): Don't use BP_SYM.
30335 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30336 <bp-sym.h> and <bp-asm.h>.
30337 (__memrchr): Don't use BP_SYM.
30338 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30339 <bp-sym.h> and <bp-asm.h>.
30340 (memset): Don't use BP_SYM.
30341 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30342 <bp-sym.h> and <bp-asm.h>.
30343 (__rawmemchr): Don't use BP_SYM.
30344 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30345 <bp-sym.h> and <bp-asm.h>.
30346 (__STRCMP): Don't use BP_SYM.
30347 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30348 <bp-sym.h> and <bp-asm.h>.
30349 (strchr): Don't use BP_SYM.
30350 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30351 <bp-sym.h> and <bp-asm.h>.
30352 (__strchrnul): Don't use BP_SYM.
30353 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30354 <bp-sym.h> and <bp-asm.h>.
30355 (strlen): Don't use BP_SYM.
30356 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30357 <bp-sym.h> and <bp-asm.h>.
30358 (strncmp): Don't use BP_SYM.
30359 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30360 <bp-sym.h> and <bp-asm.h>.
30361 (__strnlen): Don't use BP_SYM.
30362 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30363 <bp-asm.h>.
30364 (__mpn_rshift): Don't use BP_SYM.
30365 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30366 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30367 <bp-sym.h> and <bp-asm.h>.
30368 (__sigsetjmp): Don't use BP_SYM.
30369 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30370 (L(start_addresses)): Don't use BP_SYM.
30371 (_start): Likewise.
30372 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30373 <bp-asm.h>.
30374 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30375 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30376 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30377 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30378 <bp-asm.h>.
30379 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30380 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30381 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30382 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30383 <bp-asm.h>.
30384 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30385 comments.
30386 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30387 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30388 <bp-asm.h>.
30389 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30390 FIXME comments.
30391 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30392 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30393 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30394 <bp-asm.h>.
30395 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30396 comment.
30397 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30398 and <bp-asm.h>.
30399 (strncmp): Don't use BP_SYM,
30400 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30401 <bp-asm.h>.
30402 (__mpn_sub_n): Don't use BP_SYM.
30403 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30404 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30405 and <bp-asm.h>.
30406 (__mpn_submul_1): Don't use BP_SYM.
30407 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30409 <bp-sym.h> and <bp-asm.h>.
30410 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30412 <bp-sym.h> and <bp-asm.h>.
30413 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30414 comment.
30415
8d19fe64
SP
304162013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30417
30418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30419 Use ZK to minimize writes to Z.
30420 (sub_magnitudes): Simplify code a bit.
30421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30422 Use ZK to minimize writes to Z.
30423 (sub_magnitudes): Simplify code a bit.
30424
85bd816a
RM
304252013-02-27 Roland McGrath <roland@hack.frob.com>
30426
30427 * csu/gmon-start.c: Add special exception to license text.
30428
b5977bf2
RH
304292013-02-27 Richard Henderson <rth@redhat.com>
30430
30431 * scripts/config.guess: Update from config.git.
30432 * scripts/config.sub: Likewise.
30433
11d6e2f2
SP
304342013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30435
09c14ed2
SP
30436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30437
a688864e
SP
30438 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30439
6295157a
SP
30440 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30441
b8de2202
SP
30442 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30443
11d6e2f2
SP
30444 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30445
7e80ddb8
RM
304462013-02-26 Roland McGrath <roland@hack.frob.com>
30447
30448 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30449 [$(build-shared = yes].
7e80ddb8 30450
7da6d9ed
SP
304512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30452
45f05884
SP
30453 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30454 (__mul): Reduce iterations for calculating mantissa.
30455
2236d359
SP
30456 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30457 MPTWO.
30458 (__mpranred): Likewise.
30459
7da6d9ed
SP
30460 [BZ #15160]
30461 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30462 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30463
b7688c42
PE
304642013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30465
30466 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30467 Define __attribute__.
30468
53a5c423
SP
304692013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30470
30471 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30472 unused.
30473 * posix/regex_internal.h (__attribute): Remove.
30474 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30475 (re_string_context_at): Likewise.
30476 (bitset_not): Use __attribute__ and mark function as possibly
30477 unused.
30478 (bitset_merge): Likewise.
30479 (bitset_mask): Likewise.
30480 (re_string_char_size_at): Likewise.
30481 (re_string_wchar_at): Likewise.
30482 (re_string_elem_size_at): Likewise.
30483
60f5a8b5
SP
304842013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30485
2a983a2e
SP
30486 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30487 code.
30488 (cc32): Likewise.
30489
e69804d1
SP
30490 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30491 (__acr): Likewise.
30492 (__cpy): Likewise.
30493 (norm): Likewise.
30494 (denorm): Likewise.
30495 (__dbl_mp): Likewise.
30496 (add_magnitudes): Likewise.
30497 (sub_magnitudes): Likewise.
30498 (__mul): Likewise.
30499 (__inv): Likewise.
30500
2f22a1e8
SP
30501 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30502 style.
30503
8930ddc7
SP
30504 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30505 style.
30506
dc60cb11
SP
30507 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30508 code.
30509
60f5a8b5
SP
30510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30511 up changes with default code.
30512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30513 Likewise.
30514
b4d1fd33
AM
305152013-02-24 Allan McRae <allan@archlinux.org>
30516
faf6f8bc
AM
30517 * manual/socket.texi (The Internet Namespace): Order menu items
30518 to match that in the file.
30519
b4d1fd33
AM
30520 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30521 node listing of the info page menu.
30522
2366713d
JM
305232013-02-21 Joseph Myers <joseph@codesourcery.com>
30524
30525 [BZ #13550]
30526 * sysdeps/i386/bp-asm.h: Remove file.
30527 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30528 (PARMS): Do not use macros from bp-asm.h.
30529 (S1): Likewise.
30530 (S2): Likewise.
30531 (SIZE): Likewise.
30532 (__mpn_add_n): Do not use BP_SYM
30533 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30534 "bp-asm.h".
30535 (PARMS): Do not use macros from bp-asm.h.
30536 (S1): Likewise.
30537 (SIZE): Likewise.
30538 (__mpn_addmul_1): Do not use BP_SYM
30539 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30540 "bp-asm.h".
30541 (PARMS): Do not use macros from bp-asm.h.
30542 (SIGMSK): Likewise.
30543 (_setjmp): Likewise. Do not use BP_SYM.
30544 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30545 "bp-asm.h".
30546 (PARMS): Do not use macros from bp-asm.h.
30547 (SIGMSK): Likewise.
30548 (setjmp): Likewise. Do not use BP_SYM.
30549 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30550 "bp-asm.h".
30551 (PARMS): Do not use macros from bp-asm.h.
30552 (__frexp): Do not use BP_SYM.
30553 (frexp): Likewise.
30554 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30555 "bp-asm.h".
30556 (PARMS): Do not use macros from bp-asm.h.
30557 (__frexpf): Do not use BP_SYM.
30558 (frexpf): Likewise.
30559 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30560 "bp-asm.h".
30561 (PARMS): Do not use macros from bp-asm.h.
30562 (__frexpl): Do not use BP_SYM.
30563 (frexpl): Likewise.
30564 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30565 "bp-asm.h".
30566 (PARMS): Do not use macros from bp-asm.h.
30567 (__remquo): Do not use BP_SYM.
30568 (remquo): Likewise.
30569 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30570 "bp-asm.h".
30571 (PARMS): Do not use macros from bp-asm.h.
30572 (__remquof): Do not use BP_SYM.
30573 (remquof): Likewise.
30574 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30575 "bp-asm.h".
30576 (PARMS): Do not use macros from bp-asm.h.
30577 (__remquol): Do not use BP_SYM.
30578 (remquol): Likewise.
30579 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30580 "bp-asm.h".
30581 (PARMS): Do not use macros from bp-asm.h.
30582 (DEST): Likewise.
30583 (SRC): Likewise.
30584 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30585 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30586 "bp-asm.h".
30587 (PARMS): Do not use macros from bp-asm.h.
30588 (strlen): Do not use BP_SYM.
30589 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30590 "bp-asm.h".
30591 (PARMS): Do not use macros from bp-asm.h.
30592 (S1): Likewise.
30593 (S2): Likewise.
30594 (SIZE): Likewise.
30595 (__mpn_add_n): Do not use BP_SYM.
30596 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30597 "bp-asm.h".
30598 (PARMS): Do not use macros from bp-asm.h.
30599 (S1): Likewise.
30600 (SIZE): Likewise.
30601 (__mpn_addmul_1): Do not use BP_SYM.
30602 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30603 weak_alias.
30604 (bzero): Likewise.
30605 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30606 "bp-asm.h".
30607 (PARMS): Do not use macros from bp-asm.h.
30608 (S): Likewise.
30609 (SIZE): Likewise.
30610 (__mpn_lshift): Do not use BP_SYM.
30611 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30612 "bp-asm.h".
30613 (PARMS): Do not use macros from bp-asm.h.
30614 (DEST): Likewise.
30615 (SRC): Likewise.
30616 (LEN): Likewise.
30617 (memcpy): Likewise. Do not use BP_SYM.
30618 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30619 libc_hidden_def and weak_alias.
30620 (mempcpy): Do not use BP_SYM in weak_alias.
30621 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30622 "bp-asm.h".
30623 (PARMS): Do not use macros from bp-asm.h.
30624 (DEST): Likewise.
30625 (LEN): Likewise.
30626 [!BZERO_P] (CHR): Likewise.
30627 (memset): Likewise. Do not use BP_SYM.
30628 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30629 "bp-asm.h".
30630 (PARMS): Do not use macros from bp-asm.h.
30631 (S1): Likewise.
30632 (SIZE): Likewise.
30633 (__mpn_mul_1): Do not use BP_SYM.
30634 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30635 "bp-asm.h".
30636 (PARMS): Do not use macros from bp-asm.h.
30637 (S): Likewise.
30638 (SIZE): Likewise.
30639 (__mpn_rshift): Do not use BP_SYM.
30640 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30641 "bp-asm.h".
30642 (PARMS): Do not use macros from bp-asm.h.
30643 (STR): Likewise.
30644 (CHR): Likewise.
30645 (strchr): Likewise. Do not use BP_SYM.
30646 (index): Do not use BP_SYM in weak_alias.
30647 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30648 "bp-asm.h".
30649 (PARMS): Do not use macros from bp-asm.h.
30650 (DEST): Likewise.
30651 (SRC): Likewise.
30652 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30653 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30654 "bp-asm.h".
30655 (PARMS): Do not use macros from bp-asm.h.
30656 (strlen): Do not use BP_SYM.
30657 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30658 "bp-asm.h".
30659 (PARMS): Do not use macros from bp-asm.h.
30660 (S1): Likewise.
30661 (S2): Likewise.
30662 (SIZE): Likewise.
30663 (__mpn_sub_n): Do not use BP_SYM.
30664 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30665 "bp-asm.h".
30666 (PARMS): Do not use macros from bp-asm.h.
30667 (S1): Likewise.
30668 (SIZE): Likewise.
30669 (__mpn_submul_1): Do not use BP_SYM.
30670 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30671 "bp-asm.h".
30672 (PARMS): Do not use macros from bp-asm.h.
30673 (S1): Likewise.
30674 (S2): Likewise.
30675 (SIZE): Likewise.
30676 (__mpn_add_n): Do not use BP_SYM.
30677 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30678 weak_alias.
30679 (bzero): Likewise.
30680 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30681 "bp-asm.h".
30682 (PARMS): Do not use macros from bp-asm.h.
30683 (BLK2): Likewise.
30684 (LEN): Likewise.
30685 (memcmp): Do not use BP_SYM.
30686 (bcmp): Do not use BP_SYM in weak_alias.
30687 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30688 "bp-asm.h".
30689 (PARMS): Do not use macros from bp-asm.h.
30690 (DEST): Likewise.
30691 (SRC): Likewise.
30692 (LEN): Likewise.
30693 (memcpy): Likewise. Do not use BP_SYM.
30694 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30695 "bp-asm.h".
30696 (PARMS): Do not use macros from bp-asm.h.
30697 (DEST): Likewise.
30698 (SRC): Likewise.
30699 (LEN): Likewise.
30700 (memmove): Likewise. Do not use BP_SYM.
30701 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30702 "bp-asm.h".
30703 (PARMS): Do not use macros from bp-asm.h.
30704 (DEST): Likewise.
30705 (SRC): Likewise.
30706 (LEN): Likewise.
30707 (__mempcpy): Likewise. Do not use BP_SYM.
30708 (mempcpy): Do not use BP_SYM in weak_alias.
30709 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30710 "bp-asm.h".
30711 (PARMS): Do not use macros from bp-asm.h.
30712 (DEST): Likewise.
30713 (LEN): Likewise.
30714 [!BZERO_P] (CHR): Likewise.
30715 (memset): Likewise. Do not use BP_SYM.
30716 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30717 "bp-asm.h".
30718 (PARMS): Do not use macros from bp-asm.h.
30719 (STR2): Likewise.
30720 (strcmp): Do not use BP_SYM.
30721 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30722 "bp-asm.h".
30723 (PARMS): Do not use macros from bp-asm.h.
30724 (STR): Likewise.
30725 (DELIM): Likewise.
30726 [USE_AS_STRTOK_R] (SAVE): Likewise.
30727 (FUNCTION): Likewise. Do not use BP_SYM.
30728 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30729 aliases.
30730 (strtok_r): Likewise.
30731 (__GI___strtok_r): Likewise.
30732 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30733 (PARMS): Do not use macros from bp-asm.h.
30734 (S): Likewise.
30735 (SIZE): Likewise.
30736 (__mpn_lshift): Do not use BP_SYM.
30737 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30738 (PARMS): Do not use macros from bp-asm.h.
30739 (STR): Likewise.
30740 (CHR): Likewise.
30741 (__memchr): Do not use BP_SYM.
30742 (memchr): Do not use BP_SYM in weak_alias.
30743 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30744 (PARMS): Do not use macros from bp-asm.h.
30745 (BLK2): Likewise.
30746 (LEN): Likewise.
30747 (memcmp): Do not use BP_SYM.
30748 (bcmp): Do not use BP_SYM in weak_alias.
30749 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30750 (PARMS): Do not use macros from bp-asm.h.
30751 (S1): Likewise.
30752 (SIZE): Likewise.
30753 (__mpn_mul_1): Do not use BP_SYM.
30754 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30755 "bp-asm.h".
30756 (PARMS): Do not use macros from bp-asm.h.
30757 (STR): Likewise.
30758 (CHR): Likewise.
30759 (__rawmemchr): Do not use BP_SYM.
30760 (rawmemchr): Do not use BP_SYM in weak_alias.
30761 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30762 (PARMS): Do not use macros from bp-asm.h.
30763 (S): Likewise.
30764 (SIZE): Likewise.
30765 (__mpn_rshift): Do not use BP_SYM.
30766 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30767 (PARMS): Do not use macros from bp-asm.h.
30768 (SIGMSK): Likewise.
30769 (__sigsetjmp): Likewise. Do not use BP_SYM.
30770 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30771 (_start): Do not use BP_SYM.
30772 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30773 (PARMS): Do not use macros from bp-asm.h.
30774 (DEST): Likewise.
30775 (SRC): Likewise.
30776 (__stpcpy): Likewise. Do not use BP_SYM.
30777 (stpcpy): Do not use BP_SYM in weak_alias.
30778 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30779 "bp-asm.h".
30780 (PARMS): Do not use macros from bp-asm.h.
30781 (DEST): Likewise.
30782 (SRC): Likewise.
30783 (LEN): Likewise.
30784 (__stpncpy): Likewise. Do not use BP_SYM.
30785 (stpncpy): Do not use BP_SYM in weak_alias.
30786 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30787 (PARMS): Do not use macros from bp-asm.h.
30788 (STR): Likewise.
30789 (CHR): Likewise.
30790 (strchr): Likewise. Do not use BP_SYM.
30791 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30792 "bp-asm.h".
30793 (PARMS): Do not use macros from bp-asm.h.
30794 (STR): Likewise.
30795 (CHR): Likewise.
30796 (__strchrnul): Likewise. Do not use BP_SYM.
30797 (strchrnul): Do not use BP_SYM in weak_alias.
30798 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30799 "bp-asm.h".
30800 (PARMS): Do not use macros from bp-asm.h.
30801 (STOP): Likewise.
30802 (strcspn): Do not use BP_SYM.
30803 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
30808 (strpbrk): Likewise. Do not use BP_SYM.
30809 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30810 "bp-asm.h".
30811 (PARMS): Do not use macros from bp-asm.h.
30812 (STR): Likewise.
30813 (CHR): Likewise.
30814 (strrchr): Likewise. Do not use BP_SYM.
30815 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30816 (PARMS): Do not use macros from bp-asm.h.
30817 (SKIP): Likewise.
30818 (strspn): Do not use BP_SYM.
30819 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30820 (PARMS): Do not use macros from bp-asm.h.
30821 (STR): Likewise.
30822 (DELIM): Likewise.
30823 (SAVE): Likewise.
30824 (FUNCTION): Likewise. Do not use BP_SYM.
30825 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30826 aliases.
30827 (strtok_r): Likewise.
30828 (__GI___strtok_r): Likewise.
30829 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30830 (PARMS): Do not use macros from bp-asm.h.
30831 (S1): Likewise.
30832 (S2): Likewise.
30833 (SIZE): Likewise.
30834 (__mpn_sub_n): Do not use BP_SYM.
30835 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30836 "bp-asm.h".
30837 (PARMS): Do not use macros from bp-asm.h.
30838 (S1): Likewise.
30839 (SIZE): Likewise.
30840 (__mpn_submul_1): Do not use BP_SYM.
30841 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30842 <bp-sym.h>.
30843 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30844 and <bp-asm.h>.
30845 (PARMS): Do not use macros from bp-asm.h.
30846 (FLAGS): Likewise.
30847 (PTID): Likewise.
30848 (TLS): Likewise.
30849 (CTID): Likewise.
30850 (__clone): Do not use BP_SYM.
30851 (clone): Do not use BP_SYM in weak_alias.
30852 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30853 and <bp-asm.h>.
30854 (PARMS): Do not use macros from bp-asm.h.
30855 (LEN): Likewise.
30856 (__mmap64): Do not use BP_SYM.
30857 (mmap64): Do not use BP_SYM in weak_alias.
30858 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30859 <bp-sym.h> and <bp-asm.h>.
30860 (PARMS): Do not use macros from bp-asm.h.
30861 (__posix_fadvise64_l64): Do not use BP_SYM.
30862 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30863 (PARMS): Do not use macros from bp-asm.h.
30864 (NSOPS): Likewise.
30865 (semtimedop): Do not use BP_SYM.
30866 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30867 and <bp-asm.h>.
30868
582a3cff
AM
308692013-02-21 Allan McRae <allan@archlinux.org>
30870
30871 * manual/message.texi (Charset conversion in gettext):
30872 Move @end statement to beginning of line.
30873
bab8a695
SP
308742013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30875
80945231
SP
30876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30877 static.
30878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30879 Likewise.
30880
bab8a695
SP
30881 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30882 (denorm): Likewise.
30883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30885
e21d7aa7
AK
308862013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30887
30888 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30889 tail-call to the resolved function if pltexit isn't needed.
30890
4c7a4263
SP
308912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30892
30893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30894 or Y being zero as being unlikely.
30895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30896 Likewise.
30897
41f49342
CD
308982013-02-20 Carlos O'Donell <carlos@redhat.com>
30899
30900 * manual/nss.texi (System Databases and Name Service Switch):
30901 Remove frobnicate @pxref.
30902
50022a93
TS
309032013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30904
30905 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30906 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30907
08cbd996
PM
309082013-02-20 Petr Machata <pmachata@redhat.com>
30909
30910 * elf/elf.h (R_ARM_TARGET1): New macro.
30911 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30912 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30913 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30914 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30915 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30916 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30917 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30918 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30919 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30920 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30921 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30922 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30923 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30924 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30925 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30926 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30927 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30928 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30929 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30930 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30931 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30932 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30933 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30934 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30935 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30936 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30937 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30938 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30939 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30940 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30941 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30942 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30943 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30944 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30945 (R_ARM_THM_GOT_BREL12): Likewise.
30946 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30947 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30948 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30949 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30950 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30951 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30952 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30953 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30954 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30955
c7b275d6
TS
309562013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30957
30958 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30959 __attribute_used__ to __attribute__ ((unused)).
30960
20cd7fb3
SP
309612013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30962
30963 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30964 powerpc mpa.c.
30965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30966 comment formatting.
30967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30968
92945b52
JM
309692013-02-19 Joseph Myers <joseph@codesourcery.com>
30970
30971 [BZ #13550]
30972 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30973 Remove macro.
30974 (ENTER): Remove both macro definitions.
30975 (LEAVE): Likewise.
30976 (CHECK_BOUNDS_LOW): Likewise.
30977 (CHECK_BOUNDS_HIGH): Likewise.
30978 (CHECK_BOUNDS_BOTH): Likewise.
30979 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30980 (RETURN_BOUNDED_POINTER): Likewise.
30981 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30982 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30983 (POP_ERRNO_LOCATION_RETURN): Likewise.
30984 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30985 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30986 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30987 macros.
30988 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30989 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30990 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30991 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30992 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30993 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30994 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30995 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30996 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30997 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30998 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30999 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31000 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31001 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31002 removed macros.
31003 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31004 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31005 macros.
31006 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31007 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31008 * sysdeps/i386/i586/memset.S (memset): Likewise.
31009 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31010 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31011 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31012 macros.
31013 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31014 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31015 Change uses of L(2) to L(out).
31016 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31017 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31018 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31019 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31020 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31021 removed macros.
31022 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31023 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31024 macros.
31025 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31026 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31027 (RETURN): Do not use macro LEAVE.
31028 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31029 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31030 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31031 * sysdeps/i386/i686/memset.S (memset): Likewise.
31032 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31033 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31034 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31035 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31036 Likewise.
31037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31038 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31039 L(1_2) and L(1_3) into L(1).
31040 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31041 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31042 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31043 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31044 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31045 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31046 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31047 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31048 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31049 macros.
31050 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31051 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31052 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31053 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31054 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31055 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31056 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31057 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31058 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31059 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31060 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31061 * sysdeps/i386/strspn.S (strspn): Likewise.
31062 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31063 conditional code.
31064 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31065 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31066 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31067 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31068 L(1_3) into L(1_1).
31069 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31070 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31071 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31072 macros.
31073 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31074
2389741a
JJ
310752013-02-19 Jakub Jelinek <jakub@redhat.com>
31076
31077 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31078 macro.
31079
2016b3cd
SP
310802013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31081
e4f22324
SP
31082 * math/atest-exp.c (exp_mpn): Remove ROUND.
31083 * math/atest-exp2.c (exp_mpn): Likewise.
31084 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31085
2016b3cd
SP
31086 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31087 * stdlib/tst-tls-atexit-lib.c: Likewise.
31088 * stdlib/tst-tls-atexit.c: Likewise.
31089
4be9b544
MF
310902013-02-18 Mike Frysinger <vapier@gentoo.org>
31091
31092 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31093 and __attribute_alloc_size__.
31094
2f62b9ee
MF
310952013-02-18 Mike Frysinger <vapier@gentoo.org>
31096
31097 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31098 __attribute_alloc_size__.
31099 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31100 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31101
6ff444c4
MF
311022013-02-18 Mike Frysinger <vapier@gentoo.org>
31103
31104 * include/programs/xmalloc.h: New file.
31105 * catgets/gencat.c: Include it.
31106 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31107 * elf/pldd.c: Likewise.
31108 * iconv/iconv_charmap.c: Likewise.
31109 * iconv/iconvconfig.c: Likewise.
31110 * iconv/strtab.c: Likewise.
31111 * locale/programs/locale.c: Likewise.
31112 * locale/programs/localedef.h: Likewise.
31113 * locale/programs/simple-hash.c: Likewise.
31114 * nscd/nscd.h: Likewise.
31115 * nss/makedb.c: Likewise.
31116 * sysdeps/generic/ldconfig.h: Likewise.
31117
be179c8a
SP
311182013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31119
ba384f6e
SP
31120 * Versions.def: Add GLIBC_2.18.
31121 * include/link.h (struct link_map): New member l_tls_dtor_count.
31122 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31123 (__call_tls_dtors): Likewise.
31124 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31125 __cxa_thread_atexit_impl.
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31127 Likewise.
31128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31129 Likewise.
31130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31131 Likewise.
31132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31133 Likewise.
31134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31136 Likewise.
31137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31138 Likewise.
31139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31141 Likewise.
31142 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31143 (tests): Add test case tst-tls-atexit.
31144 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31145 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31146 (GLIBC_PRIVATE): Add __call_tls_dtors.
31147 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31148 for libstdc++.
31149 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31150 * stdlib/tst-tls-atexit.c: New test case.
31151 * stdlib/tst-tls-atexit-lib.c: New test case.
31152
ffaa74cf 31153 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31154
be179c8a
SP
31155 * elf/Versions (ld): Add _dl_find_dso_for_object.
31156 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31157 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31158 (dl_open_worker): Use _dl_find_dso_for_object.
31159 * elf/dl-sym.c (do_sym): Likewise.
31160 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31161
f78b5caa
AK
311622013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31163
31164 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31165 Syntactic changes only.
31166 (_dl_runtime_profile): Do a tail-call to the resolved function.
31167
29691210
JM
311682013-02-17 Joseph Myers <joseph@codesourcery.com>
31169
31170 [BZ #13550]
31171 * sysdeps/x86_64/bp-asm.h: Remove file.
31172 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31173 <bp-sym.h> and <bp-asm.h>.
31174 (__clone): Do not use BP_SYM.
31175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31176 <bp-sym.h> and <bp-asm.h>.
31177 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31178 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31179 "bp-asm.h".
31180 (_setjmp): Do not use BP_SYM.
31181 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31182 "bp-asm.h".
31183 (setjmp): Do not use BP_SYM.
31184 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31185 libc_hidden_def.
31186 (mempcpy): Do not use BP_SYM in weak_alias.
31187 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31188 "bp-asm.h".
31189 (strchr): Do not use BP_SYM.
31190 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31191 "bp-asm.h".
31192 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31193 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31194 (_start): Do not use BP_SYM.
31195 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31196 "bp-asm.h".
31197 (strcat): Do not use BP_SYM.
31198 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31199 "bp-asm.h".
31200 (STRCMP): Do not use BP_SYM.
31201 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31202 "bp-asm.h".
31203 (STRCPY): Do not use BP_SYM.
31204 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31205 "bp-asm.h".
31206 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31207 "bp-asm.h".
31208 (FUNCTION): Do not use BP_SYM.
31209 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31210 weak_alias.
31211 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31212
f238fd19
AJ
312132013-02-17 Andreas Jaeger <aj@suse.de>
31214
31215 * time/Versions: Sort entries.
31216 * string/Versions: Likewise.
31217 * resolv/Versions: Likewise.
31218 * posix/Versions: Likewise.
31219 * iconv/Versions: Likewise.
31220 * elf/Versions: Likewise.
31221 * wcsmbs/Versions: Likewise.
31222
bd07f23c 312232013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31224
22af19f9
SP
31225 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31226 loop termination condition.
31227
4709fe76
SP
31228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31229 variable to calculate EZ.
31230 (__sqr): Likewise.
2d0e0f29
SP
31231
31232 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31233 the lower precision input.
31234
daaa7713
JM
312352013-02-15 Joseph Myers <joseph@codesourcery.com>
31236
31237 [BZ #13550]
31238 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31239 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31240 (run-via-rtld-prefix): Do not handle %-bp tests.
31241 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31242 (all-object-suffixes): Remove .ob.
31243 (bppfx): Remove variable.
31244 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31245 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31246 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31247 [$(build-bounded) = yes] (libtype.ob): Likewise.
31248 * Makerules (elide-routines.ob): Remove variable.
31249 (do-tests-clean): Do not handle *-bp.out.
31250 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31251 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31252 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31253 (tests): Do not include $(tests-bp.out).
31254 (xtests): Do not include $(xtests-bp.out).
31255 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31256 [$(build-bounded) = yes] ($(addprefix
31257 $(objpfx),$(binaries-bounded))): Remove rule.
31258 ($(objpfx)%-bp.out): Remove rule.
31259 * config.make.in (build-bounded): Remove variable.
31260 * crypt/Makefile [$(build-bounded) = yes]
31261 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31262 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31263 append to variable.
31264 [$(build-bounded) = yes] (install-lib): Likewise.
31265 [$(build-bounded) = yes] (generated): Likewise.
31266 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31267 Remove rule.
31268 * intl/Makefile [$(build-bounded) = yes]
31269 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31270 * math/Makefile [$(build-bounded) = yes]
31271 ($(tests:%=$(objpfx)%-bp): Likewise.
31272 * misc/Makefile [$(build-bounded) = yes]
31273 ($(objpfx)tst-tsearch-bp): Likewise.
31274 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31275 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31276 Remove dependency.
31277 * string/Makefile (o-objects.ob): Remove variable.
31278 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31279 (CFLAGS-.ob): Remove variable.
31280 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31281 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31282 both definitions of variable.
31283 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31284 (ASFLAGS-.ob): Remove variable.
31285
e97ed6dd
JM
312862013-02-14 Joseph Myers <joseph@codesourcery.com>
31287
2bdd4ca6
JM
31288 [BZ #13550]
31289 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31290 Remove __BOUNDED_POINTERS__ from condition.
31291 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31292 * string/bits/string2.h [!__NO_STRING_INLINES &&
31293 !__BOUNDED_POINTERS__]: Likewise.
31294 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31295 Likewise.
31296 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31297 Remove conditional code.
31298 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31299 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31300 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31301 condition.
31302
e97ed6dd
JM
31303 [BZ #13550]
31304 * csu/libc-start.c: Do not include <bp-sym.h>.
31305 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31306 * elf/dl-open.c: Do not include <bp-sym.h>.
31307 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31308 * math/fegetenv.c: Do not include <bp-sym.h>.
31309 (fegetenv): Do not use BP_SYM in versioned symbols.
31310 * nptl/sysdeps/pthread/bits/libc-lockP.h
31311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31312 <bp-sym.h>.
31313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31314 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31316 (__pthread_mutex_destroy): Likewise.
31317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31318 (__pthread_mutex_lock): Likewise.
31319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31320 (__pthread_mutex_trylock): Likewise.
31321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31322 (__pthread_mutex_unlock): Likewise.
31323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31324 (__pthread_mutexattr_init): Likewise.
31325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31326 (__pthread_mutexattr_destroy): Likewise.
31327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31328 (__pthread_mutexattr_settype): Likewise.
31329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31330 (__pthread_rwlock_init): Likewise.
31331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31332 (__pthread_rwlock_destroy): Likewise.
31333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31334 (__pthread_rwlock_rdlock): Likewise.
31335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31336 (__pthread_rwlock_tryrdlock): Likewise.
31337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31338 (__pthread_rwlock_wrlock): Likewise.
31339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31340 (__pthread_rwlock_trywrlock): Likewise.
31341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31342 (__pthread_rwlock_unlock): Likewise.
31343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31344 (__pthread_key_create): Likewise.
31345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31346 (__pthread_setspecific): Likewise.
31347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31348 (__pthread_getspecific): Likewise.
31349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31350 Likewise.
31351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31352 (_pthread_cleanup_push_defer): Likewise.
31353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31354 (_pthread_cleanup_pop_restore): Likewise.
31355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31356 (pthread_setcancelstate): Likewise.
31357 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31358 <bp-sym.h>.
31359 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31360 (memchr): Do not use BP_SYM in weak_alias.
31361 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31362 (fegetenv): Do not use BP_SYM in versioned symbols.
31363 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31364 (fesetenv): Do not use BP_SYM in versioned symbols.
31365 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31366 (feupdateenv): Do not use BP_SYM in versioned symbols.
31367 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31368 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31369 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31370 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31371 (open64): Do not use BP_SYM in weak_alias.
31372 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31373 (fegetenv): Do not use BP_SYM in versioned symbols.
31374 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31375 (fesetenv): Do not use BP_SYM in versioned symbols.
31376 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31377 (feupdateenv): Do not use BP_SYM in versioned symbols.
31378 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31379 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31380 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31381 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31382 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31383 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31384 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31385 <bp-sym.h>.
31386 (__libc_start_main): Do not use BP_SYM.
31387
d6752ccd
SP
313882013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31389
cb57ce60
SP
31390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31391 redundant return line.
31392 (norm): Likewise.
31393 (denorm): Likewise.
31394 (dbl_mp): Likewise.
31395 (sub_magnitudes): Likewise.
31396 (__add): Likewise.
31397 (__sub): Likewise.
31398 (__mul): Likewise.
31399 (__inv): Likewise.
31400 (__dvd): Likewise.
31401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31402 (norm): Likewise.
31403 (denorm): Likewise.
31404 (dbl_mp): Likewise.
31405 (sub_magnitudes): Likewise.
31406 (__add): Likewise.
31407 (__sub): Likewise.
31408 (__mul): Likewise.
31409 (__inv): Likewise.
31410 (__dvd): Likewise.
31411
f414520d
SP
31412 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31413 instead of __mul.
31414 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31415 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31416 (cc32): Likewise.
31417
d6752ccd
SP
31418 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31419 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31421 of __mul for squares.
31422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31423 function
31424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31425 Likewise.
31426 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31427 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31428
70d9946a
JM
314292013-02-13 Joseph Myers <joseph@codesourcery.com>
31430
31431 [BZ #13550]
31432 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31433 code.
31434 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31435 prototype or function definition. Rename ubp_* variables and
31436 parameters. Remove argv definitions conditional on
31437 [__BOUNDED_POINTERS__].
31438 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31439 * elf/dl-runtime.c (_dl_fixup): Likewise.
31440 * include/set-hooks.h (RUN_HOOK): Likewise.
31441 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31442 definition.
31443 * string/strcpy.c (strcpy): Do not use __unbounded.
31444 * sysdeps/generic/frame.h (struct layout): Likewise.
31445 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31446 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31447 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31448 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31449 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31450 (__backtrace): Likewise.
31451 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31452 use __ptrvalue.
31453 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31454 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31455 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31456 Likewise.
31457 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31458 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31459 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31460 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31461 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31462 Do not use __unbounded.
31463 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31464 Rename __unboundedrlimits parameter to rlimits in prototype.
31465 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31466 Do not use __unbounded.
31467 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31468 not use __ptrvalue.
31469 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31470 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31471 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31472 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31473 __ptrvalue or __unbounded.
31474 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31475 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31476 use __unbounded.
31477 (__new_msgctl): Do not use __ptrvalue.
31478 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31479 __unbounded.
31480 (__libc_msgrcv): Do not use __ptrvalue.
31481 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31482 startup_info): Do not use __unbounded.
31483 (__libc_start_main): Likewise. Rename ubp_* variables and
31484 parameters. Remove argv definitions conditional on
31485 [__BOUNDED_POINTERS__].
31486 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31487 __ptrvalue.
31488 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31489 use __unbounded.
31490 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31491 or __ptrvalue.
31492 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31493 use __unbounded.
31494 (__new_shmctl): Do not use __ptrvalue.
31495 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31496 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31497 Likewise.
31498 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31499 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31500 (__libc_sigaction): Likewise.
31501 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31502 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31503 Likewise.
31504 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31505
cc7834d6
OB
315062013-02-13 Ondřej Bílka <neleai@seznam.cz>
31507
ffb1ec7b 31508 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31509
31510 * string/mempcpy.c: Implement by calling memcpy.
31511
bdf02814
SP
315122013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31513
c2af38aa
SP
31514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31515
4e92d59e
SP
31516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31517 evaluation.
31518
909279a5
SP
31519 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31520 values in the mantissa.
31521
bdf02814
SP
31522 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31523 minimize writes to Z.
31524 (sub_magnitudes): Simplify code a bit.
31525
cd525923
RM
315262013-02-12 Roland McGrath <roland@hack.frob.com>
31527
31528 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31529 from the message. The linker prefixes all warnings with that already.
31530
7e2f0d2d
AS
315312013-02-12 Andreas Schwab <schwab@suse.de>
31532
a445af0b
AS
31533 [BZ #15078]
31534 * posix/regexec.c (extend_buffers): Add parameter min_len.
31535 (check_matching): Pass minimum needed length.
31536 (clean_state_log_if_needed): Likewise.
31537 (get_subexp): Likewise.
31538 * posix/Makefile (tests): Add bug-regex34.
31539 (bug-regex34-ENV): Define.
31540 * posix/bug-regex34.c: New file.
31541
7e2f0d2d
AS
31542 [BZ #11561]
31543 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31544 elements compare against the byte sequence of it, not its name.
31545 * posix/Makefile (tests): Add bug-regex35.
31546 (bug-regex35-ENV): Define.
31547 * posix/bug-regex35.c: New file.
31548
a175b684
TV
315492013-02-11 Tom de Vries <tom@codesourcery.com>
31550
31551 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31552 comment.
31553 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31554 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31555 (CHECK_EOL): Add undef.
31556
310998fe 315572013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31558
31559 * bits/stdlib-bsearch.h: New file.
31560 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31561 * stdlib/stdlib.h: Likewise.
41eda41d 31562
8ded91fb
RM
315632013-02-11 Roland McGrath <roland@hack.frob.com>
31564
31565 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31566 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31567 declaration.
31568 * manual/search.texi (Array Search Function): Add missing const in
31569 lfind prototype.
31570 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31571 declaration to use rlim_t.
31572 (Basic Scheduling Functions): Remove erroneous const from
31573 sched_getparam prototype. Remove erroneous * from
31574 sched_get_priority_max and sched_get_priority_min prototypes.
31575 (Resource Usage): Fix summary @comment on vtimes to refer to
31576 sys/vtimes.h rather than vtimes.h.
31577 Add missing *s in vtimes prototype.
31578 (Limits on Resources): Fix ulimit prototype to return long int.
31579 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31580 prototypes to use long int rather than double.
31581 (BSD Random): Fix initstate and setstate to use char *, not void *.
31582 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31583 prototype to make second argument 'struct aiocb64 *const[]'.
31584 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31585 (Status of AIO Operations): Remove erroneous const in aio_return and
31586 aio_return64 prototypes.
31587 (Synchronizing I/O): Fix sync prototype to return void.
31588 * manual/startup.texi (Suboptions): Remove an erroneous const in
31589 getsubopt prototype.
31590 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31591 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31592 use size_t rather than int.
31593 (Scanning All Users): Likewise for getpwent_r.
31594 (Setting Groups): Add missing const to setgroups prototype.
31595 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31596 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31597 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31598 'const void *' rather than 'const char *'.
31599 (Host Address Functions): Likewise for inet_ntop.
31600 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31601 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31602 ssize_t for return value.
31603 (Sending Data): Likewise for send, sendto, sendmsg.
31604 (Socket Option Functions): Add a missing const in setsockopt prototype.
31605 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31606 use wchar_t for the argument.
31607 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31608 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31609 take no arguments.
31610 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31611 double/float/long double for second argument.
31612 Fix return types of significand, significandf, significandl.
31613 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31614 argument in fchmod prototype.
31615 (File Owner): Use uid_t and gid_t in fchown prototype.
31616 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31617 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31618 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31619 use 'const struct dirent **' as argument types to CMP function pointer
31620 argument.
31621 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31622 (File Times): Fix summary magic @comment for struct utimbuf and utime
31623 to refer to utime.h, not time.h.
31624 * manual/string.texi (Argz Functions): Add missing const in
31625 argz_extract and argz_next prototypes.
31626 (Finding Tokens in a String): Likewise for basename.
31627 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31628 (Copying and Concatenation): Fix typo in wmemmove prototype.
31629 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31630 (Signal Stack): Remove erroneous const in sigstack prototype.
31631 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31632 prototype.
31633 (Simple Calendar Time): Likewise for stime.
31634 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31635 prototype.
31636 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31637 say sys/sysctl.h instead.
31638 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31639 and vsyslog prototypes.
31640
fe77fe6d
TV
316412013-02-11 Tom de Vries <tom@codesourcery.com>
31642
31643 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31644 Remove.
31645
3a09b620
RM
316462013-02-11 Roland McGrath <roland@hack.frob.com>
31647
31648 * misc/sys/mman.h: Fix typo in mremap comment.
31649
550a0b89
RM
316502013-02-08 Roland McGrath <roland@hack.frob.com>
31651
31652 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31653 the '\0' terminator.
31654
a2da1673
JM
316552013-02-08 Joseph Myers <joseph@codesourcery.com>
31656
31657 [BZ #13550]
31658 * debug/segfault.c: Don't include <bp-checks.h>.
31659 * sysdeps/generic/bp-checks.h: Remove file.
31660 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31661 (__GETDENTS): Don't use CHECK_N.
31662 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31663 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31664 (__getgroups): Don't use CHECK_N.
31665 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31666 (setgroups): Don't use CHECK_N.
31667 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31668 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31669 (__libc_msgrcv): Don't use CHECK_N.
31670 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31671 (__libc_msgsnd): Don't use CHECK_N.
31672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31673 <bp-checks.h>.
31674 (__libc_pread): Don't use CHECK_N.
31675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31676 include <bp-checks.h>.
31677 (__libc_pread64): Don't use CHECK_N.
31678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31679 include <bp-checks.h>.
31680 (__libc_pwrite): Don't use CHECK_N.
31681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31682 include <bp-checks.h>.
31683 (__libc_pwrite64): Don't use CHECK_N.
31684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31685 <bp-checks.h>.
31686 (__libc_pread): Don't use CHECK_N.
31687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31688 include <bp-checks.h>.
31689 (__libc_pread64): Don't use CHECK_N.
31690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31691 include <bp-checks.h>.
31692 (__libc_pwrite): Don't use CHECK_N.
31693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31694 include <bp-checks.h>.
31695 (__libc_pwrite64): Don't use CHECK_N.
31696 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31697 (do_pread): Don't use CHECK_N.
31698 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31699 (do_pread64): Don't use CHECK_N.
31700 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31701 (do_pwrite): Don't use CHECK_N.
31702 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31703 (do_pwrite64): Don't use CHECK_N.
31704 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31705 (__libc_readv): Don't use CHECK_N.
31706 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31707 (semop): Don't use CHECK_N.
31708 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31709 <bp-checks.h>.
31710 (semtimedop): Don't use CHECK_N.
31711 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31712 (__libc_pread): Don't use CHECK_N.
31713 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31714 <bp-checks.h>.
31715 (__libc_pread64): Don't use CHECK_N.
31716 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31717 <bp-checks.h>.
31718 (__libc_pwrite): Don't use CHECK_N.
31719 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31720 <bp-checks.h>.
31721 (__libc_pwrite64): Don't use CHECK_N.
31722 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31723 <bp-checks.h>.
31724 (__libc_msgrcv): Don't use CHECK_N.
31725 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31726 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31727 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31728 (__libc_writev): Don't use CHECK_N.
31729
b84660a8
RM
317302013-02-08 Roland McGrath <roland@hack.frob.com>
31731
7f3e75f8
RM
31732 * string/strcpy.c: Removed unused variable.
31733
b84660a8
RM
31734 * Makeconfig (+sysdep-includes): Define with := rather than =.
31735 Use an existing include/ subdir of each sysdeps dir before it.
31736
471514d3
CD
317372013-02-08 Carlos O'Donell <carlos@redhat.com>
31738
31739 * nscd/connection.c (register_traced_file): Comment function.
31740 [HAVE_INOTIFY] (union __inev): Define.
31741 [HAVE_INOTIFY] (inotify_check_files): New function.
31742 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31743 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31744 clear_db_cache.
31745 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31746
b2d3c3be
CD
317472013-02-08 Carlos O'Donell <carlos@redhat.com>
31748
31749 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31750 loaded if not already and that a failure is permanent.
31751
b39949d2
CD
317522013-02-08 Carlos O'Donell <carlos@redhat.com>
31753
ddacd1db 31754 [BZ #15006]
b39949d2
CD
31755 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31756 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31757
b2c9eff4
JM
317582013-02-08 Joseph Myers <joseph@codesourcery.com>
31759
f3aae3f3
JM
31760 [BZ #13550]
31761 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31762 (CHECK_1_NULL_OK): Likewise.
31763 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31764 (__fxstat): Do not use CHECK_1.
31765 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31766 <bp-checks.h>.
31767 (___fxstat64): Do not use CHECK_1.
31768 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31769 <bp-checks.h>.
31770 (__fxstatat): Do not use CHECK_1.
31771 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31772 <bp-checks.h>.
31773 (__fxstatat64): Do not use CHECK_1.
31774 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31775 <bp-checks.h>.
31776 (__fxstat): Do not use CHECK_1.
31777 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31778 <bp-checks.h>.
31779 (__fxstatat): Do not use CHECK_1.
31780 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31781 <bp-checks.h>.
31782 (__getresgid): Do not use CHECK_1.
31783 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31784 <bp-checks.h>.
31785 (__getresuid): Do not use CHECK_1.
31786 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31787 <bp-checks.h>.
31788 (__lxstat): Do not use CHECK_1.
31789 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31790 <bp-checks.h>.
31791 (__old_msgctl): Do not use CHECK_1.
31792 (__new_msgctl): Likewise.
31793 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31794 <bp-checks.h>.
31795 (__new_setrlimit): Do not use CHECK_1.
31796 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31797 <bp-checks.h>.
31798 (__old_shmctl): Do not use CHECK_1.
31799 (__new_shmctl): Likewise.
31800 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31801 <bp-checks.h>.
31802 (__xstat): Do not use CHECK_1.
31803 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31804 (__lxstat): Do not use CHECK_1.
31805 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31806 <bp-checks.h>.
31807 (___lxstat64): Do not use CHECK_1.
31808 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31809 (__old_msgctl): Do not use CHECK_1.
31810 (__new_msgctl): Likewise.
31811 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31812 <bp-checks.h>.
31813 (__gettimeofday): Do not use CHECK_1.
31814 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31815 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31816 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31817 <bp-checks.h>.
31818 (__gettimeofday): Do not use CHECK_1.
31819 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31820 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31821 (__new_shmctl): Do not use CHECK_1.
31822 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31823 <bp-checks.h>.
31824 (do_sigtimedwait): Do not use CHECK_1.
31825 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31826 <bp-checks.h>.
31827 (do_sigwaitinfo): Do not use CHECK_1.
31828 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31829 <bp-checks.h>.
31830 (msgctl): Do not use CHECK_1.
31831 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31832 <bp-checks.h>.
31833 (shmctl): Do not use CHECK_1.
31834 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31835 (ustat): Do not use CHECK_1.
31836 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31837 <bp-checks.h>.
31838 (__fxstat): Do not use CHECK_1.
31839 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31840 <bp-checks.h>.
31841 (__fxstatat): Do not use CHECK_1.
31842 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31843 <bp-checks.h>.
31844 (__lxstat): Do not use CHECK_1.
31845 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31846 <bp-checks.h>.
31847 (__xstat): Do not use CHECK_1.
31848 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31849 (__xstat): Do not use CHECK_1.
31850 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31851 (___xstat64): Do not use CHECK_1.
31852
b2c9eff4
JM
31853 [BZ #13550]
31854 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31855 definitions.
31856 (CHECK_BOUNDS_HIGH): Likewise.
31857 * string/strcpy.c: Do not include <bp-checks.h>.
31858 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31859
f1d70dad
RM
318602013-02-07 Roland McGrath <roland@hack.frob.com>
31861
31862 * nscd/nscd-client.h (__nscd_drop_map_ref):
31863 Add __attribute__ ((unused)).
31864 * nis/nss-nisplus.h (niserr2nss): Likewise.
31865
31866 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31867 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31868
31869 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31870 Remove inline keyword.
31871 * include/rounding-mode.h (round_away): Likewise.
31872 * libio/wfileops.c (adjust_wide_data): Likewise.
31873 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31874 (__m128i_strloadu_tolower): Likewise.
31875 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31876 (__m128i_strloadu_tolower): Likewise.
31877 * time/mktime.c (ydhms_diff): Likewise.
31878 * locale/elem-hash.h (elem_hash): Likewise.
31879 * locale/setlocale.c (setdata): Likewise.
31880 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31881 (re_string_wchar_at): Likewise.
31882 (bitset_not, bitset_merge, bitset_mask): Likewise.
31883 [!(__GNUC__ > 3)] (inline): Remove macro.
31884 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31885 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31886 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31887 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31888 * string/memcmp.c (memcmp_bytes): Likewise.
31889 * locale/programs/locarchive.c (compute_hashval): Likewise.
31890 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31891 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31892 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31893 * nss/getent.c (print_rpc, print_protocols): Likewise.
31894 (print_passwd, print_group, print_aliases): Likewise.
31895 * nis/nss-nisplus.h (niserr2nss): Likewise.
31896 * nscd/connections.c (restart_p): Likewise.
31897 Change return type to bool.
31898
eab55bfb
RM
318992013-02-05 Roland McGrath <roland@hack.frob.com>
31900
7bd642f5
RM
31901 * Makeconfig (all-Depend-files): Add existing
31902 $(sorted-subdirs:=/Depend) files.
31903 (all-subdirs): Remove nss.
31904 * sysdeps/unix/inet/Subdirs: Add it here instead.
31905 * hesiod/Depend: New file.
31906
573c29b2
RM
31907 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31908 instead of calling alloca.
31909
b2e25af0
RM
31910 * io/lseek.c (__lseek): Rename to __libc_lseek.
31911 Define __lseek as an alias.
31912
eab55bfb
RM
31913 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31914
9a0d1941
CD
319152013-02-04 Carlos O'Donell <carlos@redhat.com>
31916
31917 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31918 else clause and remove check for non-standard endianness.
31919
b83bbec4
DM
319202013-02-04 David S. Miller <davem@davemloft.net>
31921
31922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31923
6277fdab
JM
319242013-02-04 Joseph Myers <joseph@codesourcery.com>
31925
31926 [BZ #13550]
31927 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31928 (__ubp_memchr): Remove prototype.
31929 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31930 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31931 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31932 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31933 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31934 Remove alias.
31935 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31936 (__ubp_memchr): Likewise.
31937 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31938 (__ubp_memchr): Likewise.
31939 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31940 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31941 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31942 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31943 CHECK_STRING.
31944 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31945 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31946 (__getcwd): Do not use CHECK_STRING.
31947 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31948 <bp-checks.h>.
31949 (__real_chown): Do not use CHECK_STRING.
31950 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31951 <bp-checks.h>.
31952 (fchownat): Do not use CHECK_STRING.
31953 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31954 CHECK_STRING.
31955 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31956 <bp-checks.h>.
31957 (__lchown): Do not use CHECK_STRING.
31958 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31959 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31960 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31961 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31963 include <bp-checks.h>.
31964 (truncate64): Do not use CHECK_STRING.
31965 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31966 <bp-checks.h>.
31967 (__real_chown): Do not use CHECK_STRING.
31968 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31969 <bp-checks.h>.
31970 (__lchown): Do not use CHECK_STRING.
31971 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31972 <bp-checks.h>.
31973 (__chown): Do not use CHECK_STRING.
31974 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31975 <bp-checks.h>.
31976 (truncate64): Do not use CHECK_STRING.
31977 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31978 Likewise.
31979 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31980 (__xmknod): Do not use CHECK_STRING.
31981 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31982 <bp-checks.h>.
31983 (__xmknodat): Do not use CHECK_STRING.
31984 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31985 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31986
903ae060
AS
319872013-02-04 Andreas Schwab <schwab@suse.de>
31988
31989 [BZ #14142]
31990 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31991 * include/netdb.h: Likewise for h_errno.
31992 * elf/tst-stackguard1.c: Include <tls.h>.
31993
542f9466
JK
319942013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31995
31996 * elf/link.h (struct link_map): Extend the l_addr comment.
31997 * include/link.h (struct link_map): Likewise.
31998
e782a927
JM
319992013-02-01 Joseph Myers <joseph@codesourcery.com>
32000
32001 [BZ #13550]
32002 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32003 (BOUNDED_1): Remove macro.
32004 * debug/backtrace.c: Don't include <bp-checks.h>.
32005 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32006 (__backtrace): Likewise.
32007 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32008 <bp-checks.h>.
32009 (__backtrace): Don't use BOUNDED_1.
32010 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32011 <bp-checks.h>.
32012 (__backtrace): Don't use BOUNDED_1.
32013 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32014 (__backtrace): Don't use BOUNDED_1.
32015 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32016 (shmat): Don't use BOUNDED_N.
32017
8cf28c5e
JM
320182013-01-31 Joseph Myers <joseph@codesourcery.com>
32019
3a7ac8a0
JM
32020 [BZ #13550]
32021 * sysdeps/generic/bp-start.h: Remove file.
32022 * csu/libc-start.c: Don't include <bp-start.h>.
32023 (LIBC_START_MAIN): Set up __environ directly instead of using
32024 INIT_ARGV_and_ENVIRON.
32025 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32026 <bp-start.h>.
32027
f3499f95
JM
32028 [BZ #13550]
32029 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32030 definitions.
32031 (CHECK_FCNTL): Likewise.
32032 (CHECK_N_PAGES): Likewise.
32033
32a45bea
JM
32034 [BZ #13550]
32035 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32036 definitions.
32037 (CHECK_SIGSET_NULL_OK): Likewise.
32038 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32039 <bp-checks.h>.
32040 (sigpending): Don't use CHECK_SIGSET.
32041 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32042 <bp-checks.h>.
32043 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32044 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32045 <bp-checks.h>.
32046 (do_sigsuspend): Don't use CHECK_SIGSET.
32047 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32048 use CHECK_SIGSET.
32049 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32050 (do_sigwait): Don't use CHECK_SIGSET.
32051 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32052 use CHECK_SIGSET.
32053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32054 include <bp-checks.h>.
32055 (sigpending): Don't use CHECK_SIGSET.
32056 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32057 include <bp-checks.h>.
32058 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32059 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32060 <bp-checks.h>.
32061 (sigpending): Don't use CHECK_SIGSET.
32062 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32063 <bp-checks.h>.
32064 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32065
2e8a5c8c
JM
32066 [BZ #13550]
32067 * sysdeps/generic/bp-semctl.h: Remove file.
32068 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32069 <bp-checks.h> and <bp-semctl.h>.
32070 (__old_semctl): Don't use CHECK_SEMCTL.
32071 (__new_semctl): Likewise.
32072 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32073 and <bp-semctl.h>.
32074 (__old_semctl): Don't use CHECK_SEMCTL.
32075 (__new_semctl): Likewise.
32076 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32077 <bp-checks.h> and <bp-semctl.h>.
32078 (__old_semctl): Don't use CHECK_SEMCTL.
32079 (__new_semctl): Likewise.
32080 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32081 <bp-checks.h> and <bp-semctl.h>.
32082 (semctl): Don't use CHECK_SEMCTL.
32083
c2d54929
JM
32084 [BZ #13550]
32085 * Makerules (elide-bp-thunks): Remove variable.
32086 (elide-routines.oS): Don't use $(elide-bp-thunks).
32087 (elide-routines.os): Likewise.
32088 (elide-routines.o): Likewise.
32089 (elide-routines.op): Likewise.
32090 (elide-routines.og): Likewise.
32091 (objects): Don't use $(bp-thunks).
32092 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32093 include.
32094 (common-generated): Do not add s-proto-bp.d.
32095 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32096 (int): Likewise.
32097 (typ): Likewise.
32098 Do not generate makefile rules for bounded-pointer thunks.
32099 * sysdeps/generic/bp-thunks.h: Remove file.
32100 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32101 * sysdeps/unix/s-proto-bp.S: Likewise.
32102
8cf28c5e
JM
32103 [BZ #15062]
32104 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32105 parts of result separately when argument is not close to line from
32106 -i to i and one part of argument is small.
32107 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32108 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32109 * math/libm-test.inc (cacos_test): Add more tests.
32110 (casin_test): Likewise.
32111 (casinh_test): Likewise.
32112 * sysdeps/i386/fpu/libm-test-ulps: Update.
32113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32114
c4e33b8d
DM
321152013-01-31 David S. Miller <davem@davemloft.net>
32116
32117 * po/de.po: Update from translation team.
32118
3b60b421
MK
321192013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32120
32121 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32122
bb931195
TS
321232013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32124
b5a5da23
TS
32125 * configure.in (_AC_PROG_CC_C89): New definition.
32126 * configure: Regenerate.
32127
bb931195
TS
32128 * configure.in (AC_PROG_CPP): New definition.
32129 * configure: Regenerate.
32130
8c53a12c
JM
321312013-01-23 Joseph Myers <joseph@codesourcery.com>
32132
32133 * debug/tst-backtrace.h: New file.
32134 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32135 (ret): Remove variable.
32136 (x): Likewise.
32137 (FAIL): Remove macro.
32138 (NO_INLINE): Likewise.
32139 (fn1): Use match function instead of strstr.
32140 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32141 (ret): Remove variable.
32142 (x): Likewise.
32143 (FAIL): Remove macro.
32144 (NO_INLINE): Likewise.
32145 (fn): Use match function instead of strstr.
32146 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32147 (ret): Remove variable.
32148 (x): Likewise.
32149 (FAIL): Remove macro.
32150 (NO_INLINE): Likewise.
32151 (handle_signal): Use match function instead of strstr.
32152 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32153 (ret): Remove variable.
32154 (x): Likewise.
32155 (FAIL): Remove macro.
32156 (NO_INLINE): Likewise.
32157 (handle_signal): Use match function instead of strstr.
32158
4858fa2a
RM
321592013-01-23 Roland McGrath <roland@hack.frob.com>
32160
32161 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32162
bae8e7f5
DM
321632013-01-23 David S. Miller <davem@davemloft.net>
32164
32165 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32166 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32167 argument of CAS if possible.
32168 * sysdeps/sparc/sparc64/bits/atomic.h
32169 (__arch_compare_and_exchange_val_32_acq): Likewise.
32170 (__arch_compare_and_exchange_val_64_acq): Likewise.
32171
9cbbc4ae
PT
321722013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32173
32174 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32175 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32176 Include <limits.h>.
67b3f58c 32177 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32178
5655a0b5
AC
321792013-01-23 Adam Conrad <adconrad@0c3.net>
32180
32181 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32182 (LDFLAGS-tst-array5): Likewise.
32183
052aff95
JM
321842013-01-23 Joseph Myers <joseph@codesourcery.com>
32185
32186 [BZ #15036]
32187 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32188 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32189 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32190 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32191
7c1e01aa
DM
321922013-01-21 David S. Miller <davem@davemloft.net>
32193
32194 * sysdeps/sparc/backtrace.c: New file.
32195 * sysdeps/sparc/sparc32/backtrace.h: New file.
32196 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32197 * sysdeps/sparc/sparc64/backtrace.h: New file.
32198 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32199 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32200 -funwind-tables.
32201
ab087e0a
AS
322022013-01-21 Andreas Schwab <schwab@suse.de>
32203
32204 [BZ #15020]
32205 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32206 closed its stdout.
32207
ed689c2f
AS
322082013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32209
32210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32211 "mpa2.h".
32212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32213
31d470ac
JM
322142013-01-18 Joseph Myers <joseph@codesourcery.com>
32215 Mark Mitchell <mark@codesourcery.com>
32216 Tom de Vries <tom@codesourcery.com>
32217 Paul Pluzhnikov <ppluzhnikov@google.com>
32218
32219 * debug/tst-backtrace2.c: New file.
32220 * debug/tst-backtrace3.c: Likewise.
32221 * debug/tst-backtrace4.c: Likewise.
32222 * debug/tst-backtrace5.c: Likewise.
32223 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32224 (CFLAGS-tst-backtrace3.c): Likewise.
32225 (CFLAGS-tst-backtrace4.c): Likewise.
32226 (CFLAGS-tst-backtrace5.c): Likewise.
32227 (LDFLAGS-tst-backtrace2): Likewise.
32228 (LDFLAGS-tst-backtrace3): Likewise.
32229 (LDFLAGS-tst-backtrace4): Likewise.
32230 (LDFLAGS-tst-backtrace5): Likewise.
32231 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32232 tst-backtrace4 and tst-backtrace5.
32233
90567f30 322342013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32235 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32236
32237 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32238 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32240 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32242 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32243 "+r" and remove output regs list as redundant. Add explicit inline
32244 asm to specify register of return val to work around compiler codegen
32245 bug. Remove (int) cast on return value. Add return type parameter to
32246 use in macro so that this macro does not truncate return value for
32247 64-bit values.
32248 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32249 pass to INTERNAL_VSYSCALL_NCS.
32250 (INLINE_VSYSCALL): Add 'long int' as return type to
32251 INTERNAL_VSYSCALL_NCS macro invocation.
32252 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32253 INTERNAL_VSYSCALL_NCS macro invocation.
32254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32255
d3b9ea61
SP
322562013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32257
0b57daeb
SP
32258 [BZ #14496]
32259 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32260 Fix application of SIMD FP exception mask.
32261
caa99d06
SP
32262 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32263 mp_no from a power of two.
32264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32265 __mpexp_twomm1. Use __pow_mp.
32266
d3b9ea61
SP
32267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32268 multiplication.
32269
1dbaee3c
DM
322702013-01-17 David S. Miller <davem@davemloft.net>
32271
32272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32273
728d7b43
JM
322742013-01-17 Joseph Myers <joseph@codesourcery.com>
32275
32276 [BZ #15023]
32277 * include/complex.h: Condition contents on [!_COMPLEX_H].
32278 (__kernel_casinhf): New prototype.
32279 (__kernel_casinh): Likewise.
32280 (__kernel_casinhl): Likewise.
32281 * math/Makefile (libm_calls): Add k_casinh.
32282 * math/k_casinh.c: New file.
32283 * math/k_casinhf.c: Likewise.
32284 * math/k_casinhl.c: Likewise.
32285 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32286 finite nonzero arguments.
32287 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32288 finite nonzero arguments.
32289 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32290 finite nonzero arguments.
32291 * math/s_casinh.c: Do not include <float.h>.
32292 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32293 * math/s_casinhf.c: Do not include <float.h>.
32294 (__casinhf): Move code for finite nonzero arguments to
32295 k_casinhf.c.
32296 * math/s_casinhl.c: Do not include <float.h>.
32297 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32298 redefine.
32299 (__casinhl): Move code for finite nonzero arguments to
32300 k_casinhl.c.
32301 * math/libm-test.inc (cacos_test): Add more tests.
32302 * sysdeps/i386/fpu/libm-test-ulps: Update.
32303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32304
2a26ef3a
PT
323052013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32306
32307 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32308 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32309 [!HAVE_MREMAP]: Remove [defined linux] case.
32310 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32311
a897655d
SP
323122013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32313
32314 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32315
881ebe89 323162013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32317
32318 * elf/elf.h (R_386_SIZE32): New relocation.
32319 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32320 R_386_SIZE32.
32321 (elf_machine_rela): Likewise.
32322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32323 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32324
59981e9b
JM
323252013-01-17 Joseph Myers <joseph@codesourcery.com>
32326
32327 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32328 (FP_FAST_FMA): Do not define.
32329 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32330 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32331 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32332 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32333 !_SOFT_FLOAT]: Likewise.
32334 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32336 value.
32337 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32338 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32339 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32340 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32341 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32342 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32343 file.
32344
cfa8054f
AS
323452013-01-16 Andreas Schwab <schwab@suse.de>
32346
32347 [BZ #14327]
32348 * include/stdlib.h (__mktemp): Add declaration.
32349 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32350 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32351
dd930cc5
SP
323522013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32353
881ebe89
SP
32354 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32355 definitions.
32356 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32357 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32358 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32359 definitions here.
32360 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32361 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32362 definitions.
32363 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32364 and ONE.
32365 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32366 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32367 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32368 definitions.
32369 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32370 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32371 definitions.
32372 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32373
dd930cc5
SP
32374 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32375
c19a9f89
DM
323762013-01-15 David S. Miller <davem@davemloft.net>
32377
1aa61767
DM
32378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32379 trunc{,f} to libm-sysdep_routes.
32380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32382 file.
32383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32385 file.
32386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32387 file.
32388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32390 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32391 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32392 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32393 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32394 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32395 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32396
c42d5e98
DM
32397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32398 nearbyint{,f} to libm-sysdep_routes.
32399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32401 New file.
32402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32403 file.
32404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32405 New file.
32406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32407 file.
32408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32410 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32411 file.
32412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32414 file.
32415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32416 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32417 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32418
c19a9f89
DM
32419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32420 libc_feholdexcept and libc_fesetenv.
32421
357679d2
MF
324222013-01-15 Mike Frysinger <vapier@gentoo.org>
32423
32424 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32425
65a82e3d
DM
324262013-01-14 David S. Miller <davem@davemloft.net>
32427
8b954ab9
DM
32428 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32429 (SPARC_ASM_VIS2_IFUNC): Likewise.
32430 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32432 use of 'siam' instruction.
32433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32434 Likewise.
32435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32436 Likewise.
32437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32438 Likewise.
32439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32444 file.
32445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32446 file.
32447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32448 file.
32449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32450 file.
32451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32456 new VIS2 routines.
32457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32460 Likewise.
32461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32466 routines to libm-sysdep_routines.
32467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32468
65a82e3d
DM
32469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32470 fdim/fdimf to libm-sysdep_routines.
32471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32472 file.
32473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32475 file.
32476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32479 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32480 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32481 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32482 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32483
e34ab705
SP
324842013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32485
2a91b573
SP
32486 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32487 to optimize copies.
32488
1066a534
SP
32489 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32492
e34ab705
SP
32493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32494 local variable MPTWO.
32495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32496 Likewise.
32497
aba5e596
MF
324982013-01-13 Mike Frysinger <vapier@gentoo.org>
32499
32500 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32501 GLOB_NOESCAPE.
32502
e557e9e5
MF
325032013-01-13 Mike Frysinger <vapier@gentoo.org>
32504
32505 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32506
0428cec9
MF
325072013-01-13 Mike Frysinger <vapier@gentoo.org>
32508
32509 * manual/pattern.texi (glob_t): Document gl_flags.
32510 (glob64_t): Likewise.
32511
8794a964
DM
325122013-01-11 David S. Miller <davem@davemloft.net>
32513
66438c3f
RM
32514 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32515 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32516 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32517 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32518 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32519 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32520 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32521 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32522 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32523 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32524 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32525 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32526 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32527
4ae4244d
DM
32528 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32529 sparc V9 rather than using V8 code.
32530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32532
8794a964
DM
32533 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32534 Move to...
32535 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32536 Here.
32537
6270516e
RM
325382013-01-11 Roland McGrath <roland@hack.frob.com>
32539
32540 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32541 not in the main loop.
32542 * configure: Regenerated.
32543
6a57d931
JM
325442013-01-11 Joseph Myers <joseph@codesourcery.com>
32545
32546 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32547 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32548 to just #else.
32549 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32550 [!__GLIBC_HAVE_LONG_LONG] case.
32551 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32552 condition to just #else.
32553 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32554 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32555 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32556 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32557 unconditional.
32558 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32559 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32560 #elif condition to just #else.
32561 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32562 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32563 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32564 #elif condition to just #else.
32565
0e8529e9
SE
325662013-01-11 Steve Ellcey <sellcey@mips.com>
32567
32568 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32569 (EF_MIPS_ARCH_64): Fix value.
32570 (EF_MIPS_ARCH_32R2): New.
32571 (EF_MIPS_ARCH_64R2): New.
32572
740b3dbe
L
325732013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32574
32575 * Makeconfig (+link-pie-before-libc): New.
32576 (+link-pie-after-libc): Likewise.
32577 (+link-pie-tests): Likewise.
32578 (+link-pie): Rewritten.
32579 (link-before-libc): Remove $(config-LDFLAGS).
32580 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32581 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32582 (config-LDFLAGS): Renamed to ...
32583 (rtld-LDFLAGS): This.
32584 (rtld-tests-LDFLAGS): New macro.
32585 (link-libc-rpath-link): Likewise.
32586 (link-libc-tests-rpath-link): Likewise.
32587 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32588 (link-libc): Prepand $(link-libc-rpath-link).
32589 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32590 (test-program-prefix): New macro.
32591 (test-via-rtld-prefix): Likewise.
32592 (test-program-cmd): Likewise.
32593 (host-test-program-cmd): Likewise.
32594 * Makefile ($(common-objpfx)testrun.sh): Replace
32595 $(run-program-prefix) with $(test-program-prefix).
32596 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32597 $(rtld-LDFLAGS).
32598 ($(common-objpfx)shlib.lds): Likewise.
32599 (build-module-helper): Likewise.
32600 ($(common-objpfx)format.lds): Likewise.
32601 * Rules (binaries-pie-tests): New.
32602 (binaries-pie-notests): Likewise.
32603 (binaries-pie): Rewritten.
32604 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32605 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32606 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32607 (make-test-out): Replace $(host-built-program-cmd) with
32608 $(host-test-program-cmd).
32609 * config.make.in (build-hardcoded-path-in-tests): New variable.
32610 * configure.in (--enable-hardcoded-path-in-tests): New configure
32611 option.
32612 (hardcoded_path_in_tests): New AC_SUBST.
32613 * configure: Regenerated.
32614 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32615 $(built-program-cmd) with $(test-program-cmd).
32616 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32617 (test_program_cmd): This.
32618 * elf/Makefile ($(objpfx)order.out): Run test with
32619 $(test-program-prefix).
32620 ($(objpfx)order2.out): Likewise.
32621 ($(objpfx)tst-initorder.out): Likewise.
32622 ($(objpfx)tst-initorder2.out): Likewise.
32623 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32624 $(test-program-cmd).
32625 ($(objpfx)tst-array1-static.out): Likewise.
32626 ($(objpfx)tst-array2.out): Likewise.
32627 ($(objpfx)tst-array3.out): Likewise.
32628 ($(objpfx)tst-array4.out): Likewise.
32629 ($(objpfx)tst-array5.out): Likewise.
32630 ($(objpfx)tst-array5-static.out): Likewise.
32631 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32632 $(test-program-cmd).
32633 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32634 $(run-program-prefix) with $(test-program-prefix).
32635 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32636 (test_program_prefix): This.
32637 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32638 $(run-program-prefix) with $(test-program-prefix).
32639 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32640 (test_program_prefix): This.
32641 * iconvdata/tst-tables.sh: Likewise.
32642 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32643 $(run-program-prefix) with $(test-program-prefix).
32644 ($(objpfx)tst-translit.out): Likewise.
32645 ($(objpfx)tst-gettext2.out): Likewise.
32646 ($(objpfx)tst-gettext4.out): Likewise.
32647 ($(objpfx)tst-gettext6.out): Likewise.
32648 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32649 (test_program_prefix): This.
32650 * intl/tst-gettext2.sh: Likewise.
32651 * intl/tst-gettext4.sh Likewise.
32652 * intl/tst-gettext6.sh: Likewise.
32653 * intl/tst-translit.sh: Likewise.
32654 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32655 with $(test-program-cmd).
32656 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32657 $(run-program-prefix) with $(test-program-prefix).
32658 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32659 (test_program_prefix): This.
32660 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32661 $(run-program-prefix) with $(test-program-prefix).
32662 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32663 (test_program_prefix): This.
32664 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32665 * posix/Makefile ($(objpfx)globtest.out): Replace
32666 $(run-via-rtld-prefix) and $(test-wrapper) with
32667 $(test-program-prefix) and $(test-via-rtld-prefix).
32668 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32669 $(test-program-prefix).
32670 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32671 $(host-test-program-cmd).
32672 (tst-spawn-ARGS): Likewise.
32673 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32674 $(test-program-prefix).
32675 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32676 (test_via_rtld_prefix): This.
32677 (test_wrapper): Renamed to ...
32678 (test_program_prefix): This.
32679 (run_program_prefix): Replaced by test_program_prefix.
32680 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32681 (test_program_prefix): This.
32682 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32683 with $(host-test-program-cmd).
32684 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32685 $(run-program-prefix) with $(test-program-prefix).
32686 ($(objpfx)tst-printf.out): Likewise.
32687 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32688 $(test-program-cmd).
32689 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32690 (test_program_prefix): This.
32691 * stdio-common/tst-unbputc.sh: Likewise.
32692 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32693 $(run-program-prefix) with $(test-program-prefix).
32694 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32695 (test_program_prefix): This.
32696 * string/Makefile ($(objpfx)tst-svc.out): Replace
32697 $(built-program-cmd) with $(test-program-cmd).
32698
c6fe55cf
AJ
326992013-01-11 Andreas Jaeger <aj@suse.de>
32700
32701 [BZ #15003]
32702 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32703 value. Sync with Linux 3.7.
32704
9e6919c8
DM
327052013-01-10 David S. Miller <davem@davemloft.net>
32706
32707 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32708 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32709 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32710
1c9f1a02
RM
327112013-01-10 Roland McGrath <roland@hack.frob.com>
32712
32713 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32714 never set.
32715 * configure: Regenerated.
32716
b9de2dde
DM
327172013-01-10 David S. Miller <davem@davemloft.net>
32718
32719 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32720 sparc V9 rather than using V8 code.
32721 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32722 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32723
e7f68ef4
RM
327242013-01-10 Roland McGrath <roland@hack.frob.com>
32725
32726 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32727 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32728 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32729 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32730 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32731 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32732 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32733 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32734 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32735 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32736 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32737 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32738 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32739 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32740 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32741 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32742 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32743 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32744 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32745 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32746 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32747 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32748 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32749 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32750 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32751 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32752 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32753
5a47cc9c
DM
327542013-01-10 David S. Miller <davem@davemloft.net>
32755
32756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32757
4cf8f209
L
327582013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32759
32760 * posix/Makefile (tests-static): New variable.
32761 (tests): Add $(tests-static).
32762 (tst-exec-static-ARGS): New variable.
32763 (tst-spawn-static-ARGS): Likewise.
32764 * posix/tst-exec-static.c: New file.
32765 * posix/tst-spawn-static.c: Likewise.
32766 * posix/tst-exec.c: Support run directly.
32767 * posix/tst-spawn.c: Likewise.
32768
fed0faa1
JM
327692013-01-10 Joseph Myers <joseph@codesourcery.com>
32770
828beb13
JM
32771 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32772 long.
32773 * math/bits/mathcalls.h (llrint): Likewise.
32774 (llround): Likewise.
32775 * stdlib/stdlib.h (struct drand48_data): Likewise.
32776 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32777 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32778 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32779 Likewise.
32780 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32781 Likewise.
32782 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32783 (elf_greg_t): Likewise.
32784 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32785 (__jmp_buf): Likewise.
32786 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32787 definitions.
32788 (llrint): Likewise, for all definitions.
32789 (llrintl): Likewise.
32790
fed0faa1
JM
32791 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32792 Remove [__GNUC__] condition.
32793 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32794 condition to just [__USE_ISOC99].
32795 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32796
1a20cb20
L
327972013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32798
32799 [BZ #14200]
32800 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32801 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32802 defined.
32803 (_POSIX_V6_ILP32_OFF32): Likewise.
32804 (_XBS5_ILP32_OFF32): Likewise.
32805 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32806 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32807
751b85f7
SP
328082013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32809
7490eb81
SP
32810 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32811
751b85f7
SP
32812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32813 doubles __mpexp_twomm1. Adjust usage.
32814 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32815 Remove.
32816
988197f0
AS
328172013-01-10 Andreas Schwab <schwab@suse.de>
32818
32819 [BZ #14964]
32820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32821 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32822
e83d7298
DM
328232013-01-09 David S. Miller <davem@davemloft.net>
32824
034ed64b 32825 [BZ #15003]
57f41c40
AS
32826 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32827 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32828 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32829 (TCP_FASTOPEN): Define.
e83d7298
DM
32830 (tcp_repair_opt): New structure.
32831 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32832 enum values.
57f41c40
AS
32833 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32834 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32835 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32836 (tcp_cookie_transactions): New structure.
32837
d5e0b9bd
AB
328382013-01-09 Anton Blanchard <anton@samba.org>
32839
32840 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32841 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32843 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32844
0c07e3ea
JM
328452013-01-09 Joseph Myers <joseph@codesourcery.com>
32846
32847 * include/features.h (__USE_ANSI): Remove.
32848
232f7002
RM
328492013-01-09 Roland McGrath <roland@hack.frob.com>
32850
ad98e30c
RM
32851 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32852
232f7002
RM
32853 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32854
950c99ca
SP
328552013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32856
b5792741
SP
32857 * sysdeps/s390/fpu/libm-test-ulps: Update.
32858
47cf2278
SP
32859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32860
950c99ca
SP
32861 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32862 (__acr): Likewise.
32863 (__cpy): Likewise.
32864 (norm): Likewise.
32865 (denorm): Likewise.
32866 (__mp_dbl): Likewise.
32867 (__dbl_mp): Likewise.
32868 (add_magnitudes): Likewise.
32869 (sub_magnitudes): Likewise.
32870 (__add): Likewise.
32871 (__sub): Likewise.
32872 (__mul): Likewise.
32873 (__inv): Likewise.
32874 (__dvd): Likewise.
32875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32876 (__acr): Likewise.
32877 (__cpy): Likewise.
32878 (norm): Likewise.
32879 (denorm): Likewise.
32880 (__mp_dbl): Likewise.
32881 (__dbl_mp): Likewise.
32882 (add_magnitudes): Likewise.
32883 (sub_magnitudes): Likewise.
32884 (__add): Likewise.
32885 (__sub): Likewise.
32886 (__mul): Likewise.
32887 (__inv): Likewise.
32888 (__dvd): Likewise.
32889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32890 (__acr): Likewise.
32891 (__cpy): Likewise.
32892 (norm): Likewise.
32893 (denorm): Likewise.
32894 (__mp_dbl): Likewise.
32895 (__dbl_mp): Likewise.
32896 (add_magnitudes): Likewise.
32897 (sub_magnitudes): Likewise.
32898 (__add): Likewise.
32899 (__sub): Likewise.
32900 (__mul): Likewise.
32901 (__inv): Likewise.
32902 (__dvd): Likewise.
32903
eede9df9
JM
329042013-01-08 Joseph Myers <joseph@codesourcery.com>
32905
32906 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32907 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32908 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32909 2 && __USE_EXTERN_INLINES]: Likewise.
32910
c40ea3d9
AJ
329112013-01-08 Andreas Jaeger <aj@suse.de>
32912
32913 [BZ# 14985]
32914 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32915 Remove.
32916 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32917 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32918
2ccdea26
AB
329192013-01-07 Anton Blanchard <anton@samba.org>
32920
32921 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32922 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32923 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32924 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32925 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32926 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32927 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32928 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32930 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32934 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32935 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32936 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32937 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32938 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32939 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32940 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32941 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32944 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32945 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32946 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32947 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32948 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32949 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32950 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32951 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32953 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32954 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32955 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32956 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32957 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32958 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32959 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32961 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32963 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32964
a9708fed
JM
329652013-01-07 Joseph Myers <joseph@codesourcery.com>
32966
375607b9
JM
32967 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32968 (__MALLOC_PMT): Likewise.
32969 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32970 [__GNUC__], only on [_LIBC].
32971 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32972 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32973 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32974 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32975 forward declaration.
32976 (realloc_hook_ini): Likewise.
32977 (memalign_hook_ini): Likewise.
32978 (__libc_memalign): Do not use __MALLOC_PMT in variable
32979 declaration.
32980 (__libc_valloc): Likewise.
32981 (__libc_pvalloc): Likewise.
32982 (__libc_calloc): Likewise.
32983 (__posix_memalign): Likewise.
32984
a9708fed
JM
32985 [BZ #14996]
32986 * math/s_casinh.c: Include <float.h>.
32987 (__casinh): Do not do computation with squaring and square root
32988 for large arguments.
32989 * math/s_casinhf.c: Include <float.h>.
32990 (__casinhf): Do not do computation with squaring and square root
32991 for large arguments.
32992 * math/s_casinhl.c: Include <float.h>.
32993 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32994 (__casinhl): Do not do computation with squaring and square root
32995 for large arguments.
32996 * math/libm-test.inc (casin_test): Add more tests.
32997 (casinh_test): Likewise.
32998 * sysdeps/i386/fpu/libm-test-ulps: Update.
32999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33000
afec409a
L
330012013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33002
33003 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33004 (__x86_64_raw_data_cache_size): Likewise.
33005 (__x86_64_data_cache_size_half): Likewise.
33006 (__x86_64_raw_data_cache_size_half): Likewise.
33007 (__x86_64_shared_cache_size): Likewise.
33008 (__x86_64_raw_shared_cache_size): Likewise.
33009 (__x86_64_shared_cache_size_half): Likewise.
33010 (__x86_64_raw_shared_cache_size_half): Likewise.
33011 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33012 to ...
33013 (__x86_data_cache_size): This.
33014 (__x86_64_raw_data_cache_size): Renamed to ...
33015 (__x86_raw_data_cache_size): This.
33016 (__x86_64_data_cache_size_half): Renamed to ...
33017 (__x86_data_cache_size_half): This.
33018 (__x86_64_raw_data_cache_size_half): Renamed to ...
33019 (__x86_raw_data_cache_size_half): This.
33020 (__x86_64_shared_cache_size): Renamed to ...
33021 (__x86_shared_cache_size): This.
33022 (__x86_64_raw_shared_cache_size): Renamed to ...
33023 (__x86_raw_shared_cache_size): This.
33024 (__x86_64_shared_cache_size_half): Renamed to ...
33025 (__x86_shared_cache_size_half): This.
33026 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33027 (__x86_raw_shared_cache_size_half): This.
33028 * sysdeps/x86_64/memcpy.S: Updated.
33029 * sysdeps/x86_64/memset.S: Likewise.
33030 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33033
0b3986d0
DM
330342013-01-04 David S. Miller <davem@davemloft.net>
33035
33036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33037
e47686e9
AS
330382013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33039
d643bac1
AS
33040 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33041 1 to avoid redefinition warning.
33042 (__USE_GNU): Don't define.
33043 (init_signaling_nan): Protoize.
33044
e47686e9
AS
33045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33046
b18decba
SP
330472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33048
fffb407f
SP
33049 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33051 (__cpymn): Likewise.
33052 (norm): Remove commented code.
33053 (denorm): Likewise.
33054 (__mp_dbl): Likewise.
33055 (__inv): Likewise.
33056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33057 (__cpymn): Likewise.
33058 (norm): Remove commented code.
33059 (denorm): Likewise.
33060 (__mp_dbl): Likewise.
33061 (__inv): Likewise.
33062
b18decba
SP
33063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33064 mp_no value for 1.0 and 2.0.
33065 (norm): Use RADIXI instead of radixi.d.
33066 (denorm): Likewise.
33067 (__mul): Use 0.0 instead of zero.d.
33068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33069 mp_no value for 1.0 and 2.0.
33070 (norm): Use RADIXI instead of radixi.d.
33071 (denorm): Likewise.
33072 (__mul): Use 0.0 instead of zero.d.
33073
cdc1c96f
JM
330742013-01-04 Joseph Myers <joseph@codesourcery.com>
33075
33076 [BZ #14994]
33077 * math/s_casinh.c (__casinh): Reduce finite argument to first
33078 quadrant then set signs of results at the end.
33079 * math/s_casinhf.c (__casinhf): Likewise.
33080 * math/s_casinhl.c (__casinhl): Likewise.
33081 * math/libm-test.inc (casin_test): Add more tests.
33082 (casinh_test): Likewise.
33083 * sysdeps/i386/fpu/libm-test-ulps: Update.
33084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33085
302913e1
SP
330862013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33087
6420d207
SP
33088 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33089
a9e48ab4
SP
33090 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33091
b7837264
SP
33092 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33093 declarations.
33094 (denorm): Likewise.
33095 (__mp_dbl): Likewise.
33096 (__inv): Likewise.
33097
f8af25d2
SP
33098 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33099 and adjust the header comment.
33100
302913e1
SP
33101 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33102 variable name from declaration.
33103
5d7dd1ca
L
331042013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33105
33106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33107 Initialize COMMON_CPUID_INDEX_7 element.
33108 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33109 (CPUID_RTM): Likewise.
33110 (HAS_RTM): Likewise.
33111 (COMMON_CPUID_INDEX_7): New enum.
33112
2f5f40f4
AS
331132013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33114
33115 [BZ #14981]
33116 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33117 size is zero, record memory as freed.
33118
4056f4a0
AJ
331192013-01-03 Andreas Jaeger <aj@suse.de>
33120
33121 * po/ia.po: Add new Interlingua translation.
33122
ab15736f 331232012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33124
33125 * locale/programs/localedef.c: Fix description of '--posix' flag.
33126
568035b7
JM
331272013-01-02 Joseph Myers <joseph@codesourcery.com>
33128
e6898b8d
JM
33129 * NEWS: Update dates in second copyright notice.
33130 * README: Update copyright dates in example.
33131 * manual/libc.texinfo: Update copyright dates.
33132 * scripts/test-installation.pl: Update copyright date in --version
33133 output.
33134
0e2f9562
JM
33135 * hurd/ctty-input.c: Fix copyright notice formatting.
33136 * hurd/ctty-output.c: Likewise.
33137 * hurd/dtable.c: Likewise.
33138 * hurd/hurd-raise.c: Likewise.
33139 * hurd/hurdprio.c: Likewise.
33140 * hurd/msgportdemux.c: Likewise.
33141 * misc/sys/file.h: Likewise.
33142 * misc/sys/ioctl.h: Likewise.
33143 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33144 * sysdeps/mach/hurd/chdir.c: Likewise.
33145 * sysdeps/mach/hurd/fchdir.c: Likewise.
33146 * sysdeps/mach/hurd/rename.c: Likewise.
33147 * sysdeps/mach/hurd/rmdir.c: Likewise.
33148 * sysdeps/mach/hurd/seekdir.c: Likewise.
33149 * sysdeps/mach/hurd/setsid.c: Likewise.
33150 * sysdeps/posix/wait3.c: Likewise.
33151
568035b7
JM
33152 * All files with FSF copyright notices: Update copyright dates
33153 using scripts/update-copyrights.
33154 * intl/plural.c: Regenerated.
33155 * locale/programs/charmap-kw.h: Likewise.
33156 * locale/programs/locfile-kw.h: Likewise.
33157
da08f647
SP
331582013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33159
0f5477af
SP
33160 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33161 four values.
33162
44e0d4c2
SP
33163 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33164 calculation loop and add branch prediction.
33165
4d55b4e5
SP
33166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33167 check access beyond bounds of m1np.
33168
da08f647
SP
33169 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33170 MPTWO.
33171 (__inv): Remove local variable MPTWO to use the global
33172 constant.
33173 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33175 variable MPTWO.
33176 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33177 MP3HALFS static const.
33178
8e051029
DM
331792013-01-01 David S. Miller <davem@davemloft.net>
33180
33181 * po/ca.po: Update from translation team.
33182
f4cf5f2d
JM
331832013-01-01 Joseph Myers <joseph@codesourcery.com>
33184
33185 * scripts/update-copyrights: New file.
33186 * Makeconfig: Reformat copyright notice.
33187 * ctype/ctype.h: Likewise.
33188 * debug/swprintf_chk.c: Likewise.
33189 * elf/dl-cache.c: Likewise.
33190 * elf/dl-debug.c: Likewise.
33191 * elf/dl-object.c: Likewise.
33192 * grp/initgroups.c: Likewise.
33193 * hurd/Makefile: Likewise.
33194 * hurd/hurd/signal.h: Likewise.
33195 * hurd/hurdfault.c: Likewise.
33196 * hurd/hurdioctl.c: Likewise.
33197 * hurd/hurdlookup.c: Likewise.
33198 * hurd/intr-msg.c: Likewise.
33199 * iconv/gconv_open.c: Likewise.
33200 * libio/swprintf.c: Likewise.
33201 * locale/lc-ctype.c: Likewise.
33202 * locale/nl_langinfo.c: Likewise.
33203 * mach/Machrules: Likewise.
33204 * mach/Makefile: Likewise.
33205 * malloc/obstack.h: Likewise.
33206 * manual/Makefile: Likewise.
33207 * manual/tsort.awk: Likewise.
33208 * misc/bits/stab.def: Likewise.
33209 * nis/nis_print_group_entry.c: Likewise.
33210 * nis/nis_table.c: Likewise.
33211 * nis/nss_compat/compat-pwd.c: Likewise.
33212 * nis/nss_compat/compat-spwd.c: Likewise.
33213 * po/Makefile: Likewise.
33214 * posix/fnmatch.c: Likewise.
33215 * posix/regex.h: Likewise.
33216 * resolv/Makefile: Likewise.
33217 * resolv/nss_dns/dns-network.c: Likewise.
33218 * resolv/res_hconf.c: Likewise.
33219 * scripts/gen-sorted.awk: Likewise.
33220 * soft-fp/soft-fp.h: Likewise.
33221 * stdio-common/printf.h: Likewise.
33222 * stdlib/monetary.h: Likewise.
33223 * stdlib/random.c: Likewise.
33224 * stdlib/random_r.c: Likewise.
33225 * sysdeps/generic/Makefile: Likewise.
33226 * sysdeps/gnu/Makefile: Likewise.
33227 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33234 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33237 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33247 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33248 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33249 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33251 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33255 * sysdeps/mach/hurd/errnos.awk: Likewise.
33256 * sysdeps/mach/hurd/fork.c: Likewise.
33257 * sysdeps/mach/hurd/getcwd.c: Likewise.
33258 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33259 * sysdeps/mach/hurd/mmap.c: Likewise.
33260 * sysdeps/mach/hurd/utimes.c: Likewise.
33261 * sysdeps/mach/hurd/xmknod.c: Likewise.
33262 * sysdeps/posix/profil.c: Likewise.
33263 * sysdeps/posix/readdir_r.c: Likewise.
33264 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33265 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33266 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33267 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33269 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33270 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33271 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33273 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33274 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33275 * sysdeps/pthread/lio_listio.c: Likewise.
33276 * sysdeps/sparc/dl-procinfo.h: Likewise.
33277 * sysdeps/unix/i386/sysdep.S: Likewise.
33278 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33279 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33280 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33281 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33283 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33284 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33285 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33286 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33287 * sysdeps/wordsize-32/divdi3.c: Likewise.
33288 * time/sys/time.h: Likewise.
33289 * wcsmbs/Makefile: Likewise.
33290
0549fbba
DM
332912013-01-01 David S. Miller <davem@davemloft.net>
33292
a141f1a7
DM
33293 * po/fr.po: Update from translation team.
33294
0549fbba
DM
33295 * catgets/gencat.c: Update copyright year.
33296 * csu/version.c: Likewise.
33297 * debug/catchsegv.sh: Likewise.
33298 * debug/pcprofiledump.c: Likewise.
33299 * debug/xtrace.sh: Likewise.
33300 * elf/ldconfig.c: Likewise.
33301 * elf/ldd.bash.in: Likewise.
33302 * elf/pldd.c: Likewise.
33303 * elf/sotruss.ksh: Likewise.
33304 * elf/sprof.c: Likewise.
33305 * iconv/iconv_prog.c: Likewise.
33306 * iconv/iconvconfig.c: Likewise.
33307 * locale/programs/locale.c: Likewise.
33308 * locale/programs/localedef.c: Likewise.
33309 * login/programs/pt_chown.c: Likewise.
33310 * malloc/memusage.sh: Likewise.
33311 * malloc/memusagestat.c: Likewise.
33312 * malloc/mtrace.pl: Likewise.
33313 * nscd/nscd.c: Likewise.
33314 * nss/getent.c: Likewise.
33315 * nss/makedb.c: Likewise.
33316 * posix/getconf.c: Likewise.
33317
18ea052c
SP
333182012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33319
33320 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33321 numbers.
33322
9c89fca6
MF
333232012-12-30 Mike Frysinger <vapier@gentoo.org>
33324
33325 * math/bits/mathcalls.h (modf): Use __nonnull.
33326
085ec079
SP
333272012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33328
33329 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33330 (split): Use macro CN instead of the bare value.
33331 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33332 could be used.
33333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33334 instead of the bare value.
33335 (power1): Likewise.
33336
6d9f97e1
SP
333372012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33338
d63f73be
SP
33339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33340 __ATAN_TWOM.
33341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33342
6d9f97e1
SP
33343 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33344 their values.
33345 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33346 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33347 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33348 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33349
4c4febf5
AJ
333502012-12-28 Andreas Jaeger <aj@suse.de>
33351
af5843ef
AJ
33352 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33353 values are from Linux 3.7.
33354
4c4febf5
AJ
33355 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33356 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33357
99136f82
SP
333582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33359
2f216c3c 33360 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33361 TRUE case.
33362
99136f82
SP
33363 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33364 (norm): Likewise.
33365 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33366 variables with preprocessor constants.
33367 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33368 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33369 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33370
7fffbdff
BH
333712012-12-27 Bruno Haible <bruno@clisp.org>
33372
33373 [BZ #14317]
33374 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33375 only if needed.
33376
b76eb5f0
SP
333772012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33378
31a7fe5c
SP
33379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33380 and use variable directly.
33381 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33382
b76eb5f0
SP
33383 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33384 MPONE.
33385 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33387 variable MPONE.
33388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33390 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33391 include directive. Remove local variable MPONE.
33392 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33395
2c8bfe7d
DM
333962012-12-25 David S. Miller <davem@davemloft.net>
33397
33398 * version.h (RELEASE): Set to "development".
33399 (VERSION): Set to "2.17.90".
33400 * NEWS: Add 2.18 section.
33401
147d03b0
DM
334022012-12-21 David S. Miller <davem@davemloft.net>
33403
33404 * po/hr.po: Update from translation team.
33405
a8ebb2b9
AK
334062012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33407
33408 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33409
95b4f1b6
SE
334102012-12-19 Steve Ellcey <sellcey@mips.com>
33411
b2d94007 33412 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33413
cedb2a90
MS
334142012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33415
33416 * manual/contrib.texi (Contributors): Spelling correction.
33417
bbf527d6
DM
334182012-12-15 David S. Miller <davem@davemloft.net>
33419
33420 * po/ru.po: Update from translation team.
33421
bc38c906
DM
334222012-12-13 David S. Miller <davem@davemloft.net>
33423
85429b1a
DM
33424 * NEWS: Mention IFUNC testsuite enhancements.
33425
d283e353
DM
33426 * po/pl.po: Update from translation team.
33427 * po/bg.po: Likewise.
33428
bc38c906
DM
33429 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33430 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33431
a181b0d7
DM
334322012-12-11 David S. Miller <davem@davemloft.net>
33433
4641d57e
DM
33434 * po/sv.po: Update from translation team.
33435
f7bc6495
DM
33436 * po/vi.po: Update from translation team.
33437
6fc9048f
DM
33438 * po/cs.po: Update from translation team.
33439
a181b0d7
DM
33440 * po/de.po: Update from translation team.
33441 * po/eo.po: Likewise.
33442 * po/nl.po: Likewise.
33443
f70bfe80
SP
334442012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33445
3c8b4190
SP
33446 [BZ #14246]
33447 * manual/argp.texi (Argp Helper Functions): Move node to follow
33448 Argp Parsing State.
33449
f70bfe80
SP
33450 [BZ #14872]
33451 * manual/conf.texi (Limits on File System Capacity): Mention if
33452 terminating null is included in the max size.
33453
188f0adf
AJ
334542012-12-10 Andreas Jaeger <aj@suse.de>
33455
33456 * po/cs.po: Update from translation team.
33457
56e7d3ad
SP
334582012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33459
33460 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33461 void pointer and cast to uintptr_t.
33462 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33463 path.
33464 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33465 * sysdeps/s390/s390-64/memset.S: Likewise.
33466
76f2d2ea 334672012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33468
33469 [BZ #14833]
33470 * menual/message.texi (Message Translation): Fix typos.
33471 (Helper programs for gettext): Likewise.
33472
67cbf9a2
AS
334732012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33474
33475 [BZ #14898]
33476 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33477 Change to -1.
33478
682d0e9a
DM
334792012-12-07 David S. Miller <davem@davemloft.net>
33480
33481 * po/libc.pot: Update.
33482
573cd484
RH
334832012-12-07 Richard Henderson <rth@redhat.com>
33484
7e9da188 33485 [BZ #10114]
573cd484
RH
33486 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33487 normal/normal case to before the switch.
33488 (_FP_DIV): Likewise.
33489
e933a943
MF
334902012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33491 Mike Frysinger <vapier@gentoo.org>
33492
33493 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33494 check for __NR_fadvise64_64.
33495
82123268
CM
334962012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33497
33498 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33499 0, not just to plain "0" as a statement.
33500 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33501 with cw.
33502
d9814526
JM
335032012-12-06 Joseph Myers <joseph@codesourcery.com>
33504
33505 * NEWS: Use sourceware.org in Bugzilla URL.
33506
7728c574
SP
335072012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33508
f16946dd
SP
33509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33510 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33511
5704bbcb
SP
33512 * stdio-common/tst-put-error.c (do_test): Add newline to the
33513 padded test to ensure flush.
33514
17aa0516
JL
335152012-12-05 Jeff Law <law@redhat.com>
33516
33517 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33518
363313b5
JM
335192012-12-05 Joseph Myers <joseph@codesourcery.com>
33520
effbd42a
JM
33521 * README: Don't refer to ports add-on as distributed separately.
33522 Mention AArch64 in list of systems supported in the ports add-on.
33523
87600365
JM
33524 * LICENSES: Add more non-FSF copyright and license notices.
33525
a0d7066a
JM
33526 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33527 ((unused)).
33528
66ca5a5b
JM
33529 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33530
363313b5
JM
33531 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33532 10000 as width of padded output.
33533
b37984ad
JM
335342012-12-04 Joseph Myers <joseph@codesourcery.com>
33535
9003570a
JM
33536 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33537
b37984ad
JM
33538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33539 variable LX with __attribute__ ((unused)).
33540 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33541 Likewise.
33542 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33545 with __attribute__ ((unused)).
33546
c8df52ec
DM
335472012-12-04 David S. Miller <davem@abraco.davemloft.net>
33548
33549 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33550
b3b099af
JM
335512012-12-04 Joseph Myers <joseph@codesourcery.com>
33552
c33aa6e3
JM
33553 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33554 (CFLAGS-nldbl-acos.c): New variable.
33555 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33556 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33557 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33558 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33559 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33560 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33561 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33562 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33563 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33564 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33565 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33566 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33567 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33568 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33569 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33570 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33571 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33572 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33573 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33574 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33575 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33576 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33577 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33578 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33579 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33580 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33581 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33582 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33583 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33584 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33585 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33586 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33587 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33588 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33589 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33590 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33591 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33592 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33593 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33594 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33595 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33596 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33597 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33598 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33599 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33600 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33601 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33602 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33603 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33604 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33605 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33606 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33607 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33608 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33609 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33610 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33611 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33612 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33613 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33614 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33615 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33616 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33617 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33618 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33619 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33620 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33621 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33622 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33623 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33624 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33625 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33626 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33627 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33628 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33629 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33630 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33631 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33632 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33633 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33634 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33635 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33636 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33637 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33638 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33639 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33640 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33641 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33642 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33643 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33644 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33645 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33646 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33647 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33648 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33649 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33650 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33651 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33652
20f0018d
JM
33653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33654 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33655
b3b099af
JM
33656 [BZ #14914]
33657 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33658 whole low double instead of just low 47 bits when splitting values
33659 into two parts.
33660
029264d1
AM
336612012-12-03 Allan McRae <allan@archlinux.org>
33662
33663 * manual/stdio.texi (Predefined Printf Handlers): Remove
33664 @hsep and @vsep usage.
33665
c9d6789e
MF
336662012-12-03 Mike Frysinger <vapier@gentoo.org>
33667
33668 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33669 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33670
4b7634a5
JL
336712012-12-03 Jeff Law <law@redhat.com>
33672
33673 * time/sys/time.h (settimeofday): Do not mark TV argument
33674 as __nonnull.
33675
eb6cbd24
MF
336762012-12-01 Mike Frysinger <vapier@gentoo.org>
33677
33678 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33679 when currently writing and seek to current position when not.
33680 * libio/Makefile (tests): Remove bug-fclose1.
33681 * libio/bug-fclose1.c: Delete.
33682
f638872a
JM
336832012-12-01 Joseph Myers <joseph@codesourcery.com>
33684
33685 * manual/arith.texi (feenableexcept): Fix typo.
33686 (fedisableexcept): Likewise.
33687
48085d14
RM
336882012-11-30 Roland McGrath <roland@hack.frob.com>
33689
33690 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33691 second, differently-typed declaration, rather than a cast.
33692
1a538b9f
SP
336932012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33694
33695 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33696 * include/rpc/svc.h: ... here.
33697
d07f2ff1 336982012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33699
33700 [BZ #13013]
33701 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33702 depending n and resplen2 to catch cases where answer
33703 equals answerp2.
33704
c93ec1f0
CD
337052012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33706
33707 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33708 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33709
37db69de
MF
337102012-11-29 Mike Frysinger <vapier@gentoo.org>
33711
33712 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33713
e10c4e4f
RM
337142012-11-29 Roland McGrath <roland@hack.frob.com>
33715
33716 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33717
2af1b328
JL
337182012-11-28 Jeff Law <law@redhat.com>
33719
33720 [BZ #13761]
33721 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33722 dataset_temporary. Track alloca usage into alloca_used.
33723 If dataset is large allocate and release it via malloc/free.
33724
111db5b1
FW
337252012-06-04 Florian Weimer <fweimer@redhat.com>
33726
f06cc227 33727 [BZ #14197]
111db5b1
FW
33728 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33729
dd694abd
DM
337302012-11-28 David S. Miller <davem@davemloft.net>
33731
33732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33733
9984dd01
JM
337342012-11-28 Joseph Myers <joseph@codesourcery.com>
33735
33736 [BZ #14803]
33737 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33738 of pi/2 rounded to nearest to 64 bits.
33739 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33740 nearest to 64 bits.
33741 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33742 bits.
33743
14bc93a9
JL
337442012-11-28 Jeff Law <law@redhat.com>
33745 Martin Osvald <mosvald@redhat.com>
33746
33747 [BZ #14889]
33748 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33749 * sunrpc/svc.c: Include time.h.
33750 (__svc_accept_failed): New function.
33751 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33752 any reason other than EINTR, call __svc_accept_failed.
33753 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33754 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33755
e3c6aa3a
AS
337562012-11-28 Andreas Schwab <schwab@suse.de>
33757
33758 * scripts/abilist.awk: Also handle indirect functions in .opd
33759 section.
33760
1bead169
JM
337612012-11-28 Joseph Myers <joseph@codesourcery.com>
33762
33763 [BZ #13881]
33764 * sysdeps/x86/fpu/powl_helper.c: New file.
33765 * sysdeps/x86/fpu/Makefile: Likewise.
33766 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33767 (p3): New object.
33768 (__ieee754_powl): Use __powl_helper for finite arguments except
33769 integer exponents below 8.
33770 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33771 (p3): New object.
33772 (__ieee754_powl): Use __powl_helper for finite arguments except
33773 integer exponents below 8.
33774 * math/libm-test.inc (pow_test): Add more tests and enable some
33775 previously disabled tests.
33776 * sysdeps/i386/fpu/libm-test-ulps: Update.
33777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33778
0817d63d
SP
337792012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33780 Carlos O'Donell <carlos_odonell@mentor.com>
33781
33782 * nss/makedb.c (is_prime): Assert that input is odd and greater
33783 than 4. Note that fact in a comment too.
33784 (next_prime): Add 4 to input.
33785
de2fd463
SP
337862012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33787
33788 [BZ #11741]
33789 * libio/Makefile (tests): Add test case tst-fwrite-error.
33790 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33791 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33792 * libio/tst-fwrite-error.c: New test case.
33793
c515fb51
L
337942012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33795
33796 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33797 before casting to void *.
33798 * include/libc-internal.h (__pointer_type): New macro.
33799 (__integer_if_pointer_type_sub): Likewise.
33800 (__integer_if_pointer_type): Likewise.
33801 (cast_to_integer): Likewise.
33802 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33803 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33804 before casting to atomic64_t.
33805 (atomic_exchange_acq): Likewise.
33806 (__arch_exchange_and_add_body): Likewise.
33807 (__arch_add_body): Likewise.
33808 (atomic_add_negative): Likewise.
33809 (atomic_add_zero): Likewise.
33810
4cf77aa9
JM
338112012-11-26 Joseph Myers <joseph@codesourcery.com>
33812
33813 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33814 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33815 (add_fdes): Likewise.
33816 (linear_search_fdes): Likewise.
33817 (binary_search_unencoded_fdes): Likewise.
33818
d260b3b4
AS
338192012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33820
33821 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33822
67060746
AC
338232012-11-24 Adam Conrad <adconrad@0c3.net>
33824
33825 * configure.in: Autodetect C++ header directories.
33826 * configure: Regenerated.
33827
800938a1
MF
338282012-11-23 Mike Frysinger <vapier@gentoo.org>
33829
33830 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33831
4e6e34e6
AS
338322012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33833
33834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33835
7c7feb47
JM
338362012-11-22 Joseph Myers <joseph@codesourcery.com>
33837
7184dcdf
JM
33838 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33839 LDBL_MANT_DIG == 106]: Disable some tests.
33840 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33841 Likewise.
33842 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33843 Likewise.
33844
0a42601f
JM
33845 [BZ #14871]
33846 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33847 input for small inputs. Return +/- pi/2 for large inputs.
33848 * math/libm-test.inc (atan_test): Add more tests.
33849
79c9b9fe
JM
33850 * sysdeps/generic/unwind-dw2-fde-glibc.c
33851 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33852 __attribute__ ((unused)).
33853
c60d3bf2
JM
33854 [BZ #14645]
33855 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33856 x * y if x and y are nonzero and z is zero.
33857
ef1e0867
JM
33858 [BZ #14811]
33859 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33860 nonzero exponents with absolute value below 0x1p-117 to +/-
33861 0x1p-117.
33862
1468ded3
JM
33863 [BZ #14869]
33864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33865 up arguments below 2**-450, not just those below 2**-500.
33866 * math/libm-test.inc (hypot_test): Add another test.
33867
8e27e3cc
JM
33868 [BZ #14868]
33869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33870 Return a+b for ratio over 2**120, not 2**60.
33871 * math/libm-test.inc (hypot_test): Add another test.
33872
c9c0279b
JM
33873 * math/libm-test.inc (clog_test): Use
33874 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33875 (clog10_test): Likewise.
33876
7c7feb47
JM
33877 [BZ #6778]
33878 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33879
fff1530e
AS
338802012-11-22 Andreas Schwab <schwab@suse.de>
33881
33882 * sysdeps/i386/fpu/libm-test-ulps: Update.
33883
94558d30
PT
338842012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33885
33886 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33887 printf output with newline.
33888
7e1be741
L
338892012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33890
6bfea974
L
33891 [BZ #14865]
33892 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33893 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33894 -z nodlopen, -z initfirst and -z execstack support.
33895 * configure: Regenerated.
33896
7e1be741
L
33897 * elf/elf.h (DF_1_NODIRECT): New macro.
33898 (DF_1_IGNMULDEF): Likewise.
33899 (DF_1_NOKSYMS): Likewise.
33900 (DF_1_NOHDR): Likewise.
33901 (DF_1_EDITED): Likewise.
33902 (DF_1_NORELOC): Likewise.
33903 (DF_1_SYMINTPOSE): Likewise.
33904 (DF_1_GLOBAUDIT): Likewise.
33905 (DF_1_SINGLETON): Likewise.
33906 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33907 DT_1_SUPPORTED_MASK bits.
33908 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33909
105ce2ce
CD
339102012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33911
33912 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33913
123be9de
TS
339142012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33915
d072f3f7
TS
33916 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33917 macro.
33918
123be9de
TS
33919 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33920 (sendmmsg): Move declarations...
33921 * socket/sys/socket.h: ... here.
33922 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33923 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33924 include it from...
33925 * socket/recvmmsg.c: ... this new file.
33926 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33927 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33928 definition of __sendmmsg hidden.
33929 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33930 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33931 Move ENOSYS stub into and include it from...
33932 * socket/sendmmsg.c: ... this new file.
33933 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33934 (sysdep_routines): Move recvmmsg and sendmmsg...
33935 * socket/Makefile (routines): ... here.
33936 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33937 (GLIBC_PRIVATE): Add __sendmmsg.
33938 * include/sys/socket.h (__sendmmsg): Add declarations.
33939 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33940 sendmmsg.
33941
cf9a5d18
JM
339422012-11-20 Joseph Myers <joseph@codesourcery.com>
33943
33944 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33945 variable I1 with __attribute__ ((unused)).
33946 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33947
ecd4caf9
JM
339482012-11-19 Joseph Myers <joseph@codesourcery.com>
33949
be14d48f
JM
33950 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33951 DUMMY variables with __attribute__ ((unused)).
33952
ecd4caf9
JM
33953 * bits/byteswap.h: Include <bits/types.h>.
33954 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33955
986cab95
PT
339562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33957
33958 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33959 string_t. Do not manually set errno.
33960 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33961 length with __strnlen. Make sure to both set errno and return it on
33962 failure.
33963
6d33cc9d
DM
339642012-11-19 David S. Miller <davem@davemloft.net>
33965
33966 With help from Joseph Myers.
33967 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33968 very large arguments properly.
33969 * math/libm-test.inc (atan_test): New tests.
33970 (atan2_test): New tests.
33971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33973
ee663277
JM
339742012-11-19 Joseph Myers <joseph@codesourcery.com>
33975
877f2d8e
JM
33976 [BZ #14856]
33977 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33978 Define to 3.
33979
116fc08a
JM
33980 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33981 [POSIX] (EADDRNOTAVAIL): Likewise.
33982 [POSIX] (EAFNOSUPPORT): Likewise.
33983 [POSIX] (EALREADY): Likewise.
33984 [POSIX] (ECONNABORTED): Likewise.
33985 [POSIX] (ECONNREFUSED): Likewise.
33986 [POSIX] (ECONNRESET): Likewise.
33987 [POSIX] (EDESTADDRREQ): Likewise.
33988 [POSIX] (EDQUOT): Likewise.
33989 [POSIX] (EHOSTUNREACH): Likewise.
33990 [POSIX] (EIDRM): Likewise.
33991 [POSIX] (EISCONN): Likewise.
33992 [POSIX] (ELOOP): Likewise.
33993 [POSIX] (EMULTIHOP): Likewise.
33994 [POSIX] (ENETDOWN): Likewise.
33995 [POSIX] (ENETUNREACH): Likewise.
33996 [POSIX] (ENOBUFS): Likewise.
33997 [POSIX] (ENODATA): Likewise.
33998 [POSIX] (ENOLINK): Likewise.
33999 [POSIX] (ENOMSG): Likewise.
34000 [POSIX] (ENOPROTOOPT): Likewise.
34001 [POSIX] (ENOSR): Likewise.
34002 [POSIX] (ENOSTR): Likewise.
34003 [POSIX] (ENOTCONN): Likewise.
34004 [POSIX] (ENOTSOCK): Likewise.
34005 [POSIX] (EOPNOTSUPP): Likewise.
34006 [POSIX] (EOVERFLOW): Likewise.
34007 [POSIX] (EPROTO): Likewise.
34008 [POSIX] (EPROTONOSUPPORT): Likewise.
34009 [POSIX] (EPROTOTYPE): Likewise.
34010 [POSIX] (ESTALE): Likewise.
34011 [POSIX] (ETIME): Likewise.
34012 [POSIX] (ETXTBSY): Likewise.
34013 [POSIX] (EWOULDBLOCK): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34015 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34016 [POSIX] (SEEK_CUR): Likewise.
34017 [POSIX] (SEEK_END): Likewise.
34018 [POSIX || UNIX98] (mode_t): Do not require.
34019 [POSIX] (off_t): Likewise.
34020 [POSIX] (pid_t): Likewise.
34021 [POSIX] (sys/stat.h): Do not allow header.
34022 [POSIX] (unistd.h): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34024 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34026 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34027 require.
34028 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34029 sigevent): Specify elements.
34030 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34031 entry.
34032 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34033 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34034
a483863f
JM
34035 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34036 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34037 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34038 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34039 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34040 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34041 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34042 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34044 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34045 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34046 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34047 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34049 Likewise.
34050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34051 Likewise.
34052 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34053 Likewise.
34054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34055 Likewise.
34056 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34057 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34058 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34060 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34061 Specify lower bound on value.
34062 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34063 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34064 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34065 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34066 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34067 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34068 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34069 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34070 value.
34071 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34072 as optional.
34073 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34074 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34075 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34076 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34077 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34078 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34079 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34080 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34081 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34082 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34083 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34084 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34085 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34086 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34087 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34088 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34089 entry.
34090 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34091 optional.
34092 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34093 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34094 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34095 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34096 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34097 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34098 Likewise.
34099 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34100 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34101 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34102 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34103 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34104 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34106 as optional.
34107 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34108 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34110 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34111 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34112 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34113 specify as optional.
34114 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34115 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34116 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34117 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34118 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34119 [XPG3] (NL_LANGMAX): Likewise.
34120 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34121 [POSIX || XPG3] (NL_NMAX): Likewise.
34122 [POSIX || XPG3] (NL_SETMAX): Likewise.
34123 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34124 [XPG3] (NZERO): Likewise.
34125 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34126 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34127 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34128 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34129 (REG_ERANGE): Expect.
34130 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34131 optional-constant.
34132 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34133 Use (void) in prototype.
34134 [POSIX] (*_t): Allow.
34135 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34136 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34137 (WRDE_BADVAL): Expect.
34138
5ba924e3
JM
34139 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34140 expect.
34141 [XPG3 || XPG4] (O_RSYNC): Likewise.
34142 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34143 Likewise.
34144 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34145 [XPG3 || XPG4] (sigqueue): Likewise.
34146 [XPG3 || XPG4] (sigtimedwait): Likewise.
34147 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34148 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34149 [XPG3 || XPG4] (vsnprintf): Likewise.
34150 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34151 Likewise.
34152 [XPG3 || XPG4] (blksize_t): Likewise.
34153 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34154 Likewise.
34155 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34156 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34157 [XPG3 || XPG4] (struct itimerspec): Likewise.
34158 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34159 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34160 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34161 [XPG3 || XPG4] (clockid_t): Likewise.
34162 [XPG3 || XPG4] (timer_t): Likewise.
34163 [XPG3 || XPG4] (clock_getres): Likewise.
34164 [XPG3 || XPG4] (clock_gettime): Likewise.
34165 [XPG3 || XPG4] (clock_settime): Likewise.
34166 [XPG3 || XPG4] (nanosleep): Likewise.
34167 [XPG3 || XPG4] (timer_create): Likewise.
34168 [XPG3 || XPG4] (timer_delete): Likewise.
34169 [XPG3 || XPG4] (timer_gettime): Likewise.
34170 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34171 [XPG3 || XPG4] (timer_settime): Likewise.
34172 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34173 [XPG3 || XPG4] (getlogin_r): Likewise.
34174 [XPG3 || XPG4] (pread): Likewise.
34175 [XPG3 || XPG4] (pthread_atfork): Likewise.
34176 [XPG3 || XPG4] (pwrite): Likewise.
34177
ee663277
JM
34178 [BZ #14835]
34179 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34180 <bits/siginfo.h>.
34181
942caa16
PT
341822012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34183
e19af380
PT
34184 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34185 finalizing MALLSTREAM.
34186
942caa16
PT
34187 * sysdeps/mach/hurd/syncfs.c: New file.
34188
cfde9b46
SP
341892012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34190
34191 [BZ #14719]
34192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34193 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34194 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34195 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34196 (_nss_dns_gethostbyname4_r): Likewise.
34197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34198 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34199
f6da27e5
PH
342002012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34201
34202 [BZ #13763]
34203 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34204
6665d4a2
SM
342052012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34206
1f51ee92
SM
34207 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34208 * elf/cache.c (print_entry): Print ",AArch64" for
34209 FLAG_AARCH64_LIB64
34210
6665d4a2
SM
34211 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34212 * elf/cache.c (print_entry): Print ",hard-float" for
34213 FLAG_ARM_LIBHF.
34214
05b227bd
DM
342152012-11-18 David S. Miller <davem@davemloft.net>
34216
34217 With help from Joseph Myers.
34218 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34219 cutoff to 2**-13.
34220 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34221 cutoff to 2**-25.
34222 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34223 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34224 small.
34225 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34226 * math/libm-test.inc (y0_test): New tests.
34227 (y1_test): New tests.
34228 * sysdeps/i386/fpu/libm-test-ulps: Update.
34229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34231
786b0b67
AS
342322012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34233
34234 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34235 64-bit targets.
34236 * configure: Regenerated.
34237
8e18b86d
DM
342382012-11-17 David S. Miller <davem@davemloft.net>
34239
34240 [BZ #14811]
34241 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34242 nonzero exponents with absolute value below 0x1p-128 to +/-
34243 0x1p-128.
34244
531f1ae0
JM
342452012-11-17 Joseph Myers <joseph@codesourcery.com>
34246
12df29e2
JM
34247 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34248
150dc1a0
JM
34249 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34250
531f1ae0
JM
34251 * posix/getconf-speclist.c: New file.
34252 * posix/posix-envs.def: Likewise.
34253 * posix/confstr.c (START_ENV_GROUP): New macro.
34254 (END_ENV_GROUP): Likewise.
34255 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34256 (KNOWN_PRESENT_ENV_STRING): Likewise.
34257 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34258 (UNKNOWN_ENVIRONMENT): Likewise.
34259 (confstr): Include posix-envs.def instead of handling
34260 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34261 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34262 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34263 (END_ENV_GROUP): Likewise.
34264 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34265 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34266 (UNKNOWN_ENVIRONMENT): Likewise.
34267 (__sysconf): Include posix-envs.def instead of handling associated
34268 cases directly here.
34269 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34270 preprocessing getconf-speclist.c rather than running getconf or
34271 generating empty file.
34272
a93f9cbc
PT
342732012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34274
34275 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34276
d64d9f87
AL
342772012-11-16 Andrej Lajovic <natrij@gmail.com>
34278
34279 [BZ #14672]
34280 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34281
447885eb
DM
342822012-11-16 David S. Miller <davem@davemloft.net>
34283
34284 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34285 smaller than LDBL_EPSILON/2.0L, just return xm1.
34286
bcbf9830
L
342872012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34288
34289 * elf/tst-array1.c (init): Set constructor priority to 1000.
34290 (fini): Set destructor priority to 1000.
34291 * elf/tst-array2dep.c: Likewise.
34292
2b766585
SP
342932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34294
34295 [BZ #11741]
34296 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34297 (_IO_new_file_xsputn): Also return EOF if none of the input
34298 data was written when overflow failed.
34299 * libio/iopadn.c (_IO_padn): Likewise.
34300 * libio/iowpadn.c (_IO_wpadn): Likewise.
34301 * stdio-common/tst-put-error.c: Add copyright notice.
34302 (do_test): Add case for printing padded string.
34303 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34304 _IO_padn returned error.
34305 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34306 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34307 return EOF.
34308
b1848fde
SP
343092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34310
34311 * libio/libioP.h: Add comment note that the references to C++
34312 bits are now obsolete.
34313
2fd89785
MS
343142012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34315
34316 * math/libm-test.inc (check_complex): Use asprintf.
34317
e3ea5409
JM
343182012-11-14 Joseph Myers <joseph@codesourcery.com>
34319
34320 * debug/pcprofiledump.c (print_version): Update copyright year.
34321 * malloc/memusagestat.c (print_version): Likewise.
34322
2e64d265
L
343232012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34324
34325 [BZ #14831]
34326 * elf/Makefile (tests): Add tst-audit8.
34327 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34328 ($(objpfx)tst-audit8.out): New target.
34329 (tst-audit8-ENV): New variable.
34330 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34331 audit if l_reloc_result is NULL.
34332 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34333 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34334 * elf/tst-audit8.c: New file.
34335
c485e4d2
MS
343362012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34337
34338 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34339 * misc/Makefile (CFLAGS-select.c): Define.
34340 * posix/Makefile (CFLAGS-pause.c): Define.
34341
3a0d900a
DM
343422012-11-13 David S. Miller <davem@davemloft.net>
34343
34344 * crypt/Makefile: Move test targets after toplevel Rules
34345 inclusion. Grab any necessary sysdep routines when linking.
34346 * crypt/md5.c (md5_process_block): Remove define, we will always
34347 name it __md5_process_block.
34348 (md5_finish_ctx): Update md5_process_block call.
34349 (md5_stream): Likewise.
34350 (md5_process_bytes): Likewise.
34351 (md5_process_block): Rename to __md5_process_block and move to ...
34352 * crypt/md5-block.c: ... here.
34353 * crypt/sha256.c (sha256_process_block): Move to ...
34354 * crypt/sha256-block.c: ... here.
34355 * crypt/sha512.c (sha512_process_block): Move to ...
34356 * crypt/sha512-block.c: ... here.
34357 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34358 path.
34359 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34360 * sysdeps/sparc/sparc64/multiarch/Makefile
34361 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34362 crypt subdir.
34363 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34364 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34365 multiarch changes.
34366 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34367 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34368 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34369 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34370 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34371 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34372 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34373 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34374 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34375 file.
34376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34377 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34378 file.
34379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34380
8ca89318
JM
343812012-11-13 Joseph Myers <joseph@codesourcery.com>
34382
e27d476a
JM
34383 * timezone/tzselect.ksh: Update from tzcode git revision
34384 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34385 * timezone/zdump.c: Likewise.
34386 * timezone/zic.c: Likewise.
34387 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34388 in TZVERSION setting, not $(PKGVERSION).
34389 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34390 REPORT_BUGS_TO settings.
34391
8ca89318
JM
34392 [BZ #14838]
34393 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34394 macro.
34395
47594329
MS
343962012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34397
34398 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34399 detection to immediately after _FP_ROUND().
34400 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34401 bits are 0.
34402
640ac3f1
DM
344032012-11-11 David S. Miller <davem@davemloft.net>
34404
34405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34406 inttypes.h
34407 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34408 __close rather than their public counterparts.
34409
3d2577bb
JM
344102012-11-10 Joseph Myers <joseph@codesourcery.com>
34411
34412 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34413 file.
34414 [UNIX98] (sem_timedwait): Do not expect.
34415 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34416 [XPG4 || UNIX98] (sockatmark): Do not expect.
34417 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34418 (clock_getcpuclockid): Do not expect.
34419 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34420 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34421 Do not expect.
34422 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34423 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34424 [UNIX98] (vwscanf): Likewise.
34425 [UNIX98] (vswscanf): Likewise.
34426
fb1ae1ee
JM
344272012-11-09 Joseph Myers <joseph@codesourcery.com>
34428
9ec6f8bd
JM
34429 * timezone/version.h: Remove file.
34430 * timezone/README: Do not refer to version.h.
34431 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34432 $(objpfx)version.h.
34433 ($(objpfx)zdump.o): Likewise.
c3f81911 34434 ($(objpfx)version.h): New target.
9ec6f8bd 34435
0aa8f8a1
JM
34436 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34437 2012i.
34438 * timezone/README: Don't mention modification to tzselect.ksh.
34439 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34440 work on unmodified tzselect.ksh. Substitute version numbers in
34441 tzselect.ksh.
34442
4e87147f
JM
34443 * Makefile (format-me): Remove.
34444 (INSTALL): Adjust indentation. Use commands directly instead of
34445 using $(format-me).
34446
8b748aed
JM
34447 * aclocal.m4 (ACX_PKGVERSION): New macro.
34448 (ACX_BUGURL): Likewise.
34449 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34450 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34451 (REPORT_BUGS_TO): Likewise.
34452 * configure: Regenerated.
34453 * config.h.in (PKGVERSION): New macro.
34454 (REPORT_BUGS_TO): Likewise.
34455 * config.make.in (PKGVERSION): New variable.
34456 (PKGVERSION_TEXI): Likewise.
34457 (REPORT_BUGS_TO): Likewise.
34458 (REPORT_BUGS_TEXI): Likewise.
34459 * Makefile (format-me): Use -I$(common-objpfx)manual.
34460 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34461 ($(common-objpfx)manual/%): New target.
34462 (manual/%): Remove target.
34463 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34464 (print_version): Use PKGVERSION.
34465 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34466 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34467 and REPORT_BUGS_TO.
34468 ($(objpfx)xtrace): Likewise.
34469 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34470 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34471 (print_version): Use PKGVERSION.
34472 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34473 (do_version): Use PKGVERSION.
34474 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34475 REPORT_BUGS_TO.
34476 (common-ldd-rewrite): Likewise.
34477 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34478 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34479 (print_version): Use PKGVERSION.
34480 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34481 * elf/pldd.c (argp_program_bug_address): Remove variable.
34482 (more_help): New function.
34483 (argp): Use more_help.
34484 (print_version): Use PKGVERSION.
34485 * elf/sln.c (main): Use PKGVERSION.
34486 (usage): Use REPORT_BUGS_TO.
34487 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34488 (top level): Use PKGVERSION.
34489 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34490 (print_version): Use PKGVERSION.
34491 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34492 (print_version): Use PKGVERSION.
34493 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34494 (print_version): Use PKGVERSION.
34495 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34496 (print_version): Use PKGVERSION.
34497 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34498 (print_version): Use PKGVERSION.
34499 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34500 (print_version): Use PKGVERSION.
34501 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34502 and BUGURL.
34503 ($(objpfx)memusage): Likewise.
34504 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34505 (do_version): Use PKGVERSION.
34506 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34507 (print_version): Use PKGVERSION.
34508 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34509 ($PKGVERSION): New variable.
34510 ($REPORT_BUGS_TO): Likewise.
34511 (usage): Use $REPORT_BUGS_TO.
34512 (top level): Use $PKGVERSION.
34513 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34514 ($(objpfx)pkgvers.texi): New rule.
34515 ($(objpfx)stamp-pkgvers): Likewise.
34516 * manual/install.texi: Include pkgvers.texi.
34517 (--with-pkgversion): Document new configure option.
34518 (--with-bugurl): Likewise.
34519 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34520 than necessarily for this particular distribution. Use
34521 REPORT_BUGS_TO for where to report bugs.
34522 * INSTALL: Regenerated.
34523 * manual/libc.texinfo: Include pkgvers.texi.
34524 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34525 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34526 (print_version): Use PKGVERSION.
34527 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34528 (print_version): Use PKGVERSION.
34529 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34530 (print_version): Use PKGVERSION.
34531 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34532 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34533 macro.
34534 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34535 (print_version): Use PKGVERSION.
34536 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34537 (print_version): Use PKGVERSION.
34538 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34539 and PKGVERSION.
34540
92e4b6a9
JM
34541 * timezone/checktab.awk: Update from tzcode 2012i.
34542 * timezone/ialloc.c: Likewise.
34543 * timezone/private.h: Likewise.
34544 * timezone/scheck.c: Likewise.
34545 * timezone/tzfile.h: Likewise.
34546 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34547 (TZVERSION): Hardcode tzcode version number.
34548 * timezone/zdump.c: Update from tzcode 2012i.
34549 * timezone/zic.c: Likewise.
34550 * timezone/version.h: New file.
34551 * timezone/README: Describe version.h. Update upstream location.
34552
9bde902c
JM
34553 [BZ #14824]
34554 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34555 (mktemp): Enable declaration.
34556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34560 Likewise.
34561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34562 Likewise.
34563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34564 Likewise.
34565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34566 Likewise.
34567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34568 Likewise.
34569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34570 Likewise.
34571
fb1ae1ee
JM
34572 [BZ #14821]
34573 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34574 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34575 for copies of such integer values.
34576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34578
2c1adbcb
AJ
345792012-11-09 Andreas Jaeger <aj@suse.de>
34580
34581 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34582 definitions and declarations that are provided by
34583 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34584
d0f8457e
AK
345852012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34586
3a235abb 34587 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34588 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34589 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34590 definition.
34591
57241e26
MS
345922012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34593
34594 * elf/elf.h: Update comment before AArch64 relocations.
34595
60e8270d
DM
345962012-11-07 David S. Miller <davem@davemloft.net>
34597
34598 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34599 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34600 (__start_context): Declare.
34601 (__makecontext_ret): Delete.
34602 (__makecontext): Hook up __start_context instead of
34603 __makecontext_ret.
34604 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34605 (sysdep_routines): Add __start_context when in stdlib.
34606
0fbb0fbc
JM
346072012-11-07 Joseph Myers <joseph@codesourcery.com>
34608
34609 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34610 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34611 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34612 hardcoded "nm".
34613 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34614 (READELF): New variable. Use it instead of hardcoded "readelf".
34615
eb48db7e
L
346162012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34617
34618 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34619 * sysdeps/x86/Makefile: Here.
34620 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34621 * sysdeps/x86/tst-xmmymm.sh: This.
34622
05bcf62a
JM
346232012-11-07 Joseph Myers <joseph@codesourcery.com>
34624
c4b6cf53
JM
34625 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34626 expectations.
34627 [UNIX98] (pthread_barrier_t): Do not expect.
34628 [UNIX98] (pthread_barrierattr_t): Likewise.
34629 [UNIX98] (pthread_spinlock_t): Likewise.
34630 [UNIX98] (pthread_barrier_destroy): Likewise.
34631 [UNIX98] (pthread_barrier_init): Likewise.
34632 [UNIX98] (pthread_barrier_wait): Likewise.
34633 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34634 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34635 [UNIX98] (pthread_barrierattr_init): Likewise.
34636 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34637 [UNIX98] (pthread_getcpuclockid): Likewise.
34638 [UNIX98] (pthread_mutex_timedlock): Likewise.
34639 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34640 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34641 [UNIX98] (pthread_sigmask): Likewise.
34642 [UNIX98] (pthread_spin_destroy): Likewise.
34643 [UNIX98] (pthread_spin_init): Likewise.
34644 [UNIX98] (pthread_spin_lock): Likewise.
34645 [UNIX98] (pthread_spin_trylock): Likewise.
34646 [UNIX98] (pthread_spin_unlock): Likewise.
34647 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34648 Do not expect.
34649 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34650 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34651 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34652 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34653 [XPG3 || XPG4] (pthread_key_t): Likewise.
34654 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34655 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34656 [XPG3 || XPG4] (pthread_once_t): Likewise.
34657 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34658 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34659 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34660 [XPG3 || XPG4] (pthread_t): Likewise.
34661
cbe6e120
JM
34662 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34663 not expect.
34664 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34665
1b126443
JM
34666 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34667 Change function return type to int.
34668
b961a573
JM
34669 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34670 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34671 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34672 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34673 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34674 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34675 [!POSIX] (posix_madvise): Likewise.
34676 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34677 && !UNIX98].
34678 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34679 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34680 (mode_t): Likewise.
34681 (posix_mem_offset): Likewise.
34682 (posix_typed_mem_get_info): Likewise.
34683 (posix_typed_mem_open): Likewise.
34684
9e188909
JM
34685 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34686 Change condition to [XOPEN2K8].
34687
05bcf62a
JM
34688 * conform/conformtest.pl: Preprocess allow-header data with -x c
34689 instead of from stdin.
34690 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34691 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34692 [C99-based standards] (cerfc): Likewise.
34693 [C99-based standards] (cexp2): Likewise.
34694 [C99-based standards] (cexpm1): Likewise.
34695 [C99-based standards] (clog10): Likewise.
34696 [C99-based standards] (clog1p): Likewise.
34697 [C99-based standards] (clog2): Likewise.
34698 [C99-based standards] (clgamma): Likewise.
34699 [C99-based standards] (ctgamma): Likewise.
34700 [C99-based standards] (cerff): Likewise.
34701 [C99-based standards] (cerfcf): Likewise.
34702 [C99-based standards] (cexp2f): Likewise.
34703 [C99-based standards] (cexpm1f): Likewise.
34704 [C99-based standards] (clog10f): Likewise.
34705 [C99-based standards] (clog1pf): Likewise.
34706 [C99-based standards] (clog2f): Likewise.
34707 [C99-based standards] (clgammaf): Likewise.
34708 [C99-based standards] (ctgammaf): Likewise.
34709 [C99-based standards] (cerfl): Likewise.
34710 [C99-based standards] (cerfcl): Likewise.
34711 [C99-based standards] (cexp2l): Likewise.
34712 [C99-based standards] (cexpm1l): Likewise.
34713 [C99-based standards] (clog10l): Likewise.
34714 [C99-based standards] (clog1pl): Likewise.
34715 [C99-based standards] (clog2l): Likewise.
34716 [C99-based standards] (clgammal): Likewise.
34717 [C99-based standards] (ctgammal): Likewise.
34718 * conform/data/inttypes.h-data [C99-based standards]: Include
34719 stdint.h-data. Remove all expectations for stdint.h contents.
34720 [C99-based standards] (PRI*): Do not allow.
34721 [C99-based standards] (SCN*): Likewise.
34722 [C99-based standards] (*_t): Likewise.
34723 [C99-based-standards] (PRId8): Expect macro.
34724 [C99-based-standards] (PRIi8): Likewise.
34725 [C99-based-standards] (PRIo8): Likewise.
34726 [C99-based-standards] (PRIu8): Likewise.
34727 [C99-based-standards] (PRIx8): Likewise.
34728 [C99-based-standards] (PRIX8): Likewise.
34729 [C99-based-standards] (SCNd8): Likewise.
34730 [C99-based-standards] (SCNi8): Likewise.
34731 [C99-based-standards] (SCNo8): Likewise.
34732 [C99-based-standards] (SCNu8): Likewise.
34733 [C99-based-standards] (SCNx8): Likewise.
34734 [C99-based-standards] (PRIdLEAST8): Likewise.
34735 [C99-based-standards] (PRIiLEAST8): Likewise.
34736 [C99-based-standards] (PRIoLEAST8): Likewise.
34737 [C99-based-standards] (PRIuLEAST8): Likewise.
34738 [C99-based-standards] (PRIxLEAST8): Likewise.
34739 [C99-based-standards] (PRIXLEAST8): Likewise.
34740 [C99-based-standards] (SCNdLEAST8): Likewise.
34741 [C99-based-standards] (SCNiLEAST8): Likewise.
34742 [C99-based-standards] (SCNoLEAST8): Likewise.
34743 [C99-based-standards] (SCNuLEAST8): Likewise.
34744 [C99-based-standards] (SCNxLEAST8): Likewise.
34745 [C99-based-standards] (PRIdFAST8): Likewise.
34746 [C99-based-standards] (PRIiFAST8): Likewise.
34747 [C99-based-standards] (PRIoFAST8): Likewise.
34748 [C99-based-standards] (PRIuFAST8): Likewise.
34749 [C99-based-standards] (PRIxFAST8): Likewise.
34750 [C99-based-standards] (PRIXFAST8): Likewise.
34751 [C99-based-standards] (SCNdFAST8): Likewise.
34752 [C99-based-standards] (SCNiFAST8): Likewise.
34753 [C99-based-standards] (SCNoFAST8): Likewise.
34754 [C99-based-standards] (SCNuFAST8): Likewise.
34755 [C99-based-standards] (SCNxFAST8): Likewise.
34756 [C99-based-standards] (PRId16): Likewise.
34757 [C99-based-standards] (PRIi16): Likewise.
34758 [C99-based-standards] (PRIo16): Likewise.
34759 [C99-based-standards] (PRIu16): Likewise.
34760 [C99-based-standards] (PRIx16): Likewise.
34761 [C99-based-standards] (PRIX16): Likewise.
34762 [C99-based-standards] (SCNd16): Likewise.
34763 [C99-based-standards] (SCNi16): Likewise.
34764 [C99-based-standards] (SCNo16): Likewise.
34765 [C99-based-standards] (SCNu16): Likewise.
34766 [C99-based-standards] (SCNx16): Likewise.
34767 [C99-based-standards] (PRIdLEAST16): Likewise.
34768 [C99-based-standards] (PRIiLEAST16): Likewise.
34769 [C99-based-standards] (PRIoLEAST16): Likewise.
34770 [C99-based-standards] (PRIuLEAST16): Likewise.
34771 [C99-based-standards] (PRIxLEAST16): Likewise.
34772 [C99-based-standards] (PRIXLEAST16): Likewise.
34773 [C99-based-standards] (SCNdLEAST16): Likewise.
34774 [C99-based-standards] (SCNiLEAST16): Likewise.
34775 [C99-based-standards] (SCNoLEAST16): Likewise.
34776 [C99-based-standards] (SCNuLEAST16): Likewise.
34777 [C99-based-standards] (SCNxLEAST16): Likewise.
34778 [C99-based-standards] (PRIdFAST16): Likewise.
34779 [C99-based-standards] (PRIiFAST16): Likewise.
34780 [C99-based-standards] (PRIoFAST16): Likewise.
34781 [C99-based-standards] (PRIuFAST16): Likewise.
34782 [C99-based-standards] (PRIxFAST16): Likewise.
34783 [C99-based-standards] (PRIXFAST16): Likewise.
34784 [C99-based-standards] (SCNdFAST16): Likewise.
34785 [C99-based-standards] (SCNiFAST16): Likewise.
34786 [C99-based-standards] (SCNoFAST16): Likewise.
34787 [C99-based-standards] (SCNuFAST16): Likewise.
34788 [C99-based-standards] (SCNxFAST16): Likewise.
34789 [C99-based-standards] (PRId32): Likewise.
34790 [C99-based-standards] (PRIi32): Likewise.
34791 [C99-based-standards] (PRIo32): Likewise.
34792 [C99-based-standards] (PRIu32): Likewise.
34793 [C99-based-standards] (PRIx32): Likewise.
34794 [C99-based-standards] (PRIX32): Likewise.
34795 [C99-based-standards] (SCNd32): Likewise.
34796 [C99-based-standards] (SCNi32): Likewise.
34797 [C99-based-standards] (SCNo32): Likewise.
34798 [C99-based-standards] (SCNu32): Likewise.
34799 [C99-based-standards] (SCNx32): Likewise.
34800 [C99-based-standards] (PRIdLEAST32): Likewise.
34801 [C99-based-standards] (PRIiLEAST32): Likewise.
34802 [C99-based-standards] (PRIoLEAST32): Likewise.
34803 [C99-based-standards] (PRIuLEAST32): Likewise.
34804 [C99-based-standards] (PRIxLEAST32): Likewise.
34805 [C99-based-standards] (PRIXLEAST32): Likewise.
34806 [C99-based-standards] (SCNdLEAST32): Likewise.
34807 [C99-based-standards] (SCNiLEAST32): Likewise.
34808 [C99-based-standards] (SCNoLEAST32): Likewise.
34809 [C99-based-standards] (SCNuLEAST32): Likewise.
34810 [C99-based-standards] (SCNxLEAST32): Likewise.
34811 [C99-based-standards] (PRIdFAST32): Likewise.
34812 [C99-based-standards] (PRIiFAST32): Likewise.
34813 [C99-based-standards] (PRIoFAST32): Likewise.
34814 [C99-based-standards] (PRIuFAST32): Likewise.
34815 [C99-based-standards] (PRIxFAST32): Likewise.
34816 [C99-based-standards] (PRIXFAST32): Likewise.
34817 [C99-based-standards] (SCNdFAST32): Likewise.
34818 [C99-based-standards] (SCNiFAST32): Likewise.
34819 [C99-based-standards] (SCNoFAST32): Likewise.
34820 [C99-based-standards] (SCNuFAST32): Likewise.
34821 [C99-based-standards] (SCNxFAST32): Likewise.
34822 [C99-based-standards] (PRId64): Likewise.
34823 [C99-based-standards] (PRIi64): Likewise.
34824 [C99-based-standards] (PRIo64): Likewise.
34825 [C99-based-standards] (PRIu64): Likewise.
34826 [C99-based-standards] (PRIx64): Likewise.
34827 [C99-based-standards] (PRIX64): Likewise.
34828 [C99-based-standards] (SCNd64): Likewise.
34829 [C99-based-standards] (SCNi64): Likewise.
34830 [C99-based-standards] (SCNo64): Likewise.
34831 [C99-based-standards] (SCNu64): Likewise.
34832 [C99-based-standards] (SCNx64): Likewise.
34833 [C99-based-standards] (PRIdLEAST64): Likewise.
34834 [C99-based-standards] (PRIiLEAST64): Likewise.
34835 [C99-based-standards] (PRIoLEAST64): Likewise.
34836 [C99-based-standards] (PRIuLEAST64): Likewise.
34837 [C99-based-standards] (PRIxLEAST64): Likewise.
34838 [C99-based-standards] (PRIXLEAST64): Likewise.
34839 [C99-based-standards] (SCNdLEAST64): Likewise.
34840 [C99-based-standards] (SCNiLEAST64): Likewise.
34841 [C99-based-standards] (SCNoLEAST64): Likewise.
34842 [C99-based-standards] (SCNuLEAST64): Likewise.
34843 [C99-based-standards] (SCNxLEAST64): Likewise.
34844 [C99-based-standards] (PRIdFAST64): Likewise.
34845 [C99-based-standards] (PRIiFAST64): Likewise.
34846 [C99-based-standards] (PRIoFAST64): Likewise.
34847 [C99-based-standards] (PRIuFAST64): Likewise.
34848 [C99-based-standards] (PRIxFAST64): Likewise.
34849 [C99-based-standards] (PRIXFAST64): Likewise.
34850 [C99-based-standards] (SCNdFAST64): Likewise.
34851 [C99-based-standards] (SCNiFAST64): Likewise.
34852 [C99-based-standards] (SCNoFAST64): Likewise.
34853 [C99-based-standards] (SCNuFAST64): Likewise.
34854 [C99-based-standards] (SCNxFAST64): Likewise.
34855 [C99-based-standards] (PRIdMAX): Likewise.
34856 [C99-based-standards] (PRIiMAX): Likewise.
34857 [C99-based-standards] (PRIoMAX): Likewise.
34858 [C99-based-standards] (PRIuMAX): Likewise.
34859 [C99-based-standards] (PRIxMAX): Likewise.
34860 [C99-based-standards] (PRIXMAX): Likewise.
34861 [C99-based-standards] (SCNdMAX): Likewise.
34862 [C99-based-standards] (SCNiMAX): Likewise.
34863 [C99-based-standards] (SCNoMAX): Likewise.
34864 [C99-based-standards] (SCNuMAX): Likewise.
34865 [C99-based-standards] (SCNxMAX): Likewise.
34866 [C99-based-standards] (PRIdPTR): Likewise.
34867 [C99-based-standards] (PRIiPTR): Likewise.
34868 [C99-based-standards] (PRIoPTR): Likewise.
34869 [C99-based-standards] (PRIuPTR): Likewise.
34870 [C99-based-standards] (PRIxPTR): Likewise.
34871 [C99-based-standards] (PRIXPTR): Likewise.
34872 [C99-based-standards] (SCNdPTR): Likewise.
34873 [C99-based-standards] (SCNiPTR): Likewise.
34874 [C99-based-standards] (SCNoPTR): Likewise.
34875 [C99-based-standards] (SCNuPTR): Likewise.
34876 [C99-based-standards] (SCNxPTR): Likewise.
34877 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34878 allow.
34879 * conform/data/stdint.h-data: Update comments to clarify
34880 requirements.
34881 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34882 type.
34883 [C99-based standards] (INT8_MAX): Likewise.
34884 [C99-based standards] (INT16_MIN): Likewise.
34885 [C99-based standards] (INT16_MAX): Likewise.
34886 [C99-based standards] (INT32_MIN): Likewise.
34887 [C99-based standards] (INT32_MAX): Likewise.
34888 [C99-based standards] (INT64_MIN): Likewise.
34889 [C99-based standards] (INT64_MAX): Likewise.
34890 [C99-based standards] (UINT8_MAX): Likewise.
34891 [C99-based standards] (UINT16_MAX): Likewise.
34892 [C99-based standards] (UINT32_MAX): Likewise.
34893 [C99-based standards] (UINT64_MAX): Likewise.
34894 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34895 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34896 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34897 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34898 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34899 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34900 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34901 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34902 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34903 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34904 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34905 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34906 [C99-based standards] (INT_FAST8_MIN): Likewise.
34907 [C99-based standards] (INT_FAST8_MAX): Likewise.
34908 [C99-based standards] (INT_FAST16_MIN): Likewise.
34909 [C99-based standards] (INT_FAST16_MAX): Likewise.
34910 [C99-based standards] (INT_FAST32_MIN): Likewise.
34911 [C99-based standards] (INT_FAST32_MAX): Likewise.
34912 [C99-based standards] (INT_FAST64_MIN): Likewise.
34913 [C99-based standards] (INT_FAST64_MAX): Likewise.
34914 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34915 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34916 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34917 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34918 [C99-based standards] (INTPTR_MIN): Likewise.
34919 [C99-based standards] (INTPTR_MAX): Likewise.
34920 [C99-based standards] (UINTPTR_MAX): Likewise.
34921 [C99-based standards] (INTMAX_MIN): Likewise.
34922 [C99-based standards] (INTMAX_MAX): Likewise.
34923 [C99-based standards] (UINTMAX_MAX): Likewise.
34924 [C99-based standards] (PTRDIFF_MIN): Likewise.
34925 [C99-based standards] (PTRDIFF_MAX): Likewise.
34926 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34927 [C99-based standards] (SIZE_MAX): Likewise.
34928 [C99-based standards] (WCHAR_MAX): Likewise.
34929 [C99-based standards] (WINT_MAX): Likewise.
34930 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34931 constraint on value.
34932 [C99-based standards] (WCHAR_MIN): Likewise.
34933 [C99-based standards] (WINT_MIN): Likewise.
34934 [C99-based standards] (*_t): Allow.
34935 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34936 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34937 Include math.h-data and complex.h-data. Remove all expectations
34938 of math.h and complex.h contents.
34939 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34940 at end of line.
34941 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34942 (struct tm): Expect tag.
34943 [C99-based-standards] (wcstof): Expect function.
34944 [C99-based-standards] (wcstold): Likewise.
34945 [C99-based-standards] (wcstoll): Likewise.
34946 [C99-based-standards] (wcstoull): Likewise.
34947 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34948 macro-int-constant. Specify type.
34949 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34950 constraint on value.
34951 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34952 Specify type.
34953 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34954 Specify value.
34955 [ISO C standards]: Do not allow headers.
34956 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34957 wcs[abcdefghijklmnopqrstuvwxyz]*.
34958 [ISO C standards] (*_t): Do not allow.
34959 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34960 Expect function.
34961 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34962 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34963 Specify type.
34964 [ISO C standards]: Do not allow headers.
34965 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34966 is[abcdefghijklmnopqrstuvwxyz]*.
34967 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34968 to[abcdefghijklmnopqrstuvwxyz]*.
34969 [ISO C standards] (*_t): Do not allow.
34970 * conform/data/stdalign.h-data: New file.
34971 * conform/data/stdbool.h-data: Likewise.
34972 * conform/data/stdnoreturn.h-data: Likewise.
34973
7514feb8
RM
349742012-11-07 Roland McGrath <roland@hack.frob.com>
34975
34976 [BZ #14815]
34977 * manual/filesys.texi (Directory Entries): Typo fix.
34978 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34979
19b2ecfc
MS
349802012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34981
34982 * elf/elf.h (EM_AARCH64): New macro.
34983 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34984 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34985 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34986 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34987 (R_AARCH64_TLSDESC): Likewise.
34988 (NT_ARM_TLS): Likewise.
34989 (NT_ARM_HW_BREAK): Likewise.
34990 (NT_ARM_HW_WATCH): Likewise.
34991
60e235ee
JM
349922012-11-07 Joseph Myers <joseph@codesourcery.com>
34993
34994 [BZ #14811]
34995 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34996 (__ieee754_powl): Saturate nonzero exponents with absolute value
34997 below 0x1p-79 to +/- 0x1p-79.
34998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34999 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35000 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35001 nonzero exponents with absolute value below 0x1p-32 to +/-
35002 0x1p-32.
35003 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35004 (__ieee754_powl): Saturate nonzero exponents with absolute value
35005 below 0x1p-79 to +/- 0x1p-79.
35006 * math/libm-test.inc (pow_test): Add more tests.
35007
0ab234b7
AK
350082012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35009
35010 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35011 _dl_s390_cap_flags with kernel. Increase string length.
35012 (_dl_s390_platforms): Add z196 and zEC12.
35013
45832f74
JM
350142012-11-07 Joseph Myers <joseph@codesourcery.com>
35015
35016 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35017 Change XOPEN21K to XOPEN2K.
35018
19218757
MK
350192012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35020
35021 * string/memmove.c: Use memcpy when possible.
35022
c5f45721
AJ
350232012-11-06 Andreas Jaeger <aj@suse.de>
35024
35025 * po/eo.po: Update from translation team.
35026
82477c28
JM
350272012-11-06 Joseph Myers <joseph@codesourcery.com>
35028
35029 [BZ #14793]
35030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35031 exponent and small x and y exponents, scale x or y up. Increase
35032 by 2 the exponent used in scaling up.
35033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35035 * math/libm-test.inc (fma_test): Add more tests.
35036 (fma_test_towardzero): Likewise.
35037 (fma_test_downward): Likewise.
35038 (fma_test_upward): Likewise.
35039
99252c8c
JM
350402012-11-05 Joseph Myers <joseph@codesourcery.com>
35041
acfa885f
JM
35042 [BZ #14805]
35043 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35044 fenv_t *.
35045
99252c8c
JM
35046 [BZ #14801]
35047 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35048 namespace for names of struct fields.
35049 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35050 fenv_t fields.
35051 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35052 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35053
d6d98dea
ST
350542012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35055
35056 [BZ #3665]
35057 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35058
e10bb107
TS
350592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35060
35061 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35062 PTR_DEMANGLE.
35063
35064 [BZ #5246]
35065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35066 PTR_DEMANGLE.
35067
a0c2940d
JM
350682012-11-04 Joseph Myers <joseph@codesourcery.com>
35069
35070 [BZ #14797]
35071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35072 definitely overflow as x * y not x * y + z.
35073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35075 * math/libm-test.inc (fma_test): Add more tests.
35076 (fma_test_towardzero): Likewise.
35077 (fma_test_downward): Likewise.
35078 (fma_test_upward): Likewise.
35079
b830319d
TS
350802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35081
35082 [BZ #157]
35083
35084 * include/stub-tag.h: Remove file.
35085 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35086 '#include' of it.
35087 * manual/maint.texi (Porting): Don't reference it.
35088 * Makerules ($(objpfx)stubs): Likewise.
35089 * dirent/closedir.c: Don't include <stub-tag.h>.
35090 * dirent/dirfd.c: Likewise.
35091 * dirent/fdopendir.c: Likewise.
35092 * dirent/getdents.c: Likewise.
35093 * dirent/getdents64.c: Likewise.
35094 * dirent/opendir.c: Likewise.
35095 * dirent/readdir.c: Likewise.
35096 * dirent/readdir64.c: Likewise.
35097 * dirent/readdir64_r.c: Likewise.
35098 * dirent/readdir_r.c: Likewise.
35099 * dirent/rewinddir.c: Likewise.
35100 * dirent/seekdir.c: Likewise.
35101 * dirent/telldir.c: Likewise.
35102 * gmon/profil.c: Likewise.
35103 * grp/setgroups.c: Likewise.
35104 * inet/if_index.c: Likewise.
35105 * io/access.c: Likewise.
35106 * io/chdir.c: Likewise.
35107 * io/chmod.c: Likewise.
35108 * io/chown.c: Likewise.
35109 * io/close.c: Likewise.
35110 * io/dup.c: Likewise.
35111 * io/dup2.c: Likewise.
35112 * io/dup3.c: Likewise.
35113 * io/euidaccess.c: Likewise.
35114 * io/faccessat.c: Likewise.
35115 * io/fchdir.c: Likewise.
35116 * io/fchmod.c: Likewise.
35117 * io/fchmodat.c: Likewise.
35118 * io/fchown.c: Likewise.
35119 * io/fchownat.c: Likewise.
35120 * io/fcntl.c: Likewise.
35121 * io/flock.c: Likewise.
35122 * io/fstatfs.c: Likewise.
35123 * io/fstatfs64.c: Likewise.
35124 * io/fstatvfs.c: Likewise.
35125 * io/fstatvfs64.c: Likewise.
35126 * io/futimens.c: Likewise.
35127 * io/fxstat.c: Likewise.
35128 * io/fxstat64.c: Likewise.
35129 * io/fxstatat.c: Likewise.
35130 * io/fxstatat64.c: Likewise.
35131 * io/getcwd.c: Likewise.
35132 * io/isatty.c: Likewise.
35133 * io/lchmod.c: Likewise.
35134 * io/lchown.c: Likewise.
35135 * io/link.c: Likewise.
35136 * io/linkat.c: Likewise.
35137 * io/lseek.c: Likewise.
35138 * io/lseek64.c: Likewise.
35139 * io/lxstat64.c: Likewise.
35140 * io/mkdir.c: Likewise.
35141 * io/mkdirat.c: Likewise.
35142 * io/mkfifo.c: Likewise.
35143 * io/mkfifoat.c: Likewise.
35144 * io/open.c: Likewise.
35145 * io/open64.c: Likewise.
35146 * io/openat.c: Likewise.
35147 * io/openat64.c: Likewise.
35148 * io/pipe.c: Likewise.
35149 * io/pipe2.c: Likewise.
35150 * io/poll.c: Likewise.
35151 * io/posix_fadvise.c: Likewise.
35152 * io/posix_fadvise64.c: Likewise.
35153 * io/posix_fallocate.c: Likewise.
35154 * io/posix_fallocate64.c: Likewise.
35155 * io/read.c: Likewise.
35156 * io/readlink.c: Likewise.
35157 * io/readlinkat.c: Likewise.
35158 * io/rmdir.c: Likewise.
35159 * io/sendfile.c: Likewise.
35160 * io/sendfile64.c: Likewise.
35161 * io/statfs.c: Likewise.
35162 * io/statfs64.c: Likewise.
35163 * io/statvfs.c: Likewise.
35164 * io/statvfs64.c: Likewise.
35165 * io/symlink.c: Likewise.
35166 * io/symlinkat.c: Likewise.
35167 * io/ttyname.c: Likewise.
35168 * io/ttyname_r.c: Likewise.
35169 * io/umask.c: Likewise.
35170 * io/unlink.c: Likewise.
35171 * io/unlinkat.c: Likewise.
35172 * io/utime.c: Likewise.
35173 * io/utimensat.c: Likewise.
35174 * io/write.c: Likewise.
35175 * io/xmknod.c: Likewise.
35176 * io/xmknodat.c: Likewise.
35177 * io/xstat.c: Likewise.
35178 * io/xstat64.c: Likewise.
35179 * login/getpt.c: Likewise.
35180 * login/grantpt.c: Likewise.
35181 * login/unlockpt.c: Likewise.
35182 * math/e_acoshl.c: Likewise.
35183 * math/e_acosl.c: Likewise.
35184 * math/e_asinl.c: Likewise.
35185 * math/e_atan2l.c: Likewise.
35186 * math/e_atanhl.c: Likewise.
35187 * math/e_coshl.c: Likewise.
35188 * math/e_expl.c: Likewise.
35189 * math/e_fmodl.c: Likewise.
35190 * math/e_gammal_r.c: Likewise.
35191 * math/e_hypotl.c: Likewise.
35192 * math/e_j0l.c: Likewise.
35193 * math/e_j1l.c: Likewise.
35194 * math/e_jnl.c: Likewise.
35195 * math/e_lgammal_r.c: Likewise.
35196 * math/e_log10l.c: Likewise.
35197 * math/e_log2l.c: Likewise.
35198 * math/e_logl.c: Likewise.
35199 * math/e_powl.c: Likewise.
35200 * math/e_rem_pio2l.c: Likewise.
35201 * math/e_sinhl.c: Likewise.
35202 * math/e_sqrtl.c: Likewise.
35203 * math/fclrexcpt.c: Likewise.
35204 * math/fedisblxcpt.c: Likewise.
35205 * math/feenablxcpt.c: Likewise.
35206 * math/fegetenv.c: Likewise.
35207 * math/fegetexcept.c: Likewise.
35208 * math/fegetround.c: Likewise.
35209 * math/feholdexcpt.c: Likewise.
35210 * math/fesetenv.c: Likewise.
35211 * math/fesetround.c: Likewise.
35212 * math/feupdateenv.c: Likewise.
35213 * math/fgetexcptflg.c: Likewise.
35214 * math/fraiseexcpt.c: Likewise.
35215 * math/fsetexcptflg.c: Likewise.
35216 * math/ftestexcept.c: Likewise.
35217 * math/k_cosl.c: Likewise.
35218 * math/k_rem_pio2l.c: Likewise.
35219 * math/k_sinl.c: Likewise.
35220 * math/k_tanl.c: Likewise.
35221 * math/s_asinhl.c: Likewise.
35222 * math/s_atanl.c: Likewise.
35223 * math/s_cbrtl.c: Likewise.
35224 * math/s_erfl.c: Likewise.
35225 * math/s_expm1l.c: Likewise.
35226 * math/s_log1pl.c: Likewise.
35227 * math/s_tanhl.c: Likewise.
35228 * misc/acct.c: Likewise.
35229 * misc/brk.c: Likewise.
35230 * misc/chflags.c: Likewise.
35231 * misc/chroot.c: Likewise.
35232 * misc/fchflags.c: Likewise.
35233 * misc/fgetxattr.c: Likewise.
35234 * misc/flistxattr.c: Likewise.
35235 * misc/fremovexattr.c: Likewise.
35236 * misc/fsetxattr.c: Likewise.
35237 * misc/fsync.c: Likewise.
35238 * misc/ftruncate.c: Likewise.
35239 * misc/futimes.c: Likewise.
35240 * misc/futimesat.c: Likewise.
35241 * misc/getdomain.c: Likewise.
35242 * misc/getdtsz.c: Likewise.
35243 * misc/gethostid.c: Likewise.
35244 * misc/gethostname.c: Likewise.
35245 * misc/getloadavg.c: Likewise.
35246 * misc/getpagesize.c: Likewise.
35247 * misc/getsysstats.c: Likewise.
35248 * misc/getxattr.c: Likewise.
35249 * misc/gtty.c: Likewise.
35250 * misc/ioctl.c: Likewise.
35251 * misc/lgetxattr.c: Likewise.
35252 * misc/listxattr.c: Likewise.
35253 * misc/llistxattr.c: Likewise.
35254 * misc/lremovexattr.c: Likewise.
35255 * misc/lsetxattr.c: Likewise.
35256 * misc/lutimes.c: Likewise.
35257 * misc/madvise.c: Likewise.
35258 * misc/mincore.c: Likewise.
35259 * misc/mlock.c: Likewise.
35260 * misc/mlockall.c: Likewise.
35261 * misc/mmap.c: Likewise.
35262 * misc/mprotect.c: Likewise.
35263 * misc/msync.c: Likewise.
35264 * misc/munlock.c: Likewise.
35265 * misc/munlockall.c: Likewise.
35266 * misc/munmap.c: Likewise.
35267 * misc/preadv.c: Likewise.
35268 * misc/preadv64.c: Likewise.
35269 * misc/ptrace.c: Likewise.
35270 * misc/pwritev.c: Likewise.
35271 * misc/pwritev64.c: Likewise.
35272 * misc/readv.c: Likewise.
35273 * misc/reboot.c: Likewise.
35274 * misc/remap_file_pages.c: Likewise.
35275 * misc/removexattr.c: Likewise.
35276 * misc/revoke.c: Likewise.
35277 * misc/select.c: Likewise.
35278 * misc/setdomain.c: Likewise.
35279 * misc/setegid.c: Likewise.
35280 * misc/seteuid.c: Likewise.
35281 * misc/sethostid.c: Likewise.
35282 * misc/sethostname.c: Likewise.
35283 * misc/setregid.c: Likewise.
35284 * misc/setreuid.c: Likewise.
35285 * misc/setxattr.c: Likewise.
35286 * misc/sstk.c: Likewise.
35287 * misc/stty.c: Likewise.
35288 * misc/swapoff.c: Likewise.
35289 * misc/swapon.c: Likewise.
35290 * misc/sync.c: Likewise.
35291 * misc/syncfs.c: Likewise.
35292 * misc/syscall.c: Likewise.
35293 * misc/truncate.c: Likewise.
35294 * misc/ualarm.c: Likewise.
35295 * misc/usleep.c: Likewise.
35296 * misc/ustat.c: Likewise.
35297 * misc/utimes.c: Likewise.
35298 * misc/vhangup.c: Likewise.
35299 * misc/writev.c: Likewise.
35300 * posix/_exit.c: Likewise.
35301 * posix/alarm.c: Likewise.
35302 * posix/execve.c: Likewise.
35303 * posix/fexecve.c: Likewise.
35304 * posix/fork.c: Likewise.
35305 * posix/fpathconf.c: Likewise.
35306 * posix/getaddrinfo.c: Likewise.
35307 * posix/getegid.c: Likewise.
35308 * posix/geteuid.c: Likewise.
35309 * posix/getgid.c: Likewise.
35310 * posix/getgroups.c: Likewise.
35311 * posix/getlogin.c: Likewise.
35312 * posix/getlogin_r.c: Likewise.
35313 * posix/getpgid.c: Likewise.
35314 * posix/getpid.c: Likewise.
35315 * posix/getppid.c: Likewise.
35316 * posix/getresgid.c: Likewise.
35317 * posix/getresuid.c: Likewise.
35318 * posix/getsid.c: Likewise.
35319 * posix/getuid.c: Likewise.
35320 * posix/glob64.c: Likewise.
35321 * posix/nanosleep.c: Likewise.
35322 * posix/pathconf.c: Likewise.
35323 * posix/pause.c: Likewise.
35324 * posix/posix_madvise.c: Likewise.
35325 * posix/pread.c: Likewise.
35326 * posix/pread64.c: Likewise.
35327 * posix/pwrite.c: Likewise.
35328 * posix/pwrite64.c: Likewise.
35329 * posix/sched_getaffinity.c: Likewise.
35330 * posix/sched_getp.c: Likewise.
35331 * posix/sched_gets.c: Likewise.
35332 * posix/sched_primax.c: Likewise.
35333 * posix/sched_primin.c: Likewise.
35334 * posix/sched_rr_gi.c: Likewise.
35335 * posix/sched_setaffinity.c: Likewise.
35336 * posix/sched_setp.c: Likewise.
35337 * posix/sched_sets.c: Likewise.
35338 * posix/sched_yield.c: Likewise.
35339 * posix/setgid.c: Likewise.
35340 * posix/setlogin.c: Likewise.
35341 * posix/setpgid.c: Likewise.
35342 * posix/setresgid.c: Likewise.
35343 * posix/setresuid.c: Likewise.
35344 * posix/setsid.c: Likewise.
35345 * posix/setuid.c: Likewise.
35346 * posix/sleep.c: Likewise.
35347 * posix/spawni.c: Likewise.
35348 * posix/sysconf.c: Likewise.
35349 * posix/times.c: Likewise.
35350 * posix/wait.c: Likewise.
35351 * posix/wait3.c: Likewise.
35352 * posix/wait4.c: Likewise.
35353 * posix/waitpid.c: Likewise.
35354 * resolv/gai_sigqueue.c: Likewise.
35355 * resource/getpriority.c: Likewise.
35356 * resource/getrlimit.c: Likewise.
35357 * resource/getrusage.c: Likewise.
35358 * resource/nice.c: Likewise.
35359 * resource/setpriority.c: Likewise.
35360 * resource/setrlimit.c: Likewise.
35361 * resource/ulimit.c: Likewise.
35362 * rt/aio_cancel.c: Likewise.
35363 * rt/aio_fsync.c: Likewise.
35364 * rt/aio_read.c: Likewise.
35365 * rt/aio_sigqueue.c: Likewise.
35366 * rt/aio_suspend.c: Likewise.
35367 * rt/aio_write.c: Likewise.
35368 * rt/clock_getres.c: Likewise.
35369 * rt/clock_gettime.c: Likewise.
35370 * rt/clock_nanosleep.c: Likewise.
35371 * rt/clock_settime.c: Likewise.
35372 * rt/lio_listio.c: Likewise.
35373 * rt/mq_close.c: Likewise.
35374 * rt/mq_getattr.c: Likewise.
35375 * rt/mq_notify.c: Likewise.
35376 * rt/mq_open.c: Likewise.
35377 * rt/mq_receive.c: Likewise.
35378 * rt/mq_send.c: Likewise.
35379 * rt/mq_setattr.c: Likewise.
35380 * rt/mq_timedreceive.c: Likewise.
35381 * rt/mq_timedsend.c: Likewise.
35382 * rt/mq_unlink.c: Likewise.
35383 * rt/shm_open.c: Likewise.
35384 * rt/shm_unlink.c: Likewise.
35385 * rt/timer_create.c: Likewise.
35386 * rt/timer_delete.c: Likewise.
35387 * rt/timer_getoverr.c: Likewise.
35388 * rt/timer_gettime.c: Likewise.
35389 * rt/timer_settime.c: Likewise.
35390 * setjmp/__longjmp.c: Likewise.
35391 * setjmp/setjmp.c: Likewise.
35392 * signal/kill.c: Likewise.
35393 * signal/killpg.c: Likewise.
35394 * signal/raise.c: Likewise.
35395 * signal/sigaction.c: Likewise.
35396 * signal/sigaltstack.c: Likewise.
35397 * signal/sigblock.c: Likewise.
35398 * signal/sigignore.c: Likewise.
35399 * signal/sigintr.c: Likewise.
35400 * signal/signal.c: Likewise.
35401 * signal/sigpause.c: Likewise.
35402 * signal/sigpending.c: Likewise.
35403 * signal/sigqueue.c: Likewise.
35404 * signal/sigreturn.c: Likewise.
35405 * signal/sigset.c: Likewise.
35406 * signal/sigsetmask.c: Likewise.
35407 * signal/sigstack.c: Likewise.
35408 * signal/sigsuspend.c: Likewise.
35409 * signal/sigtimedwait.c: Likewise.
35410 * signal/sigvec.c: Likewise.
35411 * signal/sigwait.c: Likewise.
35412 * signal/sigwaitinfo.c: Likewise.
35413 * signal/sysv_signal.c: Likewise.
35414 * socket/accept.c: Likewise.
35415 * socket/accept4.c: Likewise.
35416 * socket/bind.c: Likewise.
35417 * socket/connect.c: Likewise.
35418 * socket/getpeername.c: Likewise.
35419 * socket/getsockname.c: Likewise.
35420 * socket/getsockopt.c: Likewise.
35421 * socket/isfdtype.c: Likewise.
35422 * socket/listen.c: Likewise.
35423 * socket/recv.c: Likewise.
35424 * socket/recvfrom.c: Likewise.
35425 * socket/recvmsg.c: Likewise.
35426 * socket/send.c: Likewise.
35427 * socket/sendmsg.c: Likewise.
35428 * socket/sendto.c: Likewise.
35429 * socket/setsockopt.c: Likewise.
35430 * socket/shutdown.c: Likewise.
35431 * socket/sockatmark.c: Likewise.
35432 * socket/socket.c: Likewise.
35433 * socket/socketpair.c: Likewise.
35434 * stdio-common/ctermid.c: Likewise.
35435 * stdio-common/cuserid.c: Likewise.
35436 * stdio-common/remove.c: Likewise.
35437 * stdio-common/rename.c: Likewise.
35438 * stdio-common/renameat.c: Likewise.
35439 * stdio-common/tempname.c: Likewise.
35440 * stdlib/getcontext.c: Likewise.
35441 * stdlib/makecontext.c: Likewise.
35442 * stdlib/setcontext.c: Likewise.
35443 * stdlib/swapcontext.c: Likewise.
35444 * stdlib/system.c: Likewise.
35445 * streams/fattach.c: Likewise.
35446 * streams/fdetach.c: Likewise.
35447 * streams/getmsg.c: Likewise.
35448 * streams/getpmsg.c: Likewise.
35449 * streams/putmsg.c: Likewise.
35450 * streams/putpmsg.c: Likewise.
35451 * sysdeps/unix/bsd/getpt.c: Likewise.
35452 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35453 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35454 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35456 Likewise.
35457 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35459 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35460 * sysvipc/msgctl.c: Likewise.
35461 * sysvipc/msgget.c: Likewise.
35462 * sysvipc/msgrcv.c: Likewise.
35463 * sysvipc/msgsnd.c: Likewise.
35464 * sysvipc/semctl.c: Likewise.
35465 * sysvipc/semget.c: Likewise.
35466 * sysvipc/semop.c: Likewise.
35467 * sysvipc/semtimedop.c: Likewise.
35468 * sysvipc/shmat.c: Likewise.
35469 * sysvipc/shmctl.c: Likewise.
35470 * sysvipc/shmdt.c: Likewise.
35471 * sysvipc/shmget.c: Likewise.
35472 * termios/tcdrain.c: Likewise.
35473 * termios/tcflow.c: Likewise.
35474 * termios/tcflush.c: Likewise.
35475 * termios/tcgetattr.c: Likewise.
35476 * termios/tcgetpgrp.c: Likewise.
35477 * termios/tcsendbrk.c: Likewise.
35478 * termios/tcsetattr.c: Likewise.
35479 * termios/tcsetpgrp.c: Likewise.
35480 * time/adjtime.c: Likewise.
35481 * time/clock.c: Likewise.
35482 * time/getitimer.c: Likewise.
35483 * time/gettimeofday.c: Likewise.
35484 * time/setitimer.c: Likewise.
35485 * time/settimeofday.c: Likewise.
35486 * time/stime.c: Likewise.
35487 * time/time.c: Likewise.
35488
354892012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35490
a20492cf
PT
35491 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35492 /usr/old/bin.
35493
72e182e3
PT
35494 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35495 instead of spaces.
35496 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35497
fbeafede
JM
354982012-11-03 Joseph Myers <joseph@codesourcery.com>
35499
5b5b04d6
JM
35500 [BZ #14796]
35501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35502 FE_TONEAREST before applying Dekker multiplication and Knuth
35503 addition. Clear inexact exceptions and check for exact zero
35504 results afterwards.
35505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35508 * math/libm-test.inc (fma_test): Add more tests.
35509 (fma_test_towardzero): Likewise.
35510 (fma_test_downward): Likewise.
35511 (fma_test_upward): Likewise.
35512 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35513 function.
35514 (libc_fesetround): New macro.
35515 (libc_fesetroundf): Likewise.
35516 (libc_fesetroundl): Likewise.
35517 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35518 function.
35519 (libc_fesetround_387): Likewise.
35520 (libc_fesetroundf): New macro.
35521 (libc_fesetround): Likewise.
35522 (libc_fesetroundl): Likewise.
35523 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35524 function.
35525 (libc_fesetroundf): New macro.
35526 (libc_fesetround): Likewise.
35527 (libc_fesetroundl): Likewise.
35528 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35529 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35530 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35531 libm_hidden_ver.
35532 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35533 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35534 libm_hidden_def.
35535 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35536 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35537 libm_hidden_ver.
35538 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35539 libm_hidden_def.
35540
fbeafede
JM
35541 [BZ #3439]
35542 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35543 integer constant usable in #if and use that to give value to enum
35544 constant.
35545 (FE_DIVBYZERO): Likewise.
35546 (FE_UNDERFLOW): Likewise.
35547 (FE_OVERFLOW): Likewise.
35548 (FE_INVALID): Likewise.
35549 (FE_INVALID_SNAN): Likewise.
35550 (FE_INVALID_ISI): Likewise.
35551 (FE_INVALID_IDI): Likewise.
35552 (FE_INVALID_ZDZ): Likewise.
35553 (FE_INVALID_IMZ): Likewise.
35554 (FE_INVALID_COMPARE): Likewise.
35555 (FE_INVALID_SOFTWARE): Likewise.
35556 (FE_INVALID_SQRT): Likewise.
35557 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35558 (FE_TONEAREST): Likewise.
35559 (FE_TOWARDZERO): Likewise.
35560 (FE_UPWARD): Likewise.
35561 (FE_DOWNWARD): Likewise.
35562 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35563 (FE_DIVBYZERO): Likewise.
35564 (FE_OVERFLOW): Likewise.
35565 (FE_UNDERFLOW): Likewise.
35566 (FE_INEXACT): Likewise.
35567 (FE_TONEAREST): Likewise.
35568 (FE_DOWNWARD): Likewise.
35569 (FE_UPWARD): Likewise.
35570 (FE_TOWARDZERO): Likewise.
35571 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35572 (FE_UNDERFLOW): Likewise.
35573 (FE_OVERFLOW): Likewise.
35574 (FE_DIVBYZERO): Likewise.
35575 (FE_INVALID): Likewise.
35576 (FE_TONEAREST): Likewise.
35577 (FE_TOWARDZERO): Likewise.
35578 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35579 (FE_OVERFLOW): Likewise.
35580 (FE_UNDERFLOW): Likewise.
35581 (FE_DIVBYZERO): Likewise.
35582 (FE_INEXACT): Likewise.
35583 (FE_TONEAREST): Likewise.
35584 (FE_TOWARDZERO): Likewise.
35585 (FE_UPWARD): Likewise.
35586 (FE_DOWNWARD): Likewise.
35587 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35588 (FE_DIVBYZERO): Likewise.
35589 (FE_OVERFLOW): Likewise.
35590 (FE_UNDERFLOW): Likewise.
35591 (FE_INEXACT): Likewise.
35592 (FE_TONEAREST): Likewise.
35593 (FE_DOWNWARD): Likewise.
35594 (FE_UPWARD): Likewise.
35595 (FE_TOWARDZERO): Likewise.
35596
105ca950
CM
355972012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35598
35599 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35600
a542b389
AS
356012012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35602
35603 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35604 commands. Quote $PWD.
35605 (blacklist_exports): Don't use remove_newlines. Replace "declare
35606 -x" by "export".
35607 (remove_newlines): Remove.
35608
f62c8abc
L
356092012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35610
35611 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35612 * stdlib/stdlib.h (atof): Moved to ...
35613 * include/bits/stdlib-float.h: Here. New file.
35614 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35615 * stdlib/bits/stdlib-float.h: New file.
35616 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35617 -mno-sse -mno-mmx.
35618 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35619 <xmmintrin.h>.
35620
0155d5b2
JM
356212012-11-02 Joseph Myers <joseph@codesourcery.com>
35622
a68d0680
JM
35623 * conform/conformtest.pl (@headers): Add fenv.h.
35624 * conform/data/fenv.h-data: New file.
35625 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35626 include of <math/fenv.h>.
35627
caf7f573
JM
35628 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35629 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35630 && !UNIX98]. Enables tests for XOPEN2K8.
35631 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35632 POSIX2008]: Likewise.
35633
6c073ad6
JM
35634 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35635 (struct rusage): Do not expect type or its members.
35636
0155d5b2
JM
35637 [BZ #3439]
35638 * math/math.h (FP_NAN): Define macro to integer constant usable in
35639 #if and use that to give value to enum constant.
35640 (FP_INFINITE): Likewise.
35641 (FP_ZERO): Likewise.
35642 (FP_SUBNORMAL): Likewise.
35643 (FP_NORMAL): Likewise.
35644
b5dcacb4
AS
356452012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35646
35647 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35648 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35649 arguments.
35650
f7934be8
RM
356512012-11-02 Roland McGrath <roland@hack.frob.com>
35652
35653 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35654 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35655 autoconf-time if not.
35656 * configure.in: Remove AC_PREREQ.
35657
d7d08bde
TMQMF
356582012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35659
35660 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35661 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35662 of the internal implementation.
35663
dcdae19a
JM
356642012-11-02 Joseph Myers <joseph@codesourcery.com>
35665
35666 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35667 except include of <misc/sys/syslog.h>.
35668
d6cffd3e
AS
356692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35670
35671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35672 function returns with a NULL context exit with zero.
35673
b3563932
TMQMF
356742012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35675
35676 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35677
b288a93d
L
356782012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35679
35680 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35681 (run_program_cmd): This.
35682 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35683 (tst_langinfo): New variable. Use it.
35684
a2421a68
SAS
356852012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35686
35687 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35688 floating point opcodes.
35689
6f796e1b
TS
356902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35691
7402596b
TS
35692 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35693 variable.
35694
d0d4f868
TS
35695 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35696
6f796e1b
TS
35697 * sysdeps/mach/hurd/powerpc: Remove directory.
35698 * sysdeps/mach/powerpc: Likewise.
35699
4da224a2
AS
357002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35701
35702 * scripts/check-local-headers.sh: Ignore c++ headers.
35703
341dd673
TS
357042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35705
35706 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35707 __libc_cleanup_region_start argument.
35708
473611b2
JM
357092012-11-01 Joseph Myers <joseph@codesourcery.com>
35710
35711 [BZ #14784]
35712 [BZ #14785]
35713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35714 x * y using scaling, not as x * y + z.
35715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35717 * math/libm-test.inc (fma_test): Add more tests.
35718 (fma_test_towardzero): Likewise.
35719 (fma_test_downward): Likewise.
35720 (fma_test_upward): Likewise.
35721
4078da3d
TS
357222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35723
35724 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35725
903252aa
JM
357262012-10-31 Joseph Myers <joseph@codesourcery.com>
35727
35728 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35729 New variable.
35730
cbc818d0
TS
357312012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35732
35733 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35734
5a03cb1e
AS
357352012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35736
35737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35738 Fix sort order.
35739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35740 Likewise.
35741
90aff2ff
TMQMF
357422012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35743
35744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35745 Fix the order of the list for glibc 2.17.
35746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35747 Likewise.
35748
1818fcb7
AS
357492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35750
35751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35752
ef82f4da
JM
357532012-10-31 Joseph Myers <joseph@codesourcery.com>
35754
16a0e2ec
JM
35755 [BZ #14610]
35756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35757 for low part of x being zero before using __atanl (y).
35758 * math/libm-test.inc (atan2_test): Add another test.
35759
0eb69512
JM
35760 * manual/install.texi (Configuring and compiling): Document
35761 general use of test-wrapper and test-wrapper-env.
35762 * INSTALL: Regenerated.
35763
ef82f4da
JM
35764 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35765 (__fma): Do not extract and scale down low bits on after-rounding
35766 systems when result rounded to normal precision would have normal
35767 exponent.
35768 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35769 (__fmal): Do not extract and scale down low bits on after-rounding
35770 systems when result rounded to normal precision would have normal
35771 exponent.
35772 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35773 (__fmal): Do not extract and scale down low bits on after-rounding
35774 systems when result rounded to normal precision would have normal
35775 exponent.
35776 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35777 macro.
35778 (fma_test): Add more tests.
35779 (fma_test_towardzero): Likewise.
35780 (fma_test_downward): Likewise.
35781 (fma_test_upward): Likewise.
35782
954ef0d9
L
357832012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35784
35785 * sysdeps/i386/tininess.h: Renamed to ...
35786 * sysdeps/x86/tininess.h: This.
35787 * sysdeps/x86_64/tininess.h: Removed.
35788
df61ffb2
JM
357892012-10-30 Joseph Myers <joseph@codesourcery.com>
35790
35791 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35792 input. Use $(build-program-cmd).
35793 ($(objpfx)tst-array1-static.out): Likewise.
35794 ($(objpfx)tst-array2.out): Likewise.
35795 ($(objpfx)tst-array3.out): Likewise.
35796 ($(objpfx)tst-array4.out): Likewise.
35797 ($(objpfx)tst-array5.out): Likewise.
35798 ($(objpfx)tst-array5-static.out): Likewise.
35799
01767843
CM
358002012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35801
47cc1490
CM
35802 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35803 if defined.
35804
01767843
CM
35805 * nss/nsswitch.h (nss_interface_function): Provide new
35806 macro for use with NSS functions.
35807 * grp/initgroups.c: Use new macro.
35808 * nss/getXXbyYY.c: Likewise.
35809 * nss/getXXbyYY_r.c: Likewise.
35810 * nss/getXXent.c: Likewise.
35811 * nss/getXXent_r.c: Likewise.
35812 * sysdeps/posix/getaddrinfo.c: Likewise.
35813
8321aa97
AJ
358142012-10-30 Andreas Jaeger <aj@suse.de>
35815
35816 * po/ru.po: Update Russion translation from translation project.
35817
2a27fd6d
JM
358182012-10-30 Joseph Myers <joseph@codesourcery.com>
35819
8627a232
JM
35820 [BZ #14152]
35821 [BZ #14783]
35822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35823 result and shift together with sticky bit instead of replicating
35824 round-to-nearest rounding.
35825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35827 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35828 missing underflow exceptions.
35829 (fma_test_towardzero): Add more tests.
35830 (fma_test_downward): Likewise.
35831 (fma_test_upward): Likewise.
35832
2a27fd6d
JM
35833 [BZ #14047]
35834 * sysdeps/generic/tininess.h: New file.
35835 * sysdeps/i386/tininess.h: Likewise.
35836 * sysdeps/sh/tininess.h: Likewise.
35837 * sysdeps/x86_64/tininess.h: Likewise.
35838 * stdlib/tst-strtod-underflow.c: Likewise.
35839 * stdlib/tst-tininess.c: Likewise.
35840 * stdlib/strtod_l.c: Include <tininess.h>.
35841 (round_and_return): Do not set errno for exact underflow cases.
35842 Force an underflow exception when setting errno for underflow.
35843 Determine underflow based on rounding to normal precision if
35844 TININESS_AFTER_ROUNDING.
35845 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35846 ERANGE for exact underflow cases.
35847 * stdlib/Makefile (tests): Add tst-tininess and
35848 tst-strtod-underflow.
35849 ($(objpfx)tst-tininess): Use $(link-libm).
35850 ($(objpfx)tst-strtod-underflow): Likewise.
35851
e7170363
AJ
358522012-10-30 Andreas Jaeger <aj@suse.de>
35853
e5088dc6
AJ
35854 [BZ#14767]
35855 * elf/Makefile (tests): Remove conditional for have-initfini-array
35856 since this is now always required and the variable does not exist
35857 anymore.
35858 (tests-static): Likewise.
35859 (modules-names): Likewise.
35860
e7170363 35861 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35862
35863 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35864 merged with constructor/destructor.
35865 (init_array): Likewise.
35866 * elf/tst-array2dep.c (fini_array): Likewise.
35867 (init_array): Likewise.
35868
60457d8a
MF
358692012-10-29 Mike Frysinger <vapier@gentoo.org>
35870
35871 * manual/message.texi: Delete @cartouche tags.
35872
8bece752
PT
358732012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35874
94ce799f
PT
35875 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35876 EOPNOTSUPP.
35877 * sysdeps/mach/hurd/fsync.c: Likewise.
35878
8bece752
PT
35879 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35880 [_POSIX_REALTIME_SIGNALS]: Change condition to
35881 [_POSIX_REALTIME_SIGNALS > 0].
35882
86ebe6b1
AJ
358832012-10-27 Andreas Jaeger <aj@suse.de>
35884
35885 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35886 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35888 [__WORDSIZE != 64]: Likewise.
35889
54399c08
L
358902012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35891
35892 * iconvdata/tst-table.sh: Remove ${SHELL}.
35893 * iconvdata/tst-tables.sh: Likewise.
35894
e2211bed
DM
358952012-10-25 David S. Miller <davem@davemloft.net>
35896
35897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35898 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35899 of strtoull.
35900
f303f97c
DM
35901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35902 ifunc-impl-list.c
35903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35904 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35905 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35906 file.
35907
1e9d84cd
RM
359082012-10-25 Roland McGrath <roland@hack.frob.com>
35909
35910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35911 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35912 __getdirentries.
35913
df381762
JM
359142012-10-25 Joseph Myers <joseph@codesourcery.com>
35915 Jim Blandy <jimb@codesourcery.com>
35916
35917 * scripts/cross-test-ssh.sh: New file.
35918 * manual/install.texi (Configuring and compiling): Document use of
35919 cross-test-ssh.sh.
35920 * INSTALL: Regenerated.
35921
bff64913
PT
359222012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35923
35924 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35925 EOPNOTSUPP.
35926
25fe8932
JM
359272012-10-25 Joseph Myers <joseph@codesourcery.com>
35928
35929 * Makeconfig (run-program-prefix): Fix comment.
35930
cc1290d0
JM
359312012-10-24 Joseph Myers <joseph@codesourcery.com>
35932 Jim Blandy <jimb@codesourcery.com>
35933
35934 * Makeconfig (test-wrapper): New variable,
35935 (test-wrapper-env): Likewise.
35936 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35937 (run-built-tests): Define to yes.
35938 (run-program-prefix): Use $(test-wrapper).
35939 (built-program-cmd): Likewise.
35940 * Rules (make-test-out): Use $(test-wrapper-env) and
35941 $(host-built-program-cmd).
35942 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35943 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35944 tst-pathopt.sh.
35945 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35946 $(test-wrapper-env) to tst-rtld-load-self.sh.
35947 ($(objpfx)order2.out): Use $(test-wrapper).
35948 ($(objpfx)tst-initorder.out): Likewise.
35949 ($(objpfx)tst-initorder2.out): Likewise.
35950 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35951 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35952 (test_wrapper_env): New variable. Use it to run ld.so.
35953 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35954 Use it to run ld.so.
35955 (test_wrapper_env): Likewise.
35956 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35957 $(test-wrapper) to run-iconv-test.sh.
35958 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35959 (ICONV): Use $test_wrapper.
35960 * posix/Makefile ($(objpfx)globtest.out): Pass
35961 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35962 globtest.sh, not $(run-program-prefix).
35963 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35964 (test_wrapper): Likewise.
35965 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35966 set together with run_via_rtld_prefix.
35967 (run_program_prefix): Define in terms of test_wrapper and
35968 run_via_rtld_prefix.
35969
6e6249d0
RM
359702012-10-24 Roland McGrath <roland@hack.frob.com>
35971
35972 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35973 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35974 Targets removed.
35975
35976 [BZ #14743]
35977 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35978 Declare __clock_getres, __clock_gettime, __clock_settime,
35979 __clock_nanosleep, and __clock_getcpuclockid.
35980 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35981 Remove librt_hidden_def (clock_gettime).
35982 * sysdeps/unix/clock_gettime.c: Likewise.
35983 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35984 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35985 * rt/clock_getres.c: Define __clock_getres as an alias.
35986 * sysdeps/posix/clock_getres.c: Likewise.
35987 * rt/clock_settime.c: Define __clock_settime as an alias.
35988 * sysdeps/unix/clock_settime.c: Likewise.
35989 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35990 * sysdeps/unix/clock_nanosleep.c: Likewise.
35991 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35992 * rt/clock-compat.c: New file.
35993 * rt/Makefile (librt-routines): Add clock-compat and move
35994 $(clock-routines) to ...
35995 (routines): ... here, new variable.
35996 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35997 Don't add get_clockfreq here.
35998 * rt/Versions (libc: GLIBC_2.17): New version set.
35999 Add clock_* symbols here.
36000 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36002 (GLIBC_2.17): Add clock_* symbols.
36003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36007 Likewise.
36008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36009 Likewise.
36010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36014 * NEWS: Mention the move.
36015
36016 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36017 Use __open, __read, __close rather than their public counterparts.
36018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36019 (__get_clockfreq_via_cpuinfo): Likewise.
36020 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36021 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36022
36023 * config.h.in (HAVE_IFUNC): New #undef.
36024 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36025 was successful.
36026 * configure: Regenerated.
36027
0cae3f4b
MF
360282012-10-24 Mike Frysinger <vapier@gentoo.org>
36029
36030 * configure.in: Move READELF check to start of file.
36031 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36032 libc_cv_asm_gnu_indirect_function in the process.
36033 * configure: Regenerated.
36034
8175a253
MF
360352012-10-24 Mike Frysinger <vapier@gentoo.org>
36036
36037 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36038 send the output to /dev/null.
36039 (libc_cv_cc_with_libunwind): Likewise.
36040 (libc_cv_as_noexecstack): Likewise.
36041 * configure: Regenerate.
36042
0708a7d1
JM
360432012-10-24 Joseph Myers <joseph@codesourcery.com>
36044
10b40d85
JM
36045 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36046
0708a7d1
JM
36047 * posix/globtest.sh (TMPDIR): Do not set.
36048 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36049 (testout): Likewise.
36050
9fddec1a
AJ
360512012-10-24 Andreas Jaeger <aj@suse.de>
36052
3a8db22f
AJ
36053 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36054 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36055 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36056 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36057 posix_fadvise64, posix_fallocate64.
36058
9fddec1a
AJ
36059 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36060 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36061 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36062 Likewise.
36063 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36064 Likewise.
36065 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36066
36067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36068 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36069 <bits/fcntl-linux.h>.
36070 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36071
36072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36073 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36074 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36075 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36076 [__WORDSIZE != 64]: Likewise.
36077
ebfd1bbd
JM
360782012-10-23 Joseph Myers <joseph@codesourcery.com>
36079
03ac099f
JM
36080 * Makeconfig (run-built-tests): New variable.
36081 * Rules [$(cross-compiling) = yes]: Change condition to
36082 [$(run-built-tests) = no].
36083 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36084 to [$(run-built-tests) = yes].
36085 * elf/Makefile [$(cross-compiling) = no]: Likewise
36086 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36087 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36088 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36089 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36090 * io/Makefile [$(cross-compiling) = no]: Likewise.
36091 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36092 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36093 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36094 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36095 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36096 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36097 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36098 * string/Makefile [$(cross-compiling) = no]: Likewise.
36099
ebfd1bbd
JM
36100 * posix/Makefile ($(objpfx)globtest.out): Pass
36101 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36102 $(rtld-installed-name).
36103 * posix/globtest.sh (elf_objpfx): Remove variable.
36104 (rtld_installed_name): Likewise.
36105 (library_path): Likewise.
36106 (run_program_prefix): New variable. Use for running globtest
36107 binary.
36108
166bca24
JB
361092012-10-23 Jim Blandy <jimb@codesourcery.com>
36110 Joseph Myers <joseph@codesourcery.com>
36111
36112 * Makeconfig (host-built-program-cmd): New variable.
36113 * elf/Makefile (tst-stackguard1-ARGS): Use
36114 $(host-built-program-cmd).
36115 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36116 (tst-spawn-ARGS): Likewise.
36117 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36118
88866099
JM
361192012-10-23 Joseph Myers <joseph@codesourcery.com>
36120 Jim Blandy <jimb@codesourcery.com>
36121
36122 * Makeconfig (run-via-rtld-prefix): New variable.
36123 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36124 (built-program-cmd): Likewise.
36125
b4b4c296
AJ
361262012-10-22 Andreas Jaeger <aj@suse.de>
36127
36128 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36129 __O_RSYNC if it exists, otherwise to O_SYNC.
36130
6fb54a22
JB
361312012-10-22 Jim Blandy <jimb@codesourcery.com>
36132 Joseph Myers <joseph@codesourcery.com>
36133
36134 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36135 /dev/null.
36136 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36137 from /dev/null
36138 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36139 /dev/null.
36140
481b90b9
AJ
361412012-10-22 Andreas Jaeger <aj@suse.de>
36142
2a0e2669
AJ
36143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36144 Define always.
36145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36146
76e38f9a
AJ
36147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36148 bits/fcntl-linux.h.
36149
7cd37b43
AJ
36150 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36151 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36152
481b90b9
AJ
36153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36154 to __O_LARGEFILE.
36155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36156 to __O_LARGEFILE.
36157
aba75984
JB
361582012-10-21 Jim Blandy <jimb@codesourcery.com>
36159 Joseph Myers <joseph@codesourcery.com>
36160
36161 * config.make.in (NM): New variable.
36162
88d4247f
AJ
361632012-10-21 Andreas Jaeger <aj@suse.de>
36164
36165 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36166 definitions and declarations that are provided by
36167 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36168
f2eed205
L
361692012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36170
36171 [BZ #14683]
36172 * elf/Makefile (tests-static): Add tst-leaks1-static.
36173 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36174 ($(objpfx)tst-leaks1-static): New rule.
36175 ($(objpfx)tst-leaks1-static-mem): Likewise.
36176 (tst-leaks1-static-ENV): New macro.
36177 * elf/dl-open.c (dl_open_worker): Check the main application
36178 only if SHARED is defined.
36179 * elf/tst-leaks1-static.c: New file.
36180
335e6931
AJ
361812012-10-20 Andreas Jaeger <aj@suse.de>
36182
36183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36184 generic values for Linux.
36185 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36186 and declarations that are provided by <bits/fcntl-linux.h> and
36187 include <bits/fcntl-linux.h>.
36188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36190
ac5c94d3
RM
361912012-10-20 Roland McGrath <roland@hack.frob.com>
36192
36193 * io/fcntl.h: Move include of <bits/types.h> to the top and
36194 include it unconditionally.
36195
de54b33a
L
361962012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36197
228cfb01
L
36198 * wcsmbs/Makefile (tests-ifunc): New variable.
36199 (tests): Add $(tests-ifunc).
36200 * wcsmbs/test-wcschr-ifunc.c: New file.
36201 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36202 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36203 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36204 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36205 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36206
69f07e5f
L
36207 * string/Makefile (tests-ifunc): New variable.
36208 (tests): Add $(tests-ifunc).
36209 * string/test-memccpy.c (TEST_NAME): New macro.
36210 * string/test-memchr.c (TEST_NAME): Likewise.
36211 * string/test-memcmp.c (TEST_NAME): Likewise.
36212 * string/test-memcpy.c (TEST_NAME): Likewise.
36213 * string/test-memmem.c (TEST_NAME): Likewise.
36214 * string/test-memmove.c (TEST_NAME): Likewise.
36215 * string/test-memset.c (TEST_NAME): Likewise.
36216 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36217 * string/test-stpcpy.c (TEST_NAME): Likewise.
36218 * string/test-stpncpy.c (TEST_NAME): Likewise.
36219 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36220 * string/test-strcasestr.c (TEST_NAME): Likewise.
36221 * string/test-strcat.c (TEST_NAME): Likewise.
36222 * string/test-strchr.c (TEST_NAME): Likewise.
36223 * string/test-strcmp.c(TEST_NAME): Likewise.
36224 * string/test-strcpy.c (TEST_NAME): Likewise.
36225 * string/test-strcspn.c (TEST_NAME): Likewise.
36226 * string/test-strlen.c (TEST_NAME): Likewise.
36227 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36228 * string/test-strncmp.c (TEST_NAME): Likewise.
36229 * string/test-strncpy.c (TEST_NAME): Likewise.
36230 * string/test-strnlen.c (TEST_NAME): Likewise.
36231 * string/test-strpbrk.c (TEST_NAME): Likewise.
36232 * string/test-strrchr.c (TEST_NAME): Likewise.
36233 * string/test-strspn.c (TEST_NAME): Likewise.
36234 * string/test-strstr.c (TEST_NAME): Likewise.
36235 * string/test-bcopy-ifunc.c: New file.
36236 * string/test-bzero-ifunc.c: Likewise.
36237 * string/test-memccpy-ifunc.c: Likewise.
36238 * string/test-memchr-ifunc.c: Likewise.
36239 * string/test-memcmp-ifunc.c: Likewise.
36240 * string/test-memcpy-ifunc.c: Likewise.
36241 * string/test-memmem-ifunc.c: Likewise.
36242 * string/test-memmove-ifunc.c: Likewise.
36243 * string/test-mempcpy-ifunc.c: Likewise.
36244 * string/test-memset-ifunc.c: Likewise.
36245 * string/test-rawmemchr-ifunc.c: Likewise.
36246 * string/test-stpcpy-ifunc.c: Likewise.
36247 * string/test-stpncpy-ifunc.c: Likewise.
36248 * string/test-strcasecmp-ifunc.c: Likewise.
36249 * string/test-strcasestr-ifunc.c: Likewise.
36250 * string/test-strcat-ifunc.c: Likewise.
36251 * string/test-strchr-ifunc.c: Likewise.
36252 * string/test-strchrnul-ifunc.c: Likewise.
36253 * string/test-strcmp-ifunc.c: Likewise.
36254 * string/test-strcpy-ifunc.c: Likewise.
36255 * string/test-strcspn-ifunc.c: Likewise.
36256 * string/test-strlen-ifunc.c: Likewise.
36257 * string/test-strncasecmp-ifunc.c: Likewise.
36258 * string/test-strncat-ifunc.c: Likewise.
36259 * string/test-strncmp-ifunc.c: Likewise.
36260 * string/test-strncpy-ifunc.c: Likewise.
36261 * string/test-strnlen-ifunc.c: Likewise.
36262 * string/test-strpbrk-ifunc.c: Likewise.
36263 * string/test-strrchr-ifunc.c: Likewise.
36264 * string/test-strspn-ifunc.c: Likewise.
36265 * string/test-strstr-ifunc.c: Likewise.
36266
de54b33a
L
36267 * debug/Makefile (tests-ifunc): New variable.
36268 (tests): Add $(tests-ifunc).
36269 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36270 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36271 * debug/test-stpcpy_chk-ifunc.c: New file.
36272 * debug/test-strcpy_chk-ifunc.c: Likewise.
36273
88481c16
SP
362742012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36275
36276 [BZ #13601]
36277 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36278 header is not read in.
36279
135948bd
JM
362802012-10-19 Joseph Myers <joseph@codesourcery.com>
36281
89f1c388
JM
36282 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36283 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36284 directly. Pass built executable to script as
36285 $(built-program-cmd).
36286 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36287 $testprogram without using LD_LIBRARY_PATH and $ldso.
36288
e40a0d21
JM
36289 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36290 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36291 $(rtld-installed-name).
36292 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36293 (rtld_installed_name): Likewise.
36294 (library_path): Likewise.
36295 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36296 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36297 $(run-program-prefix) to tst-tables.sh.
36298 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36299 it to run tst-table-from and tst-table-to.
36300 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36301 Pass it to tst-table.sh.
36302 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36303 $(run-program-prefix) to tst-gettext.sh.
36304 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36305 tst-translit.sh.
36306 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36307 tst-gettext2.sh.
36308 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36309 to run tst-gettext.
36310 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36311 to run tst-gettext2.
36312 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36313 to run tst-translit.
36314 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36315 $(run-program-prefix) to tst-mtrace.sh.
36316 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36317 to run tst-mtrace.
36318 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36319 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36320 $(rtld-installed-name).
36321 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36322 (rtld_installed_name): Likewise.
36323 (run_program_prefix): New variable. Use it to run wordexp-test.
36324
728e272a
JM
36325 * Makeconfig (ARCH): Remove all definitions.
36326 (machine): Likewise.
36327 [ARCH]: Remove conditional code.
36328 [!objdir]: Give error.
36329 [!objdir] (objpfx): Remove.
36330 [!objdir] (common-objpfx): Likewise.
36331 [!objdir] (common-objdir): Likewise.
36332 * configure.in (config_makefile): Remove. Hardcode Makefile in
36333 AC_CONFIG_FILES call.
36334 * configure: Regenerated.
36335
d528cdcf
JM
36336 [BZ #13888]
36337 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36338 or TMPDIR.
36339 (testout): Likewise.
36340
135948bd
JM
36341 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36342 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36343 $(rtld-installed-name).
36344 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36345 (rtld_installed_name): Likwise.
36346 (runit): Remove function.
36347 (run_getconf): New variable, Use it for running getconf binary.
36348
38c78296
L
363492012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36350
36351 [BZ #14716]
36352 * string/test-memmem.c (check_result): New function.
36353 (do_one_test): Use it.
36354 (check1): New function.
36355 (test_main): Use it.
36356
d077f65f
MT
363572012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36358
36359 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36360
ced52c71
JM
363612012-10-18 Joseph Myers <joseph@codesourcery.com>
36362
36363 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36364 (_G_LSEEK64): Likewise.
36365 (_G_MMAP64): Likewise.
36366 (_G_FSTAT64): Likewise.
36367 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36368 (_G_LSEEK64): Likewise.
36369 (_G_MMAP64): Likewise.
36370 (_G_FSTAT64): Likewise.
36371 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36372 unconditional. Call __mmap64 directly.
36373 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36374 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36375 __lseek64 directly.
36376 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36377 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36378 __mmap64 directly.
36379 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36380 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36381 __lseek64 directly.
36382 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36383 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36384 __lseek64 directly.
36385 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36386 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36387 __lseek64 directly.
36388 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36389 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36390 __fxstat64 directly.
36391 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36392 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36393 unconditional.
36394 (freopen64) [!_G_OPEN64]: Remove conditional code.
36395 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36396 unconditional.
36397 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36398 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36399 unconditional.
36400 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36401 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36402 unconditional.
36403 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36404 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36405 unconditional.
36406 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36407 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36408 unconditional.
36409 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36410 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36411 unconditional.
36412 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36413 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36414 unconditional.
36415 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36416
b741de23
SP
364172012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36418
36419 [BZ #12140]
36420 * manual/memory.texi (Malloc Tunable Parameters): Add note
36421 about free list pointers overwriting some perturb bytes.
36422 Wording suggested by Roland McGrath.
36423
f9b9d9c9
JM
364242012-10-17 Joseph Myers <joseph@codesourcery.com>
36425
36426 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36427 (lgamma_test): Likewise.
36428 (tgamma_test): Likewise.
36429
172a631a
FW
364302012-10-16 Florian Weimer <fweimer@redhat.com>
36431
36432 [BZ #14700]
36433 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36434 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36435
e9f37252
MK
364362012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36437
36438 * NEWS: Mention BZ #14716.
36439 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36440 when removing AVAILABLE1_USES_J macro.
36441
d394eb74
L
364422012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36443
36444 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36445 (__bswap_64): __uint64_t for unsigned 64-bit int.
36446
ca38dc17
AS
364472012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36448
36449 * include/string.h (memmem): Declare libc hidden alias.
36450 * string/memmem.c (memmem): Define libc hidden alias.
36451 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36452 __read, __close instead of open, read, close.
36453
9a387d1f
L
364542012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36455
ac49ecaf
L
36456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36457 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36458 global and hidden.
36459 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36460 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36461 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36462 Likewise.
36463 (__rawmemchr_sse2): Likewise.
36464 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36465 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36466 (__strchr_sse2): Likewise.
36467 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36468 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36469 (__strcasecmp_sse2): Likewise.
36470 (__strncasecmp_sse2): Likewise.
36471 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36472 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36473 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36474 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36475 (__strrchr_sse2): Likewise.
36476 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36477 ifunc-impl-list.c.
36478 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36479 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36480 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36481 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36482 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36483 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36484 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36485 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36486 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36487 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36488 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36489 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36490 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36491 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36492 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36493 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36494 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36495 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36496 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36497 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36498 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36499 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36500 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36501 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36502 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36503 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36504 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36505 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36506 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36507 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36508
b090e8ea
L
36509 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36510 global and hidden.
36511 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36512 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36513 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36514 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36515 Likewise.
36516 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36517 Likewise.
36518 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36519 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36520 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36521 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36522 ifunc-impl-list.c.
36523 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36524 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36525 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36526 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36527 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36528 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36529 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36530 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36531 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36532 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36536 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36537 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36539 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36540 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36541 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36542 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36544 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36545 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36546 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36547 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36548 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36549 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36550 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36551 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36552 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36553 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36554 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36555 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36556 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36557 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36558 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36559 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36560 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36561 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36562 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36563 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36564
11dd4af6
L
36565 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36566 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36567 * include/ifunc-impl-list.h: New file.
36568 * misc/ifunc-impl-list.c: Likewise.
36569 * misc/Makefile (routines): Add ifunc-impl-list.
36570 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36571 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36572 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36573 TEST_NAME]: New variables.
11dd4af6
L
36574 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36575 are defined.
36576 (test_init): Call __libc_ifunc_impl_list to initialize
36577 func_list if TEST_IFUNC and TEST_NAME are defined.
36578
9a387d1f
L
36579 * string/Makefile (strop-tests): Add bcopy and bzero.
36580 * string/test-bcopy.c: New file.
36581 * string/test-bzero.c: Likewise.
36582 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36583 defined.
36584 * string/test-memset.c: Support bzero test if TEST_BZERO is
36585 defined.
36586 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36587 __libc_memmove.
36588 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36589 __libc_memset.
36590 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36591 of memset.
36592
472371b9
JM
365932012-10-10 Joseph Myers <joseph@codesourcery.com>
36594
1e4a9536
JM
36595 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36596 * configure: Regenerated.
36597
d173d12e
JM
36598 * Makeconfig (+link-static-before-libc): Don't include
36599 $(link-static-libc).
36600
472371b9
JM
36601 * libio/libio.h (_IO_pos_t): Remove.
36602
89a3ad0b
AO
366032012-10-10 Alexandre Oliva <aoliva@redhat.com>
36604
36605 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36606 McGrath.
36607
e7451425
AO
366082012-10-10 Alexandre Oliva <aoliva@redhat.com>
36609
36610 * crypt/crypt-entry.c: Include fips-private.h.
36611 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36612 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36613 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36614 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36615
4ba74a35
AO
366162012-10-10 Alexandre Oliva <aoliva@redhat.com>
36617
36618 * crypt/crypt-private.h: Include stdbool.h.
36619 (_ufc_setup_salt_r): Return bool.
36620 * crypt/crypt-entry.c: Include errno.h.
36621 (__crypt_r): Return NULL with EINVAL for bad salt.
36622 * crypt/crypt_util.c (bad_for_salt): New.
36623 (_ufc_setup_salt_r): Check that salt is long enough and within
36624 the specified alphabet.
36625 * crypt/badsalttest.c: New file.
36626 * crypt/Makefile (tests): Add it.
36627 ($(objpfx)badsalttest): New.
36628
f96f1242
MK
366292012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36630
36631 * NEWS: Add entry for BZ #14602.
36632
0e8e0c1c
JM
366332012-10-09 Joseph Myers <joseph@codesourcery.com>
36634
36635 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36636 type-generic.
36637 * math/libm-test.inc: Update comment listing what functions and
36638 macros are tested.
36639 (isgreater_test): New function.
36640 (isgreaterequal_test): Likewise.
36641 (isless_test): Likewise.
36642 (islessequal_test): Likewise.
36643 (islessgreater_test): Likewise.
36644 (isunordered_test): Likewise.
36645 (main): Call the new functions.
36646
273edc5e
RM
366472012-10-09 Roland McGrath <roland@hack.frob.com>
36648
b8493de0
RM
36649 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36650 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36651 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36652 * sysdeps/i386/configure: Regenerated.
36653 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36654 * sysdeps/mach/configure: Regenerated.
36655 * sysdeps/mach/hurd/configure: Regenerated.
36656 * sysdeps/powerpc/configure: Regenerated.
36657 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36658 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36659 * sysdeps/s390/s390-32/configure: Regenerated.
36660 * sysdeps/s390/s390-64/configure: Regenerated.
36661 * sysdeps/sh/configure: Regenerated.
36662 * sysdeps/sparc/configure: Regenerated.
36663 * sysdeps/unix/sysv/linux/configure: Regenerated.
36664 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36665 * sysdeps/x86_64/configure: Regenerated.
36666
273edc5e
RM
36667 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36668 defined. Don't check if MAP is NULL.
36669
c8450f70
JM
366702012-10-09 Joseph Myers <joseph@codesourcery.com>
36671
36672 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36673 (_G_stat64): Likewise.
36674 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36675 (_G_stat64): Likewise.
36676 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36677 instead of struct _G_stat64.
36678 * libio/fileops.c (mmap_remap_check): Likewise.
36679 (decide_maybe_mmap): Likewise.
36680 (_IO_new_file_seekoff): Likewise.
36681 (_IO_file_stat): Likewise.
36682 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36683 _G_off64_t.
36684 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36685 instead of struct _G_stat64.
36686 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36687
57e605ba
MK
366882012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36689
36690 [BZ #14602]
36691 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36692 Replace with ...
36693 (CHECK_EOL): New macro.
36694 (two_way_short_needle): Check beginning of haystack for EOL. Use
36695 CHECK_EOL.
36696 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36697 Replace with CHECK_EOL.
36698 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36699 Replace with CHECK_EOL.
36700
ef1bb361
JM
367012012-10-08 Joseph Myers <joseph@codesourcery.com>
36702
36703 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36704 type-generic.
36705 * math/libm-test.inc: Update comment listing what functions and
36706 macros are tested.
36707 (finite_test): New function.
36708 (isinf_test): Likewise.
36709 (isnan_test): Likewise.
36710 (fpclassify_test): Test subnormal input.
36711 (isfinite_test): Likewise.
36712 (isnormal_test): Likewise.
36713 (main): Call the new functions.
36714
55f11534
JN
367152012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36716
36717 [BZ #14660]
36718 * Makerules (%.dynsym): Force C locale when running
36719 $(OBJDUMP) --dynamic-syms.
36720
1ab29350
AS
367212012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36722
36723 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36724 <stdint.h>.
36725
f1ecb7ef
DM
367262012-10-06 David S. Miller <davem@davemloft.net>
36727
36728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36729 upper 32-bits of the length value in %o2 since we use branch-on-register
36730 tests which consider the entire 64-bit register.
36731
5d41d91a
L
367322012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36733
36734 * string/test-strstr.c (check2): Add a test for page boundary.
36735
3baddb72
DM
367362012-10-05 David S. Miller <davem@davemloft.net>
36737
36738 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36739 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36740 file.
36741 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36742 sysdep_routines.
36743 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36744 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36745 and bzero when HWCAP_SPARC_CRYPTO is present.
36746
9cee5585
L
367472012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36748
d7e0dab9
L
36749 [BZ #14602]
36750 * string/test-strstr.c (check2): New function.
36751 (test_main): Call check2.
36752
03759f47
L
36753 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36754 and bug-strchr1.
36755 * string/bug-strcasestr1.c (do_test): Moved to ...
36756 * string/test-strcasestr.c (check1): Here. New function.
36757 (do_one_test): Break out result checking code into ...
36758 (check_result): This. New function.
36759 (do_one_test): Call check_result.
36760 (test_main): Call check1.
36761 * string/bug-strchr1.c (do_test): Moved to ...
36762 * string/test-strchr.c (check1): Here. New function.
36763 (do_one_test): Break out result checking code into ...
36764 (check_result): This. New function.
36765 (do_one_test): Call check_result.
36766 (test_main): Call check1.
36767 * string/bug-strstr1.c (main): Moved to ...
046f153e 36768 * string/test-strstr.c (check1): Here. New function.
03759f47
L
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-strcasestr1.c: Removed.
36774 * string/bug-strchr1.c: Likewise.
36775 * string/bug-strstr1.c: Likewise.
36776
53cea63e
L
36777 * elf/Makefile (dl-routines): Add hwcaps.
36778 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36779 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36780 (_dl_important_hwcaps): Moved to ...
36781 * elf/dl-hwcaps.c: Here. New file.
36782 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36783
9cee5585 36784 [BZ #14557]
bb859b06
L
36785 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36786 if IS_IN_rtld isn't defined.
36787
9cee5585
L
36788 * elf/dl-support.c (_dl_sysinfo_map): New.
36789 Include "get-dynamic-info.h" and "setup-vdso.h".
36790 (_dl_non_dynamic_init): Call setup_vdso.
36791 * elf/dynamic-link.h: Don't include <assert.h>.
36792 (elf_get_dynamic_info): Moved to ...
36793 * elf/get-dynamic-info.h: Here. New file.
36794 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36795 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36796 * elf/setup-vdso.h: Here. New file.
36797 * elf/rtld.c: Include "setup-vdso.h".
36798 (dl_main): Call setup_vdso.
36799
23c31b76
JM
368002012-10-05 Joseph Myers <joseph@codesourcery.com>
36801
28234b07
JM
36802 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36803 creal in comment listing functions tested. List finite, isinf,
36804 isnan, isless, islessequal, isgreater, isgreaterequal,
36805 islessgreater, isunordered, lgamma_r and pow10 as functions and
36806 macros not tested. Mention which functions not tested are aliases
36807 for other functions. Fix typo. Note that signs of NaNs are not
36808 tested.
36809
23c31b76
JM
36810 * scripts/config.guess: Update from config.git.
36811 * scripts/config.sub: Likewise.
36812
9043e228
RM
368132012-10-04 Roland McGrath <roland@hack.frob.com>
36814
36815 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36816 * misc/madvise.c (madvise): Renamed to __madvise.
36817 Make madvise a weak alias.
36818 * include/sys/mman.h: Declare __madvise.
36819 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36820 * sysdeps/unix/syscalls.list
36821 (madvise): Make __madvise the strong name, and madvise a weak alias.
36822 * sysdeps/unix/sysv/linux/syscalls.list
36823 (madvise, mmap): Remove redundant entries.
36824 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36825 * malloc/malloc.c (mtrim): Likewise.
36826 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36827
f57f8055
RM
368282012-10-03 Roland McGrath <roland@hack.frob.com>
36829
36830 * sysdeps/mach/hurd/dl-cache.c: File removed.
36831 * config.h.in (USE_LDCONFIG): New #undef.
36832 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36833 * configure: Regenerated.
36834 * elf/Makefile (dl-routines): Add dl-cache only under
36835 [$(use-ldconfig) = yes].
36836 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36837 cache on [USE_LDCONFIG].
36838 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36839 [USE_LDCONFIG].
36840 * elf/rtld.c (dl_main): Likewise.
36841
5bb0c10a
PT
368422012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36843
36844 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36845 _SC_LEVEL4_CACHE_LINESIZE.
36846
010188c6
RM
368472012-10-03 Roland McGrath <roland@hack.frob.com>
36848
36849 * sysdeps/unix/bsd/confstr.h: File removed.
36850
b6c5ec07
AO
368512012-10-02 Alexandre Oliva <aoliva@redhat.com>
36852
36853 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36854 sys/sdt-config.h.
36855
408223d4
RM
368562012-10-02 Roland McGrath <roland@hack.frob.com>
36857
36858 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36859 Make 'mapoff' field ElfW(Off) rather than off_t.
36860
bb9510dc
DL
368612012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36862
fc997c6e
DL
36863 * nscd/Makefile: Remove nscd-cflags and all its users.
36864 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36865 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36866
bb9510dc
DL
36867 [BZ #10631]
36868 * malloc.c (malloc_printerr): Clarify error message.
36869
05699367
L
368702012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36871
36872 [BZ #14648]
36873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36874 Set bit_FMA_Usable if FMA is supported.
36875 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36876 macro.
36877 (bit_FMA4_Usable): Updated.
36878 (index_FMA_Usable): New macro.
36879 (CPUID_FMA): Likewise
36880 (HAS_FMA): Defined with bit_FMA_Usable.
36881
51367701
RM
368822012-10-01 Roland McGrath <roland@hack.frob.com>
36883
36884 * bits/types.h (__swblk_t): Type removed.
36885 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36886 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36888 (__SWBLK_T_TYPE): Likewise.
36889 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36890 (__SWBLK_T_TYPE): Likewise.
36891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36892 (__SWBLK_T_TYPE): Likewise.
36893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36894 (__SWBLK_T_TYPE): Likewise.
36895
4d57bf63 368962012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36897 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36898
36899 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36900 (xdr_mapname): Use YPMAXMAP as maxsize.
36901 (xdr_peername): Use YPMAXPEER as maxsize.
36902 (xdr_keydat): Use YPAXRECORD as maxsize.
36903 (xdr_valdat): Use YPMAXRECORD as maxsize.
36904
93c65d43
RM
369052012-10-01 Roland McGrath <roland@hack.frob.com>
36906
497a03d6
RM
36907 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36908
93c65d43
RM
36909 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36910 * csu/init-first.c: ... here.
36911 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36912 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36913 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36914 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36915 * sysdeps/i386/init-first.c: File removed.
36916 * sysdeps/sh/init-first.c: File removed.
36917
bec749fd
JM
369182012-10-01 Joseph Myers <joseph@codesourcery.com>
36919
36920 [BZ #14645]
36921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36922 if x * y might underflow to zero and z is zero.
36923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36925 * math/libm-test.inc (min_subnorm_value): New variable.
36926 (fma_test): Add more tests.
36927 (fma_test_towardzero): Likewise.
36928 (fma_test_downward): Likewise
36929 (fma_test_upward): Likewise.
36930 (initialize): Set min_subnorm_value.
36931
8ec5b013
JM
369322012-09-29 Joseph Myers <joseph@codesourcery.com>
36933
36934 [BZ #14638]
36935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36936 0 + 0.
36937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36938 mode for addition resulting in exact zero.
36939 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36941 exact 0 + 0.
36942 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36944 * math/libm-test.inc (fma_test): Add more tests.
36945 (fma_test_towardzero): New function.
36946 (fma_test_downward): Likewise.
36947 (fma_test_upward): Likewise.
36948 (main): Call the new functions.
36949
b1fa802e
DM
369502012-09-28 David S. Miller <davem@davemloft.net>
36951
36952 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36953
d3b9fd9e
RM
369542012-09-28 Roland McGrath <roland@hack.frob.com>
36955
ea4d37b3
RM
36956 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36957 instead of SIGALRM.
36958
ac51c949
RM
36959 * sysdeps/gnu/_G_config.h: Moved to ...
36960 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36961 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36962 * sysdeps/generic/_G_config.h: ... here.
36963
28c195f7
RM
36964 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36965
848917f9
RM
36966 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36967
6bacf05b
RM
36968 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36969 Conditionalize target on [libnss_test1.so-version].
36970
91363dbb
RM
36971 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36972
cc87f7d8
RM
36973 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36974 (elfobjdir): Move out of conditionals.
36975
b1c608fe
RM
36976 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36977 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36978 (__nss_lookup_function): Conditionalize label remove_from_tree on
36979 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36980
1d9a6d96
DM
369812012-09-28 David S. Miller <davem@davemloft.net>
36982
36983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36984 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36985 file.
36986 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36987 sysdep_routines.
36988 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36990 when HWCAP_SPARC_CRYPTO is present.
36991
72581615
PT
369922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36993
36994 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36995
715a900c
JL
369962012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36997
36998 [BZ #6530]
36999 * stdio-common/vfprintf.c (process_string_arg): Revert
37000 2000-07-22 change.
37001
370022011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37003
37004 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37005 for testcase.
37006 * stdio-common/tst-sprintf.c: Include <locale.h>
37007 (main): Test sprintf's handling of incomplete multibyte
37008 characters.
37009
9bac1d86
L
370102012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37011
37012 * elf/dl-runtime.c (VERSYMIDX): Removed.
37013 * elf/dl-version.c (VERSYMIDX): Likewise.
37014 * elf/do-rel.h (VERSYMIDX): Likewise.
37015 (VALIDX): Likewise.
37016 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37017 * elf/rtld.c (VALIDX): Likewise.
37018 (ADDRIDX): Likewise.
9bac1d86
L
37019 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37020 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37021 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37022 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37023 (VALIDX): Likewise.
37024 (ADDRIDX): Likewise.
9bac1d86 37025
b31606c0
PT
370262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37027
37028 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37029
11541177
JL
370302012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37031
37032 [BZ #11438]
37033 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37034 to global scope.
37035 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37036 addresses are in the same scope as 192.0.2/24.
37037 * posix/gai.conf: Document new scope table defaults.
37038
adb26fae
SP
370392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37040
37041 [BZ #5298]
37042 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37043 for ftell. Compute offsets from write pointers instead.
37044 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37045
4573c6b0
SP
370462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37047
37048 [BZ #14543]
37049 * libio/Makefile (tests): New test case tst-fseek.
37050 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37051 combination works in wide mode.
37052 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37053 state when the external buffer state changes.
37054
aa9bbfe6
DM
370552012-09-27 David S. Miller <davem@davemloft.net>
37056
37057 [BZ #14376]
37058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37059 pass reloc->r_addend in as the 'high' argument to
37060 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37061
784421e7
DM
37062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37063
c39bc8b8
PT
370642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37065
37066 * rt/tst-aio2.c: Include <pthread.h>.
37067 * rt/tst-aio3.c: Likewise.
37068
1ccc2399
SE
370692012-09-27 Steve Ellcey <sellcey@mips.com>
37070
37071 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37072
31ed4153
L
370732012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37074
25f5f885
L
37075 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37076 contents on [SHARED].
31ed4153 37077
b7bfe116
MP
370782012-09-26 Marek Polacek <polacek@redhat.com>
37079
37080 [BZ #14530]
37081 [BZ #13741]
37082 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37083 for C++ and GCC <4.3 as well as for non GCC compilers.
37084
43c4edba
MT
370852012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37086
37087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37088
6a1bf82f
RM
370892012-09-25 Roland McGrath <roland@hack.frob.com>
37090
37091 * Makefile.in (all, install): Declare with .PHONY.
37092 Reported by Michael Hope <michael.hope@linaro.org>.
37093
8ad11b9a
TMQMF
370942012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37095
37096 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37097 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37098 system header.
37099 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37100 Likewise.
37101 (sydep_routines): Add the new and the internal functions.
37102 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37103 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37105 (GLIBC_2.17): Add the new function.
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37107 (GLIBC_2.17): Likewise.
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37109 (GLIBC_2.17): Likewise.
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37111 (GLIBC_2.17): Likewise.
37112 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37113
7e2fca8d
AM
371142012-09-25 Alan Modra <amodra@gmail.com>
37115
37116 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37117 Add release barrier before setting once_control to say
37118 initialisation is done. Add hints on lwarx. Use macro in
37119 place of isync.
37120 (clear_once_control): Add release barrier.
37121
b87c4b24
JM
371222012-09-25 Joseph Myers <joseph@codesourcery.com>
37123
d032e0d2
JM
37124 [BZ #13629]
37125 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37126 specially.
37127 * math/s_clog10.c (__clog10): Likewise.
37128 * math/s_clog10f.c (__clog10f): Likewise.
37129 * math/s_clog10l.c (__clog10l): Likewise.
37130 * math/s_clogf.c (__clogf): Likewise.
37131 * math/s_clogl.c (__clogl): Likewise.
37132 * math/Makefile (libm-calls): Add x2y2m1.
37133 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37134 (__x2y2m1): Likewise.
37135 (__x2y2m1l): Likewise.
37136 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37137 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37138 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37139 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37140 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37141 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37142 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37143 * sysdeps/i386/fpu/libm-test-ulps: Update.
37144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37145
b87c4b24
JM
37146 [BZ #14621]
37147 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37148 int as type of variable DEPTH.
37149 (glob): Use size_t instead of int as type of variables NEWCOUNT
37150 and OLD_PATHC.
37151
6d3bf199
LD
371522012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37153
22bf5c17
LD
37154 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37155 Add s_sincosf-sse2.
37156 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37157 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37158 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37159 macros for using routine as __sincosf_ia32.
37160 Use macro for function declaration and weak_alias.
37161 * sysdeps/i386/fpu/libm-test-ulps: Update.
37162
37163 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37165
37166 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37167 subnormal argument.
37168 * math/s_cexpf.c (__cexpf): Likewise.
37169 * math/s_csinf.c (__csinf): Likewise.
37170 * math/s_csinhf.c (__csinhf): Likewise.
37171 * math/s_ctanf.c (__ctanf): Likewise.
37172 * math/s_ctanhf.c (__ctanhf): Likewise.
37173 * math/s_ccosh.c (__ccoshf): Likewise.
37174 * math/s_cexp.c (__cexpl): Likewise.
37175 * math/s_csin.c (__csin): Likewise.
37176 * math/s_csinh.c (__csinh): Likewise.
37177 * math/s_ctan.c (__ctan): Likewise.
37178 * math/s_ctanh.c (ctanh): Likewise.
37179 * math/s_ccoshl.c (__ccoshl): Likewise.
37180 * math/s_cexpl.c (__cexpl): Likewise.
37181 * math/s_csinl.c (__csinl): Likewise.
37182 * math/s_csinhl.c (__csinhl): Likewise.
37183 * math/s_ctanl.c (__ctanl): Likewise.
37184 * math/s_ctanhl.c (__ctanhl): Likewise.
37185
203e5603
JM
371862012-09-25 Joseph Myers <joseph@codesourcery.com>
37187
37188 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37189 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37190 (_IO_off_t): Define to __off_t, not _G_off_t.
37191 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37192 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37193 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37194 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37195 type of __dummy and __dummy2 fields.
37196 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37197 (_G_ssize_t): Likewise.
37198 (_G_off_t): Likewise.
37199 (_G_pid_t): Likewise.
37200 (_G_uid_t): Likewise.
37201 (_G_wchar_t): Likewise.
37202 (_G_wint_t): Likewise.
37203 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37204 (_G_ssize_t): Likewise.
37205 (_G_off_t): Likewise.
37206 (_G_pid_t): Likewise.
37207 (_G_uid_t): Likewise.
37208 (_G_wchar_t): Likewise.
37209 (_G_wint_t): Likewise.
37210 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37211 (_G_ssize_t): Likewise.
37212 (_G_off_t): Likewise.
37213 (_G_pid_t): Likewise.
37214 (_G_uid_t): Likewise.
37215 (_G_wchar_t): Likewise.
37216 (_G_wint_t): Likewise.
37217
9fab36eb
SP
372182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37219
37220 * malloc/arena.c: Include malloc-sysdep.h.
37221 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37222 is sufficient to shrink the heap or an unmap is needed.
37223 * sysdeps/generic/malloc-sysdep.h: New file. Define
37224 new function check_may_shrink_heap.
37225 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37226 new function check_may_shrink_heap.
37227
2b4f00d1
SP
372282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37229
37230 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37231 comments.
37232
9a9028b1
DL
372332012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37234
57c69bef
DL
37235 * catgets/test-gencat.sh: Add "set -e".
37236 * elf/tst-pathopt.sh: Likewise.
37237 * grp/tst_fgetgrent.sh: Likewise.
37238 * iconvdata/run-iconv-test.sh: Likewise.
37239 * intl/tst-gettext.sh: Likewise.
37240 * intl/tst-gettext2.sh: Likewise.
37241 * intl/tst-gettext4.sh: Likewise.
37242 * intl/tst-gettext6.sh: Likewise.
37243 * intl/tst-translit.sh: Likewise.
37244 * io/ftwtest-sh: Likewise.
37245 * libio/test-freopen.sh: Likewise.
37246 * malloc/tst-mtrace.sh: Likewise.
37247 * posix/globtest.sh: Likewise.
37248 * posix/tst-getconf.sh: Likewise.
37249 * posix/wordexp-tst.sh: Likewise.
37250 * stdio-common/tst-printf.sh: Likewise.
37251 * stdio-common/tst-unbputc.sh: Likewise.
37252 * stdlib/tst-fmtmsg.sh: Likewise.
37253 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37254 * catgets/Makefile: Do not specify -e option when running
37255 testsuite shell scripts.
37256 * elf/Makefile: Likewise.
37257 * grp/Makefile: Likewise.
37258 * iconvdata/Makefile: Likewise.
37259 * intl/Makefile: Likewise.
37260 * io/Makefile: Likewise.
37261 * libio/Makefile: Likewise.
37262 * malloc/Makefile: Likewise.
37263 * posix/Makefile: Likewise.
37264 * stdio-common/Makefile: Likewise.
37265 * stdlib/Makefile: Likewise.
37266 * sysdeps/x86_64/Makefile: Likewise.
37267
9a9028b1
DL
37268 * io/ftwtest-sh: Add copyright header.
37269 * posix/globtest.sh: Likewise.
37270 * posix/tst-getconf.sh: Likewise.
37271 * posix/wordexp-tst.sh: Likewise.
37272 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37273
ced6f16e
L
372742012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37275
94b32c39
L
37276 [BZ #13679]
37277 * Makeconfig (+link): Defined as $(+link-static) if
37278 $(build-shared) isn't yes.
37279 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37280 isn't yes.
37281 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37282
189e935b
L
37283 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37284
ced6f16e
L
37285 [BZ #14562]
37286 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37287 new chunk size with MALLOC_ALIGN_MASK.
37288
a9f8e53a
JM
372892012-09-24 Joseph Myers <joseph@codesourcery.com>
37290
37291 [BZ #5044]
37292 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37293 <rounding-mode.h>.
37294 (__printf_fphex): Determine rounding using get_rounding_mode and
37295 round_away.
37296 * stdio-common/tst-printf-round.c (struct hex_test): New
37297 structure.
37298 (hex_tests): New variable.
37299 (test_hex_in_one_mode): New function.
37300 (do_test): Also run tests for hex float output.
37301
43153109
JM
373022012-09-21 Joseph Myers <joseph@codesourcery.com>
37303
37304 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37305 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37306 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37307 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37308 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37309 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37310 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37312
8a26625d
JM
373132012-09-20 Joseph Myers <joseph@codesourcery.com>
37314
37315 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37316 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37317 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37318 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37319
f3fd569c
DL
373202012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37321
37322 [BZ #14579]
37323 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37324 mode only.
37325 * elf/tst-rtld-load-self.sh: New test.
37326 * elf/Makefile: Run it.
37327
63bbedd4
JM
373282012-09-18 Joseph Myers <joseph@codesourcery.com>
37329
37330 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37331 (tst-writev-ENV): Remove.
37332 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37333
626f8b6a
CM
373342012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37335
37336 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37337
b7aaa4d6
JM
373382012-09-17 Joseph Myers <joseph@codesourcery.com>
37339
37340 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37341 unconditional.
37342 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37343 Likewise.
37344 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37345 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37346 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37347 Likewise.
37348
65513990
L
373492012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37350
37351 [BZ #14587]
37352 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37353 * config.make.in (have-cpp-asm-debuginfo): Removed.
37354 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37355 * configure: Regenerated.
37356
784761be
JM
373572012-09-14 Joseph Myers <joseph@codesourcery.com>
37358
37359 [BZ #5044]
37360 * stdio-common/printf_fp.c: Include <stdbool.h> and
37361 <rounding-mode.h>.
37362 (___printf_fp): Determine rounding using get_rounding_mode and
37363 round_away.
37364 * stdio-common/tst-printf-round.c: New file.
37365 * stdio-common/Makefile (tests): Add tst-printf-round.
37366 (link-libm): New variable.
37367 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37368
9503345f
L
373692012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37370
37371 [BZ #14576]
37372 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37373 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37374 Likewise.
37375 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37376 Likewise.
37377
ad35fc00
JM
373782012-09-13 Joseph Myers <joseph@codesourcery.com>
37379
37380 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37381 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37382 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37383 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37384
6c9b0f68
JM
373852012-09-12 Joseph Myers <joseph@codesourcery.com>
37386
37387 [BZ #14518]
37388 * include/rounding-mode.h: New file.
37389 * sysdeps/generic/get-rounding-mode.h: Likewise.
37390 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37391 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37392 (MAX_VALUE): New macro.
37393 (MIN_VALUE): Likewise.
37394 (overflow_value): New function.
37395 (underflow_value): Likewise.
37396 (round_and_return): Use overflow_value and underflow_value to
37397 determine return values in overflow and underflow cases. Use
37398 round_away to determine rounding depending on rounding mode.
37399 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37400 determine return values in overflow and underflow cases.
37401 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37402 (struct test_results): New structure.
37403 (struct test): Use struct test_results to store expected results
37404 for all rounding modes.
37405 (TEST): Include expected results for all rounding modes.
37406 (test_in_one_mode): New function.
37407 (do_test): Use test_in_one_mode to compute and check results.
37408 Check results for all rounding modes.
37409 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37410 $(link-libm).
37411
19fcedd5
AM
374122012-12-09 Allan McRae <allan@archlinux.org>
37413
1e9d84cd 37414 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37415
8bbfd2f1
JM
374162012-09-11 Joseph Myers <joseph@codesourcery.com>
37417
37418 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37419 (_G_int32_t): Likewise.
37420 (_G_uint16_t): Likewise.
37421 (_G_uint32_t): Likewise.
37422 (_G_HAVE_BOOL): Likewise.
37423 (_G_HAVE_ATEXIT): Likewise.
37424 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37425 (_G_HAVE_IO_FILE_OPEN): Likewise.
37426 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37427 (_G_int32_t): Likewise.
37428 (_G_uint16_t): Likewise.
37429 (_G_uint32_t): Likewise.
37430 (_G_HAVE_BOOL): Likewise.
37431 (_G_HAVE_ATEXIT): Likewise.
37432 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37433 (_G_HAVE_IO_FILE_OPEN): Likewise.
37434 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37435 (_G_int32_t): Likewise.
37436 (_G_uint16_t): Likewise.
37437 (_G_uint32_t): Likewise.
37438 (_G_HAVE_BOOL): Likewise.
37439 (_G_HAVE_ATEXIT): Likewise.
37440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37441 (_G_HAVE_IO_FILE_OPEN): Likewise.
37442
b1dc5912
L
374432012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37444
37445 * csu/libc-tls.c: Update copyright years.
37446
0e886ef9
JM
374472012-09-10 Joseph Myers <joseph@codesourcery.com>
37448
28361c5e
JM
37449 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37450 [!_G_USING_THUNKS]: Remove conditional code.
37451 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37452 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37453
0e886ef9
JM
37454 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37455 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37456 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37457 (_G_VTABLE_LABEL_PREFIX): Likewise.
37458 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37459 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37461 (_G_VTABLE_LABEL_PREFIX): Likewise.
37462 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37463 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37464 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37465 (_G_VTABLE_LABEL_PREFIX): Likewise.
37466 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37467
bcba7aa2
L
374682012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37469
37470 * libio/Makefile: Include ../Makeconfig before tests.
37471 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37472 only if $(build-shared) is yes.
37473
06585ee8
L
37474 * iconv/gconv_db.c: Update copyright years.
37475
80ccd52c
LD
374762012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37477
37478 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37479 unwind info if defined PIC. Fix special cases description.
37480 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37481
37482 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37483 DP_HI_MASK entry.
37484 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37485
691bc9c1
L
374862012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37487
3d9b46b3
L
37488 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37489
de2139a9
L
37490 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37491 is NULL.
37492
5ca78dd0
L
37493 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37494 (LDLIBS-tst-chk4): This.
37495 (LDFLAGS-tst-chk5): Renamed to ...
37496 (LDLIBS-tst-chk5): This.
37497 (LDFLAGS-tst-chk6): Renamed to ...
37498 (LDLIBS-tst-chk6): This.
37499 (LDFLAGS-tst-lfschk4): Renamed to ...
37500 (LDLIBS-tst-lfschk4): This.
37501 (LDFLAGS-tst-lfschk5): Renamed to ...
37502 (LDLIBS-tst-lfschk5): This.
37503 (LDFLAGS-tst-lfschk6): Renamed to ...
37504 (LDLIBS-tst-lfschk6): This.
37505
691bc9c1
L
37506 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37507 on $(common-objpfx)soversions.mk.
37508
65cafb1c
JM
375092012-09-07 Joseph Myers <joseph@codesourcery.com>
37510
37511 [BZ #10014]
37512 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37513 example host name.
37514
c78ab094
SP
375152012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37516
37517 * malloc/arena.c (arena_get_retry): New function that gets
37518 another arena for the caller to try its request on.
37519 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37520 current arena cannot fulfill the request.
37521 (__libc_memalign): Likewise.
37522 (__libc_memalign): Likewise.
37523 (__libc_pvalloc): Likewise.
37524 (__libc_calloc): Likewise.
37525
01f49f59
JT
375262012-09-05 John Tobey <john.tobey@gmail.com>
37527
37528 [BZ #13542]
37529 * manual/arith.texi (Operations on Complex): Fix description
37530 of carg branch cut.
37531
4c23fed5
JM
375322012-09-06 Joseph Myers <joseph@codesourcery.com>
37533
1d3c8572
JM
37534 [BZ #10014]
37535 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37536 host name.
37537
4c23fed5
JM
37538 [BZ #10038]
37539 * manual/memory.texi (Memory): Make order of menu items match
37540 order of sections.
37541
04570aaa
L
375422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37543
37544 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37545 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37546 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37547
b80af2f4
L
375482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37549
37550 * csu/libc-tls.c (static_dtv): Renamed to ...
37551 (_dl_static_dtv): This. Make it global.
37552 (_dl_initial_dtv): Removed.
37553 (__libc_setup_tls): Updated.
37554 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37555 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37556 DL_INITIAL_DTV.
37557
2abe9f15
PM
375582012-09-06 Petr Machata <pmachata@redhat.com>
37559
37560 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37561 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37562 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37563 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37564
0948c3af
L
375652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37566
37567 [BZ #14545]
37568 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37569 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37570 freeing dtv[-1].
37571
a5055ad1
L
375722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37573
37574 [BZ #14544]
37575 * Makeconfig (link-static-before-libc): Replace $(+prector)
37576 with $(+prectorT).
37577 (link-static-after-libc): Replace $(+postctor) with
37578 $(+postctorT).
37579 (link-bounded): Replace $(+prector)/$(+postctor) with
37580 $(+prectorT)/$(+postctorT).
37581 (+prectorT): New macro.
37582 (+postctorT): Likewise.
37583
ed8c2ecd
JM
375842012-09-06 Joseph Myers <joseph@codesourcery.com>
37585
37586 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37587 (round_str): Handle values above the maximum for IBM long double
37588 as inexact.
37589 * stdlib/tst-strtod-round.c (tests): Regenerated.
37590
14c996c8
AK
375912012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37592
37593 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37594 assembler flag.
37595 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37596 zarch_nohighgprs around the zarch optimized routines.
37597 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37598 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37599 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37600 for zarch.
37601
430d6ce6
DM
376022012-09-05 David S. Miller <davem@davemloft.net>
37603
37604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37605
57f41c40
AS
37606 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37607 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37608 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37609 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37610 entries.
37611
24d4e01b
AO
376122012-09-05 Alexandre Oliva <aoliva@redhat.com>
37613
37614 * malloc/arena.c: Fold copyright years.
37615 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37616
61d58174
AO
376172012-09-05 Alexandre Oliva <aoliva@redhat.com>
37618
37619 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37620
20196a5e
AO
376212012-09-05 Alexandre Oliva <aoliva@redhat.com>
37622
37623 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37624
5c447383
AO
376252012-09-05 Alexandre Oliva <aoliva@redhat.com>
37626
37627 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37628 change internal state upon failure.
37629
fad64255
AO
376302012-09-05 Alexandre Oliva <aoliva@redhat.com>
37631
37632 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37633 * malloc/memusage.c (mmap): Likewise.
37634 (mmap64, mremap): Likewise. Adjust name in comment.
37635
1ffb8c90
SP
376362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37637
37638 * libio/fileops.c: Fix typos in comments.
37639 * libio/oldfileops.c: Likewise.
37640 * libio/wfileops.c: Likewise.
37641
6ef9cc37
SP
376422012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37643
37644 [BZ #1349]
37645 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37646 (tst-malloc-usable-ENV): Set environment for test case.
37647 * malloc/hooks.c (malloc_check_get_size): New function to get
37648 requested size.
37649 * malloc/malloc.c (musable): Use malloc_check_get_size.
37650 * malloc/tst-malloc-usable.c: New test case.
37651
4d038ae3
AS
376522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37653
37654 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37655
c4e85184
AM
376562012-09-05 Allan McRae <allan@archlinux.org>
37657
b9dafc56 37658 [BZ #13966]
c4e85184
AM
37659 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37660 determine header location.
37661 * configure: Regenerated.
37662
e1343020
AS
376632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37664
37665 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37666 float format.
37667 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37668 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37669 format.
e1343020
AS
37670 (test): Regenerate.
37671
0a9f1987
DM
376722012-09-04 David S. Miller <davem@davemloft.net>
37673
37674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37676 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37677
29237804
FW
376782012-09-04 Florian Weimer <fweimer@redhat.com>
37679
37680 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37681 failures.
37682
edb3cb88
FW
37683 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37684
60160d83
JM
376852012-09-04 Joseph Myers <joseph@codesourcery.com>
37686
37687 [BZ #9914]
37688 * libio/iogetdelim.c: Include <limits.h>.
37689 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37690 + len + 1 would overflow.
37691
bcd6c8dc
AJ
376922012-09-03 Andreas Jaeger <aj@suse.de>
37693
37694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37695 * sysdeps/i386/fpu/libm-test-ulps: Update.
37696
4ffffbd2
LD
376972012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37698
37699 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37700 Add s_sinf-sse2, s_conf-sse2.
37701
37702 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37703 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37704 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37705 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37706
37707 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37708 for using routine as __sinf_ia32.
37709 Use macro for function declaration and weak_alias.
37710 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37711 for using routine as __cosf_ia32.
37712 Use macro for function declaration and weak_alias.
37713
37714 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37715 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37716
37717 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37718 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37720
37721 * math/libm-test.inc (cos_test): Add more test cases.
37722 (sin_test): Likewise.
37723 (sincos_test): Likewise.
37724
511fa286
AK
377252012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37726
37727 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37728 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37729 hidden.
37730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37731
5f30cfec
L
377322012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37733
37734 [BZ #14538]
37735 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37736 first element of the GOT.
37737 (elf_machine_load_address): Return the difference between
37738 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37739
0786794f
AM
377402012-09-01 Allan McRae <allan@archlinux.org>
37741
5f30cfec
L
37742 [BZ #13412]
37743 * configure.in (AWK): Require gawk version 3.0 or later.
37744 * configure: Regenerated.
0786794f 37745
26889eac
JM
377462012-09-01 Joseph Myers <joseph@codesourcery.com>
37747
37748 * sysdeps/unix/sysv/linux/kernel-features.h
37749 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37751 [__NR_clock_getres]: Make code unconditional.
37752 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37753 (clock_getcpuclockid): Remove code left unreachable by removal of
37754 conditionals.
37755 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37756 code unconditional.
37757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37759 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37760 Make code unconditional.
37761 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37762 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37763 * sysdeps/unix/sysv/linux/clock_settime.c
37764 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37765 conditional code.
37766 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37768
d22e28b0
L
377692012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37770
37771 [BZ #14476]
37772 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37773 scripts/test-installation.pl.
37774
37775 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37776 and $ld_so_version if it is set.
37777
050af9c4
SP
377782012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37779
37780 [BZ #14516]
37781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37782 failure if reading from procfs failed.
37783 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37784
ad845c0b
JM
377852012-08-27 Joseph Myers <joseph@codesourcery.com>
37786
37787 * sysdeps/unix/sysv/linux/kernel-features.h
37788 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37789 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37790 Remove conditional code.
37791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37792 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37793 Remove conditional code.
37794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37795 * sysdeps/unix/sysv/linux/i386/fxstat.c
37796 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37798 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37799 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37801 * sysdeps/unix/sysv/linux/i386/lxstat.c
37802 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37804 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37805 Remove conditional code.
37806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37807 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37808 Remove conditional code.
37809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37810 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37811 <kernel-features.h>.
37812 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37813 Remove.
37814 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37815 Remove conditional code.
37816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37817 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37818 Remove conditional.
37819
5dbf56af
MF
378202012-08-27 Mike Frysinger <vapier@gentoo.org>
37821
37822 [BZ #5400]
37823 * NEWS: Add fixed bug number.
37824
d6e70f43
JM
378252012-08-27 Joseph Myers <joseph@codesourcery.com>
37826
7efb4737
JM
37827 [BZ #14519]
37828 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37829 underflowing exponent in case of negative sign.
37830 * stdlib/tst-strtod-round-data: Add more tests.
37831 * stdlib/tst-strtod-round.c (tests): Regenerated.
37832
af92131a
JM
37833 [BZ #3479]
37834 * stdlib/strtod_l.c (NDIG): Remove.
37835 (HEXNDIG): Likewise.
37836 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37837 smallest representable value.
37838 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37839 lie within an exact representation of 1/2 ulp of the result.
37840 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37841 unconditionally.
37842 (TENS_P9_IDX): Define unconditionally.
37843 (TENS_P9_SIZE): Likewise.
37844 (TENS_P10_IDX): Likewise.
37845 (TENS_P10_SIZE): Likewise.
37846 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37847 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37848 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37849 entries for 10^2^13 and 10^2^14.
37850 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37851 (TENS_P13_IDX): Define.
37852 (TENS_P13_SIZE): Likewise.
37853 (TENS_P14_IDX): Likewise.
37854 (TENS_P14_SIZE): Likewise.
37855 (_fpioconst_pow10): Change array size to
37856 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37857 unconditional.
37858 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37859 1024]: Add entries for 10^2^13 and 10^2^14.
37860 [LAST_POW10 > _LAST_POW10]: Remove #error.
37861 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37862 (_fpioconst_pow10): Change array size to
37863 FPIOCONST_POW10_ARRAY_SIZE.
37864 * stdlib/gen-fpioconst.c: New file.
37865 * stdlib/gen-tst-strtod-round.c: Likewise.
37866 * stdlib/tst-strtod-round-data: Likewise.
37867 * stdlib/tst-strtod-round.c: Likewise.
37868 * stdlib/Makefile (tests): Add tst-strtod-round.
37869
d6e70f43
JM
37870 [BZ #14459]
37871 * stdlib/strtod_l.c: Include <stdint.h>.
37872 (NDEBUG): Do not define.
37873 (round_and_return): Change EXPONENT parameter to type intmax_t.
37874 Rearrange calculations to avoid internal overflow possibilities.
37875 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37876 Rearrange calculations to avoid internal overflow possibilities.
37877 Assert that number fits inside MPNSIZE limbs.
37878 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37879 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37880 calculations and add assertions to avoid internal overflow
37881 possibilities. Add casts to avoid signed/unsigned operations.
37882 * stdlib/tst-strtod-overflow.c: New file.
37883 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37884
1f529f7d
MP
378852012-08-25 Marek Polacek <polacek@redhat.com>
37886
37887 * time/time.h: Fix some typos in comments.
37888
59a629f1
RM
378892012-08-23 Roland McGrath <roland@hack.frob.com>
37890
37891 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37892 * posix/tst-rfc3484-2.c: Likewise.
37893 * posix/tst-rfc3484-3.c: Likewise.
37894
d3bafbc9
SM
378952012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37896
37897 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37898 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37899
4efcc022
JM
379002012-08-23 Joseph Myers <joseph@codesourcery.com>
37901
37902 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37903 #include of fxstatat64.c.
37904
3cc3ef96
RM
379052012-08-22 Roland McGrath <roland@hack.frob.com>
37906
f04e2132
RM
37907 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37908 * shadow/getspent_r.c: Likewise.
37909 * shadow/getspnam.c: Likewise.
37910 * shadow/getspnam_r.c: Likewise.
37911 * gshadow/getsgent.c: Likewise.
37912 * gshadow/getsgent_r.c: Likewise.
37913 * gshadow/getsgnam.c: Likewise.
37914 * gshadow/getsgnam_r.c: Likewise.
37915 * inet/getnetbyad.c: Likewise.
37916 * inet/getnetbyad_r.c: Likewise.
37917 * inet/getnetbynm.c: Likewise.
37918 * inet/getnetbynm_r.c: Likewise.
37919 * inet/getnetent.c: Likewise.
37920 * inet/getnetent_r.c: Likewise.
37921 * inet/getproto.c: Likewise.
37922 * inet/getproto_r.c: Likewise.
37923 * inet/getprtent.c: Likewise.
37924 * inet/getprtent_r.c: Likewise.
37925 * inet/getprtname.c: Likewise.
37926 * inet/getprtname_r.c: Likewise.
37927 * inet/getrpcbyname.c: Likewise.
37928 * inet/getrpcbyname_r.c: Likewise.
37929 * inet/getrpcbynumber.c: Likewise.
37930 * inet/getrpcbynumber_r.c: Likewise.
37931 * inet/getrpcent.c: Likewise.
37932 * inet/getrpcent_r.c: Likewise.
37933 * inet/getaliasent.c: Likewise.
37934 * inet/getaliasent_r.c: Likewise.
37935 * inet/getaliasname.c: Likewise.
37936 * inet/getaliasname_r.c: Likewise.
37937 * nscd/getgrgid_r.c: Likewise.
37938 * nscd/getgrnam_r.c: Likewise.
37939 * nscd/gethstbyad_r.c: Likewise.
37940 * nscd/gethstbynm3_r.c: Likewise.
37941 * nscd/getpwnam_r.c: Likewise.
37942 * nscd/getpwuid_r.c: Likewise.
37943 * nscd/getsrvbynm_r.c: Likewise.
37944 * nscd/getsrvbypt_r.c: Likewise.
37945 * nscd/gai.c: Likewise.
37946
c53d909c
RM
37947 * configure.in (build_nscd): New substituted variable, set
37948 by --disable-build-nscd and defaults to $use_nscd.
37949 * configure: Regenerated.
37950 * config.make.in (build-nscd): New substituted variable.
37951 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37952 Change conditional to require [$(build-nscd) = yes] as well.
37953 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37954
3cc3ef96
RM
37955 [BZ# 13696]
37956 * configure.in (use_nscd): New substituted variable, set by
37957 --disable-nscd. If enabled, define USE_NSCD.
37958 * configure: Regenerated.
37959 * config.h.in: Add USE_NSCD.
37960 * config.make.in (use-nscd): New substituted variable.
37961 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37962 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37963 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37964 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37965 (CFLAGS-getgrnam_r.c): Likewise.
37966 (CFLAGS-initgroups.c): Likewise.
37967 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37968 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37969 Variables removed.
37970 * inet/getnetgrent_r.c
37971 (nscd_setnetgrent): New function, broken out of ...
37972 (setnetgrent): ... here. Call it.
37973 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37974 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37975 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37976 * nscd/Makefile (routines, aux): Move definitions after include of
37977 Makeconfig. Conditionalize on [$(use-nscd) != no].
37978 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37979 Conditionalize on [USE_NSCD].
37980 (is_nscd, nscd_init_cb): Likewise.
37981 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37982 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37983 * nss/nss_db/db-init.c: Likewise.
37984 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37985 [USE_NSCD].
37986 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37987 (make_request): Use it.
37988 (cache_valid_p): New function.
37989 (__check_pf): Use it.
37990 * NEWS: Add item for --disable-nscd.
37991
07e51550
DL
379922012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37993
37994 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37995 to support sed >= 4.2.1-20-ga9bf076.
37996 * configure: Regenerated.
37997
35a5b08b
RM
379982012-08-22 Roland McGrath <roland@hack.frob.com>
37999
38000 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38001 Conditionalize whole body on [IREL].
38002
8479f23a
JL
380032012-08-22 Jeff Law <law@redhat.com>
38004
38005 [BZ #14505]
38006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38007 if the family is PF_UNSPEC.
38008
48da0b21
MF
380092012-08-22 Mike Frysinger <vapier@gentoo.org>
38010
38011 * Makerules (lib-version): Rename from V.
38012 (install-lib-nosubdir): Change V to lib-version.
38013
15d0da8c
WS
380142012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38015
38016 [BZ #14252]
38017 * powerpc32/power6/wcschr.c: New file.
38018 * powerpc32/power6/wcscpy.c: New file.
38019 * powerpc32/power6/wcsrchr.c: New file.
38020 * powerpc64/power6/wcschr.c: New file.
38021 * powerpc64/power6/wcscpy.c: New file.
38022 * powerpc64/power6/wcsrchr.c: New file.
38023
bcca0895
MK
380242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38025
38026 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38027 (two_way_short_needle): Use it.
5a4aaa33
RM
38028 * string/strstr.c (AVAILABLE1_USES_J): Define.
38029 * string/strcasestr.c: Likewise.
99677e57
MK
38030
38031 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38032 array references.
38033 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38034
400726de
MK
38035 [BZ #11607]
38036 * NEWS: Add an entry.
38037 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38038 define their defaults.
38039 (two_way_short_needle): Detect end-of-string on-the-fly.
38040 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38041 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38042 * string/bug-strcasestr1.c: New test.
38043 * string/Makefile: Run it.
38044
20a71f2c
MK
380452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38046
38047 [BZ #11607]
38048 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38049 the first character.
38050
21ad0558
RM
380512012-08-21 Roland McGrath <roland@hack.frob.com>
38052
38053 * csu/elf-init.c (__libc_csu_irel): Function removed.
38054 * csu/libc-start.c (apply_irel): New function.
38055 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38056
0e1d9911
JM
380572012-08-21 Joseph Myers <joseph@codesourcery.com>
38058
38059 * sysdeps/unix/sysv/linux/kernel-features.h
38060 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38061 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38062 <kernel-features.h>.
38063 [__NR_fadvise64_64]: Make code unconditional.
38064 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38065 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38066 !__NR_fadvise64_64)]: Likewise.
38067 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38068 !__NR_fadvise64_64))]: Likewise.
38069 [__NR_fadvise64]: Make code unconditional.
38070 [!__NR_fadvise64]: Remove conditional code.
38071 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38072 <kernel-features.h>.
38073 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38074 unconditional.
38075 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38076 conditional code.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38078 not include <kernel-features.h>.
38079 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38080 unconditional.
38081 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38082 conditional code.
38083 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38084 include <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
14a50c9d
WS
380902012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38091
38092 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38093 slight instruction rearrangements per scrollpipe analysis.
38094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38095
c0f4faf0
RM
380962012-08-20 Roland McGrath <roland@hack.frob.com>
38097
696da859
RM
38098 * manual/syslog.texi (syslog; vsyslog, closelog):
38099 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38100 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38101
c0f4faf0
RM
38102 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38103 DSOCAPS to match condition on defining it.
38104
348363b2
JM
381052012-08-20 Joseph Myers <joseph@codesourcery.com>
38106
a35cbf28
JM
38107 * sysdeps/unix/sysv/linux/kernel-features.h
38108 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38110 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38111 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38116 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38117 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38118
445f7ecd
JM
38119 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38120 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38121
348363b2
JM
38122 * sysdeps/unix/sysv/linux/kernel-features.h
38123 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38124 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38125 unconditional.
38126 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38127 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38128 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38129 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38130 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38131 Make code unconditional.
38132 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38133 (__mmap64) [!__NR_mmap2]: Likewise.
38134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38135 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38136 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38137 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38138 [__NR_mmap2]: Make code unconditional.
38139 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38140 (__mmap64) [!__NR_mmap2]: Likewise.
38141
bc5bc0e5
AK
381422012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38143
38144 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38145
88d506de
AJ
381462012-08-18 Andreas Jaeger <aj@suse.de>
38147
38148 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38149
493387d2
MF
381502012-08-18 Mike Frysinger <vapier@gentoo.org>
38151
38152 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38153 * include/unistd.h (__have_sock_cloexec): Likewise.
38154 (__have_pipe2): Likewise.
38155 (__have_dup3): Likewise.
38156
a277af22
MF
381572012-08-18 Mike Frysinger <vapier@gentoo.org>
38158
38159 [BZ #9685]
38160 * include/unistd.h (__have_pipe2): Change define into an extern int.
38161 (__have_dup3): Likewise.
38162 * socket/have_sock_cloexec.c: Include fcntl.h.
38163 (__have_pipe2): New variable.
38164 (__have_dup3): Likewise.
38165
fdab8fd3
MF
381662012-08-17 Mike Frysinger <vapier@gentoo.org>
38167
38168 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38169
31035e80
MP
381702012-08-17 Marek Polacek <polacek@redhat.com>
38171
38172 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38173 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38174
3bd9e993
RM
381752012-08-17 Roland McGrath <roland@hack.frob.com>
38176
c91c505f
RM
38177 * configure.in: Add AC_SUBST for sysheaders.
38178 * configure: Regenerated.
38179 * config.make.in (sysheaders): New substituted variable.
38180
7c6f9d53
RM
38181 * sysdeps/unix/mkfifo.c: Moved ...
38182 * sysdeps/posix/mkfifo.c: ... here.
38183 * sysdeps/unix/mkfifoat.c: Moved ...
38184 * sysdeps/posix/mkfifoat.c: ... here.
38185
38186 * sysdeps/unix/utime.c: Moved ...
38187 * sysdeps/posix/utime.c: ... here.
38188
38189 * sysdeps/unix/time.c: Moved ...
38190 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38191 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38192 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38193
38194 * sysdeps/unix/nice.c: Moved ...
38195 * sysdeps/posix/nice.c: ... here.
38196
38197 * sysdeps/unix/alarm.c: Moved ...
38198 * sysdeps/posix/alarm.c: ... here.
38199
3bd9e993
RM
38200 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38201
d1f09384
JL
382022012-08-17 Jeff Law <law@redhat.com>
38203
38204 * intl/Makefile (codeset_mo): New variable.
38205 ($(codeset_mo)): New target.
38206 (tst-codeset.out): Depend on that. Remove explicit rule.
38207 (tst-gettext3.out, tst-gettext5.out): Likewise.
38208 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38209 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38210 * intl/tst-codeset.sh: Remove.
38211 * intl/tst-gettext3.sh: Likewise.
38212 * intl/tst-gettext5.sh: Likewise.
38213
2ae1ae5c
RM
382142012-08-17 Roland McGrath <roland@hack.frob.com>
38215
c31fdb83
RM
38216 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38217 * sysdeps/unix/syscalls.list: ... here.
38218
a0844057
RM
38219 * sysdeps/posix/getaddrinfo.c
38220 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38221 (gaiconf_init, gaiconf_reload): Use them.
38222 [!_STATBUF_ST_NSEC]
38223 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38224 Define using time_t rather than struct timespec.
38225
750c1f2a
RM
38226 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38227 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38228 Macros removed.
38229 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38230 [!NO_THREADS].
38231 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38232 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38233 Likewise.
38234
2ae1ae5c
RM
38235 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38236 __libc_cleanup_push argument.
38237
e66a42f5
RM
38238 * bits/param.h: New file.
38239 * misc/sys/param.h: New file.
38240 * include/sys/param.h: New file.
38241 * misc/Makefile (headers): Add bits/param.h.
38242 * sysdeps/generic/sys/param.h: File removed.
38243 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38244 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38245 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38246 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38247
b7c08a66
RM
38248 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38249 last change.
38250
b2e1c562
RM
38251 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38252 [_IO_MTSAFE_IO].
38253 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38254 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38255 New macros.
38256
c75ccd4c
RM
38257 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38258 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38259 rather than -D_IO_MTSAFE_IO conditionally.
38260 * stdio-common/Makefile (CPPFLAGS): Likewise.
38261 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38262 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38263 Use $(libio-mtsafe).
38264 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38265 of -D_IO_MTSAFE_IO.
38266 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38267 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38268 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38269 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38270 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38271 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38272 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38273 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38274 (CFLAGS-fread_u_chk.c): Likewise.
38275 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38276 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38277 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38278 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38279 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38280 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38281 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38282 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38283 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38284
38285 * libio/Makefile: Test [$(libc-reentrant) = yes]
38286 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38287
38288 * Makeconfig
38289 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38290 * sysdeps/pthread/configure: File removed.
38291 * sysdeps/pthread/Makeconfig: New file.
38292 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38293 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38294
d9195db8
GB
382952012-08-16 Gary Benson <gbenson@redhat.com>
38296
38297 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38298 unmapping the first object in a namespace.
38299
86466cd9
RM
383002012-08-16 Roland McGrath <roland@hack.frob.com>
38301
38302 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38303 (__internal_setnetgrent): ... this. Add internal_function to
38304 definition. Add libc_hidden_def.
38305 (setnetgrent): Update caller.
38306 (internal_endnetgrent): Renamed to ...
38307 (__internal_endnetgrent): ... this. Add internal_function to
38308 definition. Add libc_hidden_def.
38309 (endnetgrent): Update caller.
38310 (internal_getnetgrent_r): Renamed to ...
38311 (__internal_getnetgrent_r): ... this. Add internal_function to
38312 definition. Add libc_hidden_def.
38313 (__getnetgrent_r): Update caller.
38314 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38315
c3c8283c
JM
383162012-08-16 Joseph Myers <joseph@codesourcery.com>
38317
38318 * stdlib/longlong.h: Update from GCC.
38319
db1ee0a8
RM
383202012-08-16 Roland McGrath <roland@hack.frob.com>
38321
38322 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38323 on _QL, which is set by umul_ppmm but never used.
38324 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38325 variables, which are set by GMP macros but never used.
38326 * stdio-common/_itowa.c (_itowa): Likewise.
38327 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38328 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38329
30f69637
CD
383302012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38331
38332 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38333 struct La_sh_regs is not constant.
38334 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38335 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38336 and struct La_sparc64_regs are not constant.
38337
93a78ac4
JM
383382012-08-16 Joseph Myers <joseph@codesourcery.com>
38339
38340 * sysdeps/unix/sysv/linux/kernel-features.h
38341 (__ASSUME_POSIX_TIMERS): Remove.
38342 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38344 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38345 Make code unconditional.
38346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38347 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38348 Make code unconditional.
38349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38350 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38351 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38353 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38354 Make code unconditional.
38355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38356 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38357 (__libc_missing_posix_timers): Remove.
38358
dd924cd7
RM
383592012-08-15 Roland McGrath <roland@hack.frob.com>
38360
4b4f2771
RM
38361 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38362 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38363
601c888b
RM
38364 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38365
176790a7
RM
38366 * elf/dl-sym.c: Include <stdlib.h>.
38367
329bc018
RM
38368 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38369 constants, which avoids warnings in 32-bit builds.
38370
e04e272d
RM
38371 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38372 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38373
952bf94a
RM
38374 * misc/lseek.c: File moved to ...
38375 * io/lseek.c: ... here.
38376
7c99b50a
RM
38377 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38378
dd924cd7
RM
38379 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38380 shifting LEN more than 31 bits at once.
38381
b3f479a8
LD
383822012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38383
38384 [BZ #14195]
8c4ae0d4
RM
38385 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38386 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38387 * string/test-strncasecmp.c (check1): Renamed to...
38388 (bz12205): ...this.
38389 (bz14195): Add new testcase for two empty input strings and N > 0.
38390 (test_main): Call new testcase, adapt for renamed function.
38391
9c55864e
AJ
383922012-08-15 Andreas Jaeger <aj@suse.de>
38393
38394 [BZ #14090]
38395 * crypt/md5test2.c: New test, based on test supplied by Serge
38396 Belyshev <belyshev@depni.sinp.msu.ru>.
38397 * crypt/Makefile (xtests): Add md5test-giant..
38398 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38399
02dcb6c5
PE
384002012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38401
38402 [BZ #14090]
38403 * crypt/md5.c (md5_process_block): Don't assume the buffer
38404 length is less than 2**32.
38405 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38406 length is less than 2**64.
38407
a3f95dcc
RM
384082012-08-15 Roland McGrath <roland@hack.frob.com>
38409
be75d758
RM
38410 * string/str-two-way.h: Include <sys/param.h>.
38411 (MAX): Macro removed.
38412
7312ca90
RM
38413 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38414 Move #define and #undef of memmove to just before and after
38415 including <string.h>.
38416
9a0a5486
RM
38417 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38418 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38419 and after including <string.h>. Move declarations of
38420 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38421 to before #include "string/memmove.c".
38422
67cc348d
RM
38423 * include/dirent.h: Declare __getdirentries.
38424
a3f95dcc
RM
38425 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38426 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38427
ca98e171
MF
384282012-08-14 Mike Frysinger <vapier@gentoo.org>
38429
38430 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38431 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38432 * sysdeps/i386/configure: Regenerated.
38433 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38434 STABS_CURRENT_FILE, and STABS_FUN.
38435 (END): Remove call to STABS_FUN_END.
38436 (STABS_CURRENT_FILE1): Delete.
38437 (STABS_CURRENT_FILE): Likewise.
38438 (STABS_FUN): Likewise.
38439 (STABS_FUN_END): Likewise.
38440 (STABS_FUN2): Likewise.
38441 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38442 * sysdeps/x86_64/configure: Regenerated.
38443
5908bf46
RM
384442012-08-14 Roland McGrath <roland@hack.frob.com>
38445
38446 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38447 * elf/dl-lookup.c: Likewise.
5908bf46 38448
f2c05b9e
JM
384492012-08-14 Joseph Myers <joseph@codesourcery.com>
38450
38451 * sysdeps/unix/sysv/linux/kernel-features.h
38452 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38453 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38454 unconditionally.
38455 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38456 unconditionally.
38457 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38458 condition on __ASSUME_CLONE_THREAD_FLAGS.
38459
e11f5155
AJ
384602012-08-14 Andreas Jaeger <aj@suse.de>
38461
38462 * sysdeps/i386/fpu/libm-test-ulps: Update.
38463
51a9ba86
MK
384642012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38465
2fdd4f78
AJ
38466 * include/atomic.h (atomic_exchange_and_add): Split into ...
38467 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38468 New atomic macros.
51a9ba86 38469
ba6cba9e
MT
384702012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38471
38472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38473
42443a47
JL
384742012-08-13 Jeff Law <law@redhat.com>
38475
38476 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38477 null byte in the output string.
38478
121dce05
JM
384792012-08-10 Joseph Myers <joseph@codesourcery.com>
38480
38481 * sysdeps/unix/sysv/linux/kernel-features.h
38482 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38483 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38484 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38485 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38486 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38487 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38488 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38489
bf51f568
JL
384902012-08-09 Jeff Law <law@redhat.com>
38491
38492 [BZ #13939]
38493 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38494 When avoid_arena is set, don't retry in the that arena. Pick the
38495 next one, whatever it might be.
38496 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38497 (arena_lock): Pass in new parameter to arena_get2.
38498 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38499 arena_get2.
38500 (__libc_malloc): Unify retrying after main arena failure with
38501 __libc_memalign version.
38502 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38503
f85fa270
L
385042012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38505
38506 [BZ #14166]
38507 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38508 to __redirect_strstr.
38509 (__strstr_sse42): Use typeof __redirect_strstr.
38510 (__strstr_ia32): Likewise.
38511 (__libc_strstr): New prototype.
38512 (strstr): Renamed to ...
38513 (__libc_strstr): This.
38514 (strstr): New strong alias of __libc_strstr.
38515 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38516 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38517 __redirect_time.
38518 Include <time.h>.
38519 (__libc_time): New prototype.
38520 (time_ifunc): Replace time with __libc_time.
38521 (time): New strong alias and hidden definition of __libc_time.
38522 (__GI_time): Remove strong alias.
38523 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38524 Include <stddef.h>.
38525 (memmove): Redefined to __redirect_memmove.
38526 (__memmove_sse2): Use typeof __redirect_memmove.
38527 (__memmove_ssse3): Likewise.
38528 (__memmove_ssse3_back): Likewise.
38529 (__libc_memmove): New prototype.
38530 (memmove): Renamed to ...
38531 (__libc_memmove): This.
38532 (memmove): New strong alias of __libc_memmove.
38533
33b4a91e
MS
385342012-08-08 Mark Salter <msalter@redhat.com>
38535
38536 * elf/elf.h
38537 (R_MN10300_TLS_GD): Define.
38538 (R_MN10300_TLS_LD): Likewise.
38539 (R_MN10300_TLS_LDO): Likewise.
38540 (R_MN10300_TLS_GOTIE): Likewise.
38541 (R_MN10300_TLS_IE): Likewise.
38542 (R_MN10300_TLS_LE): Likewise.
38543 (R_MN10300_TLS_DTPMOD): Likewise.
38544 (R_MN10300_TLS_DTPOFF): Likewise.
38545 (R_MN10300_TLS_TPOFF): Likewise.
38546 (R_MN10300_SYM_DIFF): Likewise.
38547 (R_MN10300_ALIGN): Likewise.
38548 (R_MN10300_NUM): Update.
38549
b36137f1
JM
385502012-08-08 Joseph Myers <joseph@codesourcery.com>
38551
38552 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38553 Remove.
38554
cdd915fd
RM
385552012-08-08 Roland McGrath <roland@hack.frob.com>
38556
a2433aac
RM
38557 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38558
cdd915fd
RM
38559 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38560 sysdeps/unix -> sysdeps/posix move.
38561 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38562
bf9b740a
AM
385632012-08-07 Allan McRae <allan@archlinux.org>
38564
38565 [BZ #14303]
38566 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38567 (SUNOS_CPP): Likewise.
38568 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38569 not found.
38570 (open_input): Call CPP using execvp.
38571
93df14ee
JM
385722012-08-07 Joseph Myers <joseph@codesourcery.com>
38573
38574 * sysdeps/unix/sysv/linux/kernel-features.h
38575 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38576 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38577 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38578 (__ASSUME_WAITID_SYSCALL): Likewise.
38579 * sysdeps/unix/sysv/linux/dl-execstack.c
38580 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38581 code unconditional.
38582 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38583 conditional code.
38584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38585 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38586 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38587 code.
38588 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38589 unconditional.
38590 [__ASSUME_WAITID_SYSCALL]: Likewise.
38591 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38592
d34689de
RM
385932012-08-07 Roland McGrath <roland@hack.frob.com>
38594
a281decc
RM
38595 * sysdeps/unix/closedir.c: Renamed to ...
38596 * sysdeps/posix/closedir.c: ... here.
38597 * sysdeps/unix/dirfd.c: Renamed to ...
38598 * sysdeps/posix/dirfd.c: ... here.
38599 * sysdeps/unix/dirstream.h: Renamed to ...
38600 * sysdeps/posix/dirstream.h: ... here.
38601 * sysdeps/unix/fdopendir.c: Renamed to ...
38602 * sysdeps/posix/fdopendir.c: ... here.
38603 * sysdeps/unix/opendir.c: Renamed to ...
38604 * sysdeps/posix/opendir.c: ... here.
38605 * sysdeps/unix/readdir.c: Renamed to ...
38606 * sysdeps/posix/readdir.c: ... here.
38607 * sysdeps/unix/readdir_r.c: Renamed to ...
38608 * sysdeps/posix/readdir_r.c: ... here.
38609 * sysdeps/unix/rewinddir.c: Renamed to ...
38610 * sysdeps/posix/rewinddir.c: ... here.
38611 * sysdeps/unix/seekdir.c: Renamed to ...
38612 * sysdeps/posix/seekdir.c: ... here.
38613 * sysdeps/unix/telldir.c: Renamed to ...
38614 * sysdeps/posix/telldir.c: ... here.
38615 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38616 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38617 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38618 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38619
22895b47
RM
38620 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38621 * bits/fcntl.h: ... here.
38622
707a53b6
RM
38623 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38624 not 0.
38625 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38626 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38627 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38628 (struct flock): Move l_start, l_len to the beginning.
38629 Use __pid_t for l_pid.
38630 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38631 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38632 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38633 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38634 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38635 [__USE_LARGEFILE64] (struct flock64): New type.
38636 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38637
f0bd3e25
RM
38638 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38639 * bits/dirent.h: ... here.
38640
d34689de
RM
38641 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38642 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38643
6dad2c06
JM
386442012-08-07 Joseph Myers <joseph@codesourcery.com>
38645
38646 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38647 Change from 2.6.0 to 2.6.16.
38648 * sysdeps/unix/sysv/linux/configure: Regenerated.
38649 * sysdeps/unix/sysv/linux/kernel-features.h
38650 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38651 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38652 version.
38653 (__ASSUME_UTIMES): Likewise.
38654 (__ASSUME_CLONE_STOPPED): Remove.
38655 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38656 architectures, not kernel version.
38657 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38658 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38659 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38660 (__ASSUME_WAITID_SYSCALL): Likewise.
38661 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38662 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38663 * README: State 2.6.16 as minimum Linux kernel version. Do not
38664 refer to older versions.
38665
03af9520
RM
386662012-08-06 Roland McGrath <roland@hack.frob.com>
38667
8e49df1d
RM
38668 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38669 Define alphasort64 as an alias.
38670 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38671 Define versionsort64 as an alias.
38672 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38673 Define scandir64 as an alias.
38674 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38675 Define scandirat64 as an alias.
38676 * dirent/alphasort64.c (alphasort64):
38677 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38678 * dirent/versionsort64.c: Likewise.
38679 * dirent/scandir64.c: Likewise.
38680 * dirent/scandirat64.c: Likewise.
38681 * sysdeps/wordsize-64/alphasort.c: File removed.
38682 * sysdeps/wordsize-64/alphasort64.c: File removed.
38683 * sysdeps/wordsize-64/scandir.c: File removed.
38684 * sysdeps/wordsize-64/scandir64.c: File removed.
38685 * sysdeps/wordsize-64/scandirat.c: File removed.
38686 * sysdeps/wordsize-64/scandirat64.c: File removed.
38687 * sysdeps/wordsize-64/versionsort.c: File removed.
38688 * sysdeps/wordsize-64/versionsort64.c: File removed.
38689 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38691 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38693 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38695 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38696 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38697
38698 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38700 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38702 [defined __arch64__ || defined __sparcv9]
38703 (__INO_T_MATCHES_INO64_T): New macro.
38704 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38705 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38706 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38707 * sysdeps/unix/sysv/linux/bits/dirent.h
38708 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38709 (_DIRENT_MATCHES_DIRENT64): New macro.
38710
03af9520
RM
38711 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38712 Define lockf64 as an alias.
38713 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38714 Define fseeko64 as an alias.
38715 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38716 Define ftello64 as an alias.
38717 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38718 Define _IO_fgetpos64 and fgetpos64 as aliases.
38719 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38720 Define _IO_fsetpos64 and fsetpos64 as aliases.
38721 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38722 Conditionalize body on this.
38723 * libio/fseeko64.c: Likewise.
38724 * libio/ftello64.c: Likewise.
38725 * libio/iofgetpos64.c: Likewise.
38726 * libio/iofsetpos64.c: Likewise.
38727 * sysdeps/wordsize-64/lockf.c: File removed.
38728 * sysdeps/wordsize-64/lockf64.c: File removed.
38729 * sysdeps/wordsize-64/fseeko.c: File removed.
38730 * sysdeps/wordsize-64/fseeko64.c: File removed.
38731 * sysdeps/wordsize-64/ftello.c: File removed.
38732 * sysdeps/wordsize-64/ftello64.c: File removed.
38733 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38734 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38735 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38736 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38737 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38739 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38740 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38741 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38742 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38743 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38744 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38746 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38747
38748 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38750 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38752 [defined __arch64__ || defined __sparcv9]
38753 (__OFF_T_MATCHES_OFF64_T): New macro.
38754 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38755 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38757 (__OFF_T_MATCHES_OFF64_T): New macro.
38758
c5757acd
L
387592012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38760
38761 * stdlib/secure-getenv.c (__secure_getenv): Replace
38762 GLIBC_2_16 with GLIBC_2_17.
38763
3a31811e
L
387642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38765
38766 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38768
faa2bccb
DM
387692012-08-03 David S. Miller <davem@davemloft.net>
38770
38771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38772
85fe1997
JM
387732012-08-03 Joseph Myers <joseph@codesourcery.com>
38774
38775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38776 Remove.
38777 (__ASSUME_CORRECT_SI_PID): Likewise.
38778 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38779 (__ASSUME_TMPFS_NAME): Likewise.
38780 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38781 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38782 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38783 (HAVE_AUX_SECURE): Make definition unconditional.
38784 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38785 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38786
4f75b7a0
RM
387872012-08-03 Roland McGrath <roland@hack.frob.com>
38788
38789 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38790 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38791 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38792 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38793 __eloop_threshold instead of SYMLOOP_MAX.
38794
38795 * sysdeps/generic/eloop-threshold.h: New file.
38796 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38797 of MAXSYMLINKS.
38798 * elf/chroot_canon.c (chroot_canon): Likewise.
38799
7aab07e4
JM
388002012-08-03 Joseph Myers <joseph@codesourcery.com>
38801
38802 [BZ #13717]
38803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38804 Change to 2.6.0 everywhere.
38805 * sysdeps/unix/sysv/linux/configure: Regenerated.
38806 * sysdeps/unix/sysv/linux/kernel-features.h
38807 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38808 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38809 kernel versions.
38810 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38811 (__ASSUME_FUTEX_REQUEUE): Remove.
38812 (__ASSUME_STATFS64): Define unconditionally.
38813 (__ASSUME_AT_SECURE): Likewise.
38814 (__ASSUME_CORRECT_SI_PID): Likewise.
38815 (__ASSUME_TGKILL): Define without depending on kernel version for
38816 i386.
38817 (__ASSUME_UTIMES): Likewise.
38818 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38819 kernel version.
38820 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38821 (__ASSUME_TMPFS_NAME): Likewise.
38822 * README: Update reference to Linux kernel versions.
38823
b67e9372
MP
388242012-08-02 Marek Polacek <polacek@redhat.com>
38825
1f529f7d 38826 [BZ# 14150]
b67e9372
MP
38827 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38828 libc_cv_asm_type_prefix with %.
38829 * configure: Regenerated.
d2441631
RM
38830 * include/libc-symbols.h: Remove comment about
38831 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38832 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38833 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38834 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38835 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38836 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38837 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38838 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38839 * elf/tst-unique2mod1.c: Likewise.
38840 * elf/tst-unique1mod2.c: Likewise.
38841 * elf/tst-unique1mod1.c: Likewise.
38842 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38843 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38844 Replace ASM_TYPE_DIRECTIVE with .type.
38845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38846 * sysdeps/i386/sysdep.h: Likewise.
38847 * sysdeps/x86_64/sysdep.h: Likewise.
38848 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38850 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38851 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38852 * sysdeps/powerpc/powerpc32/sysdep.h:
38853 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38854 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38856 * sysdeps/i386/fpu/e_powf.S: Likewise.
38857 * sysdeps/i386/fpu/e_expl.S: Likewise.
38858 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38860 * sysdeps/i386/fpu/e_pow.S: Likewise.
38861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38865 * sysdeps/i386/fpu/e_log2.S: Likewise.
38866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38868 * sysdeps/i386/fpu/e_powl.S: Likewise.
38869 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38870 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38871 * sysdeps/i386/fpu/e_logl.S: Likewise.
38872 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38873 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38874 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38875 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38876 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38877 * sysdeps/i386/fpu/e_log.S: Likewise.
38878 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38879 * sysdeps/i386/fpu/e_logf.S: Likewise.
38880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38882 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38883 * sysdeps/i386/fpu/e_log10.S: Likewise.
38884 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38885 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38886 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38887 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38888 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38889 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38890 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38891 * sysdeps/i386/i686/strtok.S: Likewise.
38892 * sysdeps/i386/i386-mcount.S: Likewise.
38893 * sysdeps/i386/strtok.S: Likewise.
38894 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38896 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38897 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38898 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38899 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38900 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38901 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38903 * sysdeps/x86_64/_mcount.S: Likewise.
38904 * sysdeps/x86_64/strtok.S: Likewise.
38905 * sysdeps/sh/_mcount.S: Likewise.
38906
2747bf9a
RM
389072012-08-01 Roland McGrath <roland@hack.frob.com>
38908
38909 * libio/iofopen.c: Include <fcntl.h>.
38910 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38911 (_IO_fopen64, fopen64): Define as aliases.
38912 * libio/iofopen64.c: Include <fcntl.h>.
38913 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38914 Conditionalize body on this.
38915 * sysdeps/wordsize-64/iofopen.c: File removed.
38916 * sysdeps/wordsize-64/iofopen64.c: File removed.
38917
3fb791b8
MP
389182012-08-01 Marek Polacek <polacek@redhat.com>
38919
38920 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38921 Use dlfcn directly instead of a variable.
38922 (binfmt-subdir): Do not define.
38923 (dlfcn): Likewise.
38924
a9f1039f
JM
389252012-08-01 Joseph Myers <joseph@codesourcery.com>
38926
23bddc06
JM
38927 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38928 Remove all definitions.
38929 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38930 <kernel-features.h>.
38931 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38932 (miss_F_GETOWN_EX): Remove all definitions.
38933 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38934 macro definition.
38935 [!__ASSUME_FCNTL64]: Remove conditional code.
38936 [__ASSUME_FCNTL64]: Make code unconditional.
38937 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38938 <kernel-features.h>.
38939 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38940 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38941 (lockf64) [__NR_fcntl64]: Make code unconditional.
38942 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38943
a9f1039f
JM
38944 * sysdeps/unix/sysv/linux/kernel-features.h
38945 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38946 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38947 Make code unconditional.
38948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38951 [__NR_vfork]: Make code unconditional.
38952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38955 [__NR_vfork]: Make code unconditional.
38956 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38957 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38958
09c0ee5f
RM
389592012-08-01 Roland McGrath <roland@hack.frob.com>
38960
48aec5b9
RM
38961 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38962 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38963
cd97c966
RM
38964 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38965 Define mkstemp64 as an alias.
3f55550c
RM
38966 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38967 Define mkstemps64 as an alias.
cd97c966
RM
38968 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38969 Define mkostemp64 as an alias.
b8625cfc
RM
38970 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38971 Define mkostemps64 as an alias.
cd97c966
RM
38972 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38973 Conditionalize body on this.
38974 * misc/mkostemp64.c: Likewise.
b8625cfc 38975 * misc/mkostemps64.c: Likewise.
3f55550c 38976 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38977 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38978 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38979 * sysdeps/wordsize-64/mkostemp.c: File removed.
38980 * sysdeps/wordsize-64/mkstemp.c: File removed.
38981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38982 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38985
09c0ee5f
RM
38986 [BZ #14138]
38987 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38988 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38989 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38990 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38991
38992 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38993 compat_symbol macros from <shlib-compat.h> rather than the underlying
38994 default_symbol_version and symbol_version macros, so that DEFAULT
38995 lines in shlib-versions are respected.
38996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38997
7e66ee51
FW
389982012-08-01 Florian Weimer <fweimer@redhat.com>
38999
39000 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39001 Declare with warn_unused_result.
39002 (setgid, setregid, setegid, setresgid): Likewise.
39003 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39004 Likewise.
39005 * WUR-REPORT: Remove set*id functions.
39006
d2a54255
PT
390072012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39008
39009 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39010
7ecdb005
RM
390112012-07-31 Roland McGrath <roland@hack.frob.com>
39012
b4180a5e 39013 [BZ #10191]
789bd351
RM
39014 * include/sys/socket.h (__libc_accept, __libc_accept4):
39015 Add attribute_hidden.
39016 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39017
40ce302d
RM
39018 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39019 use of PTR_MANGLE.
39020 * inet/getnetgrent_r.c (setup): Likewise.
39021
7ecdb005
RM
39022 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39023
e2eabb2c
DM
390242012-07-31 David S. Miller <davem@davemloft.net>
39025
39026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39027
d0419dbf
JM
390282012-07-31 Joseph Myers <joseph@codesourcery.com>
39029
39030 [BZ #13629]
39031 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39032 value between 1.0 and 2.0 and smaller part has absolute value less
39033 than 1.0.
39034 * math/s_clog10.c (__clog10): Likewise.
39035 * math/s_clog10f.c (__clog10f): Likewise.
39036 * math/s_clog10l.c (__clog10l): Likewise.
39037 * math/s_clogf.c (__clogf): Likewise.
39038 * math/s_clogl.c (__clogl): Likewise.
39039 * math/libm-test.inc (clog_test): Add more tests.
39040 (clog10_test): Likewise.
39041 * sysdeps/i386/fpu/libm-test-ulps: Update.
39042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39043
2bc13872
FW
390442012-07-31 Florian Weimer <fweimer@redhat.com>
39045
39046 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39047 Exit with zero in case no suitable GID is found, and write a
39048 message to standard error.
39049
bea9b193
RM
390502012-07-30 Roland McGrath <roland@hack.frob.com>
39051
39052 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39053 rather than to 1.
39054 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39055 (MAXPATHLEN): Removed.
39056 (NOGROUP, NODEV): New macros.
39057 (setbit, clrbit, isset, isclr): New macros.
39058 (howmany, roundup, powerof2): New macros.
39059 (DEV_BSIZE): New macro.
39060
39061 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39062 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39063
39064 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39065 definition on [!__NO_LONG_DOUBLE_MATH].
39066
39067 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39068 PTR_MANGLE and PTR_DEMANGLE.
39069
39070 * socket/accept4.c (accept4): Rename to __libc_accept4.
39071 Define accept4 as a weak alias.
39072
39073 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39074 on [_DIRENT_HAVE_D_TYPE].
39075 * io/ftw.c (ftw_dir): Likewise.
39076
39077 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39078
39079 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39080
39081 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39082 Use the BSD numbers rather than the arbitrary ones we had.
39083 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39084 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39085 (SIGXCPU, SIGXFSZ): New macros.
39086 (_NSIG): Now 32.
39087
39088 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39089 initializer on [_LIBC_REENTRANT].
39090
39091 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39092 definitions inside [_POSIX_MAPPED_FILES].
39093
39094 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39095
39096 * dirent/opendir.c: Include <fcntl.h>.
39097
39098 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39099 (__libc_getspecific): Likewise.
39100 (__libc_key_create): Likewise.
39101
39102 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39103 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39104 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39105 (tmpfile64): Define as alias.
39106 * sysdeps/wordsize-64/tmpfile.c: File removed.
39107 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39108 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39110
39111 * stdio-common/vfscanf.c: Include <stdbool.h>.
39112 * nss/makedb.c: Likewise.
39113 * stdio-common/_i18n_number.h: Likewise.
39114 * argp/argp-help.c: Likewise.
39115 * posix/wordexp.c: Likewise.
39116 * sysdeps/posix/spawni.c: Likewise.
39117 * nss/nss_files/files-initgroups.c: Likewise.
39118 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39119 * nss/nss_files/files-initgroups.c: Likewise.
39120 * nss/nss_db/db-netgrp.c: Likewise.
39121 * nss/nss_db/db-initgroups.c: Likewise.
39122 * io/fchmodat.c: Include <sys/stat.h>.
39123
39124 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39125 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39126
39127 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39128 [HAVE_MMAP].
39129
39130 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39131 Add multiple inclusion protection.
39132
e5abc686
DM
391332012-07-27 David S. Miller <davem@davemloft.net>
39134
39135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39136
815e6fa3
GB
391372012-07-27 Gary Benson <gbenson@redhat.com>
39138
39139 [BZ #14298]
39140 * elf/rtld.c: Include <stap-probe.h>.
39141 (dl_main): Added static probes "init_start" and "init_complete".
39142 * elf/dl-load.c: Include <stap-probe.h>.
39143 (lose): Take new parameter "nsid".
39144 Added static probe "map_failed".
39145 (_dl_map_object_from_fd): Pass namespace id to lose.
39146 Added static probe "map_start".
39147 (open_verify): Pass namespace id to lose.
39148 * elf/dl-open.c: Include <stap-probe.h>.
39149 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39150 and "reloc_complete".
39151 * elf/dl-close.c: Include <stap-probe.h>.
39152 (_dl_close_worker): Added static probes "unmap_start" and
39153 "unmap_complete".
39154 * elf/rtld-debugger-interface.txt: New file documenting the above.
39155
9f98c16c
RM
391562012-07-26 Roland McGrath <roland@hack.frob.com>
39157
39158 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39159 rather than a string variable.
39160 * sunrpc/rpc_main.c (h_output): Likewise.
39161 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39162
f3c22df3
PT
391632012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39164
39165 * inet/check_native.c: New file.
39166
3129cfc6
JM
391672012-07-26 Joseph Myers <joseph@codesourcery.com>
39168
da865e95
JM
39169 [BZ #13629]
39170 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39171 if larger part has absolute value 1.0.
39172 * math/s_clog10.c (__clog10): Likewise.
39173 * math/s_clog10f.c (__clog10f): Likewise.
39174 * math/s_clog10l.c (__clog10l): Likewise.
39175 * math/s_clogf.c (__clogf): Likewise.
39176 * math/s_clogl.c (__clogl): Likewise.
39177 * math/libm-test.inc (clog_test): Add more tests.
39178 (clog10_test): Likewise.
39179 * sysdeps/i386/fpu/libm-test-ulps: Update.
39180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39181
3129cfc6
JM
39182 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39183 (pltexit): Likewise.
39184 (La_regs): Likewise.
39185 (La_retval): Likewise.
39186 (int_retval): Likewise.
39187 Update #error for removed macros to refer only to definitions in
39188 tst-audit.h.
39189 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39190 macro.
39191 (pltexit): Likewise.
39192 (La_regs): Likewise.
39193 (La_retval): Likewise.
39194 (int_retval): Likewise.
39195 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39196 macro.
39197 (pltexit): Likewise.
39198 (La_regs): Likewise.
39199 (La_retval): Likewise.
39200 (int_retval): Likewise.
39201 * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
39220 macro.
39221 (pltexit): Likewise.
39222 (La_regs): Likewise.
39223 (La_retval): Likewise.
39224 (int_retval): Likewise.
39225 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39226 macro definitions in tst-audit.h.
39227 * sysdeps/i386/tst-audit.h: New file.
39228 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39229 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39230 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39231 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39232 * sysdeps/sh/tst-audit.h: Likewise.
39233 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39234 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39235 * sysdeps/x86_64/tst-audit.h: Likewise.
39236
bfc07087
AJ
392372012-07-26 Andreas Jaeger <aj@suse.de>
39238
b1b2aaf8
AJ
39239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39240 ptrace.
39241
39242 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39243 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39244 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39245 PTRACE_O_MASK.
39246 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39247 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39248 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39249
bfc07087
AJ
39250 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39251 value.
39252
39253 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39254 _sigsys.
39255 (si_call_addr, si_syscall, si_arch): Define new macro.
39256 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39257 _sigsys.
39258 (si_call_addr, si_syscall, si_arch): Define new marcro.
39259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39260 _sigsys.
39261 (si_call_addr, si_syscall, si_arch): Define new macro.
39262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39263 _sigsys.
39264 (si_call_addr, si_syscall, si_arch): Define new macro.
39265
89b4b02f
JM
392662012-07-25 Joseph Myers <joseph@codesourcery.com>
39267
39268 [BZ #13717]
39269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39270 Change to 2.4.21 where previously 2.4.1.
39271 * sysdeps/unix/sysv/linux/configure: Regenerated.
39272 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39273 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39274 Linux kernel version.
39275 (__ASSUME_STD_AUXV): Remove.
39276 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39277 kernel version.
39278 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39279 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39280 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39281 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39282 (__ASSUME_NETLINK_SUPPORT): Likewise.
39283 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39284 (__no_netlink_support): Remove conditional definition.
39285 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39286 Remove.
39287 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39288 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39289 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39290 (if_nameindex_ioctl): Remove.
39291 (if_nameindex_netlink): Do not handle __no_netlink_support.
39292 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39293 code.
39294 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39295 Remove conditional code.
39296 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39297 code.
39298 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39299 unconditional.
39300 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39301 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39302 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39303 Remove.
39304 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39305 [!__ASSUME_STD_AUXV]: Remove conditional code.
39306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39307 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39308 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39310 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39311 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39312 code.
39313 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39315 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39316 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39317 conditional code.
39318 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39320 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39321 code.
39322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39323 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39324 conditional code.
39325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39326 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39327 code unconditional.
39328 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39329 conditional code.
39330 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39331 unconditional.
39332 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39333 conditional code.
39334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39335 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39336 unconditional.
39337 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39338 conditional code.
39339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39340 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39341 code unconditional.
39342 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39343 conditional code.
39344 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39345 unconditional.
39346 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39347 conditional code.
39348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39349 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39350 code unconditional.
39351 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39352 conditional code.
39353 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39354 unconditional.
39355 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39356 conditional code.
39357
842a39cd
AS
393582012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39359
39360 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39361 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39362 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39363 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39364 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39365 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39366 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39367 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39368 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39369 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39370 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39371 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39372 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39373 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39374 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39375 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39376 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39378 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39380 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39381 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39382 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39383
84b3fd84
FW
393842012-07-25 Florian Weimer <fweimer@redhat.com>
39385
39386 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39387 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39388 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39389 Introduce __libc_secure_getenv.
0c7936d5
FW
39390 * stdlib/Versions (2.17): Add secure_getenv
39391 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39392 * stdlib/secure-getenv.c: Rename __secure_getenv to
39393 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39394 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39395 * stdlib/tst-secure-getenv.c: New.
39396 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39397 * manual/startup.texi (Environment Access): Document
39398 secure_getenv.
84b3fd84
FW
39399 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39400 __libc_secure_getenv.
39401 * inet/ruserpass.c (ruserpass): Likewise.
39402 * malloc/mtrace.c (mtrace): Likewise.
39403 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39404 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39405 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39406 * sysdeps/posix/tempname.c: Likewise. Evaluate
39407 HAVE_SECURE_GETENV.
39408 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39409 __secure_getenv to __libc_secure_getenv.
84b3fd84 39410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39412 Likewise.
39413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39414 Likewise.
39415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39422
56e49b71
JM
394232012-07-25 Joseph Myers <joseph@codesourcery.com>
39424
39425 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39426 (struct La_i86_retval): Likewise.
39427 (struct La_x86_64_regs): Likewise.
39428 (struct La_x86_64_retval): Likewise.
39429 (struct La_x32_regs): Likewise.
39430 (struct La_x32_retval): Likewise.
39431 (struct La_ppc32_regs): Likewise.
39432 (struct La_ppc32_retval): Likewise.
39433 (struct La_ppc64_regs): Likewise.
39434 (struct La_ppc64_retval): Likewise.
39435 (struct La_sh_regs): Likewise.
39436 (struct La_sh_retval): Likewise.
39437 (struct La_s390_32_regs): Likewise.
39438 (struct La_s390_32_retval): Likewise.
39439 (struct La_s390_64_regs): Likewise.
39440 (struct La_s390_64_retval): Likewise.
39441 (struct La_sparc32_regs): Likewise.
39442 (struct La_sparc32_retval): Likewise.
39443 (struct La_sparc64_regs): Likewise.
39444 (struct La_sparc64_retval): Likewise.
39445 (struct audit_ifaces): Remove architecture-specific pltenter and
39446 pltexit members.
39447 * sysdeps/i386/ldsodefs.h: New file.
39448 * sysdeps/powerpc/ldsodefs.h: Likewise.
39449 * sysdeps/s390/ldsodefs.h: Likewise.
39450 * sysdeps/sh/ldsodefs.h: Likewise.
39451 * sysdeps/sparc/ldsodefs.h: Likewise.
39452 * sysdeps/x86_64/ldsodefs.h: Likewise.
39453
354691b7
MP
394542012-07-25 Marek Polacek <polacek@redhat.com>
39455
39456 [BZ #6808]
39457 * math/libm-test.inc (yn_test): Add another test.
39458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39459 to ERANGE when the result is +-Inf.
39460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39461 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39462 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39463 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39464
bf9e2071
JM
394652012-07-24 Joseph Myers <joseph@codesourcery.com>
39466
39467 * conform/data/time.h-data (NULL): Use macro-constant. Require
39468 equal to 0.
39469 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39470 clock_t.
39471 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39472
57633811
TS
394732012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39474
39475 * configure.in <sysdeps resolving>: Correct printing
39476 Implies_before.
39477 * configure: Regenerate.
39478
c23c33b0
TS
394792012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39480
39481 * math/w_ilogb.c: Include <limits.h>.
39482 * math/w_ilogbl.c: Likewise.
39483
b5982523
JM
394842012-07-20 Joseph Myers <joseph@codesourcery.com>
39485
39486 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39487 va_copy. Document allowing for unavailable va_copy only as
39488 pre-C99 compatibility.
39489 * manual/string.texi (Copying and Concatenation): Use va_copy
39490 instead of __va_copy in concat example.
39491
ac4ea442
PT
394922012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39493
39494 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39495 (__sendto): Use create_address_port. Initialize APORT and deallocate
39496 it if not null.
39497
f98eafbd
PT
39498 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39499 with O_NOLINK passed to __file_name_lookup.
39500
898c7aab
PT
39501 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39502 with O_NOLINK passed to __file_name_lookup.
39503
0ced335a
PT
39504 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39505 negative N or less than NGIDS.
39506
b3404dbd
PT
39507 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39508 type to string_t. Set ERANGE as errno and return it if NAME is not big
39509 enough. Use memcpy instead of strncpy.
39510
0f48659e
JM
395112012-07-20 Joseph Myers <joseph@codesourcery.com>
39512
39513 * elf/Makefile (check-data): Remove.
39514 (localplt.data): New vpath directive.
39515 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39516 instead of $(check-data).
39517 * scripts/data/localplt-generic.data: Move to ...
39518 * sysdeps/generic/localplt.data: ... here.
39519 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39520 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39521 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39523 ... here.
39524 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39526 ... here.
39527 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39529 ... here.
39530 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39532 ... here.
39533 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39535 ... here.
39536 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39538 ... here.
39539
d37cbdaa
AZ
395402012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39541
39542 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39543 PPC32 and PPC64 files.
39544 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39545 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39546
46f85fc2
AK
395472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39548
39549 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39550 __makecontext_ret to ...
39551 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39552 ... here and call exit if uc_link is NULL. New file.
39553 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39554 __makecontext_ret.S.
39555 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39556 __makecontext_ret to ...
39557 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39558 ... here and call exit if uc_link is NULL. New file.
39559 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39560 __makecontext_ret.S.
39561
08f43f9b
AK
395622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39563
39564 * elf/elf.h (R_390_IRELATIVE): New definition.
39565 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39566 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39567 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39568 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39569 (elf_machine_lazy_rel): Likewise.
39570 * sysdeps/s390/dl-irel.h: New file.
39571 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39572 * sysdeps/s390/s390-64/memset.S: New asm code.
39573 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39574 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39575 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39576 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39577 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39578 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39580 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39581 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39582 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39583 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39584 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39585 * sysdeps/s390/s390-32/memset.S: New asm code.
39586 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39587
3b05db33
MP
395882012-07-17 Marek Polacek <polacek@redhat.com>
39589
39590 [BZ #14349]
39591 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39592 * sysdeps/s390/s390-64/configure.in: Likewise.
39593 * sysdeps/sparc/configure.in: Likewise.
39594 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39595 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39596 * sysdeps/i386/configure.in: Likewise.
39597 * sysdeps/x86_64/configure.in: Likewise.
39598 * sysdeps/sh/configure.in: Likewise.
39599 * sysdeps/s390/s390-32/configure: Regenerated.
39600 * sysdeps/s390/s390-64/configure: Likewise.
39601 * sysdeps/x86_64/configure: Likewise.
39602 * sysdeps/sh/configure: Likewise.
39603 * sysdeps/powerpc/powerpc64/configure: Likewise.
39604 * sysdeps/powerpc/powerpc32/configure: Likewise.
39605 * sysdeps/sparc/configure: Likwise.
39606 * sysdeps/i386/configure: Likewise.
39607
a66877c6
MP
39608 * elf/dl-open.c: Comment fixes.
39609
cfc82fd8
JM
396102012-07-17 Joseph Myers <joseph@codesourcery.com>
39611
bd29910a
JM
39612 * Makefile [CXX] (check-data): Remove.
39613 [CXX] (c++-types.data): New vpath directive.
39614 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39615 vpath. Do not allow for C++ type data being missing.
39616 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39617 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39618 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39619 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39620 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39621 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39622 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39624 ... here.
39625 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39627 ... here.
39628 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39630 ... here.
39631 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39633 ... here.
39634 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39636 ... here.
39637 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39639 ... here.
39640 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39642 ... here.
39643 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39645
cfc82fd8
JM
39646 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39647 definitions to architecture-specific files.
39648 (TLS_IE): Likewise.
39649 (TLS_LD): Likewise.
39650 (TLS_GD): Likewise.
39651 * sysdeps/i386/tls-macros.h: New file.
39652 * sysdeps/powerpc/tls-macros.h: Likewise.
39653 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39654 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39655 * sysdeps/sh/tls-macros.h: Likewise.
39656 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39657 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39658 * sysdeps/x86_64/tls-macros.h: Likewise.
39659
f7db3170
TS
396602012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39661
07cbfc23
TS
39662 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39663 zero value for regular exit case.
39664
f7db3170
TS
39665 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39666 (__start_context): Preserve zero value for regular exit case.
39667
dc97c227
TS
396682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39669 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39670
39671 * manual/setjmp.texi (setcontext): Clarify normal process
39672 termination when uc_link is the null pointer.
39673 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39674 exit call.
39675
d0cd7d02
AS
396762012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39677
39678 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39679 preprocessor. Test for each exception mask separately.
39680
dd318934
AJ
396812012-07-16 Andreas Jaeger <aj@suse.de>
39682
39683 * po/ru.po: Update from translation team.
39684
8048311a
JM
396852012-07-15 Joseph Myers <joseph@codesourcery.com>
39686
39687 * conform/data/string.h-data (NULL): Use macro-constant. Require
39688 equal to 0.
39689 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39690 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39691 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39692 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39693 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39694
b637d46e
AJ
396952012-07-13 Andreas Jaeger <aj@suse.de>
39696
39697 * po/fr.po: Update from translation team.
39698
541428fe
MP
396992012-07-12 Marek Polacek <polacek@redhat.com>
39700
39701 [BZ #14173]
39702 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39703 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39704 loop condition.
39705
ec332e94
JM
397062012-07-12 Joseph Myers <joseph@codesourcery.com>
39707
39708 [BZ #13717]
39709 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39710 Change to 2.4.1 where previously 2.4.0.
39711 * sysdeps/unix/sysv/linux/configure: Regenerated.
39712 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39713 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39714 version.
39715 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39716 (__ASSUME_AT_CLKTCK): Remove.
39717 (__ASSUME_AT_PAGESIZE): Likewise.
39718 (__ASSUME_AT_XID): Likewise.
39719 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39720 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39721 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39722 unconditionally.
39723 (HAVE_AUX_PAGESIZE): Likewise.
39724 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39725 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39726 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39727
7b6e99be
JB
397282012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39729
39730 [BZ #14307]
39731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39732 the temporary buffer used to invoke __gethostbyname2_r,
39733 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39734 host_data / struct gaih_addrtuple.
39735 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39736 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39737 header file nss/nsswitch.h.
39738 * nss/nsswitch.h (global scope): Add definition of implementation
39739 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39740 resolv/nss_dns/dns-host.c).
39741
608404eb
AJ
397422012-07-11 Andreas Jaeger <aj@suse.de>
39743
39744 * po/fr.po: Update from translation team.
39745
71220aca
AJ
39746 * po/sv.po: Update from translation team
39747 * po/fr.po: Another update from translation team.
39748
28cfe843
AZ
397492012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39750
39751 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39752 for subnormals or multiply small sinh result by itself.
39753 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39755
6b90f981
DM
397562012-07-11 David S. Miller <davem@davemloft.net>
39757
39758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39759
c6825772
AS
397602012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39761
39762 [BZ #14347]
39763 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39764 (INTERNAL_MARK): Shift it here.
39765
7b8e0d49
MP
397662012-07-10 Marek Polacek <polacek@redhat.com>
39767
39768 [BZ #14151]
39769 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39770 libc_cv_asm_global_directive with .globl.
39771 * configure: Regenerated.
39772 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39773 with .globl.
39774 * sysdeps/i386/configure: Regenerated.
39775 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39776 with .globl.
39777 * sysdeps/x86_64/configure: Regenerated.
39778 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39779 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39780 * elf/tst-unique2mod2.c: Likewise.
39781 * elf/tst-unique2mod1.c: Likewise.
39782 * elf/tst-unique1mod2.c: Likewise.
39783 * elf/tst-unique1mod1.c: Likewise.
39784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39785 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39787 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39788 * sysdeps/mach/sysdep.h: Likewise.
39789 * sysdeps/i386/sysdep.h: Likewise.
39790 * sysdeps/i386/i386-mcount.S: Likewise.
39791 * sysdeps/x86_64/_mcount.S: Likewise.
39792 * sysdeps/x86_64/sysdep.h: Likewise.
39793 * sysdeps/sh/_mcount.S: Likewise.
39794 * sysdeps/sh/sysdep.h: Likewise.
39795 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39796 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39797 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39798 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39799 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39800 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39801 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39802 * locale/localeinfo.h: Likewise.
39803 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39804 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39805
6c55cda3
RM
398062012-07-09 Roland McGrath <roland@hack.frob.com>
39807
39808 [BZ #14336]
39809 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39810 system".
39811 * manual/message.texi (The Uniforum approach): Likewise.
39812 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39813 (glibc iconv Implementation): Likewise.
39814
638a572e
JM
398152012-07-09 Joseph Myers <joseph@codesourcery.com>
39816
39817 [BZ #14337]
39818 * math/s_clog.c (__clog): Avoid scaling a value down where that
39819 could result in underflow.
39820 * math/s_clog10.c (__clog10): Likewise.
39821 * math/s_clog10f.c (__clog10f): Likewise.
39822 * math/s_clog10l.c (__clog10l): Likewise.
39823 * math/s_clogf.c (__clogf): Likewise.
39824 * math/s_clogl.c (__clogl): Likewise.
39825 * math/libm-test.inc (clog_test): Add more tests.
39826 (clog10_test): Likewise.
39827 * sysdeps/i386/fpu/libm-test-ulps: Update.
39828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39829
261f4859
AS
398302012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39831
0abaf3e4
AS
39832 [BZ #14283]
39833 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39834 by 7 not 8 to examine high bit of fractional part.
39835
261f4859
AS
39836 [BZ #14042]
39837 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39838 for call to __mcount_internal.
39839 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39840 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39841 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39842
f17ac40d
JM
398432012-07-06 Joseph Myers <joseph@codesourcery.com>
39844
9ad63c23
JM
39845 [BZ #14154]
39846 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39847 approximation for values within 0x1p-13f of an odd multiple of
39848 pi/4.
39849 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39850 exception. Add more tests.
39851 * sysdeps/i386/fpu/libm-test-ulps: Update.
39852
f17ac40d
JM
39853 [BZ #6778]
39854 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39855 inputs and return -1 for them. Do not check for +Inf in case not
39856 reachable for +Inf.
39857 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39858 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39859 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39860 and return -1 for them. Do not check for +Inf in case not
39861 reachable for +Inf.
39862 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39863 define.
39864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39865 and return -1 for them. Do not check for +Inf in case not
39866 reachable for +Inf.
39867 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39868 spurious underflow.
39869 * sysdeps/i386/fpu/libm-test-ulps: Update.
39870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39871
fb21f89b
MF
398722012-07-06 Mike Frysinger <vapier@gentoo.org>
39873
39874 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39875
cdfe2c5e
JM
398762012-07-05 Joseph Myers <joseph@codesourcery.com>
39877
39878 [BZ #14157]
39879 [BZ #14331]
39880 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39881 could result in spurious underflow. Scale down values above
39882 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39883 * math/s_csqrtf.c (__csqrtf): Likewise.
39884 * math/s_csqrtl.c (__csqrtl): Likewise.
39885 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39886 spurious underflow.
39887 * sysdeps/i386/fpu/libm-test-ulps: Update.
39888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39889
70d35b67
AS
398902012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39891
704bc459
AS
39892 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39893 xopen-msg.sed.
39894 * catgets/xopen-msg.awk: New file.
39895 * catgets/xopen-msg.sed: Removed.
39896
70d35b67
AS
39897 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39898 po2text.sed.
39899 * intl/po2test.awk: New file.
39900 * intl/po2test.sed: Removed.
39901
ca61cf32
JM
399022012-07-04 Joseph Myers <joseph@codesourcery.com>
39903
39904 [BZ #14328]
39905 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39906 or multiply small sinh result by itself.
39907 * math/s_ctanf.c (__ctanf): Likewise.
39908 * math/s_ctanh.c (__ctanh): Likewise.
39909 * math/s_ctanhf.c (__ctanhf): Likewise.
39910 * math/s_ctanhl.c (__ctanhl): Likewise.
39911 * math/s_ctanl.c (__ctanl): Likewise.
39912 * math/libm-test.inc (ctan_test_tonearest): New function.
39913 (ctan_test_towardzero): Likewise.
39914 (ctan_test_downward): Likewise.
39915 (ctan_test_upward): Likewise.
39916 (ctanh_test_tonearest): Likewise.
39917 (ctanh_test_towardzero): Likewise.
39918 (ctanh_test_downward): Likewise.
39919 (ctanh_test_upward): Likewise.
39920 (main): Call these new functions.
39921 * sysdeps/i386/fpu/libm-test-ulps: Update.
39922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39923
ca48a46a
MF
399242012-07-03 Mike Frysinger <vapier@gentoo.org>
39925
39926 * .gitignore: Delete /ports entry.
39927
9d63d37d
AJ
399282012-07-03 Andreas Jaeger <aj@suse.de>
39929
39930 * po/bg.po: Update from translation team.
39931 * po/cs.po: Likewise.
39932 * po/de.po: Likewise.
39933 * po/hr.po: Likewise.
39934 * po/nl.pl: Likewise.
39935 * po/pl.po: Likewise.
39936 * po/vi.po: Likewise.
39937
370ca3d2
JM
399382012-07-03 Joseph Myers <joseph@codesourcery.com>
39939
95f5a9a8
JM
39940 * Makeconfig [!+link] (+link-before-libc): New variable.
39941 [!+link] (+link-after-libc): Likewise.
39942 [!+link] (+link-tests): Likewise.
39943 [!+link] (+link): Define in terms of $(+link-before-libc) and
39944 $(+link-after-libc).
39945 [!+link-static] (+link-static-before-libc): New variable.
39946 [!+link-static] (+link-static-after-libc): Likewise.
39947 [!+link-static] (+link-static-tests): Likewise.
39948 [!+link-static] (+link-static): Define in terms of
39949 $(+link-static-before-libc) and $(+link-static-after-libc).
39950 [build-shared] (link-libc-before-gnulib): New variable.
39951 [build-shared] (link-libc-tests): Likewise.
39952 [build-shared] (link-libc): Define in terms of
39953 $(link-libc-before-gnulib).
39954 [!build-shared] (link-libc-tests): New variable.
39955 (link-libc-static-tests): New variable.
39956 [!gnulib] (gnulib-arch): New variable.
39957 [!gnulib] (gnulib-tests): Likewise.
39958 [!gnulib] (static-gnulib-arch): Likewise.
39959 [!gnulib] (static-gnulib-tests): Likewise.
39960 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39961 Define with "=" instead of ":=".
39962 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39963 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39964 * Rules (binaries-all-notests): New variable.
39965 (binaries-all-tests): Likewise.
39966 (binaries-static-notests): Likewise.
39967 (binaries-static-tests): Likewise.
39968 (binaries-all): Define using $(binaries-all-notests) and
39969 $(binaries-all-tests).
39970 (binaries-static): Define using $(binaries-static-notests) and
39971 $(binaries-static-tests).
39972 (binaries-shared-tests): New variable.
39973 (binaries-shared-notests): Likewise.
39974 (binaries-shared): Remove variable.
39975 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39976 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39977 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39978 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39979 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39980 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39981 * elf/Makefile (sln-modules): New variable.
39982 (extra-objs): Add $(sln-modules:=.o).
39983 (ldconfig-modules): Add static-stubs.
39984 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39985 * elf/static-stubs.c: New file.
39986
7a845b2c
JM
39987 [BZ #14283]
39988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39989 by 7 not 8 to examine high bit of fractional part. Use volatile
39990 variables when splitting into final array of floats if
39991 __FLT_EVAL_METHOD__ != 0.
39992 * math/libm-test.inc (cos_test): Add another test.
39993 (sin_test): Likewise.
39994 * sysdeps/i386/fpu/libm-test-ulps: Update.
39995
e2283f38
JM
39996 [BZ #14273]
39997 * math/libm-test.inc (cosh_test): Add more tests.
39998
370ca3d2
JM
39999 * version.h (RELEASE): Set to "development".
40000 (VERSION): Set to "2.16.90".
40001
ee9247c3
CD
400022012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40003
40004 * NEWS: Update copyright. Remove last-updated date.
40005 Mention math library bug fixes and timezone data changes.
40006 * README: Mention GNU/Hurd, x32, and HPPA support status.
40007
4648c381
TS
400082012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40009
40010 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40011
aac78a43
AJ
400122012-06-27 Andreas Jaeger <aj@suse.de>
40013
40014 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40015
ed3dbfad
AJ
400162012-06-25 Andreas Jaeger <aj@suse.de>
40017
40018 * sysdeps/s390/fpu/libm-test-ulps: Update.
40019
4d0ee855
AS
400202012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40021 Thomas Schwinge <thomas@codesourcery.com>
40022
40023 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40024 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40025 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40026 fanotify_mark.
40027
af1bce34
TS
400282012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40029
a9fa33ba
TS
40030 * sysdeps/mach/start.c: Remove file.
40031 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40032 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40033 * sysdeps/sh/init-first.c: Likewise.
40034
58f902b8
TS
40035 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40036 registers for frame unwinding purposes, add CFI directives.
40037 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40038 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40039 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40040 Likewise.
40041
1518f58b
TS
40042 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40043 __fortify_fail returning.
40044 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40045
db9b5059
TS
40046 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40047 sysdeps/sh/____longjmp_chk.S.
40048 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40049 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40050 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40051 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40052
967705fe
TS
40053 * sysdeps/sh/abort-instr.h: New file.
40054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40055 process in case exit returns.
40056
a9def8c4
TS
40057 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40058 initialize the GOT register before use.
40059
2a649725
TS
40060 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40061 calculation of ARGC > 4.
40062
af1bce34
TS
40063 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40064 meaningful names to some local labels.
40065
d230f50a
KK
400662012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40067 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40068
40069 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40070 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40071 (__arch_compare_and_exchange_val_16_acq): Likewise.
40072 (__arch_compare_and_exchange_val_32_acq): Likewise.
40073 (atomic_exchange_and_add): Fix gUSA sequence.
40074 (atomic_add): Likewise.
40075 (atomic_add_negative): Likewise.
40076 (atomic_add_zero): Likewise.
40077 (atomic_bit_test_set): Likewise.
40078
0479b305
AS
400792012-06-22 Andreas Schwab <schwab@redhat.com>
40080
40081 [BZ #13579]
40082 * include/link.h (struct link_map): Add l_free_initfini.
40083 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40084 l_initfini.
40085 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40086 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40087 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40088 set.
40089
0e3933b9
CD
400902012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40091
40092 * configure.in: Use AC_LANG_SOURCE.
40093 * configure: Regenerate.
40094
4248b1b1
RM
400952012-06-22 Roland McGrath <roland@hack.frob.com>
40096
40097 * configure.in (libc_cv_localstatedir): New substituted variable.
40098 * configure: Regenerated.
40099 * config.make.in (localstatedir): New variable, substituted from
40100 libc_cv_localstatedir.
40101 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40102 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40103 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40104 * sysdeps/gnu/configure: Regenerated.
40105
006dd861
JL
401062012-06-21 Jeff Law <law@redhat.com>
40107
40108 [BZ #14277]
40109 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40110 free. Simplify list management for _LIBC case.
40111
79662d42
JM
401122012-06-21 Joseph Myers <joseph@codesourcery.com>
40113
b7abb4bf
JM
40114 [BZ #14273]
40115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40116 Clear sign bit of 64-bit integer value before comparing against
40117 overflow value.
40118
79662d42
JM
40119 * sysdeps/mach/configure: Regenerated.
40120
1f150908
L
401212012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40122
40123 [BZ #14278]
40124 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40125
28363bbf
JL
401262012-06-21 Jeff Law <law@redhat.com>
40127
40128 [BZ #13882]
40129 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40130 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40132 * elf/dl-open.c (dl_open_worker): Likewise.
40133
09615db4
CD
401342012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40135
40136 * scripts/list-sources.sh: Scan PORTS for translations.
40137 * po/libc.pot: Regenerated.
40138
2174c6dd
AJ
401392012-06-21 Andreas Jaeger <aj@suse.de>
40140
40141 [BZ #12194]
40142 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40143 warning.
40144 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40145 * bits/byteswap-16.h (__bswap_16): Likewise.
40146 * bits/byteswap.h (__bswap_constant_16): Likewise.
40147
3ee947b1
L
401482012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40149
40150 [BZ #14117]
a2f34833
L
40151 * sysdeps/i386/fpu_control.h: Removed.
40152 * sysdeps/x86_64/fpu_control.h: Moved to ...
40153 * sysdeps/x86/fpu_control.h: Here.
40154
3ee947b1
L
40155 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40156 (_FPU_SETCW): Likewise.
40157
ed1825f8
L
401582012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40159
25f1282a
L
40160 [BZ #14117]
40161 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40162 * sysdeps/x86/fpu/bits/mathinline.h: This.
40163 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40164
ed1825f8
L
40165 [BZ #14050]
40166 [BZ #14117]
40167 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40168 functions if __x86_64__ is defined.
40169
36d54b74
CLT
401702012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40171
40172 * string/endian.h: Add !__ASSEMBLER__ condition for including
40173 conversion interfaces.
40174
10285c21
JM
401752012-06-15 Joseph Myers <joseph@codesourcery.com>
40176
40177 [BZ #14241]
40178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40179 of ABS(x) in calculating zero to negative powers other than odd
40180 integers.
40181 * math/libm-test.inc (pow_test): Add more tests.
40182
06c5abbd
AJ
401832012-06-15 Andreas Jaeger <aj@suse.de>
40184
40185 * manual/contrib.texi (Contributors): Update entry of Liubov
40186 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40187 Machado Filho.
40188
a3aeac40
CH
401892012-06-15 Cyril Hrubis <metan@ucw.cz>
40190
40191 * string/string.h: Add __wur to GNU version of strerror_r.
40192
49bdf4c1
L
401932012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40194
40195 [BZ #14229]
40196 * string/Makefile (tests): Add tst-strtok_r.
40197 * string/tst-strtok_r.c: New file.
40198 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40199 RAX_LP/RDX_LP on SAVE_PTR.
40200
834f9b8d
RM
402012012-06-14 Roland McGrath <roland@hack.frob.com>
40202
40203 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40204
75fa1921
JM
402052012-06-14 Joseph Myers <joseph@codesourcery.com>
40206
40207 * libm_test.inc (csqrt_test): Allow more spurious underflow
40208 exceptions.
40209 (j0_test): Likewise.
40210 (j1_test): Likewise.
40211 (y0_test): Likewise.
40212 (y1_test): Likewise.
40213
771766df
CD
402142012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40215
40216 * po/Makefile (libc.pot): Use UTF-8 charset.
40217
ceb9e56b
PP
402182012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40219
40220 [BZ #14210]
40221 Suppress sign-conversion warning from FD_SET.
40222 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40223 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40224 not unsigned long int.
40225 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40226
ddb28975
L
402272012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40228
40229 [BZ #14050]
40230 [BZ #14117]
40231 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40232 __extern_always_inline instead of __extern_inline.
40233 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40234 (__signbit): Likewise.
40235 (__signbitl): Support C++ namespace.
40236 (lrintf): New inline function.
40237 (lrint): Likewise.
40238 (llrintf): Likewise.
40239 (llrint): Likewise.
40240 (fmaxf): Likewise.
40241 (fmax): Likewise.
40242 (fminf): Likewise.
40243 (fmin): Likewise.
40244 (rint): Likewise.
40245 (rintf): Likewise.
40246 (ceil): Likewise.
40247 (ceilf): Likewise.
40248 (floor): Likewise.
40249 (floorf): Likewise.
40250 (nearbyint): Likewise.
40251 (nearbyintf): Likewise.
40252
d7b4fb26
TS
402532012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40254
40255 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40256 non-default versions.
40257
eb55f5c2
RM
402582012-06-11 Roland McGrath <roland@hack.frob.com>
40259
40260 [BZ #14218]
40261 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40262
366af02c
TS
402632012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40264
99ff6e5c
TS
40265 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40266 (FE_UPWARD, FE_DOWNWARD): Don't define.
40267 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40268 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40269
366af02c
TS
40270 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40271 reading it.
40272 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40273 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40274
793ea851
KK
402752012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40276
40277 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40279 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40280 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40281
a728a38f
L
402822012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40283
40284 [BZ #14117]
c08010c7
L
40285 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40286 * sysdeps/i386/fpu/Implies: New file.
40287 * sysdeps/x86_64/fpu/Implies: Likewise.
40288 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40289 * sysdeps/x86/fpu/bits/fenv.h: This.
40290
a728a38f
L
40291 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40292 __SSE_MATH__.
40293
6e230d11
SP
402942012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40295
40296 [BZ #14134]
40297 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40298 character 0xffff that matches the last element of the
40299 conversion table.
40300
1b671feb
AZ
403012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40302
40303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40304 fmodl commit.
40305
6043738b
AZ
403062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40307
40308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40309 values higher than 25.6283.
40310
34ae0b32
AZ
403112012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40312
40313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40314 subnormal exponent extraction and add some __builtin_expect.
40315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40316 Fix for subnormal mantissa calculation.
40317
1214ec8f
MF
403182012-06-04 Mike Frysinger <vapier@gentoo.org>
40319
40320 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40321 cpu2 is -1 and errno is not ENOSYS.
40322
f3d1f93c
L
403232012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40324
40325 [BZ #14117]
0e4a3cd7
L
40326 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40327 * sysdeps/x86/bits/string.h: This.
40328 * sysdeps/x86_64/bits/string.h: Removed.
40329
6704c645
L
40330 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40331 if not compiling for x86-64, but compiling for >= i486.
40332
48495318
L
40333 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40334 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40335
14adcbfc
L
40336 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40337 New macro from Linux kernel 3.4.0.
40338 (FP_XSTATE_MAGIC2): Likewise.
40339 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40340 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40341 (struct _fpx_sw_bytes): New struct.
40342 (struct _xsave_hdr): Likewise.
40343 (struct _ymmh_state): Likewise.
40344 (struct _xstate): Likewise.
40345
68e408ab
L
40346 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40347 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40348 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40349 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40350 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40351 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40352
f3d1f93c
L
40353 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40354 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40355 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40356 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40357 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40358 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40359
d9dc34cd
TMQMF
403602012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40361
40362 [BZ #13743]
40363 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40364 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40365 (sysdep_headers): Include sys/platform/ppc.h.
40366 * sysdeps/powerpc/test-gettimebase.c: Test for
40367 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40368 * manual/Makefile (appendices): Include platform.texi.
40369 * manual/contrib.texi (Contributors): Update @node pointers.
40370 * manual/maint.texi (Maintenance): Likewise.
40371 (Platform): New node.
40372 * manual/platform.texi: New file. Document the new features.
40373
4af3879c
SP
403742012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40375 Jakub Jelinek <jakub@redhat.com>
40376
40377 [BZ #14188]
40378 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40379 where __builtin_expect is unavailable.
40380
2fd6ff13
DM
403812012-06-03 David S. Miller <davem@davemloft.net>
40382
40383 * stdlib/longlong.h: Updated from GCC.
40384
173f7220
AS
403852012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40386
40387 [BZ #14042]
40388 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40389 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40390 __mcount_internal.
40391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40392 (GLIBC_2.16): Likewise.
40393
f34a1c6f
L
403942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40395
40396 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40397
88a4576f
JM
403982012-06-01 Joseph Myers <joseph@codesourcery.com>
40399
ea32bcdd
JM
40400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40401 (default-abi): New variable.
40402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40403 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40404 variable.
40405 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40406 Likewise.
40407 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40408 Likewise.
40409 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40410 Likewise.
40411
88a4576f
JM
40412 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40413 definition. Document in comment.
40414
402fe938
DM
404152012-06-01 David S. Miller <davem@davemloft.net>
40416
40417 * stdlib/longlong.h: Updated from GCC.
40418
3553723f
L
404192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40420
40421 [BZ #14117]
3bd872c4
L
40422 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40423 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40424 sys/debugreg.h sys/io.h here.
40425 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40426 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40427 sys/io.h.
40428 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40429 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40430 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40431 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40432 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40433 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40434
3553723f
L
40435 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40436 Define only if __x86_64__ is defined.
40437
4842e4fe
JM
404382012-06-01 Joseph Myers <joseph@codesourcery.com>
40439
c5bfe3d5
JM
40440 [BZ #14048]
40441 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40442 Use int64_t for variable i.
40443 * math/libm-test.inc (fmod_test): Add more tests.
40444
4842e4fe
JM
40445 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40446 z computation is not scheduled after fetestexcept.
40447 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40448 Use math_force_eval instead of asm to ensure calculation scheduled
40449 before exception test.
40450 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40451 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40452
efb73488
AJ
404532012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40454
40455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40456 computation is not scheduled after fetestexcept.
40457
29bcce7c
L
404582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40459
40460 [BZ #14117]
40461 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40462 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40463
73a68f94
AZ
404642012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40465
40466 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40467 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40468
67b6df78
L
404692012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40470
edf2933a 40471 [BZ #14117]
ebc64a18
L
40472 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40473 <bits/wordsize.h>.
40474 (__WCHAR_MIN): Support __WORDSIZE == 64.
40475 (__WCHAR_MAX): Likewise.
40476
edf2933a
L
40477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40478 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40479
57c6cf40
L
40480 [BZ #14183]
40481 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40482 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40483
67b6df78 40484 [BZ #14117]
8eb6281e
L
40485 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40486 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40487
aac639f4
L
40488 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40489 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40490
67b6df78
L
40491 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40492 Defined to 1 if __x86_64__ isn't defined.
40493 (_STAT_VER_LINUX_OLD): New.
40494 (st_atime): Remove duplicate.
40495 (st_mtime): Likewise.
40496 (st_ctime): Likewise.
40497
1c2cfe81
DM
404982012-05-31 David S. Miller <davem@davemloft.net>
40499
40500 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40501 entries.
40502
5be8418c
AS
405032012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40504
e7725326
AS
40505 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40506 gen-libm-test.pl.
40507
5be8418c
AS
40508 [BZ #14132]
40509 * elf/dl-reloc.c: Include <_itoa.h>.
40510 (_dl_reloc_bad_type): Remove use of INTUSE.
40511 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40512 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40513 * stdio-common/psiginfo.c (psiginfo): Likewise.
40514 * stdio-common/psignal.c (psignal): Likewise.
40515 * string/strsignal.c (strsignal): Likewise.
40516 * include/signal.h (_sys_siglist): Declare hidden proto.
40517 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40518 INTVARDEF with libc_hidden_data_def.
40519 * stdio-common/itoa-udigits.c: Likewise.
40520 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40521 (_itoa_lower_digits_internal): Remove declaration.
40522 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40523 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40524 (_sys_sigabbrev_internal): Remove aliases.
40525 (_sys_siglist): Define hidden alias.
40526
507352f1
MT
405272012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40528
40529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40530 bits/sysctl.h.
40531
42bbb1c3
L
405322012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40533
40534 [BZ #14117]
6bd784b6
L
40535 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40536 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40537
8bca20f0
L
40538 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40539 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40540 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40541 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40543 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40544
f9e890a9
L
40545 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40546 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40547 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40548
471101a1
L
40549 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40550 with __addr.
40551 (insw): Likewise.
40552 (insl): Likewise.
40553 (outsb): Likewise.
40554 (outsw): Likewise.
40555 (outsl): Likewise.
40556
6451c862
L
40557 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40558 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40559 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40560
a254b8c9
L
40561 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40562 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40564 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40565 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40566 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40567
b8dfdd92
L
40568 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40569 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40570
578cd270
L
40571 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40572 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40573
de662f5f
L
40574 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40577
25653439
L
40578 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40579 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40580 to ...
40581 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40582
6bad24a0
L
40583 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40584 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40585 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40586
42bbb1c3
L
40587 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40588 for x86-64.
40589 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40590
2d10d547
JM
405912012-05-31 Joseph Myers <joseph@codesourcery.com>
40592
40593 * math/math.h (M_El): Use two more decimal places.
40594 (M_LOG2El): Likewise.
40595 (M_LOG10El): Likewise.
40596 (M_LN2l): Likewise.
40597 (M_LN10l): Likewise.
40598 (M_PIl): Likewise.
40599 (M_PI_2l): Likewise.
40600 (M_PI_4l): Likewise.
40601 (M_1_PIl): Likewise.
40602 (M_2_PIl): Likewise.
40603 (M_2_SQRTPIl): Likewise.
40604 (M_SQRT2l): Likewise.
40605 (M_SQRT1_2l): Likewise.
40606
f230c29b
DM
406072012-05-31 David S. Miller <davem@davemloft.net>
40608
40609 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40610 values between float registers.
40611 * sysdeps/sparc/sparc64/memset.S: Likewise.
40612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40613
fed806c3
MF
406142012-05-31 Mike Frysinger <vapier@gentoo.org>
40615
40616 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40617 -D_FORTIFY_SOURCE=1.
40618 (CPPFLAGS-tst-longjmp_chk.c): Define.
40619 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40620 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40621 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40622 CFLAGS-tst-wchar-h.c.
40623
30917259
MP
406242012-05-31 Marek Polacek <polacek@redhat.com>
40625
40626 [BZ #14132]
40627 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40628 __endmntent_internal): Remove declaration.
40629 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40630 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40631 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40632
1c58d5dc
DM
406332012-05-30 David S. Miller <davem@davemloft.net>
40634
40635 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40636 (___Q_simulate_exceptions): Use real FP ops rather than writing
40637 into the %fsr.
40638 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40639 Likewise.
40640
7dc00e0d
L
406412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40642
40643 [BZ #14117]
0bd53985
L
40644 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40645 * sysdeps/x86/bits/xtitypes.h: This.
40646
3a257e66
L
40647 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40648 * sysdeps/x86/bits/wordsize.h: This.
40649
62f62904
L
40650 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40651 * sysdeps/x86/bits/huge_vall.h: This.
40652
404fe9d9
L
40653 * sysdeps/i386/bits/select.h: Removed.
40654 * sysdeps/x86_64/bits/select.h: Renamed to ...
40655 * sysdeps/x86/bits/select.h: This.
40656
d48d0446
L
40657 * sysdeps/i386/bits/setjmp.h: Removed.
40658 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40659 * sysdeps/x86/bits/setjmp.h: This.
40660
7dc00e0d
L
40661 * sysdeps/i386/bits/mathdef.h: Removed.
40662 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40663 * sysdeps/x86/bits/mathdef.h: This.
40664
03277f8f
AS
406652012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40666
40667 [BZ #14132]
40668 * include/sys/socket.h (__connect_internal)
40669 (__libc_sa_len_internal): Remove declaration.
40670 (__connect, __libc_sa_len): Declare hidden_proto.
40671 (SA_LEN): Remove use of INTUSE.
40672 * socket/connect.c: Add libc_hidden_def.
40673 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40674 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40675 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40676 alias.
40677 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40678 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40679 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40680 of adding _internal alias.
40681
13764867
L
406822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40683
40684 [BZ #14117]
6bd97696
L
40685 * sysdeps/i386/bits/link.h: Removed.
40686 * sysdeps/i386/bits/linkmap.h: Likewise.
40687 * sysdeps/x86_64/bits/link.h: Renamed to ...
40688 * sysdeps/x86/bits/link.h: This.
40689 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40690 * sysdeps/x86/bits/linkmap.h: This.
40691
f726f0bb
L
40692 * sysdeps/i386/bits/endian.h: Removed.
40693 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40694 * sysdeps/x86/bits/endian.h: This.
40695
13764867
L
40696 * sysdeps/i386/bits/byteswap.h: Removed.
40697 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40698 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40699 * sysdeps/x86/bits/byteswap.h: This.
40700 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40701 * sysdeps/x86/bits/byteswap-16.h: This.
40702 * sysdeps/i386/Implies: Add x86.
40703 * sysdeps/x86_64/Implies: Likewise.
40704
ae251b0b
DM
407052012-05-30 David S. Miller <davem@davemloft.net>
40706
40707 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40708 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40709 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40710 (FP_TRAPPING_EXCEPTIONS): Define.
40711 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40712 (FP_TRAPPING_EXCEPTIONS): Define.
40713 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40714 subnormals only when inexact has been signalled or underflow
40715 exceptions are enabled.
40716 (_FP_PACK_CANONICAL): Likewise.
40717
d5c90867
L
407182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40719
40720 [BZ #14183]
40721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40722 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40723
63f1549e
RH
407242012-05-30 Richard Henderson <rth@twiddle.net>
40725
8d8f2279
RH
40726 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40727 with #ifndef NOT_IN_libc.
40728
63f1549e
RH
40729 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40730 marked to avoid plt entry.
40731
0ab0291b
L
407322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40733
40734 [BZ #14112]
40735 * Makeconfig (default-abi): New macro.
40736 (abi-includes): Likewise.
40737 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40738 $(abi-$(default-abi)-lib-soname) for soname if defined.
40739 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40740 abi-variants.
40741 * Makefile (installed-stubs): Likewise.
40742 * include/stubs-biarch.h: Removed.
40743 * scripts/lib-names.awk: Only handle one library at a time.
40744 * scripts/soversions.awk: Remove WORDSIZE support.
40745 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40746 entries.
40747 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40748 Removed.
40749 (syscall-list-default-condition): Likewise.
40750 (syscall-list-default-condition): Likewise.
40751 (syscall-list-includes): Likewise.
40752 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40753 syscall-list-* with abi-*. Handle undefined abi-variants.
40754 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40755 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40756 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40757 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40758 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40759 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40760 Removed.
40761 (syscall-list-32-options): Likewise.
40762 (syscall-list-32-condition): Likewise.
40763 (syscall-list-64-options): Likewise.
40764 (syscall-list-64-condition): Likewise.
40765 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40766 macro.
40767 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40768 Renamed to ...
40769 (abi-*): This.
40770 (abi-64-ld-soname): New macro.
40771 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40772 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40773 Renamed to ...
40774 (abi-*): This.
40775 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40776 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40777
4da0431d
JM
407782012-05-30 Joseph Myers <joseph@codesourcery.com>
40779
3a85279c
JM
40780 * sysdeps/unix/sysv/linux/kernel-features.h
40781 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40782 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40783 include <kernel-features.h>.
40784 [!__NR_ftruncate64]: Remove conditional code.
40785 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40786 [__NR_ftruncate64]: Make code unconditional.
40787 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40788 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40789 include <kernel-features.h>.
40790 [!__NR_ftruncate64]: Remove conditional code.
40791 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40792 [__NR_ftruncate64]: Make code unconditional.
40793 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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
4da0431d
JM
40807 * configure.in (libc_cv_fpie): Weaken to a compile test using
40808 LIBC_TRY_CC_OPTION.
40809 * configure: Regenerated.
40810
11ef492c
AK
408112012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40812
40813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40817 Refreshed.
40818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40824 Refreshed.
40825
d66ef399
DM
408262012-05-27 David S. Miller <davem@davemloft.net>
40827
40828 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40829 (___Q_zero): New.
40830 (__Q_simulate_exceptions): Return void. Change to simulate
40831 exceptions by writing into the %fsr.
40832 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40833 (__Qp_handle_exceptions): Likewise.
40834 (numbers): Delete.
40835 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40836 __Qp_handle_exceptions.
40837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40838 __Qp_handle_exceptions.
40839 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40840 as unused and give dummy FP_RND_NEAREST initializer.
40841 (FP_INHIBIT_RESULTS): Define.
40842 (___Q_simulate_exceptions): Update declaration.
40843 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40844 formatting.
40845 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40846 as unused and give dummy FP_RND_NEAREST initializer.
40847 (__Qp_handle_exceptions): Update declaration.
40848 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40849 formatting.
40850
04fb54b5
TS
408512012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40852
40853 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40854 the temporary FPU control word.
40855 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40856 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40857 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40858 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40859 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40860 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40861 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40862 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40863 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40864 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40865 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40866
3f99608f
KK
408672012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40868
40869 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40870 fields.
40871
65a4de4e
CLT
408722012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40873
40874 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40875 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40876 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40877 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40878 Likewise.
40879 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40880 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40881 Likewise.
40882
15749d40
UD
408832012-05-27 Ulrich Drepper <drepper@gmail.com>
40884
40885 * po/h.po: Update from translation team.
40886
25dbcb27
AS
408872012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40888
3d3f8e55
AS
40889 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40890
25dbcb27
AS
40891 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40892 handling of denormals.
40893 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40894 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40895 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40896 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40897 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40900 Likewise.
40901
7ad47a80 409022012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40903
40904 [BZ #14152]
40905 * math/libm-test.inc (fma_test): Don't always expect underflow
40906 exception.
40907
9c6ea9fa
SP
409082012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40909
40910 [BZ #12416]
40911 * elf/tst-execstack.c: Include stackinfo.h.
40912 (do_test): Adjust test case to ensure that pthread_getattr_np
40913 behaviour remains the same after marking stack executable.
40914
a8239222
JM
409152012-05-25 Joseph Myers <joseph@codesourcery.com>
40916
40917 * sysdeps/unix/sysv/linux/kernel-features.h
40918 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40919 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40920 kernel-features.h.
40921 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40922 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40923 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40924 kernel-features.h.
40925 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40926 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40927
918b5606
L
409282012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40929
40930 * configure.in: Define the default includes to being none.
40931 * configure: Regenerated.
40932
3a097cc7
RM
409332012-05-25 Roland McGrath <roland@hack.frob.com>
40934
8422c9a5
RM
40935 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40936 * sysdeps/x86_64/setjmp.S: Likewise.
40937 * sysdeps/i386/bsd-setjmp.S: Likewise.
40938 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40939 * sysdeps/i386/setjmp.S: Likewise.
40940 * sysdeps/i386/__longjmp.S: Likewise.
40941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40942 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40943
3a097cc7
RM
40944 * include/stap-probe.h: New file.
40945 * configure.in: Handle --enable-systemtap.
40946 * configure: Regenerated.
40947 * config.h.in (USE_STAP_PROBE): New #undef.
40948 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40949 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40950 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40951
21708942
JM
409522012-05-25 Joseph Myers <joseph@codesourcery.com>
40953
40954 [BZ #13717]
40955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40956 to 2.4.0 where earlier.
40957 * sysdeps/unix/sysv/linux/configure: Regenerated.
40958 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40959 <kernel-features.h>.
40960 [__ASSUME_32BITUIDS]: Make code unconditional.
40961 [!__ASSUME_32BITUIDS]: Remove conditional code.
40962 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40963 <kernel-features.h>.
40964 [__ASSUME_32BITUIDS]: Make code unconditional.
40965 [!__ASSUME_32BITUIDS]: Remove conditional code.
40966 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40967 [__ASSUME_32BITUIDS]: Make code unconditional.
40968 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40969 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40970 <kernel-features.h>.
40971 [__ASSUME_32BITUIDS]: Make code unconditional.
40972 [!__ASSUME_32BITUIDS]: Remove conditional code.
40973 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40974 <kernel-features.h>.
40975 [__ASSUME_32BITUIDS]: Make code unconditional.
40976 [!__ASSUME_32BITUIDS]: Remove conditional code.
40977 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40978 <kernel-features.h>.
40979 [__ASSUME_32BITUIDS]: Make code unconditional.
40980 [!__ASSUME_32BITUIDS]: Remove conditional code.
40981 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
41010 <kernel-features.h>.
41011 [__NR_setresgid] (__setresgid): Do not declare.
41012 [__ASSUME_32BITUIDS]: Make code unconditional.
41013 [!__ASSUME_32BITUIDS]: Remove conditional code.
41014 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41015 <kernel-features.h>.
41016 [__NR_setresuid] (__setresuid): Do not declare.
41017 [__ASSUME_32BITUIDS]: Make code unconditional.
41018 [!__ASSUME_32BITUIDS]: Remove conditional code.
41019 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41020 <kernel-features.h>.
41021 [__ASSUME_32BITUIDS]: Make code unconditional.
41022 [!__ASSUME_32BITUIDS]: Remove conditional code.
41023 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41024 <kernel-features.h>.
41025 [__ASSUME_32BITUIDS]: Make code unconditional.
41026 [!__ASSUME_32BITUIDS]: Remove conditional code.
41027 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41028 <kernel-features.h>.
41029 [__ASSUME_32BITUIDS]: Make code unconditional.
41030 [!__ASSUME_32BITUIDS]: Remove conditional code.
41031 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
41060 (__ASSUME_SETRESUID_SYSCALL): Remove.
41061 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41062 (__ASSUME_32BITUIDS): Likewise.
41063 (__ASSUME_LDT_WORKS): Likewise.
41064 (__ASSUME_O_DIRECTORY): Likewise.
41065 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41066 architecture but not kernel version.
41067 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41068 (__ASSUME_MMAP2_SYSCALL): Likewise.
41069 (__ASSUME_STAT64_SYSCALL): Likewise.
41070 (__ASSUME_IPC64): Likewise.
41071 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41072 <kernel-features.h>.
41073 [__ASSUME_32BITUIDS]: Make code unconditional.
41074 [!__ASSUME_32BITUIDS]: Remove conditional code.
41075 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41076 <kernel-features.h>.
41077 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41078 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41079 132096]: Remove conditional code.
41080 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41081 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41082 <kernel-features.h>.
41083 [__ASSUME_32BITUIDS]: Make code unconditional.
41084 [!__ASSUME_32BITUIDS]: Remove conditional code.
41085 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41086 <kernel-features.h>.
41087 [__ASSUME_32BITUIDS]: Make code unconditional.
41088 [!__ASSUME_32BITUIDS]: Remove conditional code.
41089 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41090 <kernel-features.h>.
41091 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41092 unconditional.
41093 (__setresgid): Do not declare.
41094 [__ASSUME_32BITUIDS]: Make code unconditional.
41095 [!__ASSUME_32BITUIDS]: Remove conditional code.
41096 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41097 <kernel-features.h>.
41098 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41099 unconditional.
41100 (__setresuid): Do not declare.
41101 [__ASSUME_32BITUIDS]: Make code unconditional.
41102 [!__ASSUME_32BITUIDS]: Remove conditional code.
41103 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41104 <kernel-features.h>.
41105 [__ASSUME_32BITUIDS]: Make code unconditional.
41106 [!__ASSUME_32BITUIDS]: Remove conditional code.
41107 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41108 <kernel-features.h>.
41109 [__ASSUME_32BITUIDS]: Make code unconditional.
41110 [!__ASSUME_32BITUIDS]: Remove conditional code.
41111
a386f1cc
RH
411122012-05-25 Richard Henderson <rth@twiddle.net>
41113
41114 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41115 dl_hwcap to ifunc resolver.
41116 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41117 elf_ifunc_invoke.
41118 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41119 dl_hwcap to ifunc resolver.
41120 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41121
b6550497
JM
411222012-05-24 Joseph Myers <joseph@codesourcery.com>
41123
41124 [BZ #14153]
41125 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41126 for |x| <= 2**-26, not 2**-57.
41127 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41128 exception.
41129
b0bc23a1
JL
411302012-05-24 Jeff Law <law@redhat.com>
41131
41132 * stdio-common/Makefile (tests): Add bug25.
41133 * stdio-common/bug25.c: New test.
41134
347c92e9
L
411352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41136
41137 [BZ #13576]
41138 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41139 multiple of MALLOC_ALIGNMENT in size.
41140 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41141
6bcc8b3f
JM
411422012-05-24 Joseph Myers <joseph@codesourcery.com>
41143
41144 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41145 Require >= 256.
41146 (FILENAME_MAX): Use macro-int-constant.
41147 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41148 (_IOFBF): Use macro-int-constant.
41149 (_IOLBF): Likewise.
41150 (_IONBF): Likewise.
41151 (SEEK_CUR): Likewise.
41152 (SEEK_END): Likewise.
41153 (SEEK_SET): Likewise.
41154 (TMP_MAX): Likewise.
41155 (EOF): Use macro-int-constant. Require < 0.
41156 (NULL): Use macro-constant. Require == 0.
41157 (stdin): Require type to be FILE *.
41158 (stdout): Likewise.
41159 (stderr): Likewise.
41160 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41161 macro-int-constant.
41162 (EXIT_SUCCESS): Likewise.
41163 (NULL): Use macro-constant. Require == 0.
41164 (RAND_MAX): Use macro-int-constant.
41165 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41166 [C99-based standards] (strtof): Require function.
41167 [C99-based standards] (strtold): Likewise.
41168 [C99-based standards] (strtoll): Likewise.
41169 [C99-based standards] (strtoull): Likewise.
41170 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41171 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41172 [ISO || ISO99 || ISO11] (math.h): Likewise.
41173 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41174 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41176
d18ea0c5
AS
411772012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41178
41179 [BZ #14132]
56d25bb8
AS
41180 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41181 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41182 * intl/dgettext.c (DCGETTEXT): Likewise.
41183 * intl/gettext.c (DCGETTEXT): Likewise.
41184 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41185 * posix/regex_internal.h (gettext): Likewise.
41186 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41187 Remove declaration.
41188 * include/argz.h (__argz_count_internal)
41189 (__argz_stringify_internal): Remove declaration.
41190 (__argz_count, __argz_stringify): Declare hidden proto.
41191 * intl/dcgettext.c: Remove use of INTDEF.
41192 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41193 * string/argz-stringify.c: Likewise.
41194 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41195 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41196 Declare hidden proto.
d18ea0c5
AS
41197 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41198 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41199 Declare hidden proto.
41200 * include/stdio.h (__asprintf_internal): Don't declare.
41201 (__asprintf): Don't define as macro. Declare hidden proto.
41202 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41203 (__fsetlocking): Declare hidden proto.
41204 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41205 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41206 hidden proto.
41207 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41208 (_IO_setlinebuf): Remove use of INTUSE.
41209 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41210 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41211 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41212 Remove declaration.
41213 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41214 (_IO_do_flush): Remove use of INTUSE.
41215 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41216 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41217 (_IO_adjust_column, _IO_least_wmarker)
41218 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41219 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41220 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41221 (_IO_default_doallocate, _IO_wdefault_doallocate)
41222 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41223 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41224 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41225 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41226 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41227 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41228 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41229 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41230 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41231 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41232 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41233 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41234 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41235 proto.
41236 (_IO_flush_all_internal, _IO_adjust_column_internal)
41237 (_IO_default_uflow_internal, _IO_default_finish_internal)
41238 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41239 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41240 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41241 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41242 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41243 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41244 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41245 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41246 (_IO_file_close_internal, _IO_file_close_it_internal)
41247 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41248 (_IO_file_init_internal, _IO_file_attach_internal)
41249 (_IO_file_fopen_internal, _IO_file_read_internal)
41250 (_IO_file_sync_internal, _IO_file_seek_internal)
41251 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41252 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41253 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41254 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41255 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41256 (_IO_list_all_internal, _IO_link_in_internal)
41257 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41258 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41259 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41260 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41261 (_IO_do_write_internal, _IO_padn_internal)
41262 (_IO_getline_info_internal, _IO_getline_internal)
41263 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41264 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41265 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41266 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41267 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41268 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41269 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41270 with libc_hidden_ver, remove use of INTUSE.
41271 * libio/genops.c: Likewise.
41272 * libio/freopen.c: Likewise.
41273 * libio/freopen64.c: Likewise.
41274 * libio/iofclose.c: Likewise.
41275 * libio/iofdopen.c: Likewise.
41276 * libio/iofflush.c: Likewise.
41277 * libio/iofflush_u.c: Likewise.
41278 * libio/iofgets.c: Likewise.
41279 * libio/iofgets_u.c: Likewise.
41280 * libio/iofopen.c: Likewise.
41281 * libio/iofopncook.c: Likewise.
41282 * libio/iofread.c: Likewise.
41283 * libio/iofread_u.c: Likewise.
41284 * libio/ioftell.c: Likewise.
41285 * libio/iofwrite.c: Likewise.
41286 * libio/iogetline.c: Likewise.
41287 * libio/iogets.c: Likewise.
41288 * libio/iogetwline.c: Likewise.
41289 * libio/iopadn.c: Likewise.
41290 * libio/iopopen.c: Likewise.
41291 * libio/ioseekoff.c: Likewise.
41292 * libio/ioseekpos.c: Likewise.
41293 * libio/iosetbuffer.c: Likewise.
41294 * libio/iosetvbuf.c: Likewise.
41295 * libio/ioungetc.c: Likewise.
41296 * libio/ioungetwc.c: Likewise.
41297 * libio/iovdprintf.c: Likewise.
41298 * libio/iovsprintf.c: Likewise.
41299 * libio/iovsscanf.c: Likewise.
41300 * libio/memstream.c: Likewise.
41301 * libio/obprintf.c: Likewise.
41302 * libio/oldfileops.c: Likewise.
41303 * libio/oldiofclose.c: Likewise.
41304 * libio/oldiofdopen.c: Likewise.
41305 * libio/oldiofopen.c: Likewise.
41306 * libio/oldiopopen.c: Likewise.
41307 * libio/oldstdfiles.c: Likewise.
41308 * libio/putc.c: Likewise.
41309 * libio/setbuf.c: Likewise.
41310 * libio/setlinebuf.c: Likewise.
41311 * libio/stdfiles.c: Likewise.
41312 * libio/strops.c: Likewise.
41313 * libio/vasprintf.c: Likewise.
41314 * libio/vscanf.c: Likewise.
41315 * libio/vsnprintf.c: Likewise.
41316 * libio/vswprintf.c: Likewise.
41317 * libio/wfiledoalloc.c: Likewise.
41318 * libio/wfileops.c: Likewise.
41319 * libio/wgenops.c: Likewise.
41320 * libio/wmemstream.c: Likewise.
41321 * libio/wstrops.c: Likewise.
41322 * libio/__fpurge.c: Likewise.
41323 * libio/__fsetlocking.c: Likewise.
41324 * assert/assert.c: Likewise.
41325 * debug/fgets_chk.c: Likewise.
41326 * debug/fgets_u_chk.c: Likewise.
41327 * debug/fread_chk.c: Likewise.
41328 * debug/fread_u_chk.c: Likewise.
41329 * debug/gets_chk.c: Likewise.
41330 * debug/obprintf_chk.c: Likewise.
41331 * debug/vasprintf_chk.c: Likewise.
41332 * debug/vdprintf_chk.c: Likewise.
41333 * debug/vsnprintf_chk.c: Likewise.
41334 * debug/vsprintf_chk.c: Likewise.
41335 * malloc/mtrace.c: Likewise.
41336 * misc/error.c: Likewise.
41337 * misc/syslog.c: Likewise.
41338 * stdio-common/asprintf.c: Likewise.
41339 * stdio-common/fxprintf.c: Likewise.
41340 * stdio-common/getw.c: Likewise.
41341 * stdio-common/isoc99_fscanf.c: Likewise.
41342 * stdio-common/isoc99_scanf.c: Likewise.
41343 * stdio-common/isoc99_vfscanf.c: Likewise.
41344 * stdio-common/isoc99_vscanf.c: Likewise.
41345 * stdio-common/isoc99_vsscanf.c: Likewise.
41346 * stdio-common/printf-prs.c: Likewise.
41347 * stdio-common/printf_fp.c: Likewise.
41348 * stdio-common/printf_fphex.c: Likewise.
41349 * stdio-common/printf_size.c: Likewise.
41350 * stdio-common/putw.c: Likewise.
41351 * stdio-common/scanf.c: Likewise.
41352 * stdio-common/sprintf.c: Likewise.
41353 * stdio-common/tmpfile.c: Likewise.
41354 * stdio-common/vfprintf.c: Likewise.
41355 * stdio-common/vfscanf.c: Likewise.
41356 * stdlib/strfmon_l.c: Likewise.
41357 * sunrpc/openchild.c: Likewise.
41358 * sunrpc/xdr_stdio.c: Likewise.
41359 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41360 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41361
d6c33fda
RM
413622012-05-24 Roland McGrath <roland@hack.frob.com>
41363
c1487492
RM
41364 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41365
41366 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41367 in the third column, to generate for the shared library an IFUNC
41368 that uses _dl_vdso_vsym.
41369 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41370 * Makeconfig (object-suffixes-noshared): New variable.
41371
41372 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41373 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41374 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41375 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41376
d6c33fda
RM
41377 [BZ #14132]
41378 * include/sys/time.h (__gettimeofday): Remove macro.
41379 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41380 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41381 Remove INTDEF.
41382 (__gettimeofday): Add libc_hidden_def.
41383 (gettimeofday): Add libc_hidden_weak.
41384 * sysdeps/mach/gettimeofday.c: Likewise.
41385 * sysdeps/posix/gettimeofday.c: Likewise.
41386 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41387 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41389 (__gettimeofday_internal): Remove strong_alias.
41390 (__gettimeofday): Add libc_hidden_def.
41391 (gettimeofday): Add libc_hidden_weak.
41392 * sysdeps/unix/syscalls.list (gettimeofday):
41393 Remove __gettimeofday_internal alias.
41394
b5a2bbe6
L
413952012-05-24 Daniel Jacobowitz <drow@false.org>
41396 H.J. Lu <hongjiu.lu@intel.com>
41397
41398 [BZ #12495]
41399 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41400 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41401 (largebin_index_32_big): New.
41402 (largebin_index): Use it for 16-byte alignment.
41403 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41404 correction with front_misalign.
41405
cfba4fda
L
414062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41407
7f907421
L
41408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41410 Likewise.
41411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41412 Likewise.
41413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41414 Likewise.
41415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41416 Likewise.
41417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41418 Likewise.
41419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41420 Likewise.
41421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41422 Likewise.
41423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41424 Likewise.
41425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41426 Likewise.
41427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41428 Likewise.
41429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41430 Likewise.
41431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41432 Likewise.
41433
cfba4fda
L
41434 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41435 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41436
80bad0cc
JM
414372012-05-24 Joseph Myers <joseph@codesourcery.com>
41438
7a25eb06
JM
41439 [BZ #10846]
41440 [BZ #14036]
41441 * math/libm-test.inc (exp_test): Add test from bug 14036.
41442 (pow_test): Add test from bug 10846.
41443
795405f9
JM
41444 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41445 and other flags.
41446 (special_function): Do not include flags in test name.
41447 (parse_args): Likewise.
41448 * sysdeps/i386/fpu/libm-test-ulps: Update.
41449 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41450 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41451 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41453
80bad0cc
JM
41454 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41455 exceptions.
41456 * math/libm-test.inc ("Philosophy"): Update comment about
41457 exception testing.
41458 (UNDERFLOW_EXCEPTION): New macro.
41459 (UNDERFLOW_EXCEPTION_OK): Likewise.
41460 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41461 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41462 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41463 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41464 (INVALID_EXCEPTION_OK): Update value.
41465 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41466 (OVERFLOW_EXCEPTION_OK): Likewise.
41467 (IGNORE_ZERO_INF_SIGN): Likewise.
41468 (test_exceptions): Handle underflow exceptions.
41469 (acos_test): Update for underflow exception expectations.
41470 (cexp_test): Likewise.
41471 (clog_test): Likewise.
41472 (clog10_test): Likewise.
41473 (csqrt_test): Likewise.
41474 (ctan_test): Likewise.
41475 (ctanh_test): Likewise.
41476 (exp_test): Likewise.
41477 (exp10_test): Likewise.
41478 (exp2_test): Likewise.
41479 (expm1_test): Likewise.
41480 (fma_test): Likewise.
41481 (j0_test): Likewise.
41482 (jn_test): Likewise.
41483 (nexttoward_test): Likewise.
41484 (pow_test): Likewise.
41485 (scalbn_test): Likewise.
41486 (scalbln_test): Likewise.
41487 (tan_test): Likewise.
41488 (y1_test): Likewise.
41489 * sysdeps/i386/fpu/libm-test-ulps: Update.
41490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41491
9e0e3d0b
DM
414922012-05-23 David S. Miller <davem@davemloft.net>
41493
41494 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41495 (__libc_sigaction): Remove unused local variables.
41496
ccd0a08f
L
414972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41498
41499 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41500
62bdf9a6
PE
415012012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41502
f8591f80
PE
41503 mktime: avoid signed integer overflow
41504 * time/mktime.c (__mktime_internal): Do not mishandle the case
41505 where diff == INT_MIN.
41506
94c7d826
PE
41507 mktime: simplify computation of average
41508 * time/mktime.c (ranged_convert): Use new time_t_avg function
41509 instead of rolling our own (probably-slower) code.
41510
ce73d683
PE
41511 mktime: do not assume signed right shift propagates sign bit
41512 * time/mktime.c (isdst_differ): New static function.
41513 (__mktime_internal): No need to normalize tm_isdst now.
41514 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41515 tm_isdst values.
41516
72a22e59
PE
41517 mktime: merge another wrapv change from gnulib
41518 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41519 from some compilers.
41520
68605433
PE
41521 mktime: remove incorrect attempt at unusual arithmetics
41522 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41523 The code didn't really work on such machines anyway.
41524 (TYPE_MINIMUM): Assume two's complement.
41525 (twos_complement_arithmetic): Verify that long_int and time_t
41526 are two's complement (or unsigned, in the latter case).
41527
03cf7fe3
PE
41528 mktime: check signed shifts on long_int and time_t, too
41529 * time/mktime.c (SHR): Check that shifts work as desired
41530 on the types long_int and time_t too, as SHR is used on
41531 such types.
41532
f04dfbc2
PE
41533 mktime: do not assume 'long' is wide enough
41534 * time/mktime.c (verify): Move decl up.
41535 (long_int): New type.
41536 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41537 to remove assumption in the code that 'long' is wide enough to
41538 store year values. This assumption is not true on x32 and on
41539 some non-glibc platforms.
41540
62bdf9a6
PE
41541 mktime: merge wrapv change from gnulib
41542 * time/mktime.c (WRAPV): New macro.
41543 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41544 (guess_time_tm, __mktime_internal): Do not assume that signed
41545 integer overflow wraps around; modern compilers generate code
41546 where this assumption is no longer valid.
41547
5e292e4f
L
415482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41549
41550 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41551 Replace "jmp L(pseudo_end)" with "ret".
41552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41553 Likewise.
41554
8caf8c87
AJ
415552012-05-23 Andreas Jaeger <aj@suse.de>
41556
41557 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41558 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41559
1a09dc56
AJ
415602012-05-23 Andreas Jaeger <aj@suse.de>
41561 Maximilian Attems <max@stro.at>
41562
41563 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41564 New macros.
41565
1c87aba0
L
415662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41567
41568 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41569 code so that pseudo_end is just ret and the stack pointer is
41570 correct also for static library in error case.
41571
40e45bd5
JM
415722012-05-23 Joseph Myers <joseph@codesourcery.com>
41573
c2670533
JM
41574 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41575 move to syscalls.list.
41576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41580
40e45bd5
JM
41581 * manual/install.texi (Running make install): Do not mention Linux
41582 kernel version for which pt_chown is not needed.
41583 (Linux): Do not mention problems with nscd with 2.0 kernels.
41584 * INSTALL: Regenerated.
41585
be08eda5
AJ
415862012-05-23 Andreas Jaeger <aj@suse.de>
41587
41588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41589 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41590 macro.
41591 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41592 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41593 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41595 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41597 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41599 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41601 * sysdeps/unix/sysv/linux/bits/in.h
41602 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41603
a6a056bb
RM
416042012-05-22 Roland McGrath <roland@hack.frob.com>
41605
41606 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41607 (PREPARE_VERSION): Just use assert instead, it will be elided
41608 under [NDEBUG] anyway.
41609
c9009328
L
416102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41611
41612 * sysdeps/unix/sysv/linux/Makefile: Include
41613 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41614 (sysdep_routines): Remove sysctl.
c9009328
L
41615 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41616 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41617 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41618 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41619 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41620
73338355
AJ
416212012-05-22 Andreas Jaeger <aj@suse.de>
41622
41623 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41624 that pseudo_end is just ret and the stack pointer is correct also
41625 for static library in error case.
41626
d44638b0
PP
416272012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41628
41629 [BZ #14122]
41630 * nss/nsswitch.c (defconfig_entries): New variable.
41631 (__nss_database_lookup): Don't leak defconfig entries.
41632 (nss_parse_service_list): Don't leak on error paths.
41633 (free_database_entries): New function.
41634 (free_defconfig): New function.
41635 (free_mem): Move common code to free_database_entries.
41636
31a39bd8
L
416372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41638
da0331a8
L
41639 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41640 Add arch_prctl.
41641 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41642
31a39bd8
L
41643 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41644 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41646 New macro.
41647 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41648 (INTERNAL_SYSCALL_TYPES): Likewise.
41649 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41650 (LOAD_REGS_TYPES_[1-6]): Likewise.
41651 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41652 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41653
45470df3
AZ
416542012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41655
41656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41657 copysignl for GLIBC_2_0.
41658 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41659 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41661 logbl for GLIBC_2_0.
41662 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41663 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41664
98a61bcb
L
416652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41666
a4f6e481
L
41667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41668 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41669
f63d5db6
L
41670 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41671 Use "neg %eax".
41672
98a61bcb
L
41673 * time/mktime.c: Update copyright years.
41674
95770f14
PE
416752012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41676
6226efbd
PE
41677 mktime: merge comment-quoting-style change from gnulib
41678 * time/mktime.c: Quote 'like this' in comments.
41679 The GNU coding standards suggest that we no longer quote `like this',
41680 as "`" and "'" are typically rendered asymmetrically nowadays.
41681 The typical gnulib style is to quote 'like this' when quoting
41682 code, and "like this" when quoting English.
41683
b99e4f78
PE
41684 * time/mktime.c (compile-command): Add "-I.".
41685
643e01e6
PE
41686 mktime: merge mktime-internal.h change from gnulib
41687 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41688
2554247d
PE
41689 mktime: merge time_r change from gnulib
41690 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41691
826dd0ab
PE
41692 mktime: merge DEBUG change from gnulib
41693 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41694 case system <time.h> has a #define.
41695
bd83aabe
PE
41696 mktime: merge <sys/types.h> change from gnulib
41697 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41698 since <time.t> is now guaranteed to define time_t.
41699
95770f14
PE
41700 mktime: merge HAVE_CONFIG_H change from gnulib
41701 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41702
5e1a27a9
L
417032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41704
0e44a77e
L
41705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41706 Use "neg %eax".
41707
5e1a27a9
L
41708 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41709 __rlim_t cast.
41710 (struct rusage): Use anonymous union to pad each field to
41711 __syscall_slong_t.
41712
46259bec
DM
417132012-05-21 David S. Miller <davem@davemloft.net>
41714
41715 * Makefules (o-iterator): Remove .s cases.
41716 (compile-command.s): Delete.
41717 (COMPILE.s): Delete.
41718 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41719
59f0c22e
JM
417202012-05-21 Joseph Myers <joseph@codesourcery.com>
41721
41722 * configure.in (libc_cv_predef_stack_protector): Only consider
41723 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41724 * configure: Regenerated.
41725
20c07380
L
417262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41727
bbb3154b
L
41728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41729 New macro. Use R*LP on int and pointer.
41730 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41731 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41732 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41733 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41734
20c07380
L
41735 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41736 [__WORDSIZE_TIME64_COMPAT32] instead of
41737 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41738 (struct utmp): Likewise.
41739 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41740 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41741 Renamed to ...
41742 (__WORDSIZE_TIME64_COMPAT32): This.
41743 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41744 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41745 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41746 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41747 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41748 (__WORDSIZE_TIME64_COMPAT32): New macro.
41749
d8d1017e
AJ
417502012-05-21 Andreas Jaeger <aj@suse.de>
41751
41752 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41753 only if [SHARED]. Add prototype for __wcschr_ia32.
41754
6c7fb145
RM
417552012-05-21 Roland McGrath <roland@hack.frob.com>
41756
41757 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41758 of %rbp unmolested in the jmp_buf while mangling the low bits.
41759 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41760 unmolested high bits of %rbp while demangling the low bits.
41761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41762
66274218
AJ
417632012-05-21 Andreas Jaeger <aj@suse.de>
41764
07c58f8f
AJ
41765 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41766 * sunrpc/svc_simple.c: Use it for registerrpc.
41767 * sunrpc/xcrypt.c: Use it for passwd2des.
41768
66274218
AJ
41769 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41770
61f65140
L
417712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41772
41773 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41774 Don't define if [__SYSCALL_WORDSIZE != 32].
41775 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41776 New macro.
41777
5fefb436
AJ
417782012-05-21 Bruno Haible <bruno@clisp.org>
41779 Andreas Jaeger <aj@suse.de>
41780
41781 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41782 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41783 inptr and inend for must_buffer_ch.
41784 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41785 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41786 * stdio-common/Makefile (tests): Remove bug15.
41787 (bug15-ENV): Remove macro.
41788 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41789 anymore.
41790
d8e272ab
AJ
417912012-05-19 Andreas Jaeger <aj@suse.de>
41792 Roland McGrath <roland@hack.frob.com>
41793
41794 * manual/contrib.texi: Completely rewritten. It contains now an
41795 alphabetical list of contributors and their contributions.
41796
4a56a162
RH
417972012-05-21 Richard Henderson <rth@twiddle.net>
41798
41799 * misc/getauxval.c (__getauxval): Use unsigned long int.
41800 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41801 (getauxval): Use unsigned long int.
41802
d024d23c
L
418032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41804
41805 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41806
cbc00a03
RM
418072012-05-21 Roland McGrath <roland@hack.frob.com>
41808
41809 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41810 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41811 __alignof__ (long double).
41812
478143fa
AZ
418132012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41814
41815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41816
c7683a6d
RH
418172012-05-20 Richard Henderson <rth@twiddle.net>
41818
41819 * misc/getauxval.c: New file.
41820 * misc/sys/auxv.h: New file.
41821 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41822 (routines): Add getauxval.
41823 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41824 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41825 * elf/dl-sysdep.c (_dl_auxv): Remove.
41826 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41827 * elf/dl-support.c (_dl_auxv): New variable.
41828 (_dl_aux_init): Initialize it.
41829 * manual/startup.texi (Auxiliary Vector): New node.
41830 * sysdeps/generic/bits/hwcap.h: New file.
41831 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41832 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41833 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41834 * sysdeps/sparc/sysdep.h: ... here. Include it.
41835 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41836 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41838 Update.
c7683a6d
RH
41839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41847
a6f1845d
AZ
418482012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41849
41850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41851
cbcbe830
DM
418522012-05-19 David S. Miller <davem@davemloft.net>
41853
41854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41855
e0b16cc2
JM
418562012-05-19 Joseph Myers <joseph@codesourcery.com>
41857
41858 [BZ #14123]
41859 * math/s_ccosh.c: Include <float.h>
41860 (__ccosh): Avoid internal overflow calculating sinh and cosh
41861 values before multiplying by sin and cos values.
41862 * math/s_ccoshf.c: Likewise.
41863 * math/s_ccoshl.c: Likewise.
41864 * math/s_csin.c: Likewise.
41865 * math/s_csinf.c: Likewise.
41866 * math/s_csinl.c: Likewise.
41867 * math/s_csinh.c: Likewise.
41868 * math/s_csinhf.c: Likewise.
41869 * math/s_csinhl.c: Likewise.
41870 * math/libm-test.inc (ccos_test): Add more tests.
41871 (ccosh_test): Likewise.
41872 (csin_test): Likewise.
41873 (csinh_test): Likewise.
41874 * sysdeps/i386/fpu/libm-test-ulps: Update.
41875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41876
6ad13e08
L
418772012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41878
f66f0ce8
L
41879 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41880 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41881
6ad13e08
L
41882 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41883
b1d072a7
JM
418842012-05-19 Joseph Myers <joseph@codesourcery.com>
41885
41886 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41887 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41888 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41889 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41890 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41891 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41892 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41893 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41894 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41895 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41896 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41897 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41898 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41899 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41900 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41901 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41902 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41903 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41904 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41905 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41906 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41907 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41908 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41909 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41910 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41911 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41912 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41913 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41914 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41915 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41916 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41917
9eae47cb
AJ
419182012-05-18 Andreas Jaeger <aj@suse.de>
41919
41920 * csu/.gitignore: Delete.
41921
bb07f69f
L
419222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41923
41924 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41925 (timex): Use __syscall_slong_t.
41926
e6bdb741
AJ
419272012-05-18 Andreas Jaeger <aj@suse.de>
41928 Carlos O'Donell <carlos_odonell@mentor.com>
41929
41930 * manual/install.texi (Configuring and compiling): Update
41931 description about files modified in the source directory.
d6c33fda 41932 * INSTALL: Regenerated.
e6bdb741 41933
1b74487e
L
419342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41935
41936 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41937 value. Use "or" to set return value to -1.
41938 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41939 negate return value.
41940
a88b64b9
TMQMF
419412012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41942
57f41c40
AS
41943 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41944 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41945 failure if the compiler has Graphite support disabled.
41946 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41947 Likewise.
57f41c40
AS
41948 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41949 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41950 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41951 Likewise.
41952
3707636e
L
419532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41954
610b8622
L
41955 * sysdeps/x86_64/x32/_itoa.h: New file.
41956
7cd195df
L
41957 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41958 getdents system call only if kernel and user dirents have the
41959 same d_ino and d_off.
41960
94b07d20
L
41961 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41962 LLONG_MAX != LONG_MAX.
41963 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41964 (_fitoa_word): Likewise.
41965
18298070
L
41966 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41967 years.
41968 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41971
553c7ea4
L
41972 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41973 include <bits/wordsize.h>. Check __x86_64__ instead of
41974 __WORDSIZE.
41975 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41976 if __x86_64__ is defined. Use anonymous union on fpstate.
41977
3707636e
L
41978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41979 anonymous union.
41980
b53ef01a
AS
419812012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41982
37fb1dc0
AS
41983 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41984 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41985 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41986 Refer to _rtld_local_ro instead of _rtld_global_ro.
41987 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41988 Likewise.
41989 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41990 Likewise.
41991 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41992 Likewise.
41993 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41994 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41995 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41996
b53ef01a
AS
41997 * sysdeps/powerpc/powerpc32/dl-machine.c
41998 (__elf_machine_runtime_setup) [PROF]: Don't reference
41999 _dl_prof_resolve.
42000
7a185db2
AJ
420012012-05-18 Andreas Jaeger <aj@suse.de>
42002
42003 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42004 function only available for GCCs before 3.4 since GCC 3.4
42005 introduced a builtin.
42006 (lrint): Likewise.
42007 (llrintf): Likewise.
42008 (llrint): Likewise.
42009 (fmaxf): Likewise.
42010 (fmax): Likewise.
42011 (fminf): Likewise.
42012 (fmin): Likewise.
42013 (rint): Likewise.
42014 (rintf): Likewise.
42015 (nearbyint): Likewise.
42016 (nearbyintf): Likewise.
42017 (ceil): Likewise.
42018 (ceilf): Likewise.
42019 (floor): Likewise.
42020 (floorf): Likewise.
42021
3e5aef87
L
420222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42023
428bd707
L
42024 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42025 on both fields and cast pointer to __syscall_ulong_t.
42026
3e5aef87
L
42027 * bits/types.h (__fsword_t): New type.
42028 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42029 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42030 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42031 (__FSWORD_T_TYPE): Likewise.
42032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42033 (__FSWORD_T_TYPE): Likewise.
42034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42035 (__FSWORD_T_TYPE): Likewise.
42036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42037 (__FSWORD_T_TYPE): Likewise.
42038 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42039 __SWORD_TYPE with __fsword_t.
42040 (statfs64): Likewise.
42041
1ba7c3dc
DM
420422012-05-17 David S. Miller <davem@davemloft.net>
42043
42044 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42045
59910343
AJ
420462012-05-17 Andreas Jaeger <aj@suse.de>
42047
42048 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42049 warning.
42050
2e4c1e9e
L
420512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42052
42053 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42054
de7f5ce7
AJ
420552012-05-17 Andreas Jaeger <aj@suse.de>
42056
42057 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42058 when it is used.
42059
286abc3d
CM
420602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42061
42062 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42063
477cc68e
L
420642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42065
42066 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42067 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42068
1a0994f5
CD
420692012-05-17 Andreas Jaeger <aj@suse.de>
42070 Carlos O'Donell <carlos_odonell@mentor.com>
42071
42072 [BZ #14059]
42073 * sysdeps/x86_64/multiarch/init-arch.h
42074 (bit_YMM_Usable): Rename to...
42075 (bit_AVX_Usable): ... this.
42076 (bit_FMA4_Usable): New macro.
42077 (bit_XMM_state): New macro.
42078 (bit_YMM_state): New macro.
42079 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42080 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42081 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42082 (CPUID_OSXSAVE): New macro.
42083 (CPUID_AVX): New macro.
42084 (CPUID_FMA4): New macro.
42085 (index_YMM_Usable): Rename to...
42086 (index_AVX_Usable): ... this.
42087 (HAS_AVX): Use HAS_ARCH_FEATURE.
42088 (HAS_FMA4): Likewise.
42089 (HAS_YMM_USABLE): Remove.
42090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42091 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42092 are present.
42093 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42094 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42095 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42096 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42097 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42098
0af797de
CM
420992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42100
42101 * math/libm-test.c: Support platforms without multiple rounding modes.
42102 * math/bug-nextafter.c: Support platforms without FP exceptions.
42103 * math/bug-nexttoward.c: Likewise.
42104 * math/test-fenv.c: Likewise.
42105 * math/test-misc.c: Likewise.
42106 * stdlib/bug-getcontext.c: Likewise.
42107
e39745ff
AJ
421082012-05-17 Andreas Jaeger <aj@suse.de>
42109
42110 * manual/examples/search.c (critter_cmp): Change signature to
42111 avoid warnings.
42112 * manual/string.texi (Collation Functions): Likewise.
42113
48970aba
L
421142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42115
42116 * bits/types.h: Fold copyright years.
42117 * bits/typesizes.h: Likewise.
42118 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42120 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42122 * time/time.h: Likewise.
42123
bedee953
PP
421242012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42125
42126 [BZ #208]
42127 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42128 in instead of returning them. Return void.
42129 (__libc_mallinfo): Accumulate over all arenas.
42130 (__malloc_stats): Adjust for change in int_mallinfo interface.
42131
61653dfb
RM
421322012-05-16 Roland McGrath <roland@hack.frob.com>
42133
30b99d79
RM
42134 [BZ #10375]
42135 * configure.in (NM): Add AC_CHECK_TOOL for it.
42136 (libc_extra_cflags): New substituted variable.
42137 Check for -fstack-protector being used implicitly.
42138 * configure: Regenerated.
42139 * config.make.in (config-extra-cflags): New variable,
42140 gets @libc_extra_cflags@.
42141 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42142
61653dfb
RM
42143 [BZ #10375]
42144 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42145 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42146 * configure: Regenerated.
42147 * config.make.in (CPPUNDEFS): New substituted variable.
42148 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42149 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42150 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42151
661768bb
L
421522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42153
42154 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42155 (mq_attr): Use __syscall_slong_t.
42156
d4261567
L
421572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42158
42159 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42160 Check __x86_64__ instead of __WORDSIZE.
42161 (_STAT_VER_LINUX): Likewise.
42162 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42163 __syscall_ulong_t and __syscall_slong_t.
42164 (stat64): Likewise.
42165
cf3ff365
L
421662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42167
42168 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42169
76cf3e4d
L
421702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42171
42172 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42173
a637753a
L
421742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42175
42176 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42177 __syscall_ulong_t.
42178
d5e05119
L
42179 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42180 include <bits/wordsize.h>. Check __x86_64__ instead of
42181 __WORDSIZE.
42182 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42183 defined.
42184 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42185
f62ee380
L
42186 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42187 include <bits/wordsize.h>. Check __x86_64__ instead of
42188 __WORDSIZE.
42189 (user_regs_struct): Use "__extension__ unsigned long long"
42190 instead of "unsigned long" if __x86_64__ is defined.
42191 (user): Likewise. Pad after pointer field if __ILP32__ is
42192 defined.
42193
4e124ced
JM
421942012-05-16 Joseph Myers <joseph@codesourcery.com>
42195
6a3951a0
JM
42196 * configure.in (makeinfo): Require version 4.5 or later. Allow
42197 versions 5 to 9.
42198 * configure: Regenerated.
42199 * manual/install.texi (texinfo): Increase version requirement to
42200 4.5 or later.
42201 * INSTALL: Regenerated.
42202
4e124ced
JM
42203 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42204
953ca31a
L
422052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42206
42207 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42208
617aca05
L
42209 * sysdeps/x86_64/x32/ffs.c: New file.
42210
5762f7ae
L
42211 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42212 __syscall_ulong_t.
42213 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42214 defined. Use __syscall_ulong_t.
42215 (shminfo): Use __syscall_ulong_t.
42216 (shm_info): Likewise.
42217
a26b6856
L
42218 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42219 __syscall_ulong_t.
42220
cb2b9ef7
L
42221 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42222 <bits/wordsize.h>.
42223 (msgqnum_t): Use __syscall_ulong_t.
42224 (msglen_t): Likewise.
42225 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42226 __syscall_ulong_t.
42227
34683bb0
L
42228 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42230
84a68786
L
42231 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42232
48baa5f1
L
42233 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42234 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42235
180be88b
L
42236 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42237 __syscall_slong_t.
42238
5e90c8ad
L
42239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42240 include <bits/wordsize.h>. Check __x86_64__ instead of
42241 __WORDSIZE.
42242
23dfb58b
L
42243 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42244 "unsigned long long int" if __x86_64__ is defined.
42245 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42246
ce5d54b0
L
42247 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42248 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42249 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42250
13dc9eac
L
42251 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42252 <stdint.h>.
42253 (GET_PC): Cast to uintptr_t first.
42254 (GET_FRAME): Likewise.
42255 (GET_STACK): Likewise.
42256
a7895d15
L
42257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42259 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42260 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42261 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42262 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42263 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42264 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42265 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42266 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42267 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42268 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42270 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42271 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42276 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42278 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42280 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42282 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42283 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42284 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42286
656416c9
AS
422872012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42288
5bd66283
AS
42289 * Makerules (+depfiles): Also collect depfiles from .oS in
42290 $(extra-objs).
42291 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42292 .oS, $(libnldbl-routines)).
42293
656416c9
AS
42294 * Makerules (native-compile-mkdep-flags): Define.
42295 * sunrpc/Makefile (extra-objs): Add $(addprefix
42296 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42297 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42298 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42299 calling $(make-target-directory).
42300
a46f2169
L
423012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42302
42303 * bits/types.h (__snseconds_t): Removed.
42304 * time/time.h (struct timespec): Replace __snseconds_t with
42305 __syscall_slong_t.
42306 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42307 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42308 Likewise.
42309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42310 (__SNSECONDS_T_TYPE): Likewise.
42311 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42312 (__SNSECONDS_T_TYPE): Likewise.
42313 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42314 (__SNSECONDS_T_TYPE): Likewise.
42315
6af6528b
L
423162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42317
42318 * sysdeps/mach/hurd/bits/typesizes.h
42319 (__SYSCALL_SLONG_TYPE): New macro.
42320 (__SYSCALL_ULONG_TYPE): Likewise.
42321
de986b56
L
423222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42323
42324 * bits/types.h (__syscall_slong_t): New type.
42325 (__syscall_ulong_t): Likewise.
42326
42327 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42328 (__SYSCALL_ULONG_TYPE): Likewise.
42329 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42330 (__SYSCALL_SLONG_TYPE): Likewise.
42331 (__SYSCALL_ULONG_TYPE): Likewise.
42332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42333 (__SYSCALL_SLONG_TYPE): Likewise.
42334 (__SYSCALL_ULONG_TYPE): Likewise.
42335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42336 (__SYSCALL_SLONG_TYPE): Likewise.
42337 (__SYSCALL_ULONG_TYPE): Likewise.
42338
85736dc7
L
423392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42340
42341 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42342 Add sigaltstack-offsets.sym.
42343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42344 <sigaltstack-offsets.h>.
42345 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42346 longjmp_msg pointer.
42347 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42348 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42349 signal stack.
42350 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42351
cc03b296
JM
423522012-05-15 Joseph Myers <joseph@codesourcery.com>
42353
a9538892
JM
42354 * elf/stackguard-macros.h: Remove file.
42355 * sysdeps/generic/stackguard-macros.h: New file.
42356 * sysdeps/i386/stackguard-macros.h: Likewise.
42357 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42358 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42359 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42360 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42361 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42362 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42363 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42364 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42365 <elf/stackguard-macros.h>.
42366
cc03b296
JM
42367 [BZ #14109]
42368 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42369 __aligned__ in attribute.
42370 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42371 (gregset_t): Likewise.
42372
93171016
L
423732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42374
42375 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42376 * sysdeps/x86_64/64/Implies-after: Here. New file.
42377 * sysdeps/x86_64/x32/Implies-after: New file.
42378
d86813a0
L
423792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42380
42381 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42382 and access return value for _dl_profile_fixup. Use R10_LP to
42383 load frame size.
42384
2953ec75
L
423852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42386
42387 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42388
3b550e9e
L
423892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42390
42391 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42392 * sysdeps/x86_64/x32/sysdep.h: New file.
42393
eda41706
L
423942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42395
42396 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42397 * sysdeps/x86_64/setjmp.S: Likewise.
42398
9ea01d93
AZ
423992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42400
42401 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42402 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42403 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42404 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42405 remove unused global constant.
42406
02a91938
CM
424072012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42408
42409 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42410 include of <not-cancel.h>.
42411
6540185f
RM
424122012-05-15 Roland McGrath <roland@hack.frob.com>
42413
42414 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42415
509072a0
AJ
424162012-05-15 Jeff Law <law@redhat.com>
42417 Andreas Jaeger <aj@suse.de>
42418
42419 [BZ #13594]
42420 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42421 out from...
42422 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42423 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42424 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42425 code changing __hst_map_handle.map.
42426
ba75122d
RM
424272012-05-15 Roland McGrath <roland@hack.frob.com>
42428
42429 * configure.in (sysnames): Look for Implies-before and Implies-after
42430 files.
42431 * configure: Regenerated.
42432
890d8bd8
L
424332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42434
42435 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42436 8-byte data alignment with LP_SIZE alignment.
42437
f6ee6623
L
424382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42439
42440 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42441 into R10_LP.
42442
ea2626f6
L
424432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42444
42445 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42446
085f715e
L
424472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42448
42449 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42450 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42451 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42452 Likewise.
42453 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42454
be8498fc
L
424552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42456
42457 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42458 (stackinfo_sub_sp): Likewise.
42459
70bc83b9
L
424602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42461
42462 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42463 RAX_LP.
42464
9bc0b730
L
424652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42466
42467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42468 into R*_LP.
42469
6d2850e7
L
424702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42471
42472 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42473 sizes into R*_LP.
42474
3cb84561
L
424752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42476
42477 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42478
54e2ed81
L
424792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42480
42481 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42482 into R11_LP and load __x86_64_shared_cache_size_half into
42483 R8_LP.
42484
8a17f349
L
424852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42486
42487 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42488 R8_LP.
42489
777b1eea
AZ
424902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42491
42492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42493 logb for POWER7.
42494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42495 logbf for POWER7.
42496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42497 logbl for POWER7.
42498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42499 powerpc32/power7/fpu/s_logb.c via #include.
42500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42501 powerpc32/power7/fpu/s_logbf.c via #include.
42502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42503 powerpc32/power7/fpu/s_logbl.c via #include.
42504
d20d4ac2
JM
425052012-05-15 Joseph Myers <joseph@codesourcery.com>
42506
42507 * README.libm: Remove file.
42508
6cdef1ab
L
425092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42510
42511 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42512 count for x32. Use R*_LP and omit operand-size suffix.
42513
0b254d8f
L
425142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42515
42516 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42517 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42518 * sysdeps/x86_64/x32/shlib-versions: New file.
42519
ceb809dc
RM
425202012-05-14 Roland McGrath <roland@hack.frob.com>
42521
42522 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42523 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42524 Use _dl_fatal_printf instead.
42525
37f1abd4
JM
425262012-05-14 Joseph Myers <joseph@codesourcery.com>
42527
42528 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42529 set if not set by the user. Do not allow for being unset.
42530 * sysdeps/unix/sysv/linux/configure: Regenerated.
42531
11de3a33
L
425322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42533
42534 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42535 the `q' suffix from lea and replace .quad with ASM_ADDR.
42536
e02f153a
L
425372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42538
42539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42540 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42541 instead of $17.
42542 (PTR_DEMANGLE): Likewise.
42543
520ae0fd
L
425442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42545
42546 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42547 (LP_OP): Likewise.
42548 (ASM_ADDR): Likewise.
42549 (RAX_LP): Likewise.
42550 (RBP_LP): Likewise.
42551 (RBX_LP): Likewise.
42552 (RCX_LP): Likewise.
42553 (RDI_LP): Likewise.
42554 (RSI_LP): Likewise.
42555 (RSP_LP): Likewise.
42556 (R8_LP): Likewise.
42557 (R9_LP): Likewise.
42558 (R10_LP): Likewise.
42559 (R10_LP): Likewise.
42560 (R11_LP): Likewise.
42561 (R12_LP): Likewise.
42562 (R13_LP): Likewise.
42563 (R14_LP): Likewise.
42564 (R15_LP): Likewise.
42565
b985be81
L
425662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42567
42568 * sysdeps/x86_64/x32/dl-machine.h: New file.
42569
6a4888ff
AJ
425702012-05-14 Andreas Jaeger <aj@suse.de>
42571
42572 * manual/Makefile (subdir): Remove export of subdir.
42573 (all): Remove target.
42574 (.PHONY): Remove all from list.
42575 (mkinstalldirs): Remove.
42576 (.PHONY): Remove installdirs from list.
42577 ($(inst_infodir)/libc.info): Use make-target-directory.
42578 (installdirs): Remove.
42579 (subdir_%): Remove.
42580 (glibc-targets): Remove.
42581 (lib): Remove.
42582 (stubs): Remove.
42583 ($(objpfx)stubs ../po/manual.pot): Remove.
42584 ($(objpfx)stamp%): Remove.
42585 (make-target-directory): Remove.
42586 (subdir_install): Remove.
42587 (routines): Remove.
42588 (aux): Remove.
42589 (sources): Remove.
42590 (objects): Remove.
42591 (headers): Remove.
42592
42593 [BZ #13750]
42594 * manual/.gitignore: Remove, it's not needed anymore.
42595 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42596 all files in it.
42597 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42598 directory.
42599 (texis): Renamed to $(objpfx)texis.
42600 (texis-path): New, contains path to generated files.
42601 (chapters.%): Use texis-path for complete path, add extra argument
42602 libc-texinfo.sh.
42603 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42604 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42605 (summary,texi, stamp-summary): Use complete path of
42606 files. Generate files in build dir.
42607 (dir-add.texi): Build in build dir.
42608 (libm-err.texi,stamp-libm-err): Likewise.
42609 (version.texi, stamp-version): Likewise.
42610 (.%c.texi): Likewise.
42611 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42612 (mostlyclean): Remove target.
42613 (realclean): Remove target.
42614 (generated): Add new variable with contents from mostlyclean and
42615 realclean, remove entries duplicated in common-mostlyclean, add
42616 stamp-libm-err and stamp-version.
42617 (generated-dirs): Add libc directory.
42618 ($(inst_infodir)/libc.info): Install files from build dir.
42619
42620 * manual/install.texi (Configuring and compiling): Adjust since
42621 the info files are not part of the tar ball anymore.
42622
7ac77294
AJ
426232012-05-14 Andreas Jaeger <aj@suse.de>
42624
42625 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42626 variable.
42627
ffb7875d
JM
426282012-05-14 Joseph Myers <joseph@codesourcery.com>
42629
42630 [BZ #13717]
42631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42632 to 2.2.0 where earlier.
42633 * sysdeps/unix/sysv/linux/configure: Regenerated.
42634 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42635 Remove conditional code.
42636 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42637 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42638 Remove conditional code.
42639 [!__NR_lchown]: Likewise.
42640 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42641 [__NR_lchown]: Likewise.
42642 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42643 comment referencing __ASSUME_LCHOWN_SYSCALL.
42644 * sysdeps/unix/sysv/linux/i386/sigaction.c
42645 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42646 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42647 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42648 Remove conditional code.
42649 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42650 (__protocol_available): Remove #if 0 code.
42651 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42652 conditional code.
42653 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42654 * sysdeps/unix/sysv/linux/kernel-features.h
42655 (__ASSUME_GETCWD_SYSCALL): Don't define.
42656 (__ASSUME_REALTIME_SIGNALS): Likewise.
42657 (__ASSUME_PREAD_SYSCALL): Likewise.
42658 (__ASSUME_PWRITE_SYSCALL): Likewise.
42659 (__ASSUME_POLL_SYSCALL): Likewise.
42660 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42661 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42662 non-SPARC.
42663 (__ASSUME_SIOCGIFNAME): Don't define.
42664 (__ASSUME_MSG_NOSIGNAL): Likewise.
42665 (__ASSUME_SENDFILE): Define unconditionally.
42666 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42667 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42668 conditional code.
42669 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42670 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42671 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42672 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42673 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42674 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42675 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42677 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42680 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42686 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42692 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42700 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42701 Remove conditional code.
42702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42703 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42704 Remove conditional code.
42705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42706 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42707 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42708 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42709 Remove conditional code.
42710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42711 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42712 Remove conditional code.
42713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42714 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42715 Remove conditional code.
42716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42717 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42718 Remove conditional code.
42719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42720 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42721 Remove conditional code.
42722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42723 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42726 * sysdeps/unix/sysv/linux/sigaction.c
42727 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42728 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42729 * sysdeps/unix/sysv/linux/sigpending.c
42730 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42731 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42732 * sysdeps/unix/sysv/linux/sigprocmask.c
42733 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42734 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42735 * sysdeps/unix/sysv/linux/sigsuspend.c
42736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42738 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42739 (__libc_missing_rt_sigs): Remove.
42740 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42741 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42742 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42743 Remove conditional code.
42744 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42745 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42746 return 1.
42747 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42748 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42749 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42750 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42751
1bfb7291
AJ
427522012-05-14 Andreas Jaeger <aj@suse.de>
42753
caae5a81
AJ
42754 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42755 it's not used in glibc.
42756 (__coshm1): Likewise.
42757 (__acosh1p): Likewise.
42758 (__sgn): Likewise.
42759
1bfb7291
AJ
42760 * manual/string.texi (Copying and Concatenation): Add missing
42761 variable in concat example.
42762 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42763
c044d724
L
427642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42765
144c5467 42766 [BZ #14103]
c044d724
L
42767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42768 __builtin_clzl with __builtin_clzll.
42769
2523c62b
L
427702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42771
42772 [BZ #14104]
42773 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42774 libc_freeres_ptr.
42775
d7bb4c42
LD
427762012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42777
42778 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42779 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42780 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42781 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42782
9dc4e1fb
MF
427832012-05-14 Mike Frysinger <vapier@gentoo.org>
42784
42785 * NEWS: Update ia64 info.
42786
c7df0112
AS
427872012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42788
42789 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42790 used as bcopy.
42791
dc70356c
TS
427922012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42793
42794 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42795 * sysdeps/unix/syscalls.list (dup3): Likewise.
42796 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42797 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42798
9fb1a21f
L
427992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42800
42801 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42802 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42803
4822a2a5
L
428042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42805
42806 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42807 thread pointer.
42808 (TLS_IE): Use mov/add instead of movq/addq to load thread
42809 pointer.
42810 (TLS_GD_PREFIX): New.
42811 (TLS_GD): Use it.
42812
842b81d6
DM
428132012-05-11 David S. Miller <davem@davemloft.net>
42814
42815 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42816 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42817 (_FPU_SETCW): Likewise.
42818
1cf463cd
L
428192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42820
42821 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42822 is 32-byte aligned.
42823
60cc4a18
AS
428242012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42825
42826 [BZ #11837]
42827 * iconvdata/gb18030.c: Update tables.
42828 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42829 characters specially.
42830 (BODY for TO_LOOP): Add encoding of missing ranges.
42831
febb44a4
TS
428322012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42833
42834 [BZ #13673]
42835 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42836 * sysdeps/mach/hurd/dup3.c: Likewise.
42837 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42838 * sysdeps/powerpc/memmove.c:: Likewise.
42839
0a10fb9e
L
428402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42841
42842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42843 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42844
df8a552f
L
428452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42846
42847 * elf/elf.h (R_X86_64_RELATIVE64): New.
42848 (R_X86_64_NUM): Updated.
42849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42850 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42851 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42852 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42853 tst-quad1pie tst-quad2pie
42854 (modules-names): Add tst-quadmod1 tst-quadmod2.
42855 ($(objpfx)tst-quad1): New dependency.
42856 ($(objpfx)tst-quad2): Likewise.
42857 ($(objpfx)tst-quad1pie): Likewise.
42858 ($(objpfx)tst-quad2pie): Likewise.
42859 * sysdeps/x86_64/tst-quad1.c: New file.
42860 * sysdeps/x86_64/tst-quad1pie.c: New file.
42861 * sysdeps/x86_64/tst-quad2.c: Likewise.
42862 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42863 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42864 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42865 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42866 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42867
f34d6f84
ST
428682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42869
f42d41d1
ST
42870 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42871 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42872 * streams/stropts.h (t_scalar_t): Define type.
42873
3c3571fc
ST
42874 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42875 (_PATH_PRESERVE): Set to "/var/lib".
42876 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42877
61f06bd3
ST
42878 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42879 instead of int.
42880
918d4d71
ST
42881 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42882 if __dir_mkfile succeeded.
42883
f34d6f84
ST
42884 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42885 checking for _hurd_dtablesize. Unlock it right after having
42886 finished _hurd_dtable allocation.
42887
10589b4a
TS
428882012-05-10 Thomas Schwinge <thomas@schwinge.name>
42889
674cdbc7
TS
42890 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42891 * sysdeps/mach/hurd/configure: Regenerated.
42892 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42893 special-casing to...
42894 * sysdeps/gnu/configure.in: ... this new file.
42895 * sysdeps/unix/sysv/linux/configure: Regenerated.
42896 * sysdeps/gnu/configure: New generated file.
42897
8e41b99f
TS
42898 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42899 for Linux: use nsec instead of usec, as well as:
42900 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42901 members of type struct timespec.
42902 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42903 New macros.
42904 (struct stat64): Likewise.
42905 (_STATBUF_ST_NSEC): New macro.
42906 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42907
10589b4a
TS
42908 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42909 __strtoul_internal rather than strtoul.
42910
63643c85
PT
429112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42912
42913 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42914 and reject them.
42915
3faebe6a
ST
429162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42917
42918 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42919 which preserves existing values.
42920 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42921
c6474b07
PT
429222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42923
42924 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42925 TIMEOUT values. Return EINVAL for NFDS values either negative or
42926 greater than FD_SETSIZE.
42927
1043890b
ST
429282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42929
42930 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42931 allocated, call __vm_protect to finish enabling the existing space, and
42932 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42933 allocate the remainder.
42934
37ed8b9b
PT
429352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42936
42937 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42938 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42939
db653660
ST
429402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42941
37ed8b9b
PT
42942 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42943 sysdeps/mach/hurd/readlink.c.
b29d4053 42944
db653660
ST
42945 * posix/tst-sysconf.c (posix_options): Only use
42946 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42947 _POSIX_SYNCHRONIZED_IO when they are defined
42948 * sysdeps/mach/hurd/bits/posix_opt.h:
42949 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42950 (_XOPEN_REALTIME): Undefine macro.
42951 (_XOPEN_REALTIME_THREADS): Undefine macro.
42952 (_XOPEN_SHM): Undefine macro.
42953 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42954 macro to -1.
42955 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42956 macro to -1.
42957 (_POSIX_ASYNC_IO): Undefine macro.
42958 (_POSIX_PRIORITIZED_IO): Undefine macro.
42959 (_POSIX_SPIN_LOCKS): Define macro to -1.
42960
ee16e894
ST
42961 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42962 SA_NODEFER, SA_RESETHAND.
42963 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42964 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42965 F_DUPFD_CLOEXEC.
42966
6103ae3b
TS
429672012-05-10 Thomas Schwinge <thomas@schwinge.name>
42968
42969 * elf/Makefile (pldd-modules): Define unconditionally.
42970
80b4e5f3
TS
429712012-05-10 Thomas Schwinge <thomas@schwinge.name>
42972
42973 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42974
edadcbd6
ST
429752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42976
42977 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42978 Return ENOENT when name is empty.
42979 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42980
80694780
TS
429812012-05-10 Thomas Schwinge <thomas@schwinge.name>
42982
1792c087
TS
42983 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42984
80694780
TS
42985 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42986
6b645f0d
ST
429872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42988
80694780
TS
42989 Fix mlock in all cases except non-readable pages.
42990 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42991 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42992
6b645f0d
ST
42993 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42994 (__mkdir): When path is `/', just fail with EEXIST.
42995 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42996
e468f8a3
TS
429972012-05-10 Thomas Schwinge <thomas@schwinge.name>
42998
42999 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43000 <sys/uio.h> (for writev).
43001 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43002 and <sys/param.h> (for MIN).
43003
a4186cff
PT
430042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43005
43006 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43007 REQUESTED_TIME. Properly set the remaining time and return EINTR
43008 if interrupted.
43009
510bbf14
TS
430102012-05-10 Thomas Schwinge <thomas@schwinge.name>
43011
43012 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43013 Depend on against $(link-rpcuserlibs).
43014
5d5722e8
ST
430152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43016
a4186cff
PT
43017 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43018 (__libc_stack_end): Do not use attribute_relro.
43019 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43020 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43021 to libthread-provided value.
a4186cff
PT
43022 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43023 attribute_relro.
5d5722e8 43024
37233df9
TS
430252012-05-10 Thomas Schwinge <thomas@schwinge.name>
43026
be971a2b
TS
43027 [BZ #3748]
43028 * bits/libc-lock.h (__libc_once_get): New macro.
43029 * sysdeps/mach/bits/libc-lock.h: Likewise.
43030 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43032 instead of using implementation details.
43033
37233df9
TS
43034 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43035 * libio/freopen.c: Likewise.
43036 * libio/freopen64.c: Likewise.
43037 * misc/syslog.c: Likewise.
43038 * nscd/connections.c: Likewise.
43039 * nscd/netgroupcache.c: Likewise.
43040 * sysdeps/posix/getcwd.c: Likewise.
43041
38de94a5
RM
430422012-05-10 Roland McGrath <roland@hack.frob.com>
43043
43044 * math/w_ilogbf.c: Add #include <limits.h>.
43045
67530489
ST
430462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43047
a4186cff 43048 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43049 path instead of returning without unlocking.
43050
67530489
ST
43051 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43052 immediate-write ioctls.
43053 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43054
5aa3a74a
TS
430552012-05-10 Thomas Schwinge <thomas@schwinge.name>
43056
18bad2ae
TS
43057 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43058 __builtin_frame_address instead of making assumptions about the
43059 location of the return address relative to DATA. Force early load of
43060 the return address.
43061 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43062 __builtin_frame_address.
43063
5aa3a74a
TS
43064 dup3 for GNU Hurd.
43065 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43066 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43067 implement dup3 and do some further code clean-ups.
43068 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43069 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43070
ecd0de9a
ST
430712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43072
cd9fa985
ST
43073 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43074
a4186cff
PT
43075 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43076 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43077 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43078 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43079 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43080 d->port.lock.
802ca5a5 43081
a4186cff
PT
43082 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43083 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43084 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43085
bcf55240
TS
430862012-05-10 Thomas Schwinge <thomas@schwinge.name>
43087
6960eb42
TS
43088 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43089 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43090 definitions.
43091
eb43375f
TS
43092 accept4 for GNU Hurd.
43093 * include/sys/socket.h (__libc_accept4): New prototype.
43094 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43095 to implement __libc_accept4.
43096 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43097 __libc_accept4.
43098 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43099
bcf55240
TS
43100 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43101 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43102 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43103 signal-defines.sym.
43104
6178c55b
ST
431052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43106
a4186cff 43107 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43108
6f080c2f
TS
431092012-05-10 Thomas Schwinge <thomas@schwinge.name>
43110
43111 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43112 assertion on O_CLOEXEC flag.
43113 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43114 * hurd/intern-fd.c: Likewise.
43115 * hurd/port2fd.c: Likewise.
43116
bcfe3a54
ST
431172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43118
43119 [BZ #3906]
43120 * bits/in.h (IPV6_PKTINFO): Define new macro.
43121 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43122
89c9aa49
AZ
431232012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43124
43125 [BZ #13954]
43126 [BZ #13955]
43127 [BZ #13956]
43128 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43130 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43131 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43133 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43134 * math/libm-test.inc (logb_test) : Additional logb tests.
43135
021db4be
AJ
431362012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43137 Andreas Jaeger <aj@suse.de>
43138
43139 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43140 * configure: Regenerated.
43141 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43142 * config.make.in (link-obsolete-rpc): New substituted variable.
43143 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43144 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43145 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43146 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43147 so that libc.a contains the symbols.
43148 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43149 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43150 * sunrpc/auth_none.c: Likewise.
43151 * sunrpc/auth_unix.c: Likewise.
43152 * sunrpc/authdes_prot.c: Likewise.
43153 * sunrpc/authuxprot.c: Likewise.
43154 * sunrpc/clnt_gen.c: Likewise.
43155 * sunrpc/clnt_perr.c: Likewise.
43156 * sunrpc/clnt_raw.c: Likewise.
43157 * sunrpc/clnt_simp.c: Likewise.
43158 * sunrpc/clnt_tcp.c: Likewise.
43159 * sunrpc/clnt_udp.c: Likewise.
43160 * sunrpc/clnt_unix.c: Likewise.
43161 * sunrpc/des_crypt.c: Likewise.
43162 * sunrpc/des_soft.c: Likewise.
43163 * sunrpc/get_myaddr.c: Likewise.
43164 * sunrpc/key_call.c: Likewise.
43165 * sunrpc/key_prot.c: Likewise.
43166 * sunrpc/netname.c: Likewise.
43167 * sunrpc/pm_getmaps.c: Likewise.
43168 * sunrpc/pm_getport.c: Likewise.
43169 * sunrpc/pmap_clnt.c: Likewise.
43170 * sunrpc/pmap_prot.c: Likewise.
43171 * sunrpc/pmap_prot2.c: Likewise.
43172 * sunrpc/pmap_rmt.c: Likewise.
43173 * sunrpc/publickey.c: Likewise.
43174 * sunrpc/rpc_cmsg.c: Likewise.
43175 * sunrpc/rpc_common.c: Likewise.
43176 * sunrpc/rpc_dtable.c: Likewise.
43177 * sunrpc/rpc_prot.c: Likewise.
43178 * sunrpc/rpc_thread.c: Likewise.
43179 * sunrpc/rtime.c: Likewise.
43180 * sunrpc/svc.c: Likewise.
43181 * sunrpc/svc_auth.c: Likewise.
43182 * sunrpc/svc_raw.c: Likewise.
43183 * sunrpc/svc_run.c: Likewise.
43184 * sunrpc/svc_tcp.c: Likewise.
43185 * sunrpc/svc_udp.c: Likewise.
43186 * sunrpc/svc_unix.c: Likewise.
43187 * sunrpc/svcauth_des.c: Likewise.
43188 * sunrpc/xcrypt.c: Likewise.
43189 * sunrpc/xdr.c: Likewise.
43190 * sunrpc/xdr_array.c: Likewise.
43191 * sunrpc/xdr_float.c: Likewise.
43192 * sunrpc/xdr_intXX_t.c: Likewise.
43193 * sunrpc/xdr_mem.c: Likewise.
43194 * sunrpc/xdr_rec.c: Likewise.
43195 * sunrpc/xdr_ref.c: Likewise.
43196 * sunrpc/xdr_sizeof.c: Likewise.
43197 * sunrpc/xdr_stdio.c: Likewise.
43198
b5c086a2
RM
431992012-05-10 Roland McGrath <roland@hack.frob.com>
43200
43201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43202 change. Update copyright years.
43203
6d74dd09
JM
432042012-05-10 Joseph Myers <joseph@codesourcery.com>
43205
43206 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43207
28e72501
MK
432082012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43209 Joseph Myers <joseph@codesourcery.com>
43210 Paul Pluzhnikov <ppluzhnikov@google.com>
43211
43212 [BZ #14012]
43213 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43214 requiring rpcgen.
43215 [cross-compiling] (extra-libs): Likewise.
43216 [cross-compiling] (extra-libs-others): Likewise.
43217 [cross-compiling] (librpcsvc-routines): Likewise.
43218 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43219 [cross-compiling] (omit-deps): Likewise.
43220 (sunrpc-CPPFLAGS): New variable.
43221 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43222 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43223 (cross-rpcgen-objs): New variable.
43224 (extra-objs): Append $(cross-rpcgen-objs).
43225 ($(cross-rpcgen-objs)): New rule.
43226 ($(objpfx)cross-rpcgen): Likewise.
43227 (rpcgen-cmd): Define to use $(built-program-file). Expand
43228 comment.
43229 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43230 ($(objpfx)x%.stmp): Likewise.
43231 * sunrpc/proto.h [IS_IN_build] (_): Define.
43232 [IS_IN_build] (_libc_intl_domainname): Likewise.
43233
c8c59454
L
432342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43235
43236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43237 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43238 and R_X86_64_TPOFF64.
43239
6f27cd16
JM
432402012-05-10 Joseph Myers <joseph@codesourcery.com>
43241
43242 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43243 sysdeps/unix/sysv/syscalls.list.
43244 (stime): Likewise.
43245 (utime): Likewise.
43246 * sysdeps/unix/sysv/syscalls.list: Remove file.
43247
02467e1c
PE
432482012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43249
43250 [BZ #3440]
43251 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43252 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43253 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43254 (__LC_IDENTIFICATION): Make these macros useful in #if
43255 expressions, as required by C99.
43256
da392631
AS
432572012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43258
43259 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43260 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43261 after this.
43262
8115f29b
L
432632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43264
43265 * stdlib/longlong.h: Updated from GCC.
43266
bdd74070
AJ
432672012-05-09 Andreas Jaeger <aj@suse.de>
43268
edfe0dbe
AJ
43269 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43270 default is first entry.
43271 (run_mode): Set type.
43272 (main): Remove informal message about syslog.
43273 (options): Fix typo.
43274
bcfe3a54
ST
43275 [BZ #14053]
43276 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43277 to asm.
bcfe3a54
ST
43278 (lrint): Likewise.
43279 (llrintf): Likewise.
43280 (llrint): Likewise.
43281 (rint): Likewise.
43282 (rintf): Likewise.
43283 (nearbyint): Likewise.
43284 (nearbyintf): Likewise.
bdd74070 43285
91d8d69e
AJ
432862012-05-09 Andreas Jaeger <aj@suse.de>
43287 Pedro Alves <palves@redhat.com>
43288
43289 * nscd/nscd.c (run_mode): Use enum.
43290 (main): Cleanup coding style issue.
43291
bb90b80b
AJ
432922012-05-09 Alexandre Oliva <aoliva@redhat.com>
43293 Andreas Jaeger <aj@suse.de>
43294
bcfe3a54
ST
43295 * nscd/nscd.c (go_background): Replaced with...
43296 (run_mode): ... this.
bb90b80b 43297 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43298 (options): Add -F --foreground.
43299 (main): Implement it.
43300 (parse_opt): Parse it.
bb90b80b 43301
1a4b75a1
AJ
433022012-05-09 Andreas Jaeger <aj@suse.de>
43303
43304 [BZ #14083]
43305 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43306 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43307 -Wconversion warning.
43308 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43309 Likewise.
43310
b1cc2472
JM
433112012-05-09 Joseph Myers <joseph@codesourcery.com>
43312
43313 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43314 == 0.
43315 (LC_ALL): Use macro-int-constant.
43316 (LC_COLLATE): Likewise.
43317 (LC_CTYPE): Likewise.
43318 (LC_MESSAGES): Likewise.
43319 (LC_MONETARY): Likewise.
43320 (LC_NUMERIC): Likewise.
43321 (LC_TIME): Likewise.
43322 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43323 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43325 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43326 Specify type.
43327 [C99-based standards] (float_t): Expect type.
43328 [C99-based standards] (double_t): Expect type.
43329 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43330 type.
43331 [C99-based standards] (HUGE_VALL): Likewise.
43332 [C99-based standards] (INFINITY): Likewise.
43333 [C99-based standards] (NAN): Likewise.
43334 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43335 [C99-based standards] (FP_NAN): Likewise.
43336 [C99-based standards] (FP_NORMAL): Likewise.
43337 [C99-based standards] (FP_SUBNORMAL): Likewise.
43338 [C99-based standards] (FP_ZERO): Likewise.
43339 [C99-based standards] (FP_FAST_FMA): Use
43340 optional-macro-int-constant. Specify type. Require == 1.
43341 [C99-based standards] (FP_FAST_FMAF): Likewise.
43342 [C99-based standards] (FP_FAST_FMAL): Likewise.
43343 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43344 [C99-based standards] (FP_ILOGBNAN): Likewise.
43345 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43346 Specify type.
43347 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43348 [C99-based standards] (math_errhandling): Specify type.
43349 [ISO99 || ISO11] (signgam): Do not allow.
43350 [non-C99-based standards] (copysignf): Do not allow.
43351 [non-C99-based standards] (exp2f): Likewise.
43352 [non-C99-based standards] (log2f): Likewise.
43353 [non-C99-based standards] (modff): Allow.
43354 [non-C99-based standards] (erff): Do not allow.
43355 [non-C99-based standards] (erfcf): Likewise.
43356 [non-C99-based standards] (gammaf): Likewise.
43357 [non-C99-based standards] (hypotf): Likewise.
43358 [non-C99-based standards] (j0f): Likewise.
43359 [non-C99-based standards] (j1f): Likewise.
43360 [non-C99-based standards] (jnf): Likewise.
43361 [non-C99-based standards] (lgammaf): Likewise.
43362 [non-C99-based standards] (tgammaf): Likewise.
43363 [non-C99-based standards] (y0f): Likewise.
43364 [non-C99-based standards] (y1f): Likewise.
43365 [non-C99-based standards] (ynf): Likewise.
43366 [non-C99-based standards] (isnanf): Likewise.
43367 [non-C99-based standards] (acoshf): Likewise.
43368 [non-C99-based standards] (asinhf): Likewise.
43369 [non-C99-based standards] (atanhf): Likewise.
43370 [non-C99-based standards] (cbrtf): Likewise.
43371 [non-C99-based standards] (expm1f): Likewise.
43372 [non-C99-based standards] (ilogbf): Likewise.
43373 [non-C99-based standards] (log1pf): Likewise.
43374 [non-C99-based standards] (logbf): Likewise.
43375 [non-C99-based standards] (nextafterf): Likewise.
43376 [non-C99-based standards] (remainderf): Likewise.
43377 [non-C99-based standards] (rintf): Likewise.
43378 [non-C99-based standards] (scalbf): Likewise.
43379 [non-C99-based standards] (copysignl): Likewise.
43380 [non-C99-based standards] (exp2l): Likewise.
43381 [non-C99-based standards] (log2l): Likewise.
43382 [non-C99-based standards] (modfl): Allow.
43383 [non-C99-based standards] (erfl): Do not allow.
43384 [non-C99-based standards] (erfcl): Likewise.
43385 [non-C99-based standards] (gammal): Likewise.
43386 [non-C99-based standards] (hypotl): Likewise.
43387 [non-C99-based standards] (j0l): Likewise.
43388 [non-C99-based standards] (j1l): Likewise.
43389 [non-C99-based standards] (jnl): Likewise.
43390 [non-C99-based standards] (lgammal): Likewise.
43391 [non-C99-based standards] (tgammal): Likewise.
43392 [non-C99-based standards] (y0l): Likewise.
43393 [non-C99-based standards] (y1l): Likewise.
43394 [non-C99-based standards] (ynl): Likewise.
43395 [non-C99-based standards] (isnanl): Likewise.
43396 [non-C99-based standards] (acoshl): Likewise.
43397 [non-C99-based standards] (asinhl): Likewise.
43398 [non-C99-based standards] (atanhl): Likewise.
43399 [non-C99-based standards] (cbrtl): Likewise.
43400 [non-C99-based standards] (expm1l): Likewise.
43401 [non-C99-based standards] (ilogbl): Likewise.
43402 [non-C99-based standards] (log1pl): Likewise.
43403 [non-C99-based standards] (logbl): Likewise.
43404 [non-C99-based standards] (nextafterl): Likewise.
43405 [non-C99-based standards] (remainderl): Likewise.
43406 [non-C99-based standards] (rintl): Likewise.
43407 [non-C99-based standards] (scalbl): Likewise.
43408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43409 [non-C99-based standards] (FP_*): Do not allow.
43410 [C99-based standards] (FP_*): Change to
43411 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43412 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43413 allow.
43414 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43415 (SIG_ERR): Likewise.
43416 [X/Open-based standards] (SIG_HOLD): Likewise.
43417 (SIG_IGN): Likewise.
43418 (SIGABRT): Use macro-int-constant. Specify type. Require
43419 positive value.
43420 (SIGFPE): Likewise.
43421 (SIGILL): Likewise.
43422 (SIGINT): Likewise.
43423 (SIGSEGV): Likewise.
43424 (SIGTER): Likewise.
43425 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43426 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43427 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43428 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43429 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43430 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43431 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43432 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43433 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43434 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43435 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43436 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43437 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43438 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43439 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43440 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43441 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43442 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43443 [X/Open-based standards] (SIGTRAP): Likewise.
43444 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43445 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43446 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43447 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43448 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43449 allow.
43450
b9f1922d
IW
434512012-05-08 Ian Wienand <ianw@vmware.com>
43452
43453 [BZ #14080]
43454 * time/tzset.c (__tzset_parse_tz): Update default rules for
43455 daylight time changes in the Energy Policy Act of 2005.
43456
1db86e88
AJ
434572012-05-09 Andreas Jaeger <aj@suse.de>
43458
43459 [BZ #13983]
43460 * elf/ldconfig.c (parse_conf): Change string to make clear that
43461 ldconfig only issued a warning if ld.so.conf does not exist.
43462
dee4a4e3
DM
434632012-05-08 David S. Miller <davem@davemloft.net>
43464
ee0db190
DM
43465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43466 movxtod instead of popping the value on the stack.
43467
dee4a4e3
DM
43468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43469
6a43ec98
CD
434702012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43471
43472 * config.h.in: Add HAVE_ARM_PCS_VFP.
43473
05c2c961
RMG
434742012-05-08 Roland Mc Grath <roland@hack.frob.com>
43475
bcfe3a54
ST
43476 [BZ #13979]
43477 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43478 checking but the checks are disabled for any reason.
05c2c961 43479
4b30f61a
L
434802012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43481
43482 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43483 and ELF64_R_TYPE with ELFW(R_TYPE).
43484
eee2bc67
JM
434852012-05-08 Joseph Myers <joseph@codesourcery.com>
43486
7ea5391a
JM
43487 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43488 (ulimit): Likewise.
43489
eee2bc67
JM
43490 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43491 (settimeofday): Likewise.
43492
abb66a67
MF
434932012-05-08 Mike Frysinger <vapier@gentoo.org>
43494
43495 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43496 a struct th_u2 inside the union, and move tu_block/tu_code into
43497 a new th_u3 union of tu_block/tu_code inside of that. Move
43498 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43499 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43500 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43501 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43502 (th_stuff): Change to th_u1.tu_stuff.
43503 (th_data): Define.
43504 (th_msg): Change to th_u1.th_u2.tu_data.
43505
7f18b530
DM
435062012-05-07 David S. Miller <davem@davemloft.net>
43507
05760585
DM
43508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43509
7f18b530
DM
43510 [BZ #14074]
43511 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43512 (SETUP_PIC_REG): Use it.
43513 (SETUP_PIC_REG_LEAF): Use it.
43514
495fd99f
JM
435152012-05-07 Joseph Myers <joseph@codesourcery.com>
43516
43517 [BZ #13885]
43518 [BZ #13923]
43519 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43520 USE_AS_EXPM1L.
43521 (EXPL_FINITE): Likewise.
43522 (FLDLOG): Likewise.
43523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43524 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43525 e_expl.S.
43526 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43527 USE_AS_EXPM1L.
43528 (EXPL_FINITE): Likewise.
43529 (FLDLOG): Likewise.
43530 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43531 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43532 e_expl.S.
43533 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43534 test of -max_value argument for long double.
43535 * sysdeps/i386/fpu/libm-test-ulps: Update.
43536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43537
6693d694
DM
435382012-05-06 David S. Miller <davem@davemloft.net>
43539
43540 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43541 quad soft-float symbols whose references which are compiler
43542 generated.
43543 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43544
6c23e11c
JM
435452012-05-06 Joseph Myers <joseph@codesourcery.com>
43546
d8b82cad
JM
43547 [BZ #13884]
43548 [BZ #13914]
43549 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43550 USE_AS_EXP10L.
43551 (EXPL_FINITE): Likewise.
43552 (FLDLOG): Likewise.
43553 (c0): Likewise.
43554 (c1): Likewise.
43555 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43556 Adjust comments for base varying.
43557 (__expl_finite): Change alias to EXPL_FINITE.
43558 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43559 e_expl.S.
43560 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43561 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43562 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43563 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43564 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43565 USE_AS_EXP10L.
43566 (EXPL_FINITE): Likewise.
43567 (FLDLOG): Likewise.
43568 (c0): Likewise.
43569 (c1): Likewise.
43570 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43571 Adjust comments for base varying.
43572 (__expl_finite): Change alias to EXPL_FINITE.
43573 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43574 tests for bugs.
43575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43576
6c23e11c
JM
43577 [BZ #14064]
43578 * math/libm-test.inc (check_float_internal): Correct ulp
43579 calculation for subnormal expected results.
43580
29ba805c
AJ
435812012-05-06 Andreas Jaeger <aj@suse.de>
43582
43583 * Makeconfig (+math-flags): New, set to -frounding-math.
43584 (+cflags): Add +math-flags so that all of glibc gets compiled with
43585 it.
43586
43587 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43588
7b17aeda
JM
435892012-05-05 Joseph Myers <joseph@codesourcery.com>
43590
5779f134
JM
43591 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43592 Disable one test.
43593
41498f4d
JM
43594 [BZ #13787]
43595 [BZ #13922]
43596 [BZ #14036]
43597 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43598 (__ieee754_expl): Allow for and saturate large arguments.
43599 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43600 (u_threshold): Likewise.
43601 (__exp): Call __ieee754_exp before checking for overflow and
43602 underflow.
43603 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43604 (u_threshold): Likewise.
43605 (__expf): Call __ieee754_expf before checking for overflow and
43606 underflow.
43607 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43608 (u_threshold): Likewise.
43609 (__expl): Call __ieee754_expl before checking for overflow and
43610 underflow.
43611 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43612 (__ieee754_expl): Allow for and saturate large arguments.
43613 * math/libm-test.inc (exp_test): Add another test. Do not allow
43614 missing overflow exception on overflow.
43615 (expm1_test): Do not allow missing overflow exception on overflow.
43616
6698b8bf
JM
43617 * sysdeps/i386/fpu/e_expl.c: Move to ...
43618 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43619 rather than using inline asm.
43620 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43621 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43622 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43623
7b17aeda
JM
43624 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43625 (nice): Likewise.
43626 (poll): Likewise.
43627 (signal): Likewise.
43628 (time): Likewise.
43629 (times): Likewise.
43630
f7c85819
JM
436312012-05-04 Joseph Myers <joseph@codesourcery.com>
43632
43633 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43634 sysdeps/unix/common/syscalls.list.
43635 (fchmod): Likewise.
43636 (fchown): Likewise.
43637 (ftruncate): Likewise.
43638 (getrusage): Likewise.
43639 (gettimeofday): Likewise.
43640 (setpgid): Likewise.
43641 (setregid): Likewise.
43642 (setreuid): Likewise.
43643 (sigaction): Likewise.
43644 (truncate): Likewise.
43645 (vhangup): Likewise.
43646 * sysdeps/unix/common/syscalls.list: Remove file.
43647 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43648 * sysdeps/unix/sysv/linux/Implies: Likewise.
43649
336270d0
L
436502012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43651
43652 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43654 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43655 Moved to ...
43656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43657 Here.
43658 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43659 to ...
43660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43661 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43662 to ...
43663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43664 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43665 to ...
43666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43667 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43668 to ...
43669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43670 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43671 to ...
43672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43673 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43674 to ...
43675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43676 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43677 to ...
43678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43679 Here.
43680 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43681 to ...
43682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43683 Here.
43684 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43685 to ...
43686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43687 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43688 Moved to ...
43689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43690 Here.
43691 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43692 to ...
43693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43694
d128e450
JM
436952012-05-04 Joseph Myers <joseph@codesourcery.com>
43696
fa8ee516
JM
43697 * sysdeps/unix/common/bits/dirent.h: Remove file.
43698 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43699
d128e450
JM
43700 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43701 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43702 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43703 * sysdeps/unix/bsd/isatty.c: Likewise.
43704 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43705 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43706 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43707
ff8faaf0 437082012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43709
62881be4 43710 [BZ #13563]
31dc8730
AZ
43711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43712 long double comparison inaccuracies.
43713 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43715
6fef930c
AS
437162012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43717
43718 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43719 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43720
8f203e6c
JM
437212012-05-04 Joseph Myers <joseph@codesourcery.com>
43722
43723 [BZ #14049]
43724 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43725 nonzero digits before rounding a hex value.
43726 * stdlib/tst-strtod.c (tests): Add another test.
43727
5197d9c2
AK
437282012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43729
43730 * sysdeps/s390/fpu/libm-test-ulps: Update.
43731
f0c1dedf
AJ
437322012-05-03 Andreas Jaeger <aj@suse.de>
43733
43734 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43735 does not get optimized out.
43736 (malloc_opt_barrier): New.
43737
a65ef2ae 437382012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43739 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43740
2b942cb7 43741 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43742 intermediate file deletion.
2b942cb7 43743 (generated): Add .symlist files.
a65ef2ae 43744
54b71e02
JM
437452012-05-03 Joseph Myers <joseph@codesourcery.com>
43746
43747 [BZ #13775]
43748 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43749 Redirect under this condition.
43750 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43751 [__USE_GNU] (__dprintf_chk): Not under this condition.
43752 [__USE_GNU] (__vdprintf_chk): Likewise.
43753 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43754 under this condition.
43755 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43756 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43757 [__USE_XOPEN2K8] (vdprintf): Likewise.
43758 [__USE_GNU] (__dprintf_chk): Not under this condition.
43759 [__USE_GNU] (__vdprintf_chk): Likewise.
43760 [__USE_GNU] (dprintf): Likewise.
43761 [__USE_GNU] (vdprintf): Likewise.
43762
d3dfcc41
RM
437632012-05-03 Roland McGrath <roland@hack.frob.com>
43764
43765 * elf/Makefile (common-generated): Set this instead of generated for
43766 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43767 $(all-built-dso)-derived lists.
43768
7ac30cc5
AJ
437692012-05-03 Andreas Jaeger <aj@suse.de>
43770
0c51e550
AJ
43771 * sysdeps/i386/fpu/libm-test-ulps: Update.
43772
7ac30cc5
AJ
43773 * FAQ: Removed.
43774 * FAQ.in: Likewise.
43775 * scripts/gen-FAQ.pl: Likewise.
43776 * manual/install.texi (Installation): Point to online location of
43777 FAQ.
43778 * Makefile (files-for-dist): Remove FAQ.
43779 (FAQ): Remove.
43780
d4c2917f
AM
437812012-05-02 Allan McRae <allan@archlinux.org>
43782
43783 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43784 (LDFLAGS-reldepmod5.so): Likewise.
43785 (LDFLAGS-reldep6mod1.so): Likewise.
43786 (LDFLAGS-reldep6mod4.so): Likewise.
43787 (LDFLAGS-reldep8mod3.so): Likewise.
43788 (LDFLAGS-unload4mod1.so): Likewise.
43789 (LDFLAGS-unload4mod2.so): Likewise.
43790 (LDFLAGS-tst-initorder): Likewise.
43791 (LDFLAGS-tst-initordera2.so): Likewise.
43792 (LDFLAGS-tst-initordera3.so): Likewise.
43793 (LDFLAGS-tst-initordera4.so): Likewise.
43794 (LDFLAGS-tst-initorderb2.so): Likewise.
43795 (LDFLAGS-noload): Likewise.
43796 (LDFLAGS-next): Likewise.
43797 (LDFLAGS-order2mod1.so): Likewise.
43798 (LDFLAGS-order2mod2.so): Likewise.
43799 (LDFLAGS-tst-initorder2): Likewise.
43800 (LDFLAGS-tst-initorder2a.so): Likewise.
43801 (LDFLAGS-tst-initorder2b.so): Likewise.
43802 (LDFLAGS-tst-initorder2c.so): Likewise.
43803 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43804
d77f993f
DM
438052012-05-02 David S. Miller <davem@davemloft.net>
43806
43807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43808
171a70b4
PP
438092012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43810
43811 [BZ #14055]
43812 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43813
0be196ad
AJ
438142012-05-02 Andreas Jaeger <aj@suse.de>
43815
43816 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43817 since we manipulate rounding mode.
43818 (CPPFLAGS-test-idouble.c): Likewise.
43819 (CPPFLAGS-test-ifloat.c): Likewise.
43820 (CFLAGS-test-ldouble.c): Likewise.
43821 (CFLAGS-test-double.c): Likewise.
43822 (CFLAGS-test-float.c): Likewise.
43823 (CFLAGS-test-misc.c): Likewise.
43824 (CFLAGS-test-test-fenv.c): Likewise.
43825
4f9d04aa
AZ
438262012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43827
2b942cb7
RM
43828 [BZ #2550]
43829 [BZ #2570]
43830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43831 comparisons to determine direction to adjust input.
4f9d04aa 43832
82a79e7d
RM
438332012-05-01 Roland McGrath <roland@hack.frob.com>
43834
f5a01ca9
RM
43835 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43836 output to the target.
43837
90fe4186
RM
43838 * scripts/localplt.awk: New file.
43839 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43840 (check-localplt-CFLAGS): Variable removed.
43841 ($(all-built-dso:=.jmprel)): New static pattern rule.
43842 (generated): Add those targets.
43843 (localplt-built-dso): New variable.
43844 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43845
43846 * elf/check-localplt.c: File removed.
43847
82397ed6
RM
43848 * scripts/check-execstack.awk: New file.
43849 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43850 (check-execstack-CFLAGS): Variable removed.
43851 ($(objpfx)check-execstack.h): Target removed.
43852 ($(objpfx)execstack-default): New target.
43853 (generated): Add that instead of check-execstack.h.
43854 ($(all-built-dso:=.phdr)): New static pattern rule.
43855 (generated): Add those targets.
43856 * elf/check-execstack.c: File removed.
43857
82a79e7d
RM
43858 * scripts/check-textrel.awk: New file.
43859 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43860 (check-textrel-CFLAGS): Variable removed.
43861 (all-built-dso): Use := to define.o
43862 ($(all-built-dso:=.dyn)): New static pattern rule.
43863 (generated): Add those targets.
43864 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43865 * config.make.in (READELF): New substituted variable.
43866 * elf/check-textrel.c: File removed.
43867
62fde54f 438682012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43869
615605c9
JM
43870 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43871 allow.
43872 * conform/data/ctype.h-data [C99-based standards] (isblank):
43873 Expect function.
43874 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43875 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43877 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43878 Specify type. Require positive value.
43879 (EILSEQ): Likewise.
43880 (ERANGE): Likewise.
43881 [ISO || POSIX] (EILSEQ): Do not expect.
43882 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43883 Specify type. Require positive value.
43884 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43885 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43886 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43887 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43888 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43889 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43890 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43891 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43892 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43893 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43894 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43895 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43896 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43897 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43898 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43899 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43900 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43901 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43902 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43903 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43904 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43905 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43906 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43907 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43908 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43909 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43910 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43911 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43912 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43913 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43914 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43915 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43916 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43917 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43918 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43919 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43920 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43921 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43922 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43923 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43924 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43925 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43926 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43927 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43928 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43929 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43930 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43931 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43932 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43933 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43934 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43935 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43936 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43937 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43938 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43939 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43940 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43941 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43942 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43943 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43945 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43946 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43947 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43948 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43949 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43950 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43951 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43952 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43953 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43954 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43955 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43956 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43957 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43958 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43959 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43960 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43961 Require >= 2.
43962 (FLT_ROUNDS): Expect as macro, not constant.
43963 (FLT_MANT_DIG): Use macro-int-constant.
43964 (DBL_MANT_DIG): Likewise.
43965 (LDBL_MANT_DIG): Likewise.
43966 (FLT_DIG): Likewise.
43967 (DBL_DIG): Likewise.
43968 (LDBL_DIG): Likewise.
43969 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43970 (DBL_MIN_EXP): Likewise.
43971 (LDBL_MIN_EXP): Likewise.
43972 (FLT_MAX_EXP): Use macro-int-constant.
43973 (DBL_MAX_EXP): Likewise.
43974 (LDBL_MAX_EXP): Likewise.
43975 (FLT_MAX_10_EXP): Likewise.
43976 (DBL_MAX_10_EXP): Likewise.
43977 (LDBL_MAX_10_EXP): Likewise.
43978 (FLT_MAX): Use macro-constant.
43979 (DBL_MAX): Likewise.
43980 (LDBL_MAX): Likewise.
43981 (FLT_EPSILON): Use macro-constant. Give upper bound.
43982 (DBL_EPSILON): Likewise.
43983 (LDBL_EPSILON): Likewise.
43984 (FLT_MIN): Likewise.
43985 (DBL_MIN): Likewise.
43986 (LDBL_MIN): Likewise.
43987 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43988 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43989 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43990 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43991 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43992 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43993 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43994 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43995 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43996 [ISO11] (FLT_TRUE_MIN): Likewise.
43997 [ISO11] (LDBL_TRUE_MIN): Likewise.
43998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43999 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44000 (SCHAR_MIN): Use macro-int-constant. Specify type.
44001 (SCHAR_MAX): Likewise.
44002 (UCHAR_MAX): Likewise.
44003 (CHAR_MIN): Likewise.
44004 (CHAR_MAX): Likewise.
44005 (MB_LEN_MAX): Use macro-int-constant.
44006 (SHRT_MIN): Use macro-int-constant. Specify type.
44007 (SHRT_MAX): Likewise.
44008 (USHRT_MAX): Likewise.
44009 (INT_MAX): Likewise.
44010 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44011 bound negative.
44012 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44013 bound with "U".
44014 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44015 bound with "L".
44016 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44017 bound negative. Suffix upper bound with "L".
44018 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44019 bound with "UL".
44020 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44021 Specify type.
44022 [C99-based standards] (LLONG_MAX): Likewise.
44023 [C99-based standards] (ULLONG_MAX): Likewise.
44024 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44025 == 0.
44026 [ISO11] (max_align_t): Require type.
44027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44028
c9140a62
JM
44029 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44030 from $CFLAGS, without defining away __attribute__ calls.
44031 (checknamespace): Use $CFLAGS_namespace.
44032
9af0bf29
JM
44033 * conform/conformtest.pl (@keywords): Only include C99 keywords
44034 for standards based on C99 or C11.
44035
343222a2
JM
44036 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44037 Disable tests.
44038 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44039 UNIX98]: Likewise.
44040
661f8cf0
JM
44041 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44042 usability of symbols in #if.
44043
ee74b9cb
JM
44044 * conform/conformtest.pl: If macro or constant types start
44045 "promoted:", expect the symbol to be of the following type
44046 promoted by the integer promotions.
62fde54f 44047
aafc49b3
JM
44048 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44049 in one place. Also handle "macro-constant".
44050
fefdf574
JM
44051 * conform/conformtest.pl: Only accept expected macro values with
44052 "==". Parse all "macro" lines in one place.
44053 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44054
f2d922fe
JM
44055 * conform/conformtest.pl: Handle braced types on "constant" lines
44056 instead of handling "typed-constant".
44057 * conform/data/signal.h-data: Use "constant" instead of
44058 "typed-constant".
44059
d22956c9
JM
44060 * conform/conformtest.pl: Handle "optional-" at start of lines in
44061 one place rather than duplicating several cases. Handle each
44062 format of "macro" line with initial "optional-".
44063
028e2e38
JM
44064 * conform/conformtest.pl: Only accept expected constant or
44065 optional-constant values with "==". Parse all "constant" lines in
44066 one place. Parse all "optional-constant" lines in one place.
44067 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44068 * conform/data/fmtmsg.h-data: Likewise.
44069 * conform/data/netinet/in.h-data: Likewise.
44070 * conform/data/tar.h-data: Likewise.
44071 * conform/data/limits.h-data: Use "==" form on "constant" and
44072 "optional-constant" lines.
44073
1b8f2850
JM
44074 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44075 Use -std=c99 for XOPEN2K.
44076 (@knownproblems): Remove.
44077 (newtoken): Don't check %isknown.
44078
a05a144b
JM
44079 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44080 Do not expect macro.
44081 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44082 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44083 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44084 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44085 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44086 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44087 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44088 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44089 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44090 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44091 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44092 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44093 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44094 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44105 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44106 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44107 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44108 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44109 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44110 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44111 [XPG3] (acosh): Likewise.
44112 [XPG3] (asinh): Likewise.
44113 [XPG3] (atanh): Likewise.
44114 [XPG3] (cbrt): Likewise.
44115 [XPG3] (expm1): Likewise.
44116 [XPG3] (ilogb): Likewise.
44117 [XPG3] (log1p): Likewise.
44118 [XPG3] (logb): Likewise.
44119 [XPG3] (nextafter): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44122 [XPG3] (remainder): Likewise.
44123 [XPG3] (rint): Likewise.
44124 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44125 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44127 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44128 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44129 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44131 [UNIX98 || XOPEN2K] (scalb): Expect.
44132 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44133 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44243 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44244 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44265 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44269
73c5ebe3
JM
44270 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44271 _XOPEN_SOURCE_EXTENDED for XPG4.
44272
39c33b6c
JM
44273 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44274
62fde54f
JM
44275 * Makeconfig (localtime): Remove variable.
44276 (inst_localtime-file): Likewise.
44277
0741d64c
AS
442782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44279
44280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44281 Update.
44282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44283 Update.
44284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44285 Update.
44286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44287 Update.
44288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44289 Update.
44290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44291 Update.
44292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44293 Update.
44294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44295 Update.
44296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44297 Update.
44298
7cb029ee
JM
442992012-05-01 Joseph Myers <joseph@codesourcery.com>
44300
44301 [BZ #2550]
44302 [BZ #2570]
44303 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44304 comparisons to determine direction to adjust input.
44305 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44306 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44307 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44308 Likewise.
44309 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44310 Likewise.
44311 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44312 Likewise.
44313 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44314 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44315 Likewise.
44316 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44317 Likewise.
44318 * math/libm-test.inc (nexttoward_test): Add more tests.
44319
412bd966
AS
443202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44321
44322 [BZ #14040]
44323 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44324 in version GLIBC_2.1, not GLIBC_2.0.
44325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44326 Likewise.
44327
9568c0c2
JM
443282012-04-30 Joseph Myers <joseph@codesourcery.com>
44329
adfbc8ac
JM
44330 [BZ #13942]
44331 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44332 (1 - x) * (1 + x).
44333 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44334 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44335 * math/libm-test.inc (acos_test): Add more tests.
44336 (asin_test): Likewise.
44337 * sysdeps/i386/fpu/libm-test-ulps: Update.
44338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44339
5ba3cc69
JM
44340 [BZ #14034]
44341 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44342 of square root.
44343 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44344 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44345 * math/libm-test.inc (acos_test_tonearest): New function.
44346 (acos_test_towardzero): Likewise.
44347 (acos_test_downward): Likewise.
44348 (acos_test_upward): Likewise.
44349 (asin_test_tonearest): Likewise.
44350 (asin_test_towardzero): Likewise.
44351 (asin_test_downward): Likewise.
44352 (asin_test_upward): Likewise.
44353 (main): Call the new functions.
44354 * sysdeps/i386/fpu/libm-test-ulps: Update.
44355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44356
9568c0c2
JM
44357 [BZ #13884]
44358 [BZ #13924]
44359 * math/e_exp10.c: Include <float.h>.
44360 (__ieee754_exp10): Handle underflow here rather than multiplying
44361 large negative argument by M_LN10.
44362 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44363 of __ieee754_expf.
44364 * math/e_exp10l.c: Include <float.h>.
44365 (__ieee754_exp10l): Handle underflow here rather than multiplying
44366 large negative argument by M_LN10l.
44367 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44368 spurious overflow exception on underflow.
44369
5ac3ea17
MP
443702012-04-29 Marek Polacek <polacek@redhat.com>
44371
44372 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44373 (__fortify_function): New macro.
44374 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44375 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44376 __extern_always_inline.
44377 * libio/bits/stdio2.h: Likewise.
44378 * libio/bits/stdio.h: Likewise.
44379 * string/string.h: Likewise.
44380 * string/bits/string3.h: Likewise.
44381 * include/stdio.h: Likewise.
44382 * stdlib/bits/stdlib.h: Likewise.
44383 * stdlib/stdlib.h: Likewise.
44384 * rt/bits/mqueue2.h: Likewise.
44385 * rt/mqueue.h: Likewise.
44386 * posix/bits/unistd.h: Likewise.
44387 * posix/unistd.h: Likewise.
44388 * io/bits/poll2.h: Likewise.
44389 * io/bits/fcntl2.h: Likewise.
44390 * io/fcntl.h: Likewise.
44391 * io/sys/poll.h: Likewise.
44392 * misc/bits/syslog.h: Likewise.
44393 * misc/bits/syslog-ldbl.h: Likewise.
44394 * misc/sys/syslog.h: Likewise.
44395 * socket/bits/socket2.h: Likewise.
44396 * socket/sys/socket.h: Likewise.
44397 * debug/tst-chk1.c: Likewise.
44398 * wcsmbs/bits/wchar2.h: Likewise.
44399 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44400 * wcsmbs/wchar.h: Likewise.
44401
ecf0ebfb
AJ
444022012-04-29 Andreas Jaeger <aj@suse.de>
44403
44404 * Makerules (tests): Remove enable-check-abi protection.
44405 (check-abi-warn): Remove.
44406 (check-abi-%): Remove check-abi-warn usage.
44407
44408 * configure.in: Remove check-abi configure option.
44409 * configure: Regenerated.
44410 * config.make.in (enable-check-abi): Remove.
44411
6d5c57fa
AS
444122012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44413
24c5d07e 44414 [BZ #14033]
ded5180a
AS
44415 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44416 double functions to double *_finite functions.
44417
7e0d315d
AS
44418 [BZ #13941]
44419 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44420 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44421 LDBL_MIN_EXP.
44422 * stdio-common/Makefile (tests): Add tst-sprintf3.
44423 * stdio-common/tst-sprintf3.c: New file.
44424
6d5c57fa
AS
44425 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44426 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44427
0749ff8b
JM
444282012-04-28 Joseph Myers <joseph@codesourcery.com>
44429
44430 * conform/conformtest.pl: Remove duplicate typed-constant
44431 handling.
44432
8dbd5d7b
DM
444332012-04-28 David S. Miller <davem@davemloft.net>
44434
44435 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44436 (check-abi-%): Remove AWK script prerequisite and explicit
44437 abilist directory.
44438 (check-abi): Rewrite to just diff the symlist with the abilist.
44439 (config-tls, config-abi-config): Delete, no longer used.
44440 (update-abi-%): Remove AWK script and explicit abilist directory.
44441 (update-abi): Rewrite to simply compare and conditionally copy the
44442 symlist and the sysdep abilist file. Remove update-abi-config
44443 checks.
44444 * abilist/ld.abilist: Remove.
44445 * abilist/libBrokenLocale.abilist: Remove.
44446 * abilist/libanl.abilist: Remove.
44447 * abilist/libcrypt.abilist: Remove.
44448 * abilist/libdl.abilist: Remove.
44449 * abilist/librt.abilist: Remove.
44450 * abilist/libthread_db.abilist: Remove.
44451 * abilist/libutil.abilist: Remove.
44452 * scripts/extract-abilist.awk: Remove.
44453 * scripts/merge-abilist.awk: Remove.
44454 * sysdeps/generic/libcidn.abilist: New file.
44455 * sysdeps/generic/libnss_compat.abilist: New file.
44456 * sysdeps/generic/libnss_db.abilist: New file.
44457 * sysdeps/generic/libnss_dns.abilist: New file.
44458 * sysdeps/generic/libnss_files.abilist: New file.
44459 * sysdeps/generic/libnss_hesiod.abilist: New file.
44460 * sysdeps/generic/libnss_nis.abilist: New file.
44461 * sysdeps/generic/libnss_nisplus.abilist: New file.
44462 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44463 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44464 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44465 file.
44466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44467 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44468 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44469 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44470 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44471 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44472 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44473 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44474 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44475 file.
44476 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44477 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44478 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44479 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44480 file.
44481 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44482 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44483 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44484 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44485 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44486 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44487 file.
44488 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44489 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44490 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44491 file.
44492 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44494 New file.
44495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44496 New file.
44497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44498 New file.
44499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44500 New file.
44501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44502 New file.
44503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44504 New file.
44505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44506 New file.
44507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44508 New file.
44509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44510 New file.
44511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44512 New file.
44513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44514 New file.
44515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44516 New file.
44517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44518 New file.
44519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44520 file.
44521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44522 New file.
44523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44524 New file.
44525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44526 file.
44527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44528 New file.
44529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44530 New file.
44531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44532 file.
44533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44534 New file.
44535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44536 New file.
44537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44538 New file.
44539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44540 New file.
44541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44542 New file.
44543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44544 New file.
44545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44547 file.
44548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44549 New file.
44550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44551 file.
44552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44553 file.
44554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44555 file.
44556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44557 file.
44558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44559 file.
44560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44561 New file.
44562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44563 file.
44564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44565 file.
44566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44567 New file.
44568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44569 file.
44570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44572 file.
44573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44574 New file.
44575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44576 file.
44577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44578 file.
44579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44580 file.
44581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44582 file.
44583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44584 file.
44585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44586 New file.
44587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44588 file.
44589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44590 file.
44591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44592 New file.
44593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44594 file.
44595 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44596 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44597 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44598 file.
44599 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44600 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44601 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44602 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44603 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44604 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44605 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44606 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44607 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44608 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44611 file.
44612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44613 New file.
44614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44615 file.
44616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44617 file.
44618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44619 file.
44620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44621 file.
44622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44623 file.
44624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44625 New file.
44626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44627 New file.
44628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44629 file.
44630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44631 New file.
44632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44633 file.
44634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44636 file.
44637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44638 New file.
44639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44640 file.
44641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44642 file.
44643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44644 file.
44645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44646 file.
44647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44648 file.
44649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44650 New file.
44651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44652 New file.
44653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44654 file.
44655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44656 New file.
44657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44658 file.
44659
41d73a1b
JM
446602012-04-28 Joseph Myers <joseph@codesourcery.com>
44661
44662 * conform/conformtest.pl: Fix typo in handling typed-constant from
44663 allow-header.
44664
28aeeda4
JM
446652012-04-27 Joseph Myers <joseph@codesourcery.com>
44666
adae8f5e
JM
44667 * README: Cut down references to pre-2.6 Linux kernels and
44668 Linuxthreads. Update lists of configurations in libc and ports
44669 and sort alphabetically. Say "or newer" with Linux kernel version
44670 requirements.
44671
28aeeda4
JM
44672 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44673
a462cb63
RA
446742012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44675
44676 [BZ #887]
44677 * math/libm-test.inc (logb_test_downward): New test to expose
44678 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44679 rounding mode.
44680
6ad3493e
JM
446812012-04-27 Joseph Myers <joseph@codesourcery.com>
44682
44683 [BZ #14027]
44684 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44685 to be done.
44686 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44687 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44688
2ce4f015
JM
446892012-04-26 Joseph Myers <joseph@codesourcery.com>
44690
5aeb141a
JM
44691 * sysdeps/unix/i386/brk.S: Remove file.
44692 * sysdeps/unix/i386/dl-brk.S: Likewise.
44693 * sysdeps/unix/i386/pipe.S: Likewise.
44694 * sysdeps/unix/i386/sigreturn.S: Likewise.
44695 * sysdeps/unix/i386/syscall.S: Likewise.
44696 * sysdeps/unix/i386/vfork.S: Likewise.
44697 * sysdeps/unix/i386/wait.S: Likewise.
44698
7143acae
JM
44699 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44700 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44701
2ce4f015
JM
44702 * configure.in (arm*-none*): Do not allow without
44703 --enable-hacker-mode.
44704 (netbsd*): Remove case setting base_os.
44705 (386bsd*): Likewise.
44706 (freebsd*): Likewise.
44707 (bsdi*): Likewise.
44708 (osf*): Likewise.
44709 (sunos*): Likewise.
44710 (ultrix*): Likewise.
44711 (newsos*): Likewise.
44712 (dynix*): Likewise.
44713 (*bsd*): Likewise.
44714 (sysv*): Likewise.
44715 (isc*): Likewise.
44716 (esix*): Likewise.
44717 (sco*): Likewise.
44718 (minix*): Likewise.
44719 (irix4*): Likewise.
44720 (irix6*): Likewise.
44721 (solaris[2-9]*): Likewise.
44722 (none): Likewise.
44723 * configure: Regenerated.
44724
0ac229c8
AZ
447252012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44726
44727 [BZ #11521]
44728 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44729 overflow or cancellation in calculating denominator.
44730 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44732 down expression to avoid unexpected rounding in newer GCCs.
44733 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44734
33f244f4
DM
447352012-04-26 David S. Miller <davem@davemloft.net>
44736
44737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44738 long-double compat symbols.
44739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44752
cfa1f3e8
DM
447532012-04-25 David S. Miller <davem@davemloft.net>
44754
44755 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44756 HWCAP_* values only after the memory barriers have been defined.
44757 (atomic_full_barrier): Define.
44758 (atomic_read_barrier): Define.
44759 (atomic_write_barrier): Define.
44760
6e236b92
SP
447612012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44762
44763 * shlib-versions: Add libgcc_s version information.
44764 * sysdeps/generic/libgcc_s.h: Remove.
44765 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44766 libgcc_s.h.
44767 * sysdeps/gnu/unwind-resume.c: Likewise.
44768 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44769
aab39a09
DM
447702012-04-25 David S. Miller <davem@davemloft.net>
44771
44772 * sysdeps/unix/sparc/brk.S: Delete.
44773 * sysdeps/unix/sparc/dl-brk.S: Delete.
44774 * sysdeps/unix/sparc/pipe.S: Delete.
44775 * sysdeps/unix/sparc/sysdep.S: Delete.
44776 * sysdeps/unix/sparc/sysdep.h: Delete.
44777 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44778 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44779 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44780 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44781 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44782 (JUMPTARGET): Remove.
44783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44784 sysdeps/unix/sparc/sysdep.h
44785 (ENTRY, END): Remove.
44786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44787
a3cc4f48
JM
447882012-04-25 Joseph Myers <joseph@codesourcery.com>
44789
2ed8cda2
JM
44790 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44791 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44792 -DIS_IN_build.
44793
35d76d59
JM
44794 * timezone/README: Update upstream location and email address for
44795 tzcode and tzdata.
44796 * timezone/zdump.c: Update from tzcode 2012b.
44797 * timezone/zic.c: Likewise.
44798
a3cc4f48
JM
44799 * configure.in (libc_cv_as_needed): Remove test.
44800 * configure: Regenerated.
44801 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44802 conditional definition.
44803 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44804 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44805 * config.make.in (have-as-needed): Remove variable.
44806
ceab42c3
SP
448072012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44808 Paul Pluzhnikov <ppluzhnikov@google.com>
44809
44810 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44811 strings correctly.
44812
3ce2865f
CLT
448132012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44814
44815 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44816 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44817 * sysdeps/sh/strlen.S: Likewise.
44818
f37e0d68
JM
448192012-04-24 Joseph Myers <joseph@codesourcery.com>
44820
ae186e9a
JM
44821 * sysdeps/unix/fork.S: Remove file.
44822 * sysdeps/unix/i386/fork.S: Likewise.
44823 * sysdeps/unix/sparc/fork.S: Likewise.
44824
b96914af
JM
44825 * sysdeps/unix/system.c: Remove file.
44826 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44827
f37e0d68
JM
44828 * sysdeps/unix/getegid.S: Remove file.
44829 * sysdeps/unix/geteuid.S: Likewise.
44830
87ef29ca
RM
448312012-04-24 Roland McGrath <roland@hack.frob.com>
44832
83bcd236
RM
44833 * scripts/check-localplt.awk: New file.
44834 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44835 of diff.
44836 * scripts/data/localplt-generic.data: Add a comment.
44837
87ef29ca
RM
44838 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44839 NODE when __dir_mkfile failed.
44840 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44841 Reported by Ludovic Courtès <ludo@gnu.org>.
44842
e5a6e567
AJ
448432012-04-24 Andreas Jaeger <aj@suse.de>
44844
44845 * Makerules (common-clean): Also remove gen-as-const-headers
44846 files.
44847
c1820385
JM
448482012-04-24 Joseph Myers <joseph@codesourcery.com>
44849
44850 * Makerules (native-compile): Do not change working directory for
44851 build. Use $(OUTPUT_OPTION) in command.
44852 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44853
94e02fc4
AZ
448542012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44855
44856 [BZ #13886]
44857 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44858 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44859 * math/libm-test.inc (floor_test): Add more tests.
44860 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44861
3a533ca3
JM
448622012-04-24 Joseph Myers <joseph@codesourcery.com>
44863
940ab4b3
JM
44864 * sysdeps/unix/getdents.c: Remove file.
44865 * sysdeps/unix/sysv/getdents.c: Likewise.
44866 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44867
90e037bd
JM
44868 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44869 sysdeps/unix/mman/syscalls.list.
44870 (mmap): Likewise.
44871 (mprotect): Likewise.
44872 (msync): Likewise.
44873 (munmap): Likewise.
44874 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44875 * sysdeps/unix/mman/syscalls.list: Remove.
44876 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44877
3a533ca3
JM
44878 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44879 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44880 * configure: Regenerated.
44881 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44882 $(libgcc_s_suffix).
44883 * config.make.in (libgcc_s_suffix): Remove variable.
44884
1ad743de
JM
448852012-04-23 Joseph Myers <joseph@codesourcery.com>
44886
4ad451e2
JM
44887 * sysdeps/unix/sysv/gethostname.c: Move to ...
44888 * sysdeps/posix/gethostname.c: ... here.
44889
5e37ce39
JM
44890 * sysdeps/unix/execve.S: Remove file.
44891
1ad743de
JM
44892 * sysdeps/unix/_exit.S: Remove file.
44893
4e681b5b
AJ
448942012-04-23 Andreas Jaeger <aj@suse.de>
44895
44896 [BZ #13739]
44897 * manual/Makefile: Remove make dist support, there's no
44898 need for a stand-alone documentation tar ball.
44899 (TEXI2DVI): Define always, it's not in Makeconfig.
44900 (dist): Removed.
44901 (tar-it): Removed.
44902 (edition): Removed.
44903 (glibc-doc-$(edition).tar): Removed
44904 (%.Z): Removed.
44905 (%.gz): Removed.
44906 (%.uu): Removed.
44907 (ETAGS): Remove, it's in Makeconfig.
44908 (move-if-change): Remove, it's in Makeconfig.
44909
38686a03 449102012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44911
44912 [BZ #13970]
44913 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44914 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44915 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44916 (strtod_l, strtof_l, strtold_l): Remove __wur.
44917 It is not necessarily an error to ignore strtol's return value.
44918 One can reliably look at the stored endptr to decide whether
44919 the number had valid syntax.
44920
7c0616fa
AJ
449212012-04-21 Andreas Jaeger <aj@suse.de>
44922
803cb6b7 44923 [BZ #13739]
7c0616fa
AJ
44924 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44925
b0fe253f
JM
449262012-04-21 Joseph Myers <joseph@codesourcery.com>
44927
44928 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44929 * sysdeps/unix/sysv/Versions: Remove file.
44930
8280f22d
MT
449312012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44932
44933 [BZ #13927]
44934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44935
75ce411f 449362012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44937
44938 [BZ #7064]
44939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44940 version from __vm86.
44941
097d59fa
JM
449422012-04-20 Joseph Myers <joseph@codesourcery.com>
44943
a90f3bcb
JM
44944 * sysdeps/unix/common/lxstat.c: Remove file.
44945 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44946
edc7ea78
JM
44947 * sysdeps/unix/sysv/Makefile: Remove file.
44948
cb78c221
JM
44949 * sysdeps/unix/sysv/direct.h: Remove file.
44950
efa6a45f
JM
44951 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44952 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44953 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44954 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44955 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44956 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44957 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44958
9c9f2d0c
JM
44959 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44960
4541c83b
JM
44961 * sysdeps/unix/xmknod.c: Remove file.
44962 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44963
f5d153a0
JM
44964 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44965
aa746595
JM
44966 * sysdeps/unix/sysv/i386/time.S: Remove file.
44967
cce5905e
JM
44968 * sysdeps/unix/fxstat.c: Remove file.
44969 * sysdeps/unix/xstat.c: Likewise.
44970 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44971
37fa3841
JM
44972 * sysdeps/unix/sysv/sigaction.c: Remove file.
44973
ff1962a3
JM
44974 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44975 (sysdep_headers): Remove variable.
44976 [termio.h not in sysdep_headers] (generated): Likewise.
44977 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44978 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44979 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44980 * sysdeps/unix/sysv/tcflow.c: Likewise.
44981 * sysdeps/unix/sysv/tcflush.c: Likewise.
44982 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44983 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44984 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44985 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44986 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44987
e7740d31
JM
44988 * sysdeps/unix/siglist.c: Remove file.
44989
ee06f18b
JM
44990 * sysdeps/unix/getppid.S: Remove file.
44991
097d59fa
JM
44992 * sysdeps/unix/mkdir.c: Remove file.
44993 * sysdeps/unix/rmdir.c: Likewise.
44994
ff3d51ec
AS
449952012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44996
44997 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44998 ERR_MAX value.
44999 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45000 errlist-compat value.
45001
50f81fd7
DM
450022012-04-18 David S. Miller <davem@davemloft.net>
45003
45004 * sysdeps/generic/memcopy.h (reg_char): Delete.
45005 * debug/strcat_chk.c: Use char, not reg_char.
45006 * debug/strcpy_chk.c: Likewise.
45007 * debug/strncat_chk.c: Likewise.
45008 * debug/strncpy_chk.c: Likewise.
45009 * string/memchr.c: Likewise.
45010 * string/memrchr.c: Likewise.
45011 * string/rawmemchr.c: Likewise.
45012 * string/strcat.c: Likewise.
45013 * string/strchr.c: Likewise.
45014 * string/strchrnul.c: Likewise.
45015 * string/strcmp.c: Likewise.
45016 * string/strcpy.c: Likewise.
45017 * string/strncat.c: Likewise.
45018 * string/strncmp.c: Likewise.
45019 * string/strncpy.c: Likewise.
45020
8ff41c46
WS
450212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45022
45023 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45024 __builtin_memcopy is called when src and dest ranges are known to not
45025 overlap.
45026
6b652f46
WS
450272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45028
45029 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45030 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45031 fwd_align_merge macro call.
45032 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45033 bwd_align_merge macro call.
45034 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45035
b282631e
WS
450362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45037
45038 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45039 bwd_align_merge macros.
45040 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45041 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45042 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45043
95aa737c
DM
450442012-04-18 David S. Miller <davem@davemloft.net>
45045
45046 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45047
7a99a614
AJ
450482012-04-18 Andreas Jaeger <aj@suse.de>
45049
45050 [BZ# 6794]
45051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45052 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45054
45055 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45056 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45057 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45058
45059 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45060 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45061 Adjust for changed ldbl-128 files.
45062
45063 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45064 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45066
e5270c23
DM
450672012-04-17 David S. Miller <davem@davemloft.net>
45068
45069 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45070
fb5e92c9
AS
450712012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45072
45073 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45074 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45075 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45076 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45077 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45078 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45079
76da7265
AZ
450802012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45081
45082 [BZ #6794]
45083 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45084 * math/libm-test.inc: Add ilogb errno and exception tests.
45085 * math/w_ilogb.c: New file: ilogb wrapper.
45086 * math/w_ilogbf.c: New file: ilogbf wrapper.
45087 * math/w_ilogbl.c: New file: ilogbl wrapper.
45088 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45089 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45090 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45091 exception being thrown with 0.0 as argument.
45092 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45093 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45094 exception being thrown with 0.0 as argument.
45095 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45096 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45097 exception being thrown with 0.0 as argument.
45098 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45099 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45100 exception being thrown with 0.0 as argument.
45101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45102 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45103 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45104 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45106 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45107 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45108 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45109 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45110
0396e69d
PB
451112012-04-17 Petr Baudis <pasky@ucw.cz>
45112
45113 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45114 with altivec.
45115
750b5926
MP
451162012-04-16 Marek Polacek <polacek@redhat.com>
45117
45118 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45119
751728a1
MP
451202012-04-16 Marek Polacek <polacek@redhat.com>
45121
45122 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45123 operands of fdivp instruction.
45124
34a27407
L
451252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45126
45127 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45128 * elf/tst-auditmod3b.c: Likewise.
45129 * elf/tst-auditmod4b.c: Likewise.
45130 * elf/tst-auditmod5b.c: Likewise.
45131 * elf/tst-auditmod6b.c: Likewise.
45132 * elf/tst-auditmod6c.c: Likewise.
45133 * elf/tst-auditmod7b.c: Likewise.
45134 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45135 * sysdeps/x86_64/preconfigure.in: Likewise.
45136 * sysdeps/x86_64/preconfigure: Regenerated.
45137
7e73e17d
L
451382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45139
45140 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45141 __ILP32__.
45142
c7a6ab72
AB
451432012-04-13 Antoine Balestrat <merkil33@gmail.com>
45144
45145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45146 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45147
a9e8e0e0
CL
451482012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45149
45150 [BZ #13973]
45151 * locale/iso-639.def: Fix gl language name. Spotted by
45152 Yaron Shahrabani.
45153
ec98af7d
RM
451542012-04-12 Roland McGrath <roland@hack.frob.com>
45155
45156 [BZ #2074]
45157 * libio/libio.h (__io_write_fn): Update comment.
45158
247c3ede
PB
451592012-04-12 Petr Baudis <pasky@ucw.cz>
45160
45161 [BZ #2074]
45162 * stdio.texi (Hook Functions): The user provided writer function
45163 is not allowed to return -1.
45164
55939d6d
DM
451652012-04-11 David S. Miller <davem@davemloft.net>
45166
45167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45168
90020f5a
MF
451692012-04-11 Mike Frysinger <vapier@gentoo.org>
45170
45171 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45172 Add a leading slash to rtkaio.
45173
288f9098
JM
451742012-04-11 Jim Meyering <meyering@redhat.com>
45175
90020f5a
MF
45176 [BZ #11959]
45177 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45178 It is not necessarily an error to ignore fwrite's return
45179 value. One can reliably use ferror to test for errors after
45180 the fact.
288f9098 45181
4be2b570
L
451822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45183
45184 * bits/types.h (__snseconds_t): New type.
45185 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45186
45187 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45189 (__SNSECONDS_T_TYPE): Likewise.
45190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45191 (__SNSECONDS_T_TYPE): Likewise.
45192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45193 (__SNSECONDS_T_TYPE): Likewise.
45194
288f9098 451952012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45196
45197 [BZ #2636]
45198 * manual/time.texi (Processor Time): Return type of times is
45199 elapsed real time since an arbitrary point in the past.
45200 (CPU Time): Move CLK_TCK from here...
45201 (Processor Time): ...to here. Correct description.
45202 * manual/conf.texi (Constants for Sysconf): Correct description of
45203 _SC_CLK_TCK.
45204
d7dd4413
DM
452052012-04-10 David S. Miller <davem@davemloft.net>
45206
45207 [BZ #13967]
45208 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45209 where the is a gap between DT_REL(A) and DT_JMPREL.
45210
b46068fc
L
452112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45212
45213 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45214 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45215 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45216
73d65cc3
SP
452172012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45218
45219 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45220 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45221 (dl_main): Handle --inhibit-cache.
45222 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45223 _dl_inhibit_cache.
45224 * elf/dl-load.c (_dl_map_object): Use it.
45225 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45226
bcc8d661
JM
452272012-04-09 Joseph Myers <joseph@codesourcery.com>
45228
8f9a2fae
JM
45229 [BZ #13872]
45230 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45231 (__ieee754_powl): Saturate large exponents rather than testing for
45232 overflow of y*log2(x).
45233 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45234 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45235 exceptions.
45236
bcc8d661
JM
45237 [BZ #11521]
45238 * math/s_ctan.c: Include <float.h>.
45239 (__ctan): Avoid internal overflow or cancellation in calculating
45240 denominator.
45241 * math/s_ctanf.c: Likewise.
45242 * math/s_ctanl.c: Likewise.
45243 * math/s_ctanh.c: Likewise.
45244 * math/s_ctanhf.c: Likewise.
45245 * math/s_ctanhl.c: Likewise.
45246 * math/libm-test.inc (ctan_test): Add more tests.
45247 (ctanh_test): Likewise.
45248 * sysdeps/i386/fpu/libm-test-ulps: Update.
45249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45250
823fbbb4
AJ
452512012-04-09 Andreas Jaeger <aj@suse.de>
45252
03879793
AJ
45253 [BZ #6894]
45254 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45255 is an optional BSD extension.
45256
823fbbb4
AJ
45257 [BZ #10254]
45258 * manual/stdio.texi (Opening Streams): Document additional fopen
45259 parameters.
45260
8de131cb
RM
452612012-04-09 Roland McGrath <roland@hack.frob.com>
45262
45263 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45264 %eax without telling the compiler.
45265
c0ed9d7d
CD
452662012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45267
45268 [BZ # 13963]
45269 * manual/install.texi: Use sourceware.org.
45270
c483f6b4
JM
452712012-04-09 Joseph Myers <joseph@codesourcery.com>
45272
d7dd9453
JM
45273 [BZ #13873]
45274 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45275 (__ieee754_pow): Generate overflow and underflow using huge*huge
45276 and tiny*tiny rather than just returning constant infinity or zero
45277 for large exponents.
45278 * math/libm-test.inc (pow_test): Require overflow exceptions for
45279 applicable cases of large exponents.
45280
c483f6b4
JM
45281 [BZ #706]
45282 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45283 (__ieee754_pow): Use iterative multiplication algorithm only for
45284 integer exponents with absolute value below 1024. Check for odd
45285 integer exponents when using algorithm for real exponents.
45286 * math/libm-test.inc (pow_test): Add more tests.
45287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45288
d2de7579
JM
452892012-04-08 Joseph Myers <joseph@codesourcery.com>
45290
45291 [BZ #13705]
45292 * math/libm-test.inc (exp_test): Do not allow overflow exception
45293 on underflow test.
45294
f77f1232
AJ
452952012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45296
45297 [BZ #13705]
45298 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45299 instead of __kernel_standard_f.
45300
3884932b
MF
453012012-04-08 Mike Frysinger <vapier@gentoo.org>
45302
45303 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45304 * sysdeps/x86_64/memset_chk.S: Likewise.
45305
54472e9c
AJ
453062012-04-08 Andreas Jaeger <aj@suse.de>
45307
6ab0fbfc
AJ
45308 [BZ #10153]
45309 * manual/startup.texi (Environment Access): Describe return value
45310 for putenv and setenv.
45311
61efba8c
AJ
45312 [BZ #6895]
45313 * manual/filesys.texi (Directory Entries): Add description for
45314 DT_LNK.
45315
95c3f29a
AJ
45316 [BZ #6890]
45317 * manual/filesys.texi (Directory Entries): Clarify that it's file
45318 system not operating system in the description of DT_UNKNOWN.
45319
54472e9c
AJ
45320 [BZ #6578]
45321 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45322
624254b1
SC
453232012-04-08 Stephen Compall <s11@member.fsf.org>
45324
45325 [BZ #6649]
45326 * manual/llio.texi (Opening and Closing Files): Add cross
45327 reference to explain mode argument.
45328
1e4920e0
MF
453292012-04-07 Mike Frysinger <vapier@gentoo.org>
45330
45331 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45332 * sysdeps/x86_64/memset_chk.S: Likewise.
45333
5ed848f3
DM
453342012-04-07 David S. Miller <davem@davemloft.net>
45335
45336 * elf/elf.h (R_SPARC_WDISP10): Define.
45337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45338 R_SPARC_SIZE32.
45339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45340 R_SPARC_SIZE64 and R_SPARC_H34.
45341
96154cd8
CD
453422012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45343
45344 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45345 conditions and remove no longer applicable assertion.
45346
9904dc47
L
453472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45348
45349 * bits/byteswap.h: Include <features.h>.
45350 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45351 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45352
f8887d0a
L
453532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45354
45355 * bits/byteswap.h (__bswap_16): Removed.
45356 Include <bits/byteswap-16.h> to get __bswap_16.
45357 * sysdeps/i386/bits/byteswap.h: Likewise.
45358 * sysdeps/s390/bits/byteswap.h: Likewise.
45359 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45360 * bits/byteswap-16.h: New file.
45361 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45362 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45363 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45364 * string/Makefile (headers): Add bits/byteswap-16.h.
45365
62470f60
PP
453662012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45367
45368 [BZ #13895]
45369 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45370 extra indirection.
45371 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45372 * nss/tst-nss-static.c: New.
45373
4dad7bab
RM
453742012-04-06 Robert Millan <rmh@gnu.org>
45375
45376 [BZ #6486]
45377 * manual/llio.texi (File Position Primitive): lseek
45378 refers to WHENCE when it really means OFFSET.
45379
e9142a17
AJ
453802012-04-06 Andreas Jaeger <aj@suse.de>
45381
2c040eff
AJ
45382 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45383 strncmp declarations.
45384
e9142a17
AJ
45385 * abilist/libc.abilist: Add __poll and __ppoll.
45386
ff9f1c5f
DM
453872012-04-05 David S. Miller <davem@davemloft.net>
45388
dcd2ae90
DM
45389 * scripts/check-local-headers.sh: Accept a host triplet in the
45390 path matched by the exclude regexp.
45391
993eb054
DM
45392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45393 definition.
45394 * sysdeps/powerpc/powerpc32/dl-machine.h
45395 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45396 * sysdeps/s390/s390-32/dl-machine.h
45397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45398 * sysdeps/sparc/sparc32/dl-machine.h
45399 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45400 * sysdeps/sparc/sparc64/dl-machine.h
45401 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45402
ff9f1c5f
DM
45403 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45404 lazy binding.
48e2e132 45405 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45406 undefined symbol errors.
45407
48e2e132 45408 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45409 DT_NEEDED entries.
45410
e80d6f94
MM
454112012-04-05 Michael Matz <matz@suse.de>
45412
45413 [BZ #13592]
45414 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45415
349fa79f
AJ
454162012-04-05 Andreas Jaeger <aj@suse.de>
45417
45418 [BZ #13908]
45419 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45420 comment.
45421
f402708f
KK
454222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45423
45424 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45425 which ROUND is no valid rounding mode.
45426
2ecccfc9
KK
454272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45428
45429 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45430 read again.
45431 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45432
8a53f50f
KK
454332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45434
45435 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45436 an exception using FPU order intentionally.
45437
454382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45439
45440 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45441 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45442 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45443 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45444
d653abb7
SJ
454452012-04-05 Simon Josefsson <simon@josefsson.org>
45446
45447 [BZ #12340]
45448 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45449 EINVAL when BUFLEN is too smal.
45450
c3b1bf7d
TS
454512012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45452
45453 [BZ #13553]
45454 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45455 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45456
b1aa60f3
AJ
454572012-04-03 Andreas Jaeger <aj@suse.de>
45458
c3b1bf7d 45459 [BZ #13938]
67f60a26
AJ
45460 * manual/setjmp.texi (System V contexts): Fix sentence.
45461
b1aa60f3
AJ
45462 [BZ #13926]
45463 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45464 New macro for this case.
45465 [!__GNUC__] (__bswap_64): New inline function for this case.
45466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45467 * bits/byteswap.h: Likewise.
45468 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45469 ull, guard with __GLIBC_HAVE_LONG_LONG.
45470
45471 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45472 __GLIBC_HAVE_LONG_LONG.
45473
45474 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45475 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45476
39c59c35
TMQMF
454772012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45478
45479 [BZ #13691]
45480 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45481 inptr and inend, rather than using last_ch.
45482
135ffda8
DM
454832012-04-02 David S. Miller <davem@davemloft.net>
45484
45485 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45486 * stdio-common/printf-parse.h (read_int): Change return type to
45487 'int', return -1 on INT_MAX overflow.
45488 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45489 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45490 overflows INT_MAX. Check for overflow of in-format-string precision
45491 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45492 SIZE_MAX not INT_MAX for integer overflow test.
45493 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45494 skip the construct in the format string but do not record anything.
45495 * stdio-common/bug22.c: Adjust to test both width/prevision
45496 INT_MAX overflow as well as total length INT_MAX overflow. Check
45497 explicitly for proper errno values.
45498
228c019e
TS
454992012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45500
302cadd3
TS
45501 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45502 CHAR_MAX.
45503 * string/test-strcmp.c [! WIDE]: Likewise.
45504 * time/tst-mktime2.c: Likewise for INT_MAX.
45505 * string/test-string.h: #include <sys/param.h> for MIN.
45506
228c019e
TS
45507 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45508 * sysdeps/i386/init-first.c (init): Likewise.
45509 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45510 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45511 * sysdeps/sh/init-first.c (init): Likewise.
45512
cfa633f5
UD
455132012-04-01 Ulrich Drepper <drepper@gmail.com>
45514
45515 * po/ru.po: Update from translation team.
d1635ef8 45516 * po/vi.po: Likewise.
cfa633f5 45517
6cd0a5ea
SP
455182012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45519
45520 * resolv/nss_dns/dns-host.c: Merge copyright years.
45521
4b43400f
LD
455222012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45523
45524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45525 Optimize memcpy with prefetch if
45526 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45527 src, dst pointers have unequal 16 byte alignments.
45528
48c41d04
SP
455292012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45530
45531 [BZ #13928]
45532 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45533 from a CNAME entry and return the minimum ttl for the query.
45534 (gaih_getanswer_slice): Likewise.
45535
b8dc394d
JL
455362012-03-30 Jeff Law <law@redhat.com>
45537
45538 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45539 due to long keys.
45540 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45541 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45542
2f5a5ed0
JL
45543 * resolv/nss_dns/dns-host.c: Update copyright year.
45544
1d39e359
UD
455452012-03-30 Ulrich Drepper <drepper@gmail.com>
45546
c030f70c 45547 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45548 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45549
1d39e359
UD
45550 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45551 comments for sendmmsg.
45552
455532012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45554
45555 [BZ #13691]
45556 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45557 with only 1 character between 0x0041 and 0x01b0.
45558 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45559 * wcsmbs/tst-mbsnrtowcs.c: New file.
45560
20fde227
DM
455612012-03-29 David S. Miller <davem@davemloft.net>
45562
45563 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45564 small copies by hand.
45565
984a4237
JL
455662012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45567
45568 [BZ #13761]
57f41c40
AS
45569 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45570 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45571 group memberships.
984a4237 45572
18c9d62b
DM
455732012-03-28 David S. Miller <davem@davemloft.net>
45574
88d85d4f
DM
45575 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45576 that branches into memcpy.
45577 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45580 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45582 bits.
45583 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45584 implementation too.
45585 * sysdeps/sparc/mempcpy.S: New file.
45586
e5aa83e1
DM
45587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45588 the IFUNC routine in the libc case.
45589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45590
88570753
DM
45591 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45592 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45593 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45594 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45595 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45596 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45597 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45598 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45599
249d7567
DM
45600 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45601 loop to 256 bytes instead of 64 bytes and fix test signedness.
45602
18c9d62b
DM
45603 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45604 * sysdeps/sparc/sparc32/Makefile: rather than here...
45605 * sysdeps/sparc/sparc64/Makefile: and here.
45606
05f3d1f6
UD
456072012-03-28 Ulrich Drepper <drepper@gmail.com>
45608
45609 * malloc/mallocbug.c: Avoid warnings about unused variables.
45610
86ae07a8
JL
456112012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45612
45613 [BZ #13760]
45614 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45615 in the right place. Discard and retry query if response is
45616 larger than input buffer size.
45617
41bf21a1
JM
456182012-03-28 Joseph Myers <joseph@codesourcery.com>
45619
d6270972
JM
45620 [BZ #369]
45621 [BZ #2678]
45622 [BZ #3866]
45623 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45624 x for large integer exponent.
45625 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45626 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45627 sign of result as needed afterwards.
45628 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45629 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45630 result for underflowing pow the same as for overflow.
45631 (__kernel_standard_l): Handle powl overflow and underflow here
45632 rather than calling __kernel_standard.
45633 * math/libm-test.inc (pow_test): Add more tests.
45634
414fca03 45635 [BZ #3868]
41bf21a1
JM
45636 [BZ #13879]
45637 [BZ #13910]
45638 [BZ #13911]
45639 [BZ #13912]
45640 [BZ #13913]
45641 [BZ #13915]
45642 [BZ #13916]
45643 [BZ #13917]
45644 [BZ #13918]
45645 [BZ #13919]
45646 [BZ #13920]
45647 [BZ #13921]
45648 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45649 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45650 (__kernel_standard_l): New function.
45651 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45652 __kernel_standard.
45653 * math/w_acosl.c (__acosl): Likewise.
45654 * math/w_asinl.c (__asinl): Likewise.
45655 * math/w_atan2l.c (__atan2l): Likewise.
45656 * math/w_atanhl.c (__atanhl): Likewise.
45657 * math/w_coshl.c (__coshl): Likewise.
45658 * math/w_exp10l.c (__exp10l): Likewise.
45659 * math/w_exp2l.c (__exp2l): Likewise.
45660 * math/w_fmodl.c (__fmodl): Likewise.
45661 * math/w_hypotl.c (__hypotl): Likewise.
45662 * math/w_j0l.c (__j0l, __y0l): Likewise.
45663 * math/w_j1l.c (__j1l, __y1l): Likewise.
45664 * math/w_jnl.c (__jnl, __ynl): Likewise.
45665 * math/w_lgammal.c (__lgammal): Likewise.
45666 * math/w_log10l.c (__log10l): Likewise.
45667 * math/w_log2l.c (__log2l): Likewise.
45668 * math/w_logl.c (__logl): Likewise.
45669 * math/w_powl.c (__powl): Likewise.
45670 * math/w_remainderl.c (__remainderl): Likewise.
45671 * math/w_scalbl.c (sysv_scalbl): Likewise.
45672 * math/w_sinhl.c (__sinhl): Likewise.
45673 * math/w_sqrtl.c (__sqrtl): Likewise.
45674 * math/w_tgammal.c (__tgammal): Likewise.
45675 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45676 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45677 * math/libm-test.inc (acos_test): Add more tests.
45678 (acosh_test): Likewise.
45679 (asin_test): Likewise.
45680 (atanh_test): Likewise.
45681 (exp_test): Likewise.
45682 (exp10_test): Likewise.
45683 (exp2_test): Likewise.
45684 (expm1_test): Likewise.
45685 (lgamma_test): Likewise.
45686 (log_test): Likewise.
45687 (log10_test): Likewise.
45688 (log1p_test): Likewise.
45689 (log2_test): Likewise.
45690 (pow_test): Do not allow some spurious overflow exceptions.
45691 (sqrt_test): Add more tests.
45692 (tgamma_test): Likewise.
45693 (y0_test): Likewise.
45694 (y1_test): Likewise.
45695 (yn_test): Likewise.
45696
dd62fda6
AB
456972012-03-27 Anton Blanchard <anton@samba.org>
45698
45699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45700 MAP_HUGETLB.
45701 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45702 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45704
1e3cdfda
AJ
457052012-03-27 David S. Miller <davem@davemloft.net>
45706
b855ab85
DM
45707 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45708
1e3cdfda
AJ
45709 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45710 have-as-vis3 check.
45711
457122012-03-27 Andreas Jaeger <aj@suse.de>
45713
45714 * sysdeps/x86_64/elf/configure.in: Moved to ...
45715 * sysdeps/x86_64/configure.in: ... here.
45716 * sysdeps/x86_64/elf/start.S: Moved to ...
45717 * sysdeps/x86_64/start.S: ... here.
45718 * sysdeps/x86_64/elf/configure: Delete.
45719
45720 * sysdeps/x86_64/configure.in: Merge contents from
45721 sysdeps/i386/configure.in (without i686 check).
45722
45723 * sysdeps/i386/elf/Versions: Merge into ...
45724 * sysdeps/i386/Versions: ... this.
45725 * sysdeps/i386/elf/Versions: Delete file.
45726 * sysdeps/i386/elf/start.S: Moved to ...
45727 * sysdeps/i386/start.S: ...here.
45728 * sysdeps/i386/elf/configure.in: Merge into...
45729 * sysdeps/i386/configure.in: ...here.
45730 * sysdeps/i386/elf/configure.in: Delete file.
45731 * sysdeps/i386/elf/configure: Delete file.
45732
45733 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45734 * debug/backtracesyms.c: ... here.
45735 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45736 * debug/backtracesymsfd.c: ... here.
45737 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45738 * sysdeps/generic/ifunc-sel.h: ... here.
45739
45740 * sysdeps/unix/i386/start.c: Delete file.
45741 * sysdeps/unix/sparc/start.c: Delete file.
45742 * sysdeps/unix/start.c: Delete file.
45743
45744 * sysdeps/sh/elf/configure.in: Moved to ...
45745 * sysdeps/sh/configure.in: ... here.
45746 * sysdeps/sh/elf/start.S: Moved to ...
45747 * sysdeps/sh/start.S: ... here.
45748 * sysdeps/sh/elf/configure: Delete file.
45749
45750 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45751 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45752 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45753 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45754 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45755 * sysdeps/powerpc/powerpc64/start.S: here.
45756 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45757 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45758 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45759 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45760 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45761
45762 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45763 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45764 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45765 * sysdeps/powerpc/powerpc32/start.S: ... here.
45766 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45767 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45768 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45769
45770 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45771 * sysdeps/powerpc/ifunc-sel.h: ... here.
45772 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45773 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45774
45775 * sysdeps/sparc/elf/configure.in: Moved to ...
45776 * sysdeps/sparc/configure.in: ... here.
45777 * sysdeps/sparc/elf/configure: Delete file.
45778 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45779 * sysdeps/sparc/sparc32/start.S: ... here.
45780 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45781 * sysdeps/sparc/sparc64/start.S: ... here.
45782 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45783 * sysdeps/sparc/sparc32/Makefile: ... this.
45784 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45785 * sysdeps/sparc/sparc64/Makefile: ... this.
45786
45787 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45788 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45789 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45790 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45791 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45792 * sysdeps/s390/s390-32/setjmp.S: ... here.
45793 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45794 * sysdeps/s390/s390-32/configure.in: ... here.
45795 * sysdeps/s390/s390-32/elf/configure: Delete file.
45796 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45797 * sysdeps/s390/s390-32/start.S: ... here.
45798
45799 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45800 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45801 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45802 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45803 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45804 * sysdeps/s390/s390-64/setjmp.S: ... here.
45805 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45806 * sysdeps/s390/s390-64/configure.in: ... here
45807 * sysdeps/s390/s390-64/elf/configure: Delete file.
45808 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45809 * sysdeps/s390/s390-64/start.S: ... here.
45810 * sysdeps/s390/s390-64/elf/configure: Delete.
45811
45812 * configure.in: Remove support for elf directories in sysdeps.
45813
45814 * configure: Regenerated.
45815 * sysdeps/i386/configure: Regenerated.
45816 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45817 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45818 * sysdeps/s390/s390-32/configure: Regenerated.
45819 * sysdeps/s390/s390-64/configure: Regenerated.
45820 * sysdeps/sh/configure: Regenerated.
45821 * sysdeps/sparc/configure: Regenerated.
45822 * sysdeps/x86_64/configure: Regenerated.
45823
a3f61311
AS
458242012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45825
c876e002
AS
45826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45827
a3f61311
AS
45828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45829 denormal result into account.
45830
ac4c54f0
RM
458312012-03-25 Roland McGrath <roland@hack.frob.com>
45832
45833 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45834 Reported by Allan McRae <allan@archlinux.org>.
45835
6a9b9c02
JL
458362012-03-23 Jeff Law <law@redhat.com>
45837
45838 * nss/getnssent.c (__nss_getent): Fix typo.
45839
4c42a0c1
DM
458402012-03-23 David S. Miller <davem@davemloft.net>
45841
45842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45843
1532c7ac
L
458442012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45845
45846 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45847 to pad to uint64_t for each field.
45848 (dl_tls_index): Replace unsigned long with uint64_t.
45849
3ff42526
PP
458502012-03-23 Daniel Jacobowitz <dmj@google.com>
45851 Paul Pluzhnikov <ppluzhnikov@google.com>
45852
45853 [BZ #6528]
45854 * grp/Makefile (otherlibs): Don't set it.
45855 * inet/Makefile (otherlibs): Likewise.
45856 * login/Makefile (otherlibs): Likewise.
45857 * nscd/Makefile (otherlibs): Likewise.
45858 * posix/Makefile (otherlibs): Likewise.
45859 * pwd/Makefile (otherlibs): Likewise.
45860 * rt/Makefile (otherlibs): Likewise.
45861 * sunrpc/Makefile (otherlibs): Likewise.
45862 * nss/Makefile (otherlibs): Likewise.
45863 Add libnss_files to routines and static-only-routines.
45864 ($(objpfx)getent): Remove rule.
45865 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45866 static-only-routines.
45867
7c69cd14
JM
458682012-03-22 Joseph Myers <joseph@codesourcery.com>
45869
45870 [BZ #13892]
45871 * math/s_cexp.c: Include <float.h>.
45872 (__cexp): Handle exp result overflowing not necessarily
45873 overflowing both real and imaginary parts of result.
45874 * math/s_cexpf.c: Likewise.
45875 * math/s_cexpl.c: Likewise.
45876 * math/libm-test.inc (cexp_test): Add more tests.
45877 * sysdeps/i386/fpu/libm-test-ulps: Update.
45878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45879
81b035fe
L
458802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45881
45882 * include/link.h (ELFW): New macro.
45883 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45884 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45885
1da7940c
L
458862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45887
45888 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45889 with uint64_t.
45890
b749dbb9
L
458912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45892
45893 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45894 declaration.
45895 (struct La_x32_retval): Likewise.
45896
2ff87f3f
L
458972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45898
45899 * sysdeps/x86_64/preconfigure.in: New file.
45900 * sysdeps/x86_64/preconfigure: New generated file.
45901
c0df8e69
JM
459022012-03-22 Joseph Myers <joseph@codesourcery.com>
45903
48e44791
JM
45904 [BZ #13824]
45905 * math/e_exp2l.c: Include <float.h>.
45906 (__ieee754_exp2l): Handle overflow and underflow cases
45907 separately. Only pass fractional part of argument to
45908 __ieee754_expl.
45909 * math/libm-test.inc (exp2_test): Add more tests.
45910
c0df8e69
JM
45911 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45912 negating x to take absolute value.
45913 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45914 Likewise.
45915 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45916 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45917 Likewise.
45918 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45919 computing low part if x was negated.
45920 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45921
c8e43ba7
L
459222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45923
45924 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45925 la_x32_gnu_pltexit.
45926 (pltexit): Cast int_retval to ptrdiff_t.
45927 * elf/tst-auditmod3b.c: Likewise.
45928 * elf/tst-auditmod4b.c: Likewise.
45929 * elf/tst-auditmod5b.c: Likewise.
45930 * elf/tst-auditmod6b.c: Likewise.
45931 * elf/tst-auditmod6c.c: Likewise.
45932 * elf/tst-auditmod7b.c: Likewise.
45933
45934 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45935 and x32_gnu_pltexit.
45936
45937 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45938 __ELF_NATIVE_CLASS.
45939 (La_x32_regs): New macro.
45940 (La_x32_retval): Likewise.
45941 (la_x32_gnu_pltenter): New function prototype.
45942 (la_x32_gnu_pltexit): Likewise.
45943
7998fa78
AS
459442012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45945
dcb33988
AS
45946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45947 exponent.
45948
233fc563
AS
45949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45950
7998fa78
AS
45951 * configure.in (libc_cv_cc_nofma): Check for option to disable
45952 generation of FMA instructions.
45953 * configure: Regenerate.
45954 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45955 * sysdeps/ieee754/dbl-64/Makefile: New file.
45956 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45957 Remove brandred-fma4.
45958 (CFLAGS-brandred-fma4.c): Remove.
45959 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45960 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45961 define.
45962 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45963 define.
45964
8e95c99a
L
459652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45966
45967 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45968 LLONG_MAX != LONG_MAX.
45969 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45970 (_fitoa_word): Likewise.
45971 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45972 LLONG_MAX != LONG_MAX.
45973 * stdio-common/_itowa.h: Include <_itoa.h>.
45974 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45975 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45976 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45977 only if not defined.
45978 (_ITOA_WORD_TYPE): Likewise.
45979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45980 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45981
6f4db457
DM
459822012-03-21 David S. Miller <davem@davemloft.net>
45983
45984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45985
7785fe5a
L
459862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45987
45988 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45989 of x86_64 when setting libc_cv_slibdir, libdir and
45990 libc_cv_localedir.
45991 * sysdeps/unix/sysv/linux/configure: Regenerated.
45992
4535cd55
JM
459932012-03-21 Joseph Myers <joseph@codesourcery.com>
45994
45995 * manual/lang.texi (Old Varargs): Remove section.
45996 (How Variadic): Update menu.
45997 (va_start): Do not mention varargs.h.
45998
17228132
TS
459992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46000 Joseph Myers <joseph@codesourcery.com>
46001
46002 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46003 link test.
46004 * configure: Regenerated.
46005
8149f976
TS
460062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46007
05f3d1f6
UD
46008 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46009 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46010 conformtest.pl
8149f976 46011
1a4ac776
JM
460122012-03-21 Joseph Myers <joseph@codesourcery.com>
46013
be22ce65
JM
46014 * NOTES: Remove.
46015 * Makefile (files-for-dist): Remove NOTES.
46016 (NOTES): Remove rule.
46017 * README: Don't refer to NOTES.
46018 * manual/creature.texi: Don't include macros.texi.
46019 * manual/intro.texi (creature.texi): Remove comment referring to
46020 NOTES.
46021
40b601fb
JM
46022 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46023 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46024 * configure: Regenerated.
46025 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46026 LIBC_TRY_CC_OPTION.
46027 (libc_cv_as_i686): Likewise.
46028 (libc_cv_cc_avx): Likewise.
46029 (libc_cv_cc_sse2avx): Likewise.
46030 (libc_cv_cc_fma4): Likewise.
46031 (libc_cv_cc_novzeroupper): Likewise.
46032 * sysdeps/i386/configure: Regenerated.
46033
1a4ac776
JM
46034 [BZ #13883]
46035 * sysdeps/i386/fpu/s_cexp.S: Remove.
46036 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46037 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46038 * math/libm-test.inc (cexp_test): Add more tests.
46039 * sysdeps/i386/fpu/libm-test-ulps: Update.
46040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46041
a458e7fe
AM
460422012-03-21 Allan McRae <allan@archlinux.org>
46043
46044 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46045
0cb7efc5
JM
460462012-03-21 Joseph Myers <joseph@codesourcery.com>
46047
46048 [BZ #13871]
46049 * math/w_exp2.c: Do not include <float.h>.
46050 (o_threshold, u_threshold): Remove.
46051 (__exp2): Calculate result before checking finiteness and calling
46052 __kernel_standard.
46053 * math/w_exp2f.c: Likewise.
46054 * math/w_exp2l.c: Likewise.
46055 * math/libm-test.inc (exp2_test): Require overflow exception for
46056 1e6 input.
2460d3aa
JM
46057
46058 [BZ #3866]
46059 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46060 range of signed 64-bit integers before using fistpll. Remove
46061 checks for whether integers fit in mantissa bits.
46062 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46063 the range of signed 32-bit integers before using fistpl. Remove
46064 checks for whether integers fit in mantissa bits.
46065 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46066 (__ieee754_powl): Test for y outside the range of signed 64-bit
46067 integers before using fistpll. Reduce 64-bit values to 63-bit
46068 ones as needed.
46069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46070 divide-by-zero is raised for zero to large negative powers.
46071 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46072 (__ieee754_powl): Test for y outside the range of signed 64-bit
46073 integers before using fistpll. Reduce 64-bit values to 63-bit
46074 ones as needed.
46075 * math/libm-test.inc (pow_test): Add more tests.
46076
eb96ffb0
L
460772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46078
46079 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46080 <stdio-common/_itoa.h>.
46081 * debug/segfault.c: Likewise.
46082 * elf/dl-cache.c: Likewise.
46083 * elf/dl-minimal.c: Likewise.
46084 * elf/dl-misc.c: Likewise.
46085 * elf/dl-sysdep.c: Likewise.
46086 * elf/dl-version.c: Likewise.
46087 * elf/rtld.c: Likewise.
46088 * hurd/hurdsock.c: Likewise.
46089 * hurd/lookup-retry.c: Likewise.
46090 * malloc/malloc.c: Likewise.
46091 * malloc/mtrace.c: Likewise.
46092 * nscd/nscd_getgr_r.c: Likewise.
46093 * nscd/nscd_getpw_r.c: Likewise.
46094 * nscd/nscd_getserv_r.c: Likewise.
46095 * posix/getopt_init.c: Likewise.
46096 * posix/wordexp.c: Likewise.
46097 * stdio-common/_itoa.c: Likewise.
46098 * stdio-common/printf_fphex.c: Likewise.
46099 * stdio-common/vfprintf.c: Likewise.
46100 * string/_strerror.c: Likewise.
46101 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46102 * sysdeps/i386/i686/hp-timing.h: Likewise.
46103 * sysdeps/mach/_strerror.c: Likewise.
46104 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46105 * sysdeps/mach/hurd/sethostid.c: Likewise.
46106 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46107 * sysdeps/mach/xpg-strerror.c: Likewise.
46108 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46109 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46110 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46111 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46112 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46113 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46115 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46116 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46117 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46118 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46119 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46120 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46121 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46122 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46123 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46124 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46125 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46126 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46127 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46128 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46129
46130 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46131
46132 * stdio-common/_itoa.h: Moved to ...
46133 * sysdeps/generic/_itoa.h: Here.
46134
46135 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46136
46137 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46138 instead of "_itoa.h" and "_itowa.h".
46139 * stdio-common/vfprintf.: Likewise.
46140
d1af992d
L
461412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46142
46143 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46144 <bits/wordsize.h>.
46145 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46146 (__signbit): Likwise.
46147 (llrintf): Likwise.
46148 (llrint): Likwise.
46149
114883e0
L
461502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46151
46152 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46153 __WORDSIZE != 64.
46154
c135cc1b
JM
461552012-03-20 Joseph Myers <joseph@codesourcery.com>
46156
46157 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46158 OVERFLOW_EXCEPTION_OK.
46159 * math/libm-test.inc ("Philosophy"): Update comment about
46160 exception testing.
46161 (OVERFLOW_EXCEPTION): Define.
46162 (OVERFLOW_EXCEPTION_OK): Likewise.
46163 (INVALID_EXCEPTION_OK): Renumber.
46164 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46165 (IGNORE_ZERO_INF_SIGN): Likewise.
46166 (test_exceptions): Handle FE_OVERFLOW.
46167 (exp10_test): Expect overflow exceptions.
46168 (exp2_test): Likewise.
46169 (expm1_test): Likewise.
46170 (nextafter_test): Likewise.
46171 (pow_test): Likewise.
46172 (scalbn_test): Likewise.
46173 (scalbln_test): Likewise.
46174
95443d88
L
461752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46176
46177 * sysdeps/x86_64/bits/atomic.h
46178 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46179 64bit integer.
46180 (atomic_exchange_acq): Likewise.
46181 (__arch_exchange_and_add_body): Likewise.
46182 (__arch_add_body): Likewise.
46183 (atomic_add_negative): Likewise.
46184 (atomic_add_zero): Likewise.
46185
490df6c4
L
461862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46187
c2722551 46188 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46189 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46190
5e52b189
L
461912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46192
46193 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46194 Check __x86_64__ instead of __WORDSIZE.
46195
a9879d4c
L
461962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46197
46198 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46199
5df98260
DM
462002012-03-19 David S. Miller <davem@davemloft.net>
46201
e1497744
DM
46202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46203
5df98260
DM
46204 * sysdeps/sparc/fpu/fenv_private.h: New file.
46205 * sysdeps/sparc/fpu/math_private.h: Use it.
46206 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46207 Remove.
57f41c40 46208 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46209 (libc_feholdexcept_setroundl): Remove.
46210 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46211 Remove.
46212 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46213 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46214
b4c35121
L
462152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46216
46217 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46218 int64_t instead of long int.
46219 (INSERT_WORDS64): Likwise.
46220
56965fd7
L
462212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46222
46223 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46224 _Unwind_GetCFA return to _Unwind_Ptr first.
46225
83d1aec8
JM
462262012-03-19 Joseph Myers <joseph@codesourcery.com>
46227
1897ad44
JM
46228 [BZ #13629]
46229 * math/s_clog.c: Include <float.h>.
46230 (__clog): Scale large or subnormal inputs.
46231 * math/s_clogf.c: Likewise.
46232 * math/s_clogl.c: Likewise.
46233 * math/s_clog10.c: Include <float.h>.
46234 (M_LOG10_2): Define.
46235 (__clog10): Scale large or subnormal inputs.
46236 * math/s_clog10f.c: Likewise.
46237 * math/s_clog10l.c: Likewise.
46238 * math/libm-test.inc (clog_test): Add more tests.
46239 (clog10_test): Likewise.
46240 * sysdeps/i386/fpu/libm-test-ulps: Update.
46241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46242
7726d6a9
JM
46243 [BZ #11451]
46244 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46245 x and y.
46246 * math/libm-test.inc (atan2_test): Add another test.
46247
83d1aec8
JM
46248 * Makerules (common-objdir-compile): Remove.
46249 * sysdeps/unix/Makefile (config-generated): Do not add
46250 $(unix-generated) to variable.
46251 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46252 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46253 Remove rule.
46254 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46255 Likewise.
46256 [generic bits/local_lim.h] (before-compile): Do not append to
46257 variable.
46258 [generic bits/local_lim.h] (common-generated): Likewise.
46259 [generic sys/param.h] (before-compile): Do not append to variable.
46260 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46261 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46262 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46263 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46264 include.
46265 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46266 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46267 [generic sys/param.h] ($(addprefix
46268 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46269 [generic sys/param.h] (common-generated): Do not append to
46270 variable.
46271 [generic sys/param.h] (sysdep_headers): Likewise.
46272 [generic bits/errno.h] (before-compile): Do not append to
46273 variable.
46274 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46275 rule.
46276 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46277 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46278 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46279 [generic bits/errno.h] (common-generated): Do not append to
46280 variable.
46281 [generic bits/ioctls.h] (before-compile): Do not append to
46282 variable.
46283 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46284 rule.
46285 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46286 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46287 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46288 rule.
46289 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46290 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46291 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46292 [generic bits/ioctls.h] (common-generated): Do not append to
46293 variable.
46294 [generic sys/syscall.h] (syscall.h): Remove variable.
46295 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46296 rule.
46297 [generic sys/syscall.h] (before-compile): Do not append to
46298 variable.
46299 [generic sys/syscall.h] (common-generated): Likewise.
46300 * sysdeps/unix/errnos-tmpl.c: Remove file.
46301 * sysdeps/unix/errnos.awk: Likewise.
46302 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46303 * sysdeps/unix/ioctls.awk: Likewise.
46304 * sysdeps/unix/mk-local_lim.c: Likewise.
46305 * sysdeps/unix/snarf-ioctls: Likewise.
46306
4851a949
RH
463072012-03-19 Richard Henderson <rth@twiddle.net>
46308
bd37f2ee
RH
46309 * sysdeps/i386/fpu/fenv_private.h: New file.
46310 * sysdeps/i386/fpu/math_private.h: Use it.
46311 (math_opt_barrier, math_force_eval): Remove.
46312 (libc_feholdexcept_setround_53bit): Remove.
46313 (libc_feupdateenv_53bit): Remove.
46314 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46315 (math_opt_barrier, math_force_eval): Remove.
46316 (libc_feholdexcept): Remove.
46317 (libc_feholdexcept_setround): Remove.
46318 (libc_fetestexcept, libc_fesetenv): Remove.
46319 (libc_feupdateenv_test): Remove.
46320 (libc_feupdateenv, libc_feholdsetround): Remove.
46321 (libc_feresetround): Remove.
46322
d0adc922
RH
46323 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46324 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46325
0fe0f1f8
RH
46326 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46327 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46328 (libc_feupdateenv_testl): New.
46329 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46330 (libc_feupdateenv_testf): New.
46331 (libc_feupdateenv): Use libc_feupdateenv_test.
46332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46333 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46334
eb92c487
RH
46335 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46336 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46337 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46338 (libc_feresetround_noex): New.
46339 (libc_feresetround_noexf): New.
46340 (libc_feresetround_noexl): New.
46341 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46342 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46343 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46344 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46345 SET_RESTORE_ROUND.
46346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46348 (__cos): Likewise.
46349 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46350 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46351 SET_RESTORE_ROUND_NOEX.
46352 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46353 SET_RESTORE_ROUND_NOEXF.
46354 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46355 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46356 (libc_feholdsetroundf): New.
46357 (libc_feresetround, libc_feresetroundf): New.
46358
7d2e8012
RH
46359 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46360 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46361 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46362
b4dabbb4
RH
46363 * sysdeps/generic/math_private.h: Include <fenv.h>.
46364 (default_libc_feholdexcept): New.
46365 (default_libc_feholdexcept_setround): New.
46366 (default_libc_fesetenv, default_libc_feupdateenv): New.
46367 (libc_feholdexcept): Only define if undefined.
46368 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46369 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46370 (libc_feholdexcept_setroundl): Likewise.
46371 (libc_feholdexcept_setround_53bit): Likewise.
46372 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46373 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46374 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46375 (libc_feupdateenv_53bit): Likewise.
46376 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46377 (libc_feholdexcept): Convert from macro to inline function.
46378 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46379 (libc_fesetenv, libc_feupdateenv): Likewise.
46380
4851a949
RH
46381 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46382 not previously defined.
46383 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46384 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46385 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46386 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46387 * sysdeps/ieee754/flt-32/math_private.h: New file.
46388 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46389 math_private.h below SET_FLOAT_WORD.
46390 (__isnan, __isinf_ns, __finite): Remove.
46391 (__isnanf, __isinf_nsf, __finitef): Remove.
46392
e79d442e
AS
463932012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46394
46395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46396
90b80344
DM
463972012-03-17 David S. Miller <davem@davemloft.net>
46398
46399 [BZ #6471]
46400 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46401 for 2.16.
46402
edc21804
DM
464032012-03-16 David S. Miller <davem@davemloft.net>
46404
77e927af
DM
46405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46406 warnings.
46407
374976dd
DM
46408 [BZ #6471]
46409 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46410 properly.
46411 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46412 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46413 sysdep_routines when subdir is sysvipc.
46414 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46415 __getshmlba helper.
46416
edc21804
DM
46417 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46418
473c3ef3
L
464192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46420
46421 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46422 [__LP64__].
46423
eb0f39b6
L
464242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46425
46426 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46427 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46428 (__lround): Renamed to ...
46429 (__llround): This. Replace long int with long long int.
46430 Define lround functions as aliases of llround functions.
46431 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46432
6b6cd74b
L
464332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46434
46435 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46436 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46437 adresses to uintptr_t. Replace "long int" and "unsigned long
46438 int" with "greg_t" on va_arg.
46439
f1a77b01
L
464402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46441
46442 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46443 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46444
46445 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46446 Move e_machine check before EI_CLASS check. Handle x32
46447 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46448 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46449 SKIP_EM_IA_64 and include
46450 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46451
46452 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46453 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46454 (add_system_dir): New macro.
46455
46456 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46457 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46458
11b90b9f
JM
464592012-03-16 Joseph Myers <joseph@codesourcery.com>
46460
c36e1d23
JM
46461 [BZ #2551]
46462 [BZ #2552]
46463 [BZ #2553]
46464 [BZ #2554]
46465 [BZ #2562]
46466 [BZ #2563]
46467 [BZ #2565]
46468 [BZ #2566]
46469 [BZ #2576]
46470 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46471 (y0): Likewise.
46472 * math/w_j0f.c (j0f): Likewise.
46473 (y0f): Likewise.
46474 * math/w_j0l.c (__j0l): Likewise.
46475 (__y0l): Likewise.
46476 * math/w_j1.c (j1): Likewise.
46477 (y1): Likewise.
46478 * math/w_j1f.c (j1f): Likewise.
46479 (y1f): Likewise.
46480 * math/w_j1l.c (__j1l): Likewise.
46481 (__y1l): Likewise.
46482 * math/w_jn.c (jn): Likewise.
46483 (yn): Likewise.
46484 * math/w_jnf.c (jnf): Likewise.
46485 (ynf): Likewise.
46486 * math/w_jnl.c (__jnl): Likewise.
46487 (__ynl): Likewise.
46488 * math/libm-test.inc (j0_test): Add more tests.
46489 (j1_test): Likewise.
46490 (jn_test): Likewise. Add trailing semicolon to existing test.
46491 (y0_test): Likewise.
46492 (y1_test): Likewise.
46493 * sysdeps/i386/fpu/libm-test-ulps: Update.
46494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46495
11b90b9f
JM
46496 [BZ #13851]
46497 [BZ #13854]
46498 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46499 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46500 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46502 (__tanl): Set errno for infinite argument.
46503 * sysdeps/i386/fpu/mptan.c: Remove.
46504 * sysdeps/i386/fpu/s_tan.S: Likewise.
46505 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46506 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46507 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46508 * math/libm-test.inc (tan_test): Add more tests and enable more
46509 tests for double and long double.
46510 * sysdeps/i386/fpu/libm-test-ulps: Update.
46511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46512
6a1bd2a1
JK
465132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46514
46515 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46516 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46517
10a803e0
RM
465182012-03-16 Roland McGrath <roland@hack.frob.com>
46519
46520 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46521 * configure.in: Use it for both main tree and add-ons.
46522 * configure: Regenerated.
46523
f196c7f7
L
465242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46525
46526 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46527
8848d99d
JM
465282012-03-16 Joseph Myers <joseph@codesourcery.com>
46529
96cbe7f4
JM
46530 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46531 in comment.
46532
8848d99d
JM
46533 [BZ #13851]
46534 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46535 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46536 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46537 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46538 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46539 infinite argument.
46540 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46542 != 0 for prec == 2.
46543 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46544 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46545 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46546 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46547 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46548 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46549 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46550 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46551 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46552 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46553 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46554 * math/libm-test.inc (cos_test): Add more tests and enable more
46555 tests for long double.
46556 (sin_test): Likewise.
46557 (sincos_test): Likewise.
46558 * sysdeps/i386/fpu/libm-test-ulps: Update.
46559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46560
dd7f4703
DM
465612012-03-16 David S. Miller <davem@davemloft.net>
46562
46563 * sysdeps/sparc/fpu/math_private.h: New file.
46564
006f1daa
DM
465652012-03-15 David S. Miller <davem@davemloft.net>
46566
c0c83bc8
DM
46567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46568 file.
e6a62e18 46569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46571 file.
e6a62e18
DM
46572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46578 sysdep routines.
46579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46580
88cb87d9
DM
46581 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46582 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46583
006f1daa 46584 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46586 sparc-ifunc.h
006f1daa 46587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46589 Likewise.
46590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46591 Likewise.
006f1daa
DM
46592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46596 Likewise.
006f1daa
DM
46597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46602 Likewise.
46603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46604 Likewise.
006f1daa
DM
46605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46627 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46629
11e0098e
AS
466302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46631
46632 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46633 scaling.
46634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46635
e85b09d0
AJ
466362012-03-15 Andreas Jaeger <aj@suse.de>
46637
46638 [BZ #13852]
46639 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46640 ieee754/flt-32 implementation for sin, cos and sincos.
46641 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46642 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46643 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46644 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46645 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46646 ieee754/flt-32 implementation for tan.
46647
46648 * math/libm-test.inc (cos_test): Enable some large input tests for
46649 float as well
46650 (sin_test): Likewise.
46651 (sincos_test): Likewise.
46652 (tan_test): Add tests for large input.
46653
46654 * sysdeps/i386/fpu/libm-test-ulps: Update.
46655
81c64153
AJ
466562012-03-15 Andreas Jaeger <aj@suse.de>
46657
46658 [BZ #13658]
46659 * math/libm-test.inc (cos_test): Add more test cases.
46660 (sin_test): Likewise.
46661 (sincos_test): Likewise.
46662
7bbfa5c6
AJ
466632012-03-15 Andreas Jaeger <aj@suse.de>
46664
46665 [BZ #13837]
46666 * math/libm-test.inc (cos_test): Add a test case for large input
46667 value.
46668 (sin_test): Likewise.
46669 (sincos_test): Likewise.
46670
57f41c40
AS
466712012-03-15 Andreas Jaeger <aj@suse.de>
46672 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46673
46674 [BZ #13658]
0671f479 46675 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46676 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46677 * sysdeps/i386/fpu/branred.c: Likewise.
46678 * sysdeps/i386/fpu/dosincos.c: Likewise.
46679 * sysdeps/i386/fpu/mpa.c: Likewise.
46680 * sysdeps/i386/fpu/s_cos.S: Likewise.
46681 * sysdeps/i386/fpu/s_sin.S: Likewise.
46682 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46683 * sysdeps/i386/fpu/sincos32.c: Likewise.
46684
46685 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46686 Define.
46687 (libc_feupdateenv_53bit): Define.
46688 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46689 Define.
46690 (libc_feupdateenv_53bit): Define.
46691
46692 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46693 53 bit (without extend i386 double precision).
46694
46695 * math/libm-test.inc (sincos_test): Add tests for large input.
46696 (sin): Likewise.
46697 (cos): Likewise.
46698
46699 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46700
9cad04ea
AS
467012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46702
46703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46704
f7062b9a
DM
467052012-03-15 David S. Miller <davem@davemloft.net>
46706
46707 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46708 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46709 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46710 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46723 file.
f7062b9a 46724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46726 file.
f7062b9a 46727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46729 file.
f7062b9a 46730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46732 file.
f7062b9a
DM
46733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46735 fmin/fmax sysdep routines.
46736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46737
7bd951ff
DM
467382012-03-14 David S. Miller <davem@davemloft.net>
46739
559398ab
DM
46740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46769 routines.
46770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46771 file.
559398ab 46772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46774 file.
559398ab 46775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46777 file.
559398ab 46778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46780 file.
559398ab 46781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46783 file.
559398ab 46784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46786 file.
46787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46788 file.
46789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46790 file.
46791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46792 file.
46793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46794 New file.
46795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46796 file.
46797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46798 file.
559398ab 46799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46801 file.
559398ab 46802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46804 file.
559398ab 46805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46807 file.
559398ab 46808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46810 VIS3 routines.
559398ab
DM
46811
46812 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46813 New file.
46814
5a1c1e32
DM
46815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46816
eae47a36
DM
46817 * sysdeps/sparc/configure.in: New file.
46818 * sysdeps/sparc/configure: Generate.
46819 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46820 * configure: Regenerate.
46821 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46822 * config.make.in (have-as-vis3): New.
46823 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46824 available use -Av9d instead of -Av9a.
46825 * sysdeps/sparc/sparc64/Makefile: Likewise.
46826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46828 New file.
46829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46830 file.
46831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46832 New file.
46833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46834 file.
eae47a36
DM
46835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46840
c0c83bc8
DM
46841 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46842 fzeros/fnegs to load 0x80000000 into a float register instead of
46843 using the stack.
7bd951ff
DM
46844 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46845
bd951ccb
JM
468462012-03-14 Joseph Myers <joseph@codesourcery.com>
46847
46848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46849 bits/syscall.h.
46850 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46851 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46852 ($(inst_includedir)/bits/syscall.h): Remove rule.
46853 ($(objpfx)bits/syscall.d): Include instead of
46854 $(objpfx)syscall-list.d.
46855 (generated): Change syscall-list.h and syscall-list.d to
46856 bits/syscall.h and bits/syscall.d.
46857
bb4e6db2
RM
468582012-03-14 Roland McGrath <roland@hack.frob.com>
46859
46860 [BZ #13846]
46861 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46862
aa4a2ae1
JM
468632012-03-14 Joseph Myers <joseph@codesourcery.com>
46864
e456826d
JM
46865 [BZ #13841]
46866 * math/s_csqrt.c: Include <float.h>.
46867 (__csqrt): Scale large or subnormal inputs.
46868 * math/s_csqrtf.c: Likewise.
46869 * math/s_csqrtl.c: Likewise.
46870 * math/libm-test.inc (csqrt_test): Add more tests.
46871 * sysdeps/i386/fpu/libm-test-ulps: Update.
46872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46873
aa4a2ae1
JM
46874 [BZ #13840]
46875 * math/libm-test.inc (hypot_test): Add more tests.
46876
7c10fd35
DM
468772012-03-13 David S. Miller <davem@davemloft.net>
46878
46879 [BZ #13840]
46880 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46881 double-precision for the calculation instead of scaling.
46882
f453b98b
JM
468832012-03-13 Joseph Myers <joseph@codesourcery.com>
46884
46885 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46886 manipulate bits before adding and subtracting TWO52[sx].
46887 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46888 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46889 Likewise.
46890 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46891
09a3453f
DM
468922012-03-13 David S. Miller <davem@davemloft.net>
46893
8e59da90
DM
46894 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46895 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46897 rtld-global-offsets.h
46898 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46899
2a8ab7f2
DM
46900 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46901 large parameters.
46902
10f62770
DM
46903 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46904
5f0bdb18
DM
46905 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46906 'err' in the ifdef scope in which it is actually used.
46907
09a3453f
DM
46908 * nss/nss_db/db-init.c: Include string.h
46909
b4b2eb5e
DM
469102012-03-12 David S. Miller <davem@davemloft.net>
46911
98bb2f1c
DM
46912 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46913 masking out of the most significant byte of random value used.
46914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46915 Fix coding style in previous change.
46916
b4b2eb5e
DM
46917 * sysdeps/unix/sysv/linux/kernel-features.h
46918 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46919 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46920 expression.
46921 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46922 later.
46923
6e226b09
DM
469242012-03-11 David S. Miller <davem@davemloft.net>
46925
a1bcbd40
DM
46926 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46927 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46928 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46929 for 'resultvar' otherwise things get truncated on 64-bit.
46930
cb9d6174
DM
46931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46932 Fix masking out of the most significant byte of random value used.
46933
6e226b09
DM
46934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46935
058c132d
AS
469362012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46937
46938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46939
2d2cd515
DM
469402012-03-09 David S. Miller <davem@davemloft.net>
46941
46942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46943 variables with appropriate CPP guards.
57f41c40
AS
46944 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46945 from the frame pointer, not the stack pointer. Correct layout
46946 comments. Fix test on resulting framesize and the management of
46947 the outregs buffer for pltexit. Preserve floating point return
46948 values across _dl_call_pltexit call.
2d2cd515
DM
46949 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46950 framesize and the management of the outregs buffer for pltexit.
46951 Preserve floating point return values across _dl_call_pltexit
46952 call.
57f41c40
AS
46953 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46954 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46955 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46956 (print_exit): Fix format string for return register value.
46957
9a07f9d0
JM
469582012-03-10 Joseph Myers <joseph@codesourcery.com>
46959
46960 * sunrpc/Makefile (others): Add rpcgen.
46961 ($(objpfx)rpcgen): Remove special build rule and dependency on
46962 libc.
46963 * sunrpc/rpcgen.c: New file.
46964
547b5e30
PE
469652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46966
c524201a
PE
46967 [BZ #13673]
46968 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46969 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46970 * sysdeps/i386/crti.S: Likewise.
46971 * sysdeps/i386/crtn.S: Likewise.
46972 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46973 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46974 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46975 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46976 * sysdeps/sh/crti.S: Likewise.
46977 * sysdeps/sh/crtn.S: Likewise.
46978 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46979
7b6235f2
PE
46980 [BZ #13673]
46981 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46982 with URL.
46983 * locale/programs/locfile-kw.gperf: Likewise.
46984 * locale/programs/charmap-kw.h: Regenerated.
46985 * locale/programs/locfile-kw.h: Likewise.
46986
547b5e30
PE
46987 [BZ #13673]
46988 * intl/plural.y: Replace FSF snail mail address with URL.
46989 * intl/plural.c: Regenerated.
46990
5f0a5dae
RH
469912012-03-09 Richard Henderson <rth@twiddle.net>
46992
46993 * include/math_private.h: Remove file.
46994 * math/math_private.h: Move file ...
46995 * sysdeps/generic/math_private.h: ... here.
46996
b8c03620
RH
46997 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46998 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46999 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47000
4e234f5d 47001 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47002 and <math_private.h>.
47003 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47004 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47005 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47006 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47007 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47008 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47009 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47011 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47012 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47014 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47015 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47017 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47018 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47019 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47020 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47022 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47024 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47027 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47028 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47029 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47030 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47033 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47035 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47036 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47038 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47039 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47047 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47048 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47050 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47055 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47056 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47057 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47058 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47061 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47062 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47066 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47067 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47068 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47070 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47071 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47073 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47074 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47076 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47084 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47085 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47087 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47090 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47091 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47092 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47093 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47094 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47095 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47096 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47097 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47098 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47099 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47100 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47101 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47103 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47104 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47105 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47106 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47107 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47108 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47109 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47110 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47111 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47113 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47114 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47115 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47116 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47117 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47118 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47119 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47120 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47121 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47122 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47123 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47124 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47126 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47127 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47128 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47129 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47130 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47131 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47132 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47133 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47134 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47135 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47136 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47137 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47138 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47139 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47140 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47141 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47142 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47143 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47144 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47145 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47146 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47147 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47148 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47149 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47150 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47151 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47152 * sysdeps/ieee754/k_standard.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47192 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47196 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47198 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47203 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47204 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47205 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47264 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47268 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47269 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47272 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47273 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47274 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47275 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47276 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47280 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47297 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47301 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47302 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47303 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47312 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47313 * sysdeps/ieee754/s_lib_version.c: Likewise.
47314 * sysdeps/ieee754/s_matherr.c: Likewise.
47315 * sysdeps/ieee754/s_signgam.c: Likewise.
47316 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47317 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47318 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47319 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47320 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47321 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47322 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47323 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47324 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47325 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47326 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47327 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47328 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47329 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47330 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47331 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47332 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47333 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47334 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47337
1991fa03
JM
473382012-03-09 Joseph Myers <joseph@codesourcery.com>
47339
47340 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47341 * sunrpc/rpc_main.c: Likewise.
47342 * sunrpc/rpc_svcout.c: Likewise.
47343
60d6f5a6
DM
473442012-03-09 David S. Miller <davem@davemloft.net>
47345
47346 * include/math_private.h: New file.
47347
4962050e
JM
473482012-03-09 Joseph Myers <joseph@codesourcery.com>
47349
02a6f887
JM
47350 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47351 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47352 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47353 from <bits/socket_type.h>.
47354 (enum __socket_type): Don't define here.
47355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47357 bits/socket_type.h.
47358
c6e013c1
JM
47359 [BZ #13566]
47360 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47361 checking __USE_GNU.
47362
4962050e
JM
47363 * Makerules ($(inst_includedir)/%.h): New rule.
47364 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47365 (install-others): Remove variable setting.
47366 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47367
38842f45
RH
473682012-03-08 Richard Henderson <rth@twiddle.net>
47369
67bb6da6
RH
47370 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47371 from macro to inline function; merge with the
47372 !__LIBC_INTERNAL_MATH_INLINES version.
47373 (__ieee754_sqrtf): Likewise.
47374
15194b4b
RH
47375 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47376 to inline function.
47377 (__rintf, __floor, __floorf): Likewise.
47378
64e21ede
RH
47379 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47380 macro to inline function.
47381 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47382
38842f45
RH
47383 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47384 not <math/math_private.h>.
47385
c64bf5fe
DM
473862012-03-08 David S. Miller <davem@davemloft.net>
47387
47388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47389 copyright year.
47390 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47391
82d86f28
TS
473922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47393
47394 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47395 normalization.
47396 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47397 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47398
aea5d727
UD
473992012-03-08 Ulrich Drepper <drepper@gmail.com>
47400
47401 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47402 be defined individually, they must be defined as a block. Define
47403 S for printing a string instead of hidint the different by using a
47404 macro for adding the 'l'.
47405 * stdio-common/tst-fphex-wide.c: Adjust.
47406
70bca0a3
MP
474072012-03-07 Marek Polacek <polacek@redhat.com>
47408
47409 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47410
65b81130
MP
474112012-03-08 Marek Polacek <polacek@redhat.com>
47412
47413 [BZ #13806]
47414 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47415 * stdio-common/tst-fphex.c: Define a few macros to make the
47416 test reusable. Use them.
47417 * stdio-common/tst-fphex-wide.c: New file.
47418
07037eeb
JM
474192012-03-08 Joseph Myers <joseph@codesourcery.com>
47420
a7a93d50
JM
47421 [BZ #6911]
47422 * manual/macros.texi (gnusystems): New macro.
47423 (nongnusystems): Likewise.
47424 (gnulinuxhurdsystems): Likewise.
47425 (gnuhurdsystems): Likewise..
47426 (gnulinuxsystems): Likewise.
47427 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47428 variants of the GNU system, not "GNU system".
47429 * manual/conf.texi: Likewise.
47430 * manual/errno.texi: Likewise. Update example of errno macro
47431 expansion.
47432 * manual/filesys.texi: Likewise.
47433 (getumask): Document as specific to GNU/Hurd.
47434 * manual/install.texi: Likewise. Reword some references to
47435 GNU/Linux.
47436 * manual/intro.texi: Likewise.
47437 * manual/io.texi: Likewise.
47438 (File Name Portability): Detail which constraints are inapplicable
47439 to all GNU systems and which are only inapplicable to GNU/Hurd.
47440 * manual/job.texi: Likewise.
47441 * manual/llio.texi: Likewise.
47442 (O_NOCTTY): Document as present on GNU/Linux.
47443 * manual/maint.texi: Likewise.
47444 * manual/memory.texi: Likewise.
47445 * manual/pattern.texi: Likewise.
47446 * manual/pipe.texi: Likewise.
47447 * manual/process.texi: Likewise.
47448 * manual/resource.texi: Likewise.
47449 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47450 child on GNU/Hurd.
47451 * manual/setjmp.texi: Likewise.
47452 * manual/signal.texi: Likewise.
47453 * manual/startup.texi: Likewise.
47454 * manual/stdio.texi: Likewise.
47455 * manual/terminal.texi: Likewise.
47456 (ONLCR): Document as POSIX.
47457 (OXTABS): Document availability on GNU/Linux as XTABS.
47458 (ONOEOT): Document availability separately from other bits.
47459 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47460 * manual/time.texi: Likewise.
47461 * manual/users.texi: Likewise.
47462 * INSTALL: Regenerated.
47463 * sysdeps/gnu/errlist.c: Regenerated.
47464
07037eeb
JM
47465 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47466 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47467 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47468 puts.
47469 * configure: Regenerated.
47470
d1d3431a
JM
474712012-03-07 Joseph Myers <joseph@codesourcery.com>
47472
af6a1e37
JM
47473 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47474 default includes instead of AC_HEADER_CHECK.
47475 * sysdeps/i386/configure: Regenerated.
47476
d1d3431a
JM
47477 [BZ #10716]
47478 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47479 * math/s_cacoshf.c (__cacoshf): Likewise.
47480 * math/s_cacoshl.c (__cacoshl): Likewise.
47481 * math/s_casinh.c (__casinh): Set signs of result from argument.
47482 * math/s_casinhf.c (__casinhf): Likewise.
47483 * math/s_casinhl.c (__casinhl): Likewise.
47484 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47485 (casinh_test): Add more tests.
47486 * sysdeps/i386/fpu/libm-test-ulps: Update.
47487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47488
482ff4da
UD
474892012-03-07 Ulrich Drepper <drepper@gmail.com>
47490
872fda05
UD
47491 * po/zh_TW.po: Update from translation team.
47492
a4300c7a
UD
47493 * login/Makefile (distribute): Remove variable.
47494 * catgets/Makefile: Likewise.
47495 * mach/Makefile: Likewise.
47496 * malloc/Makefile: Likewise.
47497 * misc/Makefile: Likewise.
47498 * iconv/Makefile: Likewise.
47499 * nscd/Makefile: Likewise.
47500 * hurd/Makefile: Likewise.
47501 * manual/Makefile: Likewise.
47502 * locale/Makefile: Likewise.
47503 * intl/Makefile: Likewise.
47504 * conform/Makefile: Likewise.
47505 * nss/Makefile: Likewise.
47506 * time/Makefile: Likewise.
47507 * soft-fp/Makefile: Likewise.
47508 * dirent/Makefile: Likewise.
47509 * gmon/Makefile: Likewise.
47510 * po/Makefile: Likewise.
47511 * rt/Makefile: Likewise.
47512 * socket/Makefile: Likewise.
47513 * math/Makefile: Likewise.
47514 * signal/Makefile: Likewise.
47515 * debug/Makefile: Likewise.
47516 * elf/Makefile: Likewise.
47517 * timezone/Makefile: Likewise.
47518 * stdlib/Makefile: Likewise.
47519 * iconvdata/Makefile: Likewise.
47520 * sunrpc/Makefile: Likewise.
47521 * io/Makefile: Likewise.
47522 * argp/Makefile: Likewise.
47523 * inet/Makefile: Likewise.
47524 * hesiod/Makefile: Likewise.
47525 * grp/Makefile: Likewise.
47526 * csu/Makefile: Likewise.
47527 * wctype/Makefile: Likewise.
47528 * crypt/Makefile: Likewise.
47529 * libio/Makefile: Likewise.
47530 * string/Makefile: Likewise.
47531 * nis/Makefile: Likewise.
47532 * resolv/Makefile: Likewise.
47533 * stdio-common/Makefile: Likewise.
47534 * wcsmbs/Makefile: Likewise.
47535 * dlfcn/Makefile: Likewise.
47536 * posix/Makefile: Likewise.
47537
3b7c4e74 47538 [BZ #6959]
482ff4da
UD
47539 * timezone/Makefile: Don't install timezone files, just the programs
47540 and scripts.
47541
f72ed77d
UD
475422012-03-06 Ulrich Drepper <drepper@gmail.com>
47543
a000466f
UD
47544 * nss/databases.def: Add missing gshadow entry.
47545
f72ed77d
UD
47546 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47547
a53b7a4e
MP
475482012-03-06 Marek Polacek <polacek@redhat.com>
47549
47550 [BZ #13726]
47551 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47552 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47553 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47554 * stdio-common/tst-long-dbl-fphex.c: New file.
47555
e9258400
DM
475562012-03-06 David S. Miller <davem@davemloft.net>
47557
47558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47559 (set_obp_int): New function.
47560 (get_obp_int): New function.
47561 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47562 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47563 Avoid unused variable warnings on 'val' and use builtin_expect.
47564 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47565 __builtin_expect.
e9258400
DM
47566 (INLINE_CLONE_SYSCALL): Likewise.
47567
3bd2c723
DM
475682012-03-05 David S. Miller <davem@davemloft.net>
47569
47570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47571
bbb78d03
AS
475722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47573
884c5db4
AS
47574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47575
bbb78d03
AS
47576 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47577 only for |x| >= 40.
47578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47579
1c9f702a 475802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47581
47582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47583 Replace gettimeofday with __vdso_gettimeofday.
47584
7be16f82
RM
47585 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47586 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47587 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47588
47589 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47590 time with __vdso_time.
47591
ed58a00f
JM
475922012-03-05 Joseph Myers <joseph@codesourcery.com>
47593
47594 * manual/lang.texi (size_t): Note types to which size_t may be
47595 equivalent with the GNU C Library, but do not describe when
47596 differences between them are significant.
47597
30ee4ced
AJ
475982012-03-05 Andreas Jaeger <aj@suse.de>
47599
47600 * sysdeps/i386/fpu/libm-test-ulps: Update.
47601
b7cd39e8
JM
476022012-03-05 Joseph Myers <joseph@codesourcery.com>
47603
47604 [BZ #3976]
47605 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47606 (__ieee754_pow): Save and restore rounding mode and use
47607 round-to-nearest for main computations.
47608 * math/libm-test.inc (pow_test_tonearest): New function.
47609 (pow_test_towardzero): Likewise.
47610 (pow_test_downward): Likewise.
47611 (pow_test_upward): Likewise.
47612 (main): Call the new functions.
47613 * sysdeps/i386/fpu/libm-test-ulps: Update.
47614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47615
47616 [BZ #3976]
47617 * math/libm-test.inc (cosh_test_tonearest): New function.
47618 (cosh_test_towardzero): Likewise.
47619 (cosh_test_downward): Likewise.
47620 (cosh_test_upward): Likewise.
47621 (sinh_test_tonearest): Likewise.
47622 (sinh_test_towardzero): Likewise.
47623 (sinh_test_downward): Likewise.
47624 (sinh_test_upward): Likewise.
47625 (main): Call the new functions.
47626 * sysdeps/i386/fpu/libm-test-ulps: Update.
47627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47628
6c6a98c9
TV
476292012-03-05 Tom de Vries <tom@codesourcery.com>
47630
47631 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47632 default stack guard is set in last bytes.
47633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47634
21bb2d2e 476352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47636
21bb2d2e 47637 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47638
21bb2d2e
AJ
47639 [BZ #13656]
47640 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47641 possibly allocate from heap instead of stack.
47642 * stdio-common/bug-vfprintf-nargs.c: New file.
47643 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47644
c6922934
AS
476452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47646
47647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47648
bc957d53
MP
476492012-03-03 Marek Polacek <polacek@redhat.com>
47650
47651 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47652 * math/math_private.h: Likewise.
47653 * stdlib/tst-strtod.c: Likewise.
47654 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47655 * sysdeps/x86_64/bits/atomic.h: Likewise.
47656
6358490d
DM
476572012-03-02 David S. Miller <davem@davemloft.net>
47658
47659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47663 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47664 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47665 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47666 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47667
01ae168d
RM
476682012-03-02 Roland McGrath <roland@hack.frob.com>
47669
d9a17c07
RM
47670 [BZ #13792]
47671 * manual/examples/README: New file, says the example source files
47672 can be used under GPL>=2.
47673 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47674 line containing just "*/".
47675 * manual/examples/add.c: Add copyright header (GPL>=2).
47676 * manual/examples/argp-ex1.c: Likewise.
47677 * manual/examples/argp-ex2.c: Likewise.
47678 * manual/examples/argp-ex3.c: Likewise.
47679 * manual/examples/argp-ex4.c: Likewise.
47680 * manual/examples/atexit.c: Likewise.
47681 * manual/examples/db.c: Likewise.
47682 * manual/examples/dir.c: Likewise.
47683 * manual/examples/dir2.c: Likewise.
47684 * manual/examples/execinfo.c: Likewise.
47685 * manual/examples/filecli.c: Likewise.
47686 * manual/examples/filesrv.c: Likewise.
47687 * manual/examples/fmtmsgexpl.c: Likewise.
47688 * manual/examples/genpass.c: Likewise.
47689 * manual/examples/inetcli.c: Likewise.
47690 * manual/examples/inetsrv.c: Likewise.
47691 * manual/examples/isockad.c: Likewise.
47692 * manual/examples/longopt.c: Likewise.
47693 * manual/examples/memopen.c: Likewise.
47694 * manual/examples/memstrm.c: Likewise.
47695 * manual/examples/mkfsock.c: Likewise.
47696 * manual/examples/mkisock.c: Likewise.
47697 * manual/examples/mygetpass.c: Likewise.
47698 * manual/examples/pipe.c: Likewise.
47699 * manual/examples/popen.c: Likewise.
47700 * manual/examples/rprintf.c: Likewise.
47701 * manual/examples/search.c: Likewise.
47702 * manual/examples/select.c: Likewise.
47703 * manual/examples/setjmp.c: Likewise.
47704 * manual/examples/sigh1.c: Likewise.
47705 * manual/examples/sigusr.c: Likewise.
47706 * manual/examples/stpcpy.c: Likewise.
47707 * manual/examples/strdupa.c: Likewise.
47708 * manual/examples/strftim.c: Likewise.
47709 * manual/examples/strncat.c: Likewise.
47710 * manual/examples/subopt.c: Likewise.
47711 * manual/examples/swapcontext.c: Likewise.
47712 * manual/examples/termios.c: Likewise.
47713 * manual/examples/testopt.c: Likewise.
47714 * manual/examples/testpass.c: Likewise.
47715 * manual/examples/timeval_subtract.c: Likewise.
47716
01ae168d
RM
47717 [BZ #13792]
47718 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47719 function to ...
47720 * manual/timeval_subtract.c.texi: ... here, new file.
47721
49efa33d
DM
477222012-03-02 David S. Miller <davem@davemloft.net>
47723
47724 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47725
28afd92d
JM
477262012-03-02 Joseph Myers <joseph@codesourcery.com>
47727
804360ed
JM
47728 [BZ #3976]
47729 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47730 (__sin): Save and restore rounding mode and use round-to-nearest
47731 for all computations.
47732 (__cos): Save and restore rounding mode and use round-to-nearest
47733 for all computations.
47734 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47735 <fenv.h>.
47736 (tan): Save and restore rounding mode and use round-to-nearest for
47737 all computations.
47738 * math/libm-test.inc (cos_test_tonearest): New function.
47739 (cos_test_towardzero): Likewise.
47740 (cos_test_downward): Likewise.
47741 (cos_test_upward): Likewise.
47742 (sin_test_tonearest): Likewise.
47743 (sin_test_towardzero): Likewise.
47744 (sin_test_downward): Likewise.
47745 (sin_test_upward): Likewise.
47746 (tan_test_tonearest): Likewise.
47747 (tan_test_towardzero): Likewise.
47748 (tan_test_downward): Likewise.
47749 (tan_test_upward): Likewise.
47750 (main): Call the new functions.
47751 * sysdeps/i386/fpu/libm-test-ulps: Update.
47752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47753
a6d06d7b
JM
47754 [BZ #10135]
47755 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47756 small n, then large n, before computing and testing k+n.
47757 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47759 Likewise.
47760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47761 Likewise.
47762 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47763 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47766 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47767 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47769 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47770 * math/libm-test.inc (scalbn_test): Add more tests.
47771 (scalbln_test): Likewise.
47772
07e12bb3
JM
47773 * manual/filesys.texi (mode_t): Describe constraints on size and
47774 signedness, not exact equivalence to a particular type.
47775 (ino_t): Likewise.
47776 (ino64_t): Likewise.
47777 (dev_t): Likewise.
47778 (nlink_t): Likewise.
47779 (blkcnt_t): Likewise.
47780 (blkcnt64_t): Likewise.
47781 * manual/llio.texi (off_t): Likewise.
47782
28afd92d
JM
47783 [BZ #3976]
47784 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47785 (__ieee754_exp): Save and restore rounding mode and use
47786 round-to-nearest for all computations.
47787 * math/libm-test.inc (exp_test_tonearest): New function.
47788 (exp_test_towardzero): Likewise.
47789 (exp_test_downward): Likewise.
47790 (exp_test_upward): Likewise.
47791 (main): Call the new functions.
47792 * sysdeps/i386/fpu/libm-test-ulps: Update.
47793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47794
b1eeb65d
CD
477952012-03-01 Chris Demetriou <cgd@google.com>
47796
47797 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47798 have predictable order.
47799
53362a4b
DM
478002012-03-01 David S. Miller <davem@davemloft.net>
47801
3c969083
DM
47802 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47803
759707de
DM
47804 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47805 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47806 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47807 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47808
dfdb8ff2
DM
47809 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47810 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47811 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47813 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47814 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47815 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47816 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47817 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47818
ead89f96
DM
47819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47820
7f66bd07
DM
47821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47822 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47823 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47824
53362a4b
DM
47825 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47826 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47827 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47828 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47829 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47831 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47832 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47833 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47834 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47835 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47841 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47842 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47843 * sysdeps/sparc/elf/configure: Regenerated.
47844
7b1902cb
JM
478452012-03-01 Joseph Myers <joseph@codesourcery.com>
47846
bec039bc
JM
47847 * configure.in (AS, LD): Require binutils 2.20 or later.
47848 * configure: Regenerated.
47849 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47850 as required minimum version.
47851 * INSTALL: Regenerated.
47852
7b1902cb
JM
47853 [BZ #2541]
47854 [BZ #4108]
47855 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47856 before squaring exponent.
47857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47858 bottom long double and 27 bits of top long double before squaring
47859 exponent.
47860 * math/libm-test.inc (erfc_test): Add more tests.
47861 * sysdeps/i386/fpu/libm-test-ulps: Update.
47862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47864
f775c276
KT
478652012-03-01 Kai Tietz <ktietz@redhat.com>
47866
47867 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47868 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47869 containing bit-fields.
47870 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47871 * soft-fp/single.h (_FP_UNION_S): Likewise.
47872 * soft-fp/double.h (_FP_UNION_D): Likewise.
47873
5b8a4d4a
JM
478742012-02-29 Joseph Myers <joseph@codesourcery.com>
47875
0bab47b6
JM
47876 [BZ #13786]
47877 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47878 not include ../strcmp.S.
47879 [USE_AS_STRNCASECMP_L]: Likewise.
47880 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47881 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47882 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47883 (__strncasecmp_l_ia32): Define as alias to
47884 __strncasecmp_l_nonascii.
47885
0fcad3e2
JM
47886 [BZ #5794]
47887 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47888 * sysdeps/i386/fpu/libm-test-ulps: Update.
47889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47890
5b8a4d4a
JM
47891 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47893
8fdceb2e
JL
478942012-02-29 Jeff Law <law@redhat.com>
47895
47896 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47897 out of bounds read.
47898
1f393a11
MP
478992012-02-29 Marek Polacek <polacek@redhat.com>
47900
47901 [BZ #13706]
47902 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47903 * elf/Makefile: Add rules to run tst-unused-dep.out.
47904
8847f037
DM
479052012-02-28 David S. Miller <davem@davemloft.net>
47906
47907 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47908 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47911 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47912 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47913
169d7f11
JM
479142012-02-29 Joseph Myers <joseph@codesourcery.com>
47915
47916 * math/libm-test.inc (llround_test): Move one test from
47917 lround_test. Use TEST_f_L in moved test.
47918 (lround_test): Move misplaced test to llround_test. Add testcase
47919 from bug 2561.
47920
39adf059
UD
479212012-02-28 Ulrich Drepper <drepper@gmail.com>
47922
47923 * sysdeps/x86_64/fpu/e_expf.S: New file.
47924 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47925
71b5d1c5
SB
479262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47927
47928 [BZ #13637]
47929 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47930 of remain_len that may cause incomplete multi-byte character and
47931 false match.
47932 * posix/bug-regex33.c: New file.
47933 * posix/Makefile (tests): Add bug-regex33.
47934
1f77f049
JM
479352012-02-28 Joseph Myers <joseph@codesourcery.com>
47936
47937 * manual/macros.texi: New file.
47938 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47939 * manual/libc.texinfo: Include macros.texi.
47940 * manual/creatute.texi: Likewise.
47941 * manual/install.texi: Likewise.
47942 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47943 @glibcadj{} in references to the GNU C Library.
47944 * manual/charset.texi: Likewise.
47945 * manual/conf.texi: Likewise.
47946 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47947 when not using those macros.
47948 * manual/creature.texi: Likewise.
47949 * manual/crypt.texi: Likewise.
47950 * manual/errno.texi: Likewise.
47951 * manual/filesys.texi: Likewise.
47952 * manual/header.texi: Likewise.
47953 * manual/install.texi: Likewise.
47954 * manual/intro.texi: Likewise.
47955 * manual/io.texi: Likewise.
47956 * manual/job.texi: Likewise.
47957 * manual/lang.texi: Likewise.
47958 * manual/libc.texiinfo: Likewise.
47959 * manual/llio.texi: Likewise.
47960 * manual/locale.texi: Likewise.
47961 * manual/maint.texi: Likewise.
47962 * manual/math.texi: Likewise.
47963 * manual/memory.texi: Likewise.
47964 * manual/message.texi: Likewise.
47965 * manual/nss.texi: Likewise.
47966 * manual/pattern.texi: Likewise.
47967 * manual/process.texi: Likewise.
47968 * manual/resource.texi: Likewise.
47969 * manual/search.texi: Likewise.
47970 * manual/setjmp.texi: Likewise.
47971 * manual/signal.texi: Likewise.
47972 * manual/socket.texi: Likewise.
47973 * manual/startup.texi: Likewise.
47974 * manual/stdio.texi: Likewise.
47975 * manual/string.texi: Likewise.
47976 * manual/sysinfo.texi: Likewise.
47977 * manual/syslog.texi: Likewise.
47978 * manual/terminal.texi: Likewise.
47979 * manual/time.texi: Likewise.
47980 * manual/users.texi: Likewise.
47981 * INSTALL: Regenerated.
47982 * NOTES: Regenerated.
d40c5d54 47983 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47984
450bf206
AS
479852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47986
47987 * include/dirent.h: Include <dirstream.h> before
47988 <dirent/dirent.h>.
47989
741a235b
DM
479902012-02-28 David S. Miller <davem@davemloft.net>
47991
47992 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47993 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47994 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47995 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47996
d6b5aa58
DM
479972012-02-27 David S. Miller <davem@davemloft.net>
47998
1aff59a3
DM
47999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48001 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48002 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48003
d6b5aa58
DM
48004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48005 frame pointer instead of stack pointer relative arg slot.
48006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48007 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48008 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48009
433f48bf
CD
480102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48011
48012 [BZ #3992]
48013 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48014
d674b76d
DM
480152012-02-27 David S. Miller <davem@davemloft.net>
48016
48017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48021 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48022 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48023 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48024 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48025
0e7727f7
JM
480262012-02-27 Joseph Myers <joseph@codesourcery.com>
48027
48028 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48029 later. Allow versions 5-9.
43be4ca2 48030 * configure: Regenerated.
0e7727f7
JM
48031 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48032 required minimum version and 4.6 as recommended version. Do not
48033 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48034 * INSTALL: Regenerated.
0e7727f7 48035
a78bc654
DM
480362012-02-27 David S. Miller <davem@davemloft.net>
48037
428d5830
DM
48038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48042 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48043 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48044 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48045 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48046
a78bc654
DM
48047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48048 manipulate bits before adding and subtracting TWO112[sx].
48049 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48050
4579f81c
RM
480512012-02-27 Roland McGrath <roland@hack.frob.com>
48052
36c8acb4
RM
48053 [BZ #13775]
48054 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48055 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48056 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48057 being in POSIX, because they are in 1003.1-2008.
48058
84ad622b
RM
48059 * rt/tst-aio.c: Include <fcntl.h>.
48060 * rt/tst-aio7.c: Likewise.
48061 * rt/tst-aio64.c: Likewise.
48062
4579f81c
RM
48063 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48064
abd923db
JM
480652012-02-27 Joseph Myers <joseph@codesourcery.com>
48066
48067 * manual/install.texi (--with-headers): Describe headers as
48068 interface headers, not private headers.
48069 (Specific advice for GNU/Linux systems): Describe use of headers
48070 from "make headers_install", not private headers from older
48071 kernels.
43be4ca2 48072 * INSTALL: Regenerated.
abd923db
JM
48073 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48074 Change to 2.6.19.
48075 * sysdeps/unix/sysv/linux/configure: Regenerated.
48076
6664049b
JM
48077 * manual/llio.texi (fclean): Remove documentation.
48078
bb8b6697
JM
48079 * manual/Makefile (libc-texi-generated): New variable. Include
48080 version.texi.
48081 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48082 $(libc-texi-generated), not duplicated list of files.
48083 (version.texi, stamp-version): New rules.
48084 (realclean): Remove $(libc-texi-generated), not individual files
48085 from that list. Do not remove dir-add.texinfo.
48086 * manual/libc.texinfo: Comment out uses of edition numbers and
48087 references to printed manual. Remove last-updated dates.
48088 (EDITION): Comment out.
48089 (ISBN): Likewise.
48090 (VERSION, UPDATED): Remove.
48091 (version.texi): Include.
48092
12e5c3b9
AS
480932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48094
48095 * sysdeps/posix/spawni.c: Include <signal.h>.
48096 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48097 * sysdeps/pthread/aio_fsync.c: Likewise.
48098
4efeffc1 480992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48100
ba63ba08
UD
48101 * conform/Makefile (tests): Run only when not cross-compiling and
48102 when fast-check is not defined.
48103
d94a4670
UD
48104 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48105 * conform/data/limits.h-data: Fixes for POSIX2008.
48106 * conform/run-conformtest.sh: Run all tests.
48107 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48108 headers.
48109 * include/bits/dlfcn.h: Likewise.
48110 * include/langinfo.h: Likewise.
48111 * include/monetary.h: Likewise.
48112 * include/sys/poll.h: Likewise.
48113
48114 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48115 for __USE_GNU.
48116 * posix/spawn.h: Define __need_sigset_t.
48117 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48118 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48119 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48120 to get sigevent_t only.
48121 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48122 only for __USE_GNU.
48123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48124 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48125 process_vm_writev only for __USE_GNU.
48126 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48127
48128 * conform/Makefile: For now ignore errors from run-conformtest.
48129 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48130 POSIX to avoid namespace pollution. Don't prepend headers.
48131 * conform/data/aio.h-data: Fixes for POSIX testing.
48132 * conform/data/fcntl.h-data: Likewise.
48133 * conform/data/glob.h-data: Likewise.
48134 * conform/data/grp.h-data: Likewise.
48135 * conform/data/pthread.h-data: Likewise.
48136 * conform/data/pwd.h-data: Likewise.
48137 * conform/data/signal.h-data: Likewise.
48138 * conform/data/spawn.h-data: Likewise.
48139 * conform/data/stdio.h-data: Likewise.
48140 * conform/data/stdlib.h-data: Likewise.
48141 * conform/data/stropts.h-data: Likewise.
48142 * conform/data/sys/mman.h-data: Likewise.
48143 * conform/data/sys/stat.h-data: Likewise.
48144 * conform/data/sys/types.h-data: Likewise.
48145 * conform/data/sys/wait.h-data: Likewise.
48146 * conform/data/time.h-data: Likewise.
48147 * conform/data/unistd.h-data: Likewise.
48148 * conform/data/utime.h-data: Likewise.
48149
48150 * io/sys/stat.h: fchmod was always in POSIX.
48151 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48152 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48153 * rt/aio.h: Define __need_timespec before including <time.h>.
48154 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48155 struct. Add forward declaration of pthread_attr_t and use it in
48156 sigevent.
48157 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48159 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48160 always remove CLK_TCK definition.
48161
c20105c3
AS
481622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48163
48164 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48165
7a270350
UD
481662012-02-25 Ulrich Drepper <drepper@gmail.com>
48167
31341567
UD
48168 * conform/run-conformtest.sh: New file.
48169 * conform/Makefile: Run run-conformtest for tests.
48170 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48171 support.
48172
48173 * conform/data/uchar.h-data: New file.
48174 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48175 * conform/data/arpa/inet.h-data: Likewise.
48176 * conform/data/assert.h-data: Likewise.
48177 * conform/data/complex.h-data: Likewise.
48178 * conform/data/cpio.h-data: Likewise.
48179 * conform/data/ctype.h-data: Likewise.
48180 * conform/data/dirent.h-data: Likewise.
48181 * conform/data/dlfcn.h-data: Likewise.
48182 * conform/data/errno.h-data: Likewise.
48183 * conform/data/fcntl.h-data: Likewise.
48184 * conform/data/float.h-data: Likewise.
48185 * conform/data/fmtmsg.h-data: Likewise.
48186 * conform/data/fnmatch.h-data: Likewise.
48187 * conform/data/ftw.h-data: Likewise.
48188 * conform/data/glob.h-data: Likewise.
48189 * conform/data/grp.h-data: Likewise.
48190 * conform/data/iconv.h-data: Likewise.
48191 * conform/data/inttypes.h-data: Likewise.
48192 * conform/data/langinfo.h-data: Likewise.
48193 * conform/data/libgen.h-data: Likewise.
48194 * conform/data/limits.h-data: Likewise.
48195 * conform/data/locale.h-data: Likewise.
48196 * conform/data/math.h-data: Likewise.
48197 * conform/data/monetary.h-data: Likewise.
48198 * conform/data/mqueue.h-data: Likewise.
48199 * conform/data/ndbm.h-data: Likewise.
48200 * conform/data/net/if.h-data: Likewise.
48201 * conform/data/netdb.h-data: Likewise.
48202 * conform/data/netinet/in.h-data: Likewise.
48203 * conform/data/nl_types.h-data: Likewise.
48204 * conform/data/poll.h-data: Likewise.
48205 * conform/data/pthread.h-data: Likewise.
48206 * conform/data/pwd.h-data: Likewise.
48207 * conform/data/regex.h-data: Likewise.
48208 * conform/data/sched.h-data: Likewise.
48209 * conform/data/search.h-data: Likewise.
48210 * conform/data/semaphore.h-data: Likewise.
48211 * conform/data/setjmp.h-data: Likewise.
48212 * conform/data/signal.h-data: Likewise.
48213 * conform/data/spawn.h-data: Likewise.
48214 * conform/data/stdarg.h-data: Likewise.
48215 * conform/data/stdio.h-data: Likewise.
48216 * conform/data/stdlib.h-data: Likewise.
48217 * conform/data/string.h-data: Likewise.
48218 * conform/data/strings.h-data: Likewise.
48219 * conform/data/stropts.h-data: Likewise.
48220 * conform/data/sys/ipc.h-data: Likewise.
48221 * conform/data/sys/mman.h-data: Likewise.
48222 * conform/data/sys/msg.h-data: Likewise.
48223 * conform/data/sys/resource.h-data: Likewise.
48224 * conform/data/sys/select.h-data: Likewise.
48225 * conform/data/sys/sem.h-data: Likewise.
48226 * conform/data/sys/shm.h-data: Likewise.
48227 * conform/data/sys/socket.h-data: Likewise.
48228 * conform/data/sys/stat.h-data: Likewise.
48229 * conform/data/sys/statvfs.h-data: Likewise.
48230 * conform/data/sys/time.h-data: Likewise.
48231 * conform/data/sys/timeb.h-data: Likewise.
48232 * conform/data/sys/times.h-data: Likewise.
48233 * conform/data/sys/types.h-data: Likewise.
48234 * conform/data/sys/uio.h-data: Likewise.
48235 * conform/data/sys/un.h-data: Likewise.
48236 * conform/data/sys/utsname.h-data: Likewise.
48237 * conform/data/sys/wait.h-data: Likewise.
48238 * conform/data/syslog.h-data: Likewise.
48239 * conform/data/tar.h-data: Likewise.
48240 * conform/data/termios.h-data: Likewise.
48241 * conform/data/utime.h-data: Likewise.
48242 * conform/data/utmpx.h-data: Likewise.
48243 * conform/data/varargs.h-data: Likewise.
48244 * conform/data/wchar.h-data: Likewise.
48245 * conform/data/wctype.h-data: Likewise.
48246 * conform/data/wordexp.h-data: Likewise.
48247
48248 * include/stropts.h: New file.
48249 * include/uchar.h: New file.
48250 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48251 * include/assert.h: Likewise.
48252 * include/ctype.h: Likewise.
48253 * include/dirent.h: Likewise.
48254 * include/dlfcn.h: Likewise.
48255 * include/fcntl.h: Likewise.
48256 * include/fnmatch.h: Likewise.
48257 * include/glob.h: Likewise.
48258 * include/grp.h: Likewise.
48259 * include/libio.h: Likewise.
48260 * include/locale.h: Likewise.
48261 * include/math.h: Likewise.
48262 * include/net/if.h: Likewise.
48263 * include/netdb.h: Likewise.
48264 * include/netinet/in.h: Likewise.
48265 * include/pthread.h: Likewise.
48266 * include/pwd.h: Likewise.
48267 * include/regex.h: Likewise.
48268 * include/sched.h: Likewise.
48269 * include/search.h: Likewise.
48270 * include/setjmp.h: Likewise.
48271 * include/signal.h: Likewise.
48272 * include/stdio.h: Likewise.
48273 * include/stdlib.h: Likewise.
48274 * include/string.h: Likewise.
48275 * include/sys/cdefs.h: Likewise.
48276 * include/sys/mman.h: Likewise.
48277 * include/sys/msg.h: Likewise.
48278 * include/sys/resource.h: Likewise.
48279 * include/sys/select.h: Likewise.
48280 * include/sys/socket.h: Likewise.
48281 * include/sys/stat.h: Likewise.
48282 * include/sys/statvfs.h: Likewise.
48283 * include/sys/time.h: Likewise.
48284 * include/sys/times.h: Likewise.
48285 * include/sys/uio.h: Likewise.
48286 * include/sys/utsname.h: Likewise.
48287 * include/sys/wait.h: Likewise.
48288 * include/termios.h: Likewise.
48289 * include/time.h: Likewise.
48290 * include/ulimit.h: Likewise.
48291 * include/unistd.h: Likewise.
48292 * include/utime.h: Likewise.
48293 * include/wchar.h: Likewise.
48294 * include/wctype.h: Likewise.
48295 * include/wordexp.h: Likewise.
48296
48297 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48298
7a270350
UD
48299 * time/time.h: TIME_UTC must be a macro.
48300 Make timespec_get available for ISO C11 only as well.
48301
7724defc
UD
483022012-02-24 Ulrich Drepper <drepper@gmail.com>
48303
48304 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48305 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48306
6b1d1d46
JM
483072012-02-24 Joseph Myers <joseph@codesourcery.com>
48308
48309 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48310
0f8bbd69
JM
483112012-02-24 Joseph Myers <joseph@codesourcery.com>
48312
48313 * manual/texinfo.tex: Update to version 2012-01-19.16.
48314
66ab80bc
JM
483152012-02-24 Joseph Myers <joseph@codesourcery.com>
48316
48317 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48318
74981cc5
RM
483192012-02-24 Roland McGrath <roland@hack.frob.com>
48320
ee968201
RM
48321 [BZ #13738]
48322 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48323 * manual/fdl-1.3.texi: New file.
48324 * manual/fdl-1.1.texi: File removed.
48325
74981cc5
RM
48326 [BZ #13738]
48327 * manual/libc.texinfo (FDL_VERSION): New @set.
48328 Use it for mention of FDL in cover text.
48329 (Documentation License): Use it in @include file name.
48330
7bb764bc
JM
483312012-02-22 Joseph Myers <joseph@codesourcery.com>
48332 Roland McGrath <roland@hack.frob.com>
48333
48334 [BZ #5461]
57f41c40
AS
48335 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48336 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48337 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48338 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48339 name.
48340 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48341
6cbeae47
JM
483422012-02-22 Joseph Myers <joseph@codesourcery.com>
48343
48344 [BZ #2547]
48345 [BZ #11365]
48346 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48347 manipulate bits before adding and subtracting TWO23[sx].
48348 * math/libm-test.inc (nearbyint_test): Add more tests.
48349
fe45ce09
JM
483502012-02-22 Joseph Myers <joseph@codesourcery.com>
48351
48352 [BZ #2548]
48353 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48354 bits before adding and subtracting TWO23[sx].
48355 * math/libm-test.inc (rint_test): Add more tests.
48356 (rint_test_tonearest): Likewise.
48357 (rint_test_towardzero): Likewise.
48358 (rint_test_downward): Likewise.
48359 (rint_test_upward: Likewise.
48360
ff3b3d82
JM
483612012-02-22 Joseph Myers <joseph@codesourcery.com>
48362
48363 [BZ #10110]
48364 * include/stdc-predef.h: New file. Extracted from features.h.
48365 * include/features.h: Include stdc-predef.h.
48366 * Makefile (headers): Add stdc-predef.h.
48367 * CONFORMANCE (Compiler limitations): Update.
48368
ef0aab35
JM
483692012-02-22 Joseph Myers <joseph@codesourcery.com>
48370
48371 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48372
58639409
DM
483732012-02-21 David S. Miller <davem@davemloft.net>
48374
48375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48376 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48377
c0e70b25
DM
483782012-02-20 David S. Miller <davem@davemloft.net>
48379
48380 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48381 using a normal save/restore sequence, rather than allocating a
48382 dummy stack frame just to store a frame pointer and restore.
48383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48384
fb06851d
JM
483852012-02-21 Joseph Myers <joseph@codesourcery.com>
48386
48387 * manual/install.texi: Fix stray word in line-wrapped comment.
48388
7a8b71c3
DM
483892012-02-20 David S. Miller <davem@davemloft.net>
48390
d510c123
DM
48391 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48392 both binutils and gcc support GOTDATA.
48393
0722d7c2
DM
48394 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48395 "rd %pc" in the PIC register setup sequences.
48396
3d2b3019
DM
48397 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48398 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48399 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48400 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48401 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48403 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48404 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48406 (SYSCALL_ERROR_HANDLER): Likewise.
48407 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48408 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48410 (SYSCALL_ERROR_HANDLER): Likewise.
48411
c80098a9
DM
48412 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48413 (HAVE_GCC_GOTDATA): New.
48414 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48415 relocation support in both binutils and gcc.
48416 * sysdeps/sparc/elf/configure: Regenerate.
48417
3a2545a0
DM
48418 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48419 * sysdeps/sparc/sparc32/elf/configure: Delete.
48420 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48421 * sysdeps/sparc/sparc64/elf/configure: Delete.
48422 * sysdeps/sparc/elf/configure.in: New file.
48423 * sysdeps/sparc/elf/configure: Generate.
48424
7a8b71c3
DM
48425 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48426 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48427 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48428 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48429 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48430
f1e86fca
JM
484312012-02-21 Joseph Myers <joseph@codesourcery.com>
48432
48433 * manual/install.texi: Do not mention specific glibc version
48434 numbers.
48435 * manual/libc.texinfo (VERSION, UPDATED): Update.
48436 (@copying): Use @copyright{} and range of years.
48437
0e7dfaef
JM
484382012-02-21 Joseph Myers <joseph@codesourcery.com>
48439
48440 [BZ #13695]
48441 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48442 [crti.S not in sysdirs] (generated): Do not append.
48443 [crti.S not in sysdirs] (omit-deps): Likewise.
48444 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48445 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48446 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48447 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48448 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48449 Likewise.
48450 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48451 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48452 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48453 * csu/defs.awk: Remove file.
48454 * sysdeps/generic/initfini.c: Likewise.
48455 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48456 variable.
48457 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48458 Likewise.
48459
599af3ca
JM
484602012-02-20 Joseph Myers <joseph@codesourcery.com>
48461
48462 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48463 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48464 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48465 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48467 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48468 <bits/epoll.h>.
48469 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48470 (__EPOLL_PACKED): Define to empty if not defined by
48471 <bits/epoll.h>.
48472 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48474 bits/epoll.h.
48475
0e499750
JM
484762012-02-20 Joseph Myers <joseph@codesourcery.com>
48477
48478 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48479 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48480 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48481 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48482 <bits/timerfd.h>.
48483 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48485 bits/timerfd.h.
48486
5ad91f6e
JM
484872012-02-20 Joseph Myers <joseph@codesourcery.com>
48488
48489 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48490 in C locale.
48491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48492 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48493 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48495
06b99b02
AJ
484962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48497
48498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48499 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48500
7638c0fd
AS
485012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48502
48503 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48504 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48505 defined.
48506 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48507 Likewise.
48508 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48509 entry for 2.16.
48510
92221550
AJ
485112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48512
48513 * math/w_acos.c: Use non-signaling floating-point comparisons.
48514 * math/w_acosf.c: Likewise.
48515 * math/w_acosh.c: Likewise.
48516 * math/w_acoshf.c: Likewise.
48517 * math/w_acoshl.c: Likewise.
48518 * math/w_acosl.c: Likewise.
48519 * math/w_asin.c: Likewise.
48520 * math/w_asinf.c: Likewise.
48521 * math/w_asinl.c: Likewise.
48522 * math/w_atanh.c: Likewise.
48523 * math/w_atanhf.c: Likewise.
48524 * math/w_atanhl.c: Likewise.
48525 * math/w_exp2.c: Likewise.
48526 * math/w_exp2f.c: Likewise.
48527 * math/w_exp2l.c: Likewise.
48528 * math/w_j0.c: Likewise.
48529 * math/w_j0f.c: Likewise.
48530 * math/w_j0l.c: Likewise.
48531 * math/w_j1.c: Likewise.
48532 * math/w_j1f.c: Likewise.
48533 * math/w_j1l.c: Likewise.
48534 * math/w_jn.c: Likewise.
48535 * math/w_jnf.c: Likewise.
48536 * math/w_log.c: Likewise.
48537 * math/w_log10.c: Likewise.
48538 * math/w_log10f.c: Likewise.
48539 * math/w_log10l.c: Likewise.
48540 * math/w_log2.c: Likewise.
48541 * math/w_log2f.c: Likewise.
48542 * math/w_log2l.c: Likewise.
48543 * math/w_logf.c: Likewise.
48544 * math/w_logl.c: Likewise.
48545 * math/w_sqrt.c: Likewise.
48546 * math/w_sqrtf.c: Likewise.
48547 * math/w_sqrtl.c: Likewise.
48548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48549 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48550 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48552 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48553
ebaf36eb
JM
485542012-02-19 Joseph Myers <joseph@codesourcery.com>
48555
48556 [BZ #9739]
48557 * manual/string.texi (strnlen): Use correct parameter name in
48558 equivalent expression.
48559
71c254a6
JM
485602012-02-19 Joseph Myers <joseph@codesourcery.com>
48561
48562 [BZ #11174]
48563 * manual/users.texi (seteuid): Consistently use neweuid for
48564 argument name.
48565
16d2c631
JM
485662012-02-19 Joseph Myers <joseph@codesourcery.com>
48567
48568 [BZ #13704]
48569 * manual/nss.texi (Services in the NSS configuration): Correct
48570 list of services in example configuration file.
48571
cd837b09
NB
485722012-02-19 Nick Bowler <nbowler@draconx.ca>
48573
48574 [BZ #11322]
48575 * manual/arith.texi: Remove statements about negative zero
48576 behaving identically to zero.
48577
02c4bbad
JM
485782012-02-18 Joseph Myers <joseph@codesourcery.com>
48579
48580 [BZ #5993]
48581 * manual/install.texi: Do not document upgrading from libc5.
48582
366842e7
JM
485832012-02-18 Joseph Myers <joseph@codesourcery.com>
48584
48585 [BZ #4596]
48586 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48587
dd54084d
DM
485882012-02-18 David S. Miller <davem@davemloft.net>
48589
48590 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48591 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48592 %o7 across the call.
48593 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48594 instead.
48595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48596 SETUP_PIC_REG_LEAF.
48597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48598 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48599 * sysdeps/sparc/crtn.S: Likewise.
48600
2bcc53a3
UD
486012012-02-17 Ulrich Drepper <drepper@gmail.com>
48602
48603 * aout/Makefile: Remove.
48604
09c093b5
RK
486052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48606
48607 [BZ #13058]
48608 * manual/examples/argp-ex1.c (main): Format definition in GNU
48609 style.
48610 * manual/examples/argp-ex2.c (main): Likewise.
48611 * manual/examples/argp-ex3.c (main): Likewise.
48612 * manual/examples/argp-ex4.c (main): Likewise.
48613 * manual/examples/longopt.c (main): Use new-style prototype
48614 definition.
48615 * manual/examples/strncat.c (main): Specify return type and use
48616 (void) for arguments.
48617 * manual/examples/subopt.c (main): Use char **argv argument.
48618
2ee633a2
JM
486192012-02-17 Joseph Myers <joseph@codesourcery.com>
48620
48621 [BZ #5077]
48622 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48623 rounding modes.
48624
0520adde
FB
486252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48626
48627 [BZ #6907]
48628 * manual/string.texi (strchr): Change when strchrnul is
48629 recommended.
48630
3f4081cd
DGM
486312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48632
48633 [BZ #174]
48634 * manual/locale.texi (setlocale): Document LOCPATH.
48635
d1b10e78
JM
486362012-02-17 Joseph Myers <joseph@codesourcery.com>
48637
48638 [BZ #10210]
48639 * manual/process.texi (execle): Move @dots{} before last argument.
48640
79c6869c
PB
486412012-02-17 Paul Bolle <pebolle@tiscali.nl>
48642
48643 [BZ #12047]
48644 * manual/charset.texi (Generic Charset Conversion): Fix typo
48645 (LC_TYPE -> LC_CTYPE).
48646
cc6e48bc
NB
486472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48648
48649 [BZ #5805]
48650 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48651 (scalbnf): Likewise.
48652 (scalbnl): Likewise.
48653 (scalbln): Likewise.
48654 (scalblnf): Likewise.
48655 (scalblnl): Likewise.
48656 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48657 (vwarnx): Likewise.
48658 (verr): Likewise.
48659 (verrx): Likewise.
48660 * manual/filesys.texi (telldir): Use braces around return type.
48661 * manual/llio.texi (mmap): Add space after comma.
48662 (mmap64): Likewise.
48663 * manual/math.texi (jn): Use @var{} on parameter names.
48664 (jnf): Likewise.
48665 (jnl): Likewise.
48666 (yn): Likewise.
48667 (ynf): Likewise.
48668 (ynl): Likewise.
48669 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48670 line.
48671 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48672 "...".
48673 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48674 (sched_get_priority_max): Likewise.
48675 * manual/signal.texi (sigvec): Add space after comma.
48676 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48677 names.
48678 (if_indextoname): Likewise.
48679 (if_freenameindex): Likewise.
48680 (sendto): Use ',' instead of '.' in prototype.
48681 * manual/startup.texi (syscall): Use @dots{} instead of literal
48682 "...".
48683 * manual/stdio.texi (__fpending): Separate initial words of
48684 paragraph from @deftypefun line.
48685 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48686 "...".
48687 (vsyslog): Use @var{} on parameter names.
48688 * manual/terminal.texi (stty): Use @var{} on parameter names.
48689 * manual/users.texi (getutmp): Use @var{} on parameter names.
48690 (getutmpx): Likewise.
48691
5b23062f
JM
486922012-02-17 Joseph Myers <joseph@codesourcery.com>
48693
48694 [BZ #6884]
48695 * manual/stdio.texi (fopen): Fix typos in description of
48696 ",ccs=STRING".
48697
8dee4833
AJ
486982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48699
48700 [BZ #4026]
48701 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48702 get clock_id definition.
48703
9078ce93
TS
487042012-02-17 Thomas Schwinge <thomas@schwinge.name>
48705
48706 [BZ #4822]
48707 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48708 (madvise): Cast every argument to void on its own.
48709
3835c55f
JM
487102012-02-17 Joseph Myers <joseph@codesourcery.com>
48711
48712 [BZ #9902]
48713 * manual/startup.texi (Exit Status): Fix typo.
48714
35c47e37
JM
487152012-02-17 Joseph Myers <joseph@codesourcery.com>
48716
48717 [BZ #10140]
48718 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48719 * manual/examples/argp-ex2.c: Likewise.
48720 * manual/examples/argp-ex3.c: Likewise.
48721
e3b69ca7
RH
487222012-02-16 Richard Henderson <rth@redhat.com>
48723
48724 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48725 * sysdeps/s390/s390-32/initfini.c: Remove.
48726 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48727 * sysdeps/s390/s390-64/initfini.c: Remove.
48728
df83af67
KK
487292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48730
48731 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48732 compiler output for sysdeps/generic/initfini.c.
48733 * sysdeps/sh/elf/initfini.c: Remove file.
48734
f63f3380
DM
487352012-02-16 David S. Miller <davem@davemloft.net>
48736
fb59b3a4
DM
48737 [BZ #11494]
48738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48739
f63f3380
DM
48740 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48741 * sysdeps/sparc/crti.S: New file.
48742 * sysdeps/sparc/crtn.S: New file.
48743 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48744 * sysdeps/sparc/sparc64/Makefile: Likewise.
48745
df6a4a4a
MF
487462012-02-15 Mike Frysinger <vapier@gentoo.org>
48747
6dd8f3dc 48748 [BZ #3335]
df6a4a4a
MF
48749 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48750
1cac7236
RM
487512012-02-15 Roland McGrath <roland@hack.frob.com>
48752
d2c736f8
RM
48753 [BZ #4822]
48754 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48755
1cac7236
RM
48756 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48757 (write, read, close): Likewise.
48758 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48759
8e475601
JM
487602012-02-15 Joseph Myers <joseph@codesourcery.com>
48761
48762 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48763 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48764 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48765 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48766 <bits/signalfd.h>.
48767 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48769 bits/signalfd.h.
48770
ed656b40
MP
487712012-02-14 Marek Polacek <polacek@redhat.com>
48772
48773 * sysdeps/x86_64/crti.S: New file.
48774 * sysdeps/x86_64/crtn.S: New file.
48775 * sysdeps/x86_64/elf/initfini.c: Remove file.
48776
2a979d3a
JM
487772012-02-13 Joseph Myers <joseph@codesourcery.com>
48778
48779 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48780 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48781 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48782 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48783 <bits/inotify.h>.
48784 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48786 bits/inotify.h.
48787
2a418ac3
JM
487882012-02-13 Joseph Myers <joseph@codesourcery.com>
48789
48790 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48791 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48792 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48793 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48794 <bits/eventfd.h>.
48795 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48797 bits/eventfd.h.
48798
fb779be7
TS
487992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48800
e19e83c5
RM
48801 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48802 __feraiseexcept instead of feraiseexcept.
7c35ffed 48803
fb779be7
TS
48804 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48805 nanosleep invocations.
48806 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48807 strings, and add error checking for a nanosleep invocations.
48808
59ba27a6
PE
488092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48810
48811 Replace FSF snail mail address with URLs, as per GNU coding standards.
48812 Most of the snail mail addresses were wrong anyway, and omitting
48813 them makes the source code easier to maintain. Almost all of the
48814 changes are to license notices and to locale LC_IDENTIFICATION
48815 addresses, except for this one:
48816 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48817 not its snail mail address.
48818
57b957eb
RH
488192012-02-09 Richard Henderson <rth@twiddle.net>
48820
af850b1c
RH
48821 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48822 of kernel-features.h.
48823
57b957eb
RH
48824 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48825
6b73181a
MP
488262012-02-08 Marek Polacek <polacek@redhat.com>
48827
48828 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48829 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48830 * sysdeps/gnu/_G_config.h: Likewise.
48831 * sysdeps/generic/_G_config.h: Likewise.
48832
26ecc33a
AS
488332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48834
6c6dbc63
AS
48835 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48836 tests.
48837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48838
e216c012
AS
48839 * sysdeps/powerpc/powerpc32/crti.S: New file.
48840 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48841 * sysdeps/powerpc/powerpc64/crti.S: New file.
48842 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48843
26ecc33a
AS
48844 * Makeconfig (have-initfini): Don't set.
48845 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48846 * configure.in (nopic_initfini): Don't substitute.
48847 * config.h.in (HAVE_INITFINI): Don't #undef.
48848 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48849 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48850
3add8e13
JM
488512012-02-08 Joseph Myers <joseph@codesourcery.com>
48852
48853 Support crti.S and crtn.S provided directly by architectures.
48854 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48855 [crti.S in sysdirs] (omit-deps): Likewise.
48856 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48857 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48858 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48859 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48860 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48861 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48862 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48863 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48864 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48865 compiler output for sysdeps/generic/initfini.c.
48866 * sysdeps/i386/elf/Makefile: Remove file.
48867 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48868
a22f12b4
MP
488692012-02-07 Marek Polacek <polacek@redhat.com>
48870
48871 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48872 * sysdeps/gnu/_G_config.h: Likewise.
48873 * sysdeps/mach/hurd/_G_config.h: Likewise.
48874
148cf100
MP
488752012-02-07 Marek Polacek <polacek@redhat.com>
48876
48877 * math/Makefile (tests): Add tst-CMPLX2.
48878 * math/tst-CMPLX2.c: New file.
48879
cfdc0dd7
AS
488802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48881
84ba42c4
AS
48882 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48883
cfdc0dd7
AS
48884 * math/libm-test.inc (jn_test): Add missing L suffix.
48885
622c86f4
MP
488862012-02-06 Marek Polacek <polacek@redhat.com>
48887
48888 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48889 * sysdeps/i386/fpu/e_powf.S: Likewise.
48890 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48891 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48892 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48893 * sysdeps/i386/fpu/e_pow.S: Likewise.
48894 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48895 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48896 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48897 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48898 * sysdeps/i386/fpu/e_log2.S: Likewise.
48899 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48900 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48901 * sysdeps/i386/fpu/e_powl.S: Likewise.
48902 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48903 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48904 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48905 * sysdeps/i386/fpu/e_logl.S: Likewise.
48906 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48907 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48908 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48909 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48910 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48911 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48912 * sysdeps/i386/fpu/e_log.S: Likewise.
48913 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48914 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48915 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48916 * sysdeps/i386/fpu/e_logf.S: Likewise.
48917 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48918 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48919 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48920 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48921 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48922 * sysdeps/i386/fpu/e_log10.S: Likewise.
48923 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48924 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48925 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48926 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48927 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48928 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48929 * sysdeps/i386/asm-syntax.h: Likewise.
48930 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48931 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48932 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48933 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48934 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48935 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48936 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48937 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48938 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48939 * sysdeps/powerpc/sysdep.h: Likewise.
48940 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48941 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48942
d4a54ac6
JM
489432012-02-06 Joseph Myers <joseph@codesourcery.com>
48944
48945 [BZ #411]
48946 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48947
314054ea
JM
489482012-02-06 Joseph Myers <joseph@codesourcery.com>
48949
48950 * sysdeps/i386/sysdep.h: Include <features.h>.
48951 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48952 version.
48953
d8e0ca50
JM
489542012-02-05 Joseph Myers <joseph@codesourcery.com>
48955
48956 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48957 Define.
48958 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48959 LOAD_PIC_REG_STR.
48960
b1da7dd9
JM
489612012-02-03 Joseph Myers <joseph@codesourcery.com>
48962
48963 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48964 (SETUP_PIC_REG): Use GET_PC_THUNK.
48965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48966 macro.
48967
9a1d9254
JM
489682012-02-03 Joseph Myers <joseph@codesourcery.com>
48969
48970 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48971 for non-PIC compilation.
48972 (SETUP_PIC_REG): Add .p2align directive.
48973 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48974 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48975 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48976 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48978 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48979 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48981 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48982 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48983 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48984 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48985 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48986 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48987 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48988 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48989 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48990 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48991 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48992 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48995 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48996 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48997 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49000 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49001 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49002 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49003 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49004 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49005 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49006 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49007 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49008 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49009 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49010 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49011 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49012 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49013 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49014
65dc3b75
JM
490152012-02-03 Joseph Myers <joseph@codesourcery.com>
49016
49017 * math/tst-CMPLX.c: Include <stdio.h>.
49018
d55bf177
JM
490192012-01-31 Joseph Myers <joseph@codesourcery.com>
49020
49021 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49022 float.
49023 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49024 * sysdeps/sparc/bits/mathdef.h: Likewise.
49025
69db4f8f
MP
490262012-01-31 Marek Polacek <polacek@redhat.com>
49027
49028 * libio/libio.h: Don't define _PARAMS.
49029 * locale/programs/config.h: Don't define PARAMS.
49030 * stdlib/strtol_l.c: Likewise.
49031 (__strtol_l): Remove PARAMS from the prototype.
49032
41b81892
UD
490332012-01-31 Ulrich Drepper <drepper@gmail.com>
49034
3b49edc0
UD
49035 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49036 names. Just use the correct names. Remove unnecessary wrapper
49037 functions.
49038 * malloc/arena.c: Likewise.
49039 * malloc/hooks.c: Likewise.
49040
41b81892
UD
49041 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49042 ARENA_TEST says not to. Simplify test for creation of a new arena.
49043 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49044
27a25b6e
UD
490452012-01-30 Ulrich Drepper <drepper@gmail.com>
49046
49047 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49048 into tail calls.
49049 (update_get_addr): New function.
49050 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49051 GET_ADDR_MODULE parameter.
49052
c8a89e7d
JM
490532012-01-30 Joseph Myers <joseph@codesourcery.com>
49054
49055 * crypt/cert.c: Remove __STDC__ conditionals.
49056 * crypt/crypt-entry.c: Likewise.
49057 * crypt/crypt_util.c: Likewise.
49058 * libio/filedoalloc.c: Likewise.
49059 * libio/fileops.c: Likewise.
49060 * libio/genops.c: Likewise.
49061 * libio/iofclose.c: Likewise.
49062 * libio/iofdopen.c: Likewise.
49063 * libio/iofopen.c: Likewise.
49064 * libio/iofopen64.c: Likewise.
49065 * libio/iogetdelim.c: Likewise.
49066 * libio/iopopen.c: Likewise.
49067 * libio/obprintf.c: Likewise.
49068 * libio/oldfileops.c: Likewise.
49069 * libio/oldiofclose.c: Likewise.
49070 * libio/oldiofdopen.c: Likewise.
49071 * libio/oldiofopen.c: Likewise.
49072 * libio/oldiopopen.c: Likewise.
49073 * libio/wfiledoalloc.c: Likewise.
49074 * libio/wgenops.c: Likewise.
49075 * locale/programs/xmalloc.c: Likewise.
49076 * misc/syslog.c: Likewise.
49077 * stdio-common/xbug.c: Likewise.
49078 * string/memchr.c: Likewise.
49079 * string/memcmp.c: Likewise.
49080 * string/memrchr.c: Likewise.
49081 * string/rawmemchr.c: Likewise.
49082 * sysdeps/posix/getcwd.c: Likewise.
49083 * time/strftime_l.c: Likewise.
49084
3b100462
JM
490852012-01-30 Joseph Myers <joseph@codesourcery.com>
49086
49087 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49088 * config.make.in (config-cflags-sse2avx): Define.
49089 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49090 Fix typo.
49091
607998af
CM
490922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49093
49094 * scripts/config.guess: Update from upstream config git repository.
49095 * scripts/config.sub: Likewise.
49096
3601428f
CM
490972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49098
3ac8b282
CM
49099 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49100 (EM_NUM): Update.
49101 (R_TILEPRO_*, R_TILEGX_*): New macros.
49102
e034841e
CM
49103 * scripts/firstversions.awk: Fix bug in version range handling.
49104
540d7568
CM
49105 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49106
3601428f
CM
49107 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49108
463de862
CM
49109 * include/sys/epoll.h: New file.
49110 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49111 libc_hidden_def.
49112
73139a76
UD
491132012-01-28 Ulrich Drepper <drepper@gmail.com>
49114
96bc5b45
UD
49115 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49116 Avoid unnecessary __WORDSIZE == 64 test.
49117 (fmaxf): Use VEX format if possible.
49118 (fmax): Likewise.
49119 (fminf): Likewise.
49120 (fmin): Likewise.
49121
56f6f6a2
UD
49122 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49123 * math/math_private.h: Remove libc_fegetround* and
49124 libc_fesetround*.
49125 * sysdeps/i386/configure.in: Check for -msse2avx.
49126 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49127 also if SSE2AVX is defined.
49128 Remove libc_fegetround* and libc_fesetround*.
49129 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49130 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49132 of HAS_YMM_USABLE.
49133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49134 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49138
73139a76
UD
49139 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49140
d73f93a4
AZ
491412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49142
49143 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49144 size is not set.
49145 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49146
6ee65ed6
UD
491472012-01-27 Ulrich Drepper <drepper@gmail.com>
49148
49149 [BZ #13618]
49150 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49151 relocation.
49152 * Makeconfig (libm): Define.
49153 * elf/Makefile: Add rules to build and run tst-relsort1.
49154 * elf/tst-relsort1.c: New file.
49155 * elf/tst-relsort1mod1.c: New file.
49156 * elf/tst-relsort1mod2.c: New file.
49157
8db21882
JM
491582012-01-27 Joseph Myers <joseph@codesourcery.com>
49159
49160 * math/s_ldexp.c: Remove __STDC__ conditionals.
49161 * math/s_ldexpf.c: Likewise.
49162 * math/s_ldexpl.c: Likewise.
49163 * math/s_nextafter.c: Likewise.
49164 * math/s_nexttowardf.c: Likewise.
49165 * math/s_significand.c: Likewise.
49166 * math/s_significandf.c: Likewise.
49167 * math/s_significandl.c: Likewise.
49168 * math/w_jnl.c: Likewise.
49169 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49170 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49171 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49172 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49173 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49174 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49175 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49176 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49177 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49178 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49179 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49181 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49182 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49183 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49184 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49185 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49186 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49190 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49191 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49193 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49194 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49196 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49197 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49198 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49199 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49200 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49203 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49204 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49205 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49206 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49207 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49208 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49209 * sysdeps/ieee754/k_standard.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49211 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49214 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49215 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49217 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49218 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49219 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49220 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49221 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49222 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49224 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49226 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49229 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49231 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49232 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49233 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49240 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49241 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49242 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49245 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49246 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49248 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49249 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49250 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49253 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49254 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49255 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49259 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49262 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49263 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49266 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49267 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49270 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49271 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49272 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49276 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49280 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49281 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49282 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49285 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49286 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49287 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49289 * sysdeps/ieee754/s_matherr.c: Likewise.
49290 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49291 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49294
965a54a4
JM
492952012-01-26 Joseph Myers <joseph@codesourcery.com>
49296
49297 * crypt/md5.h: Remove __STDC__ conditionals.
49298 * libio/libioP.h: Likewise.
49299 * locale/programs/config.h: Likewise.
49300 * sysdeps/generic/sysdep.h: Likewise.
49301 * sysdeps/i386/asm-syntax.h: Likewise.
49302 * sysdeps/s390/asm-syntax.h: Likewise.
49303 * sysdeps/unix/sysdep.h: Likewise.
49304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49306
7071ad79
JM
493072012-01-26 Joseph Myers <joseph@codesourcery.com>
49308
49309 * libio/libio.h: Remove __STDC__ conditionals.
49310 * malloc/obstack.h: Likewise.
49311 * math/complex.h: Likewise.
49312 * math/math.h: Likewise.
49313 * sysdeps/generic/_G_config.h: Likewise.
49314 * sysdeps/gnu/_G_config.h: Likewise.
49315 * sysdeps/mach/hurd/_G_config.h: Likewise.
49316 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49317 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49318 * sysdeps/sparc/bits/mathdef.h: Likewise.
49319
afc5ed09
UD
493202012-01-26 Ulrich Drepper <drepper@gmail.com>
49321
49322 [BZ #13583]
49323 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49324 Clean up HAS_* macros.
afc5ed09 49325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49326 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49327 possible.
49328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49329 HAS_AVX.
49330 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49331 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49335
bdb6de1d
JM
493362012-01-25 Joseph Myers <joseph@codesourcery.com>
49337
49338 * elf/tst-unique3.cc (gets): Remove declaration.
49339 * elf/tst-unique3lib.cc (gets): Likewise.
49340 * elf/tst-unique3lib2.cc (gets): Likewise.
49341 * elf/tst-unique4.cc (gets): Likewise.
49342
b15549e6
UD
493432012-01-24 Ulrich Drepper <drepper@gmail.com>
49344
49345 * include/stdio.h: Add C++ protection. Add gets declarations and
49346 definitions.
49347 * debug/tst-chk1.c: Don't declare gets here.
49348 * stdio-common/tst-gets.c: Likewise.
49349
a037381f
JM
493502012-01-24 Joseph Myers <joseph@codesourcery.com>
49351
49352 * posix/glob: Remove directory.
49353
f1d4aa75
JM
493542012-01-24 Joseph Myers <joseph@codesourcery.com>
49355
49356 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49357
81c0c964
PT
493582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49359
49360 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49361 of the non-standard EPFNOSUPPORT.
49362
0ea698ae
ST
493632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49364
49365 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49366 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49367 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49368
d220b117
UD
493692012-01-21 Ulrich Drepper <drepper@gmail.com>
49370
49371 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49372
3e1aa84e
UD
493732012-01-20 Ulrich Drepper <drepper@gmail.com>
49374
49375 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49376 transient errors.
49377 * nscd/grpcache.c (cache_addgr): Likewise.
49378 * nscd/hstcache.c (cache_addhst): Likewise.
49379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49380 * nscd/pwdcache.c (cache_addpw): Likewise.
49381 * nscd/servicescache.c (cache_addserv): Likewise.
49382
400aa020
UD
493832012-01-16 Ulrich Drepper <drepper@gmail.com>
49384
d77e7869
UD
49385 * malloc/malloc.c: Various cleanups.
49386 * malloc/hooks.c: Likewise.
49387
400aa020
UD
49388 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49389 * stdlib/bug-fmtmsg1.c: New file.
49390
49391 * stdlib/fmtmsg.c (init): Add missing unlock.
49392 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49393
e0a309cf
MP
493942012-01-12 Marek Polacek <polacek@redhat.com>
49395
49396 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49397 and _GNU_SOURCE.
49398
929d11c7
WS
493992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49400
49401 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49402 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49403 macro to ensure uniqueness of label name.
49404 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49405 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49406
41d0e869
UD
494072012-01-11 Ulrich Drepper <drepper@gmail.com>
49408
0cc5ed3b
UD
49409 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49410
41d0e869
UD
49411 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49412 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49414 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49415
a47a831a
UD
494162012-01-10 Ulrich Drepper <drepper@gmail.com>
49417
daa891c0
UD
49418 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49419
49420 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49421 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49422 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49423
e58ef0f2
UD
49424 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49425
a47a831a 49426 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49427 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49428 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49430
49431 * math/bits/math-finite.h: Add ldexp support.
49432
a0bfc9c7
MP
494332012-01-10 Marek Polacek <polacek@redhat.com>
49434
49435 * locale/programs/localedef.h (show_archive_content): Add noreturn
49436 attribute.
49437
d6e97a1d
UD
494382012-01-09 Ulrich Drepper <drepper@gmail.com>
49439
49440 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49441
d5835c26
UD
494422012-01-08 Ulrich Drepper <drepper@gmail.com>
49443
e5f484c6
UD
49444 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49445
d5835c26
UD
49446 * io/Makefile (headers): Add bits/poll2.h.
49447
d1f741e9
WS
494482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49449
49450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49451 typo #include statement.
49452
ec09c1c4
UD
494532012-01-08 Ulrich Drepper <drepper@gmail.com>
49454
49455 * include/sys/cdefs.h: Define __attribute_alloc_size.
49456 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49457 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49458 * elf/pldd.c: Likewise.
49459 * iconv/iconv_charmap.c: Likewise.
49460 * iconv/iconvconfig.c: Likewise.
49461 * iconv/strtab.c: Likewise.
49462 * locale/programs/locale.c: Likewise.
49463 * locale/programs/localedef.h: Likewise.
49464 * locale/programs/simple-hash.c: Likewise.
49465 * nscd/nscd.h: Likewise.
49466 * nss/makedb.c: Likewise.
49467 * sysdeps/generic/ldconfig.h: Likewise.
49468 * locale/programs/localedef.c: Remove xmalloc prototype.
49469 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49470
20b38e03
PP
494712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49472
49473 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49474 appropriate.
49475
a0da5fe1
UD
494762012-01-08 Ulrich Drepper <drepper@gmail.com>
49477
1d5a644a 49478 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49479 * math/tst-CMPLX.c: New file.
1d5a644a 49480
8784a6db
UD
49481 * math/complex.h (CMPLXL): Fix typo.
49482
d9a216c0
UD
49483 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49484 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49485 GLIBC_2.16.
49486 * debug/tst-chk1.c: Add poll and ppoll tests.
49487 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49488 * include/sys/poll.h: Add hidden proto for ppoll.
49489 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49490 * sysdeps/mach/hurd/ppoll.c: Likewise.
49491 * io/ppoll.c: Likewise.
49492 * debug/poll_chk.c: New file.
49493 * debug/ppoll_chk.c: New file.
49494 * include/bits/poll2.h: New file.
49495 * io/bits/poll2.h: New file.
49496
ac097f5c
UD
49497 [BZ #1350]
49498 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49499
2119dcfa
UD
49500 * configure.in: static is always set to yes. Remove.
49501 * config.make.in: Don't set build-static.
49502 * Makeconfig: Remove use of build-static.
49503 * dlfcn/Makefile: Likewise.
49504 * elf/Makefile: Likewise.
49505 * math/Makefile: Likewise.
49506 * misc/Makefile: Likewise.
49507 * nptl/Makefile: Likewise.
49508 * sysdeps/mach/hurd/Makefile: Likewise.
49509
121766a9
UD
49510 * configure.in: PWD_P is not used anymore.
49511 * config.make.in: Remove PWD_P entry.
49512
51a1d39c 49513 * configure.in: Remove last remnants of RANLIB.
8720d066 49514 No need to check for signed size_t anymore.
215f4bdc
UD
49515 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49516 and IA-64.
3857022a 49517 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49518 * aclocal.m4: Likewise.
49519
d3ed7225
UD
49520 * wcsmbs/mbrtoc16.c: Implement using towc function.
49521 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49522 * wcsmbs/wcsmbsload.c: Likewise.
49523 * iconv/gconv_simple.c: Likewise.
49524 * iconv/gconv_int.h: Likewise.
49525 * iconv/gconv_builtin.h: Likewise.
49526 * iconv/iconv_prog.c: Remove CHAR16 handling.
49527
49528 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49529
49530 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49531
a0da5fe1
UD
49532 * configure.in: Remove --with-elf and --enable-bounded options.
49533 Dont set base_machine for ia64. More non-ELF conditions removed.
49534 Remove testing and setting of leading underscore information.
49535 * config.make.in (build-bounded): Set to no.
49536 * config.h.in: Remove NO_UNDERSCORES entry.
49537 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49538 them.
49539 * csu/start.c: Remove !NO_UNDERSCORE code.
49540 * locale/localeinfo.h: Likewise.
49541 * sysdeps/generic/machine-gmon.h: Likewise.
49542 * sysdeps/generic/sysdep.h: Likewise.
49543 * sysdeps/i386/sysdep.h: Likewise.
49544 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49545 * sysdeps/mach/sysdep.h: Likewise.
49546 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49547 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49548 * sysdeps/sh/sysdep.h: Likewise.
49549 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49550 * sysdeps/unix/i386/sysdep.S: Likewise.
49551 * sysdeps/unix/sparc/start.c: Likewise.
49552 * sysdeps/unix/sparc/sysdep.S: Likewise.
49553 * sysdeps/unix/sparc/sysdep.h: Likewise.
49554 * sysdeps/unix/start.c: Likewise.
49555 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49556 * sysdeps/x86_64/sysdep.h: Likewise.
49557
df78418a
UD
495582012-01-07 Ulrich Drepper <drepper@gmail.com>
49559
a784e502
UD
49560 [BZ #13553]
49561 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49562 for non-gcc.
49563 * argp/argp-fmtstream.h: Use const instead __const.
49564 * argp/argp.h: Likewise.
49565 * assert/assert.h: Likewise.
49566 * bits/fenv.h: Likewise.
49567 * bits/sched.h: Likewise.
49568 * bits/sigset.h: Likewise.
49569 * bits/sigthread.h: Likewise.
49570 * catgets/nl_types.h: Likewise.
49571 * conform/data/pthread.h-data: Likewise.
49572 * crypt/crypt-private.h: Likewise.
49573 * crypt/crypt.h: Likewise.
49574 * crypt/crypt_util.c: Likewise.
49575 * ctype/ctype.h: Likewise.
49576 * debug/execinfo.h: Likewise.
49577 * debug/mbsnrtowcs_chk.c: Likewise.
49578 * debug/mbsrtowcs_chk.c: Likewise.
49579 * debug/wcsnrtombs_chk.c: Likewise.
49580 * debug/wcsrtombs_chk.c: Likewise.
49581 * debug/wcstombs_chk.c: Likewise.
49582 * dirent/dirent.h: Likewise.
49583 * dlfcn/dlfcn.h: Likewise.
49584 * elf/neededtest4.c: Likewise.
49585 * grp/grp.h: Likewise.
49586 * gshadow/gshadow.h: Likewise.
49587 * iconv/gconv.h: Likewise.
49588 * iconv/gconv_int.h: Likewise.
49589 * iconv/gconv_simple.c: Likewise.
49590 * iconv/iconv.h: Likewise.
49591 * iconv/loop.c: Likewise.
49592 * iconv/skeleton.c: Likewise.
49593 * include/aio.h: Likewise.
49594 * include/aliases.h: Likewise.
49595 * include/argz.h: Likewise.
49596 * include/arpa/inet.h: Likewise.
49597 * include/assert.h: Likewise.
49598 * include/dirent.h: Likewise.
49599 * include/dlfcn.h: Likewise.
49600 * include/execinfo.h: Likewise.
49601 * include/fcntl.h: Likewise.
49602 * include/fenv.h: Likewise.
49603 * include/glob.h: Likewise.
49604 * include/grp.h: Likewise.
49605 * include/libintl.h: Likewise.
49606 * include/mntent.h: Likewise.
49607 * include/netdb.h: Likewise.
49608 * include/pwd.h: Likewise.
49609 * include/rpc/netdb.h: Likewise.
49610 * include/sched.h: Likewise.
49611 * include/search.h: Likewise.
49612 * include/shadow.h: Likewise.
49613 * include/signal.h: Likewise.
49614 * include/stdio.h: Likewise.
49615 * include/stdlib.h: Likewise.
49616 * include/string.h: Likewise.
49617 * include/sys/socket.h: Likewise.
49618 * include/sys/stat.h: Likewise.
49619 * include/sys/statfs.h: Likewise.
49620 * include/sys/statvfs.h: Likewise.
49621 * include/sys/syslog.h: Likewise.
49622 * include/sys/time.h: Likewise.
49623 * include/sys/uio.h: Likewise.
49624 * include/time.h: Likewise.
49625 * include/unistd.h: Likewise.
49626 * include/utmp.h: Likewise.
49627 * include/wchar.h: Likewise.
49628 * include/wctype.h: Likewise.
49629 * inet/aliases.h: Likewise.
49630 * inet/arpa/inet.h: Likewise.
49631 * inet/netinet/ether.h: Likewise.
49632 * inet/netinet/in.h: Likewise.
49633 * intl/libintl.h: Likewise.
49634 * io/bits/fcntl2.h: Likewise.
49635 * io/fcntl.h: Likewise.
49636 * io/ftw.h: Likewise.
49637 * io/sys/poll.h: Likewise.
49638 * io/sys/stat.h: Likewise.
49639 * io/sys/statfs.h: Likewise.
49640 * io/sys/statvfs.h: Likewise.
49641 * io/utime.h: Likewise.
49642 * libio/bits/stdio.h: Likewise.
49643 * libio/bits/stdio2.h: Likewise.
49644 * libio/libio.h: Likewise.
49645 * libio/libioP.h: Likewise.
49646 * libio/stdio.h: Likewise.
49647 * locale/lc-ctype.c: Likewise.
49648 * locale/locale.h: Likewise.
49649 * login/utmp.h: Likewise.
49650 * malloc/arena.c: Likewise.
49651 * malloc/malloc.c: Likewise.
49652 * malloc/malloc.h: Likewise.
49653 * malloc/mcheck.c: Likewise.
49654 * malloc/mtrace.c: Likewise.
49655 * math/bits/mathcalls.h: Likewise.
49656 * math/fenv.h: Likewise.
49657 * math/math_private.h: Likewise.
49658 * misc/bits/error.h: Likewise.
49659 * misc/bits/syslog.h: Likewise.
49660 * misc/err.h: Likewise.
49661 * misc/error.h: Likewise.
49662 * misc/fstab.h: Likewise.
49663 * misc/mntent.h: Likewise.
49664 * misc/regexp.h: Likewise.
49665 * misc/search.h: Likewise.
49666 * misc/sgtty.h: Likewise.
49667 * misc/sys/mman.h: Likewise.
49668 * misc/sys/syslog.h: Likewise.
49669 * misc/sys/uio.h: Likewise.
49670 * misc/sys/xattr.h: Likewise.
49671 * misc/ttyent.h: Likewise.
49672 * nis/rpcsvc/ypclnt.h: Likewise.
49673 * nss/nss.h: Likewise.
49674 * posix/bits/unistd.h: Likewise.
49675 * posix/fnmatch.h: Likewise.
49676 * posix/glob.h: Likewise.
49677 * posix/sched.h: Likewise.
49678 * posix/spawn.h: Likewise.
49679 * posix/sys/wait.h: Likewise.
49680 * posix/unistd.h: Likewise.
49681 * posix/wordexp.h: Likewise.
49682 * pwd/pwd.h: Likewise.
49683 * resolv/netdb.h: Likewise.
49684 * resource/sys/resource.h: Likewise.
49685 * rt/aio.h: Likewise.
49686 * rt/bits/mqueue2.h: Likewise.
49687 * rt/mqueue.h: Likewise.
49688 * shadow/shadow.h: Likewise.
49689 * signal/signal.h: Likewise.
49690 * socket/send.c: Likewise.
49691 * socket/sendto.c: Likewise.
49692 * socket/sys/socket.h: Likewise.
49693 * stdio-common/printf.h: Likewise.
49694 * stdlib/bits/stdlib.h: Likewise.
49695 * stdlib/fmtmsg.h: Likewise.
49696 * stdlib/monetary.h: Likewise.
49697 * stdlib/stdlib.h: Likewise.
49698 * stdlib/ucontext.h: Likewise.
49699 * streams/stropts.h: Likewise.
49700 * string/argz.h: Likewise.
49701 * string/bits/string2.h: Likewise.
49702 * string/string.h: Likewise.
49703 * string/strings.h: Likewise.
49704 * sunrpc/rpc/auth.h: Likewise.
49705 * sunrpc/rpc/auth_des.h: Likewise.
49706 * sunrpc/rpc/clnt.h: Likewise.
49707 * sunrpc/rpc/netdb.h: Likewise.
49708 * sunrpc/rpc/pmap_clnt.h: Likewise.
49709 * sunrpc/rpc/xdr.h: Likewise.
49710 * sysdeps/generic/inttypes.h: Likewise.
49711 * sysdeps/generic/net/if.h: Likewise.
49712 * sysdeps/generic/sys/swap.h: Likewise.
49713 * sysdeps/gnu/net/if.h: Likewise.
49714 * sysdeps/gnu/utmpx.h: Likewise.
49715 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49716 * sysdeps/i386/i486/bits/string.h: Likewise.
49717 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49718 * sysdeps/s390/bits/string.h: Likewise.
49719 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49720 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49721 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49722 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49723 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49724 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49725 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49726 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49727 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49728 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49729 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49730 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49731 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49732 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49733 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49734 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49735 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49737 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49740 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49741 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49742 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49743 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49744 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49745 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49747 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49748 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49749 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49750 * sysvipc/sys/ipc.h: Likewise.
49751 * sysvipc/sys/msg.h: Likewise.
49752 * sysvipc/sys/sem.h: Likewise.
49753 * sysvipc/sys/shm.h: Likewise.
49754 * termios/termios.h: Likewise.
49755 * time/sys/time.h: Likewise.
49756 * time/time.h: Likewise.
49757 * wcsmbs/bits/wchar2.h: Likewise.
49758 * wcsmbs/uchar.h: Likewise.
49759 * wcsmbs/wchar.h: Likewise.
49760 * wctype/wctype.h: Likewise.
49761
0269750c
UD
49762 [BZ #13551]
49763 * Makeconfig: Remove all but ELF support including AIX support.
49764 * Makerules: Likewise.
49765 * config.h.in: Likewise.
49766 * config.make.in: Likewise.
49767 * configure: Likewise.
49768 * configure.in: Likewise.
49769 * csu/Makefile: Likewise.
49770 * csu/version.c: Likewise.
49771 * debug/Makefile: Likewise.
49772 * dlfcn/Makefile: Likewise.
49773 * elf/Makefile: Likewise.
49774 * extra-lib.mk: Likewise.
49775 * iconv/Makefile: Likewise.
49776 * include/libc-symbols.h: Likewise.
49777 * include/shlib-compat.h: Likewise.
49778 * resolv/Makefile: Likewise.
49779 * resolv/res_libc.c: Likewise.
49780 * rt/Makefile: Likewise.
49781 * sysdeps/i386/asm-syntax.h: Likewise.
49782 * sysdeps/i386/sysdep.h: Likewise.
49783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49784 * sysdeps/mach/sysdep.h: Likewise.
49785 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49786 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49787 * sysdeps/s390/asm-syntax.h: Likewise.
49788 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49790 * sysdeps/sh/sysdep.h: Likewise.
49791 * sysdeps/unix/sparc/sysdep.h: Likewise.
49792 * sysdeps/wordsize-32/divdi3.c: Likewise.
49793 * sysdeps/x86_64/sysdep.h: Likewise.
49794
00bbd29b
UD
49795 * argp/Versions: Remove _argp_unlock_xxx.
49796
49797 [BZ #13559]
49798 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49799 * abilist/libBrokenLocale.abilist: Likewise.
49800 * abilist/libanl.abilist: Likewise.
49801 * abilist/libc.abilist: Likewise.
49802 * abilist/libcrypt.abilist: Likewise.
49803 * abilist/libdl.abilist: Likewise.
49804 * abilist/libm.abilist: Likewise.
49805 * abilist/libnsl.abilist: Likewise.
49806 * abilist/libpthread.abilist: Likewise.
49807 * abilist/libresolv.abilist: Likewise.
49808 * abilist/librt.abilist: Likewise.
49809 * abilist/libthread_db.abilist: Likewise.
49810 * abilist/libutil.abilist: Likewise.
49811 * abilist/libnss_db.abilist: New file.
49812
49813 * scripts/abilist.awk: Add support for indirect functions.
49814
a2693a0e
UD
49815 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49816
3f05895f
UD
49817 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49818
ecb6fb48
UD
49819 * shlib-versions: Remove entries for ports architectures.
49820
664f8cb9
UD
49821 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49822 files in ports.
49823 * elf/stackguard-macros.h: Remove support for IA-64.
49824 * elf/tst-auditmod1.c: Likewise.
49825 * sysdeps/generic/ldsodefs.h: Likewise.
49826
7ae81d88
UD
49827 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49828 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49829 configure files.
49830
bdeba135
UD
49831 [BZ #13552]
49832 * configure.in: Remove --enable-omitfp support.
49833 * FAQ.in: Adjust.
49834 * config.make.in: Likewise.
49835 * Makeconfig: Likewise.
49836 * manual/install.texi: Likewise.
49837
d75a0a62
UD
49838 In case anyone cares, the IA-64 architecture could move to ports.
49839 * sysdeps/ia64/*: Removed.
49840 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49841 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49842
dcc9756b
UD
49843 [BZ #13555]
49844 * configure.in: Remove entries for unsupported architectures.
49845
d3761ebc 49846 [BZ #13533]
9954432e
UD
49847 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49848 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49849 routines.
49850 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49851 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49852 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49853 fall back to using wcrtomb.
49854 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49855 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49856 renaming.
49857 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49858 * wcsmbs/tst-c16c32-1.c: New file.
49859
49860 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49861 local variable.
49862
c3a87236
UD
49863 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49864
28926a1b
UD
49865 * elf/tst-unique3.cc: Add explicit declaration of gets.
49866 * elf/tst-unique3lib.cc: Likewise.
49867 * elf/tst-unique3lib2.cc: Likewise.
49868 * elf/tst-unique4.cc: Likewise.
49869
df78418a
UD
49870 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49871
8ecd6b2a
JM
498722012-01-06 Joseph Myers <joseph@codesourcery.com>
49873
49874 [BZ #13566]
49875 * assert/assert.h (static_assert): Don't define for C++.
49876 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49877 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49878
9f115170
UD
498792012-01-03 Ulrich Drepper <drepper@gmail.com>
49880
5e0d0300
UD
49881 * iconv/loop.c (single loop): Fix assertion in storing of
49882 remaining bytes.
49883
9f115170
UD
49884 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49885
81fb02b0
UD
498862012-01-01 Ulrich Drepper <drepper@gmail.com>
49887
49888 * posix/getconf.c: Update copyright year.
49889 * nss/getent.c: Likewise.
a316c1f6 49890 * nss/makedb.c: Likewise.
81fb02b0
UD
49891 * iconv/iconvconfig.c: Likewise.
49892 * iconv/iconv_prog.c: Likewise.
49893 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49894 * elf/pldd.c: Likewise.
49895 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49896 * catgets/gencat.c: Likewise.
49897 * csu/version.c: Likewise.
49898 * elf/ldd.bash.in: Likewise.
49899 * elf/sprof.c (print_version): Likewise.
49900 * locale/programs/locale.c: Likewise.
49901 * locale/programs/localedef.c: Likewise.
a316c1f6 49902 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49903 * nscd/nscd.c (print_version): Likewise.
49904 * debug/xtrace.sh: Likewise.
49905 * malloc/memusage.sh: Likewise.
49906 * malloc/mtrace.pl: Likewise.
49907 * debug/catchsegv.sh: Likewise.
49908
2ba92745
JJ
499092011-12-30 Jakub Jelinek <jakub@redhat.com>
49910
49911 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49912 pure attribute.
49913
dadebdae
UD
499142011-12-24 Ulrich Drepper <drepper@gmail.com>
49915
d3761ebc 49916 [BZ #13533]
db6af3eb
UD
49917 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49918 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49919 transformations.
49920 * iconv/gconv_int.h: Likewise.
49921 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49922 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49923 from libc for GLIBC_2.16.
49924 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49925 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49926 * wcsmbs/uchar.h: Really define mbstate_t.
49927 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49928 * wcsmbs/c16rtomb.c: New file.
49929 * wcsmbs/mbrtoc16.c: New file.
49930 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49931 for C/POSIX locale.
49932 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49933 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49934
dadebdae
UD
49935 * wcsmbs/wchar.h: Add missing __restrict.
49936
67371b56
UD
499372011-12-23 Ulrich Drepper <drepper@gmail.com>
49938
74033a25
UD
49939 [BZ #13532]
49940 * time/Makefile (routines): Add timespec_get.
49941 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49942 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49943 timespec for ISO C11.
49944 * time/timespec_get.c: New file.
49945 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49946 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49947
380d7e87
UD
49948 [BZ #13531]
49949 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49950 * stdlib/stdlib.h: Declare aligned_alloc.
49951 * Versions.def: Add GLIBC_2.16 for libc.
49952 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49953
4e9e7a35
UD
49954 [BZ 13527]
49955 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49956 ISO C11.
49957
380d7e87 49958 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49959 code.
49960
03a71829
UD
49961 [BZ #13528]
49962 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49963
839e283e
UD
49964 [BZ #13529]
49965 * assert/assert.h (static_assert): Define.
49966
ce5294e2 49967 * version.h: Update for 2.16 development version.
90fa7312 49968
8d44e150 49969 [BZ #13526]
d7809905
UD
49970 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49971 _ISOC11_SOURCE.
49972
c0da14cd
UD
49973 * version.h (RELEASE): Bump for 2.15 release.
49974 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49975
530a3249
MP
49976 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49977 Patch by Marek Polacek <mpolacek@redhat.com>.
49978
67371b56
UD
49979 * bits/byteswap.h: Protect long long constants with __extension__.
49980 * sysdeps/i386/bits/byteswap.h: Likewise.
49981 * sysdeps/ia64/bits/byteswap.h: Likewise.
49982 * sysdeps/s390/bits/byteswap.h: Likewise.
49983 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49984
15db4de1
LD
499852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49986
49987 [BZ #13540]
bbe315ea
LD
49988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49989 destination buffer.
15db4de1
LD
49990 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49991
2b2596b1
MP
499922011-12-23 Marek Polacek <polacek@redhat.com>
49993
49994 * elf/dl-addr.c (determine_info): Add inline keyword.
49995 * elf/tst-auditmod4b.c (check_avx): Likewise.
49996 * elf/tst-auditmod6b.c (check_avx): Likewise.
49997 * elf/tst-auditmod6c.c (check_avx): Likewise.
49998 * elf/tst-auditmod7b.c (check_avx): Likewise.
49999
70c6c246
UD
500002011-12-23 Ulrich Drepper <drepper@gmail.com>
50001
50002 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50003 !__SSE_MATH__.
50004
c044cf14
LD
500052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50006
15db4de1 50007 [BZ #13540]
c044cf14
LD
50008 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50009 processing for last bytes.
50010
6b13d9d9
BH
500112011-08-06 Bruno Haible <bruno@clisp.org>
50012
d455f537
BH
50013 [BZ #13061]
50014 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50015 U+0385, not to U+1FEE.
50016
6b13d9d9
BH
50017 [BZ #13062]
50018 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50019 entry for U+00A5 U+0301.
50020
db910efd
UD
500212011-12-22 Ulrich Drepper <drepper@gmail.com>
50022
27deeafc
UD
50023 [BZ #13166]
50024 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50025 buffer for the output is too small.
50026
aed9d171
UD
50027 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50028 optimization.
50029
db910efd
UD
50030 [BZ #13185]
50031 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50032 SSE flags if possible.
50033
2bd779ae
LD
500342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50035
e7f9dac3 50036 [BZ #13540]
2bd779ae
LD
50037 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50038 processing for last bytes.
50039
154bfc16
JM
500402011-12-22 Joseph Myers <joseph@codesourcery.com>
50041
50042 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50043 (syscall-list-default-options, syscall-list-default-condition)
50044 (syscall-list-includes): Define.
50045 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50046 list of ABIs and options and #if conditions for each ABI. Do not
50047 handle common syscalls between ABIs specially.
50048 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50049 Remove.
50050 (syscall-list-variants, syscall-list-32bit-options)
50051 (syscall-list-32bit-condition, syscall-list-64bit-options)
50052 (syscall-list-64bit-condition): Define.
50053 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50054 (syscall-list-variants, syscall-list-32bit-options)
50055 (syscall-list-32bit-condition, syscall-list-64bit-options)
50056 (syscall-list-64bit-condition): Define.
50057 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50058 Remove.
50059 (syscall-list-variants, syscall-list-32bit-options)
50060 (syscall-list-32bit-condition, syscall-list-64bit-options)
50061 (syscall-list-64bit-condition): Define.
50062 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50063 Remove.
50064 (syscall-list-variants, syscall-list-32bit-options)
50065 (syscall-list-32bit-condition, syscall-list-64bit-options)
50066 (syscall-list-64bit-condition): Define.
50067
21eaf3a5
UD
500682011-12-22 Ulrich Drepper <drepper@gmail.com>
50069
16c6f992
UD
50070 * locale/iso-639.def: Add brx entry.
50071
41043168
UD
50072 [BZ #13328]
50073 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50074 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50075
21eaf3a5
UD
50076 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50077 __feraiseexcept_renamed.
50078
e3a851a2
UD
500792011-12-21 Ulrich Drepper <drepper@gmail.com>
50080
4920765e
UD
50081 [BZ #13538]
50082 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50083 EPOLLET with unsigned values.
50084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50085 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50086
e3a851a2
UD
50087 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50088 to large cancellation.
50089 * math/s_cacoshf.c: Likewise.
50090 * math/s_cacoshl.c: Likewise.
50091
b27e24b8
RK
500922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50093
50094 [BZ #13305]
aebefeee 50095 [BZ #12786]
b27e24b8
RK
50096 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50097 * math/s_cacoshf.c: Likewise.
50098 * math/s_cacoshl.c: Likewise.
50099
ee190f67
UD
501002011-12-21 Ulrich Drepper <drepper@gmail.com>
50101
50102 [BZ #13439]
50103 * iconv/gconv.h: Define __GCONV_SWAP.
50104 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50105 * iconvdata/utf-16.c: Likewise.
50106 * iconvdata/utf-32.c: Likewise.
50107
707f25df
AS
501082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50109
50110 [BZ #13524]
50111 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50112 numerator after shifting it by one limb.
50113
d2daaa1e
RÁE
501142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50115
50116 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50117 under [__USE_EXTERN_INLINES].
50118
a4647e72
UD
501192011-12-17 Ulrich Drepper <drepper@gmail.com>
50120
50121 [BZ #13446]
50122 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50123
f0b264f1
AZ
501242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50125
50126 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50127 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50128 optimized code.
50129 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50130 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50131 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50132 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50133 for strncasecmp/strncasecmp_l compilation.
50134 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50135 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50136
8ef4f244
MP
501372011-12-08 Marek Polacek <mpolacek@redhat.com>
50138
50139 [BZ #13484]
50140 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50141 of __asm__.
50142
97ac2654
UD
501432011-12-17 Ulrich Drepper <drepper@gmail.com>
50144
50145 [BZ #13506]
50146 * time/tzfile.c (__tzfile_read): Check values from file header.
50147
91d2a845
WS
501482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50149
50150 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50151 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50152 * powerpc/powerpc32/dl-start.S: Likewise.
50153 * powerpc/powerpc32/elf/start.S: Likewise.
50154 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50155 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50156 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50157 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50158 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50159 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50160 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50161 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50162 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50163 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50164 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50165 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50166 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50167 * powerpc/powerpc32/memset.S: Likewise.
50168 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50169 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50170 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50171 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50172 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50173 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50174 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50175 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50176 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50177 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50178 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50179 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50180 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50181
a1267ba1
AZ
501822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50183
50184 * math/libm-test.inc: Added more nearbyint tests.
50185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50186 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50189
ad8ac1bd
RL
501902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50191
50192 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50193 FD_CLOEXEC.
50194
1d3e4b61
UD
501952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50196
50197 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50198 Add wcscpy-ssse3 wcscpy-c.
50199 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50200 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50201 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50202 * sysdeps/x86_64/wcschr.S: New file.
50203 * sysdeps/x86_64/wcsrchr.S: New file.
50204 * string/test-strcmp.c: Remove checking of wcscmp function for
50205 wrong alignments.
50206 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50207 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50208 wcsrchr-sse2 wcsrchr-c.
50209 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50210 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50211 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50212 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50213 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50214 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50215 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50216 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50217 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50218 * wcsmbc/wcschr.c (WCSCHR): New macro.
50219
5b330a2d
UD
502202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50221
50222 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50223 * wcsmbs/test-wcsrchr.c: New file.
50224 * string/test-strrchr.c: Add wcsrchr support.
50225 (WIDE): New macro.
50226 * wcsmbs/test-wcscpy.c: New file.
50227 * string/test-strcpy.c: Add wcscpy support.
50228 (WIDE): New macro.
26428b7c 50229
f039c043
UD
502302011-12-10 Ulrich Drepper <drepper@gmail.com>
50231
50232 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50233 the inner loop.
50234
850fb039
AS
502352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50236
50237 [BZ #13472]
50238 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50239
4efbd5cb
UD
502402011-12-04 Ulrich Drepper <drepper@gmail.com>
50241
52ff5dd0 50242 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50243 Minor optimizations.
52ff5dd0 50244
4efbd5cb
UD
50245 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50246 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50247 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50248
8a426e12
UD
502492011-12-03 Ulrich Drepper <drepper@gmail.com>
50250
aff2453d
UD
50251 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50252 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50253 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50254 for gcc to avoid warnings.
50255 * inet/Makefile (tests): Add tst-checks.
50256 * inet/tst-checks.c: New file.
50257
50258 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50259 warning.
50260
50261 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50262 __wmemcmp_sse2.
50263
50264 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50265 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50266
8a426e12
UD
50267 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50268
9bea3473
UD
502692011-12-02 Ulrich Drepper <drepper@gmail.com>
50270
3a965496
UD
50271 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50272 problem.
50273
9bea3473
UD
50274 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50275
f101631b
UD
502762011-11-29 Joseph Myers <joseph@codesourcery.com>
50277
50278 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50279 conditional on GCC version.
50280 (__arch_compare_and_exchange_val_8_acq)
50281 (__arch_compare_and_exchange_val_16_acq)
50282 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50283 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50284 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50285
a98275aa
UD
502862011-12-02 Joseph Myers <joseph@codesourcery.com>
50287
50288 * sysdeps/sh/backtrace.c: New file.
50289
d4cc29a2
AS
502902011-12-02 Andreas Schwab <schwab@redhat.com>
50291
50292 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50293 parenthesis.
50294
6257af2d
AS
502952011-12-01 Andreas Schwab <schwab@redhat.com>
50296
50297 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50298 falling back to utime.
50299
b5f44c1a
AS
503002011-11-30 Andreas Schwab <schwab@redhat.com>
50301
50302 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50303 expectations for float.
50304
f3a6cc0a
AS
503052011-11-29 Andreas Schwab <schwab@redhat.com>
50306
50307 * locale/weight.h (findidx): Add parameter len.
50308 * locale/weightwc.h (findidx): Likewise.
50309 * posix/fnmatch_loop.c (FCT): Adjust caller.
50310 * posix/regcomp.c (build_equiv_class): Likewise.
50311 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50312 * posix/regexec.c (check_node_accept_bytes): Likewise.
50313 * string/strcoll_l.c (STRCOLL): Likewise.
50314 * string/strxfrm_l.c (STRXFRM): Likewise.
50315
9d65ea3a
UD
503162011-11-17 Ulrich Drepper <drepper@gmail.com>
50317
50318 * Makefile.in: Remove CVSOPT handling.
50319 * configure.in: Remove use of AC_REVISION.
50320 * iconvdata/Makefile (distribute): No need to filter out CVS.
50321 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50322 handling.
50323
5583a086
AS
503242011-11-16 Andreas Schwab <schwab@redhat.com>
50325
50326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50327 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50328 [USE_AS_STRNCASECMP_L]: Likewise.
50329 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50330 NO_TLS_DIRECT_SEG_REFS.
50331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50332 Fix argument offsets for non-PIC.
50333 [USE_AS_STRNCASECMP_L]: Likewise.
50334 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50335 NO_TLS_DIRECT_SEG_REFS.
50336
d62a8200
UD
503372011-11-15 Ulrich Drepper <drepper@gmail.com>
50338
9d65ea3a 50339 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50340 O_CLOEXEC.
50341 * locale/loadlocale.c (_nl_load_locale): Likewise.
50342
09f93bd3
AS
503432011-11-15 Andreas Schwab <schwab@redhat.com>
50344
446514f9
AS
50345 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50346 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50348 (SYSCALL_GETTIME): Set errno on error.
50349
09f93bd3
AS
50350 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50351 count references to noai6ai_cached.
50352
312be3f9
UD
503532011-11-15 Ulrich Drepper <drepper@gmail.com>
50354
50355 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50356
50357 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50358 FD_CLOEXEC for /proc/self/maps.
50359
50360 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50361 FD_CLOEXEC for /proc/meminfo.
50362
50363 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50364 gai.conf.
50365
50366 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50367 FD_CLOEXEC for given file.
50368
50369 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50370
50371 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50372 FD_CLOEXEC for /etc/hosts.
50373 (_gethtent): Likewise.
50374
50375 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50376
50377 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50378 cancellation and set FD_CLOEXEC for /etc/netgroup.
50379
50380 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50381 reading /etc/publickey.
50382
50383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50384 allow cancellation when reading /etc/group.
50385
50386 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50387 cancellation.
50388 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50389
50390 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50391 when using data file.
50392
50393 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50394
50395 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50396 (write_nis_obj): Use "c" and "e" in fopen.
50397
50398 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50399
50400 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50401
50402 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50403
50404 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50405
50406 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50407 locale.alias.
50408
50409 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50410
50411 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50412
50413 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50414
50415 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50416 file parsing and set FD_CLOEXEC.
50417
82af0fa8
UD
504182011-11-14 Ulrich Drepper <drepper@gmail.com>
50419
50420 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50421
a5fb313c
AS
504222011-11-14 Andreas Schwab <schwab@redhat.com>
50423
50424 * malloc/arena.c (arena_get2): Don't call reused_arena when
50425 _int_new_arena failed.
50426
6abf3465
UD
504272011-11-14 Ulrich Drepper <drepper@gmail.com>
50428
50429 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50430 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50431 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50435 to compile strcasecmp and strncasecmp.
50436 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50437 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50438
50439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50440
76e3966e
UD
504412011-11-13 Ulrich Drepper <drepper@gmail.com>
50442
50443 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50444 locale-defines.sym to gen-as-const-headers.
50445 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50446 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50448 to compile strcasecmp and strncasecmp.
50449 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50450 strcasecmp_l and strncasecmp_l.
50451 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50452 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50453 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50454 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50455 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50456 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50457 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50458 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50459 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50460 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50461 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50462
ab26144e
UD
504632011-11-12 Ulrich Drepper <drepper@gmail.com>
50464
7edb22ef
UD
50465 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50466 result of SYSDEP_GETTIME_CPU to retval.
50467 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50468 parameter list to macro. Remove trailing semicolon. Adjust users.
50469
9694fc44
UD
50470 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50471 variable.
50472
8ad89ef8
UD
50473 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50474 mantissa words.
50475 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50476
0c822ef9
UD
50477 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50478 from unused variable.
50479
874e0564
UD
50480 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50481 DWARF definitions.
50482 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50483 for assembling.
50484
3a2edc79
UD
50485 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50486 over namespaces.
50487
f3c2577f
UD
50488 * sunrpc/rpc_prot.c (rejected): Fix case value.
50489
294ce126
UD
50490 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50491 unsigned long long int to avoid warnings in shift.
50492
5e2b63c6
UD
50493 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50494 of use of trans.
50495 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50496 variable tmp.
50497
e7f4b08e
UD
50498 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50499 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50500 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50501
ab26144e
UD
50502 * nis/nis_table.c (nis_list): Use variable of correct type for
50503 result of __follow_path call.
50504
8a6d5255
AZ
505052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50506
50507 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50508 of math functions ceil, trunc, floor, round, and sqrt, when
50509 avaliable on the platform.
50510 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50511 name clash.
50512 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50513 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50514 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50515
aaddc98c
MP
505162011-10-30 Marek Polacek <mpolacek@redhat.com>
50517
50518 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50519 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50520
95b7042b
RM
505212011-11-11 Roland McGrath <roland@hack.frob.com>
50522
50523 * include/unistd.h: Fix __readlink return type.
50524 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50525
57769839
UD
505262011-11-11 Ulrich Drepper <drepper@gmail.com>
50527
50528 * stdlib/ucontext.h: Undo last change for makecontext.
50529
edc5984d
AS
505302011-11-11 Andreas Schwab <schwab@redhat.com>
50531
98591e58
AS
50532 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50533
edc5984d
AS
50534 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50535 * setjmp/setjmp.h: Mark functions as non-leaf.
50536 * setjmp/bits/setjmp2.h: Likewise.
50537 * stdlib/ucontext.h: Likewise.
50538
77cdc054
AS
505392011-11-10 Andreas Schwab <schwab@redhat.com>
50540
50541 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50542 (reused_arena): Don't check arena limit.
50543 (arena_get2): Atomically check arena limit.
50544
fe72eebd
UD
505452011-11-08 Ulrich Drepper <drepper@gmail.com>
50546
5f078c32
UD
50547 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50548 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50549
fe72eebd
UD
50550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50551 instructions.
50552
ae1bc2fa
AS
505532011-11-07 Andreas Schwab <schwab@redhat.com>
50554
7583a88d
AS
50555 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50556 handler when locking.
50557
ae1bc2fa
AS
50558 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50559 Fix size of allocated buffer.
50560
10fb0bfa
AS
505612011-11-04 Andreas Schwab <schwab@redhat.com>
50562
998832a4
AS
50563 [BZ #10103]
50564 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50565 declarations for long double functions.
50566 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50567
10fb0bfa
AS
50568 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50569
3d7ba52b
AS
505702011-11-03 Andreas Schwab <schwab@redhat.com>
50571
a9ae54a1
AS
50572 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50573 installed.
50574
3d7ba52b
AS
50575 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50576 is disabled.
50577
bc8db248
ST
505782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50579
50580 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50581
45b96dd6
AS
505822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50583
647776f6
AS
50584 * include/alloca.h (stackinfo_alloca_round): Define.
50585 (extend_alloca): Use it.
50586 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50587 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50588 here.
50589
d91a8b93
AS
50590 * scripts/check-local-headers.sh: Ignore libaudit.h.
50591
45b96dd6
AS
50592 * nscd/Makefile (extra-objs): Make recursively expanded.
50593
432d41ce
UD
505942011-11-01 Ulrich Drepper <drepper@gmail.com>
50595
34372fc6
UD
50596 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50598
fadb59f8
UD
50599 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50600 * posix/tst-rfc3484-2.c: Likewise.
50601 * posix/tst-rfc3484-3.c: Likewise.
50602
78239589
UD
50603 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50604 process_vm_writev.
50605 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50606 process_vm_writev.
50607 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50608 process_vm_writev from libc using GLIBC_2.15 version.
50609
432d41ce
UD
50610 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50611
02f9c6cf
PP
506122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50613
50614 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50615 stack usage.
50616
3a2c0242
UD
506172011-10-31 Ulrich Drepper <drepper@gmail.com>
50618
f4ec4833
UD
50619 [BZ #13367]
50620 * nss/getent.c (initgroups_keys): Show error message in case no group
50621 names are given.
50622
3a2c0242
UD
50623 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50624 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50625 __bump_nl_timestamp.
50626 * nscd/connections (nscd_init): When host database is served open
50627 netlink socket and request notification about configuration changes.
50628 (main_loop_poll): Track netlink file descriptor and bump timestamp
50629 in case data becomes available.
50630 (main_loop_epoll): Likewise.
50631 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50632 (database_pers_head): Add extra_data fileds.
50633 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50634 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50635 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50636 Adjust caller.
50637 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50638 in6ai data, call __free_in6ai.
50639 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50640 Add -DHAVE_NETLINK.
50641 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50642 interface information. Reuse previous data if netlink timestamp
50643 is not changed.
50644 (__bump_nl_timestamp): New function.
50645 (__free_in6ai): New function.
50646
636064eb
UD
506472011-10-30 Ulrich Drepper <drepper@gmail.com>
50648
50649 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50650 close_not_cancel_no_status here.
50651 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50652
9beb2334
UD
506532011-10-29 Ulrich Drepper <drepper@gmail.com>
50654
6ef76f3b
UD
50655 [BZ #13276]
50656 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50657 return value.
50658
0ffc4f3e 50659 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50660 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50661 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50662
cb95113e
UD
506632011-07-03 Andreas Jaeger <aj@suse.de>
50664
50665 [BZ #10709]
50666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50667 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50668 * math/libm-test.inc (sin_test): Add test case.
50669
a1b560ff
UD
506702011-10-29 Ulrich Drepper <drepper@gmail.com>
50671
c9aaface
UD
50672 [BZ #13337]
50673 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50674 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50675
d272e7f1
UD
50676 * elf/chroot_canon.c (chroot_canon): Cleanups.
50677
1bc33071
UD
50678 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50679
1760874d
TJ
50680 [BZ #13335]
50681 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50682 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50683
51d91b18
UD
50684 * string/test-strchr.c: Make usable for strchrnul testing.
50685 * string/test-strchrnul.c: New file.
50686 * string/Makefile (strop-tests): Add strchrnul.
50687
a1b560ff 50688 * po/it.po: Update from translation team.
b611fb81 50689 * po/es.po: Likewise.
a1b560ff 50690
a5b81e1f
UD
506912011-10-28 Ulrich Drepper <drepper@gmail.com>
50692
fd52bc6d
UD
50693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50694 the three constants needed as parameters. Drop the others.
50695 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50696 __m128i_strloadu_tolower.
52e4b9eb
UD
50697 Create and initialize variable zero and use it in all the places
50698 where _mm_setzero_si128 was used.
fd52bc6d 50699
a5b81e1f
UD
50700 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50701 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50702 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50704 anymore.
50705 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50706 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50707 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50708 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50709 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50710 __mpranred, __mptan.
50711 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50712 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50713 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50714 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50715 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50716 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50719 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50720
b4343346
AS
507212011-10-28 Andreas Schwab <schwab@redhat.com>
50722
0c92d8a8
AS
50723 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50724 redefine if SHARED.
50725 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50726
b4343346
AS
50727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50728 wide char related routines to wcsmbs subdir.
50729
3871f58f
AS
507302011-10-27 Andreas Schwab <schwab@redhat.com>
50731
50732 [BZ #13344]
50733 * misc/sys/cdefs.h (__THROWNL): Define.
50734 * posix/unistd.h: Use __THREADNL instead of __THREAD
50735 for memory synchronization functions.
50736
94d44d9f
RM
507372011-10-26 Roland McGrath <roland@hack.frob.com>
50738
21b64b15 50739 [BZ #13349]
94d44d9f
RM
50740 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50741 doesn't exist.
50742 * manual/stdio.texi (Obstack Streams): Node removed.
50743
f6ce9294
AS
507442011-10-26 Andreas Schwab <schwab@redhat.com>
50745
80479147
AS
50746 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50748 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50749
f6ce9294
AS
50750 * math/math_private.h (math_force_eval): Allow non-addressable
50751 arguments.
50752 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50753
618280a1
UD
507542011-10-25 Ulrich Drepper <drepper@gmail.com>
50755
e0016b11
UD
50756 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50757 file is not needed.
50758
50759 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50761 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50762 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50766 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50767 Add AVX variants.
50768 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50769 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50770 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50771 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50772 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50773 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50774 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50776 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50777 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50778 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50779 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50781 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50782 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50783 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50784 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50785 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50786 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50787
50788 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50789 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50790
618280a1
UD
50791 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50792 place. Use VEX encoding when compiling for AVX.
50793
37822576
AS
507942011-10-25 Andreas Schwab <schwab@redhat.com>
50795
1f1e1947
AS
50796 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50797 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50798
37822576
AS
50799 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50800
31ea014d
UD
508012011-10-25 Ulrich Drepper <drepper@gmail.com>
50802
d7826aa1 50803 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50804 useless if() expression.
d7826aa1
UD
50805 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50806 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50807 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50808 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50809 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50810 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50811 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50813 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50814 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50815 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50817 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50818 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50819 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50820 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50821 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50822 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50824
31ea014d
UD
50825 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50826
16437fec
AS
508272011-10-25 Andreas Schwab <schwab@redhat.com>
50828
50829 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50830 condition.
50831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50832
31d3cc00
UD
508332011-10-25 Ulrich Drepper <drepper@gmail.com>
50834
50835 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50836 .text section. Avoid duplicate constants.
50837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50839 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50845 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50846 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50847 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50848 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50849 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50850 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50851 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50853 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50854 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50855 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50857 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50858 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50859 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50864 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50865 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50867 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50868 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50869 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50870 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50871 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50872 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50873 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50875 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50876 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50877 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50879 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50880 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50881 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50882
58985aa9
UD
508832011-10-24 Ulrich Drepper <drepper@gmail.com>
50884
202c9deb
UD
50885 * sysdeps/x86_64/dla.h: Move to ...
50886 * sysdeps/x86_64/fpu/dla.h: ...here.
50887 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50888 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50889
af968f62
UD
50890 * config.make.in: Add have-mfma4 entry.
50891 * configure.in: Substitute libc_cv_cc_fma4.
50892 * math/Makefile (dbl-only-routines): Add sincostab.
50893 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50894 Use __sincostab not sincos.
50895 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50896 name is a macro.
50897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50901 using __copysign.
50902 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50903 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50904 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50905 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50906 and __inv.
50907 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50908 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50909 __copysign.
50910 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50911 define aliases when function name is a macro.
50912 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50913 sysdeps/ieee754/dbl-64/sincos.tbl.
50914 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50915 fma4-enabled routines.
50916 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50917 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50918 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50919 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50920 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50921 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50923 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50924 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50925 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50926 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50927 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50928 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50929 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50931 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50932 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50933 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50934 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50935 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50936 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50937 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50939 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50940 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50941 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50942 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50943 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50944 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50945 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50946
58985aa9
UD
50947 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50948 rename.
50949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50955 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50957
a201fbcf
AS
509582011-10-24 Andreas Schwab <schwab@redhat.com>
50959
50960 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50961
fc2ee42a
LD
509622011-10-23 Ulrich Drepper <drepper@gmail.com>
50963
bb3129bd
UD
50964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50965
0275fff8
UD
50966 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50967 prediction.
50968 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50969
2fa2ae85
UD
50970 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50971 Remove unused variable magic_bits.
50972 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50973
fc2ee42a
LD
50974 * string/strnlen.c: Define and use STRNLEN macro.
50975 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50976 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50978 * wcsmbs/wcslen.c: Define and use WCSLEN.
50979 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50980 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50981 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50982 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50983 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50984 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50985 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50986
ce7dd29f
LD
509872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50988
50989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50990 strnlen-sse2-no-bsf.
50991 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50993 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50994 Add strnlen support.
50995 (USE_AS_STRNLEN): New macro.
50996 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50998 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50999 * sysdeps/x86_64/wcslen.S: New file.
51000
979c70a3
MZ
510012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51002
51003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51004 XMM-moves are used for copying on small sizes.
51005
2d09f82f
LD
510062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51007
51008 * wcsmbs/Makefile (strop-tests): Add wcschr.
51009 * wcsmbs/test-wcschr.c: New file.
51010 * string/test-strchr.c: Update.
51011 Add wcschr support.
51012 (WIDE): New macro.
51013
619fccca
LD
510142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51015
2d09f82f 51016 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51017 * wcsmbs/test-wcslen.c: New file.
51018 * string/test-strlen.c: Update.
51019 Add wcslen support.
51020 (WIDE): New macro.
51021
09f699ea
UD
510222011-10-23 Ulrich Drepper <drepper@gmail.com>
51023
51024 * po/it.po: Update from translation team.
51025
95584d3b
LD
510262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51027
51028 * sysdeps/x86_64/wcscmp.S: Update.
51029 Fix wrong comparison semantics.
51030 wcscmp shall use signed comparison not unsigned.
51031 Don't use substraction to avoid overflow bug.
51032 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51033 * wcsmbc/wcscmp.c: Likewise.
51034 * string/test-strcmp.c: Likewise.
51035 Add new tests to check cases with negative values.
51036
c8b3296b
UD
510372011-10-23 Ulrich Drepper <drepper@gmail.com>
51038
51039 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51040 * sysdeps/x86_64/dla.h: ...here. New file.
51041 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51046 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51050
246ad57a
AS
510512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51052
51053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51054 __ynl_finite aliases.
51055
a1a87169
UD
510562011-10-22 Ulrich Drepper <drepper@gmail.com>
51057
0d355eb7
UD
51058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51059
a1a87169
UD
51060 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51061 define DLA_FMA.
51062 [DLA_FMA] (EMULV): Use DLA_FMA.
51063 [DLA_FMA] (MUL12): Use EMULV.
51064 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51065 that are not needed.
51066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51072 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51073
ee2aafe0
AS
510742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51075
51076 * math/s_nan.c: Undef __nan.
51077 * math/s_nanf.c: Undef __nanf.
51078 * math/s_nanl.c: Undef __nanl.
51079 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51080 "math_private.h".
51081
bc62c2fb
UD
510822011-10-22 Ulrich Drepper <drepper@gmail.com>
51083
77425c63
UD
51084 * math/s_catan.c: Add branch predictions.
51085 * math/s_catanf.c: Likewise.
51086 * math/s_catanh.c: Likewise.
51087 * math/s_catanhf.c: Likewise.
51088 * math/s_catanhl.c: Likewise.
51089 * math/s_catanl.c: Likewise.
51090 * math/s_cexp.c: Likewise.
51091 * math/s_cexpf.c: Likewise.
51092 * math/s_cexpl.c: Likewise.
51093 * math/s_clog.c: Likewise.
51094 * math/s_clog10.c: Likewise.
51095 * math/s_clog10f.c: Likewise.
51096 * math/s_clog10l.c: Likewise.
51097 * math/s_clogf.c: Likewise.
51098 * math/s_clogl.c: Likewise.
51099 * math/s_csqrt.c: Likewise.
51100 * math/s_csqrtf.c: Likewise.
51101 * math/s_csqrtl.c: Likewise.
51102 * math/s_ctanf.c: Likewise.
51103 * math/s_ctanh.c: Likewise.
51104 * math/s_ctanhf.c: Likewise.
51105 * math/s_ctanhl.c: Likewise.
51106 * math/s_ctanl.c: Likewise.
51107
bc62c2fb
UD
51108 * math/math_private.h: Define __nan, __nanf, __nanl.
51109 * math/s_cacosh.c: Include <math_private.h>.
51110 * math/s_cacoshl.c: Likewise.
51111 * math/s_casinh.c: Likewise.
51112 * math/s_casinhf.c: Likewise.
51113 * math/s_casinhl.c: Likewise.
51114 * math/s_ccos.c: Rely entire on ccosh.
51115 * math/s_ccosf.c: Rely entire on ccoshf.
51116 * math/s_ccosl.c: Rely entirely on ccoshl.
51117 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51118 Remove tests for FE_INVALID.
51119 * math/s_ccoshf.c: Likewise.
51120 * math/s_ccoshl.c: Likewise.
51121 * math/s_csin.c: Likewise.
51122 * math/s_csinf.c: Likewise.
51123 * math/s_csinh.c Likewise.
51124 * math/s_csinhf.c: Likewise.
51125 * math/s_csinhl.c: Likewise.
51126 * math/s_csinl.c: Likewise.
51127 * math/s_ctan.c: Likewise.
51128 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51129 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51130 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51131
8ec250a4
UD
511322011-10-21 Ulrich Drepper <drepper@gmail.com>
51133
c196fed8
UD
51134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51135 compilation problems.
51136
8ec250a4
UD
51137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51138 __builtin_expect.
51139
8d4f46c6
UD
511402011-10-20 Ulrich Drepper <drepper@gmail.com>
51141
ed72b654
UD
51142 * sysdeps/i386/configure.in: Test for -mfma4 option.
51143 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51144 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51145 COMMON_CPUID_INDEX_80000001.
51146 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51147 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51148 use it if FMA3 is not supported.
51149 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51150
8d4f46c6
UD
51151 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51152 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51153
d45c60c2
AS
511542011-10-20 Andreas Schwab <schwab@redhat.com>
51155
51156 [BZ #12892]
51157 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51158 it would create a cycle with a link time dependency.
51159
d9a4d2ab
UD
511602011-10-19 Ulrich Drepper <drepper@gmail.com>
51161
855d1560
UD
51162 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51163 instruction.
51164 * string/Makefile (strop-tests): Add rawmemchr.
51165 * string/test-rawmemchr.c: New file.
51166
d9a4d2ab
UD
51167 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51169 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51170 when compiling str{,n}casecmp and when AVX is available. Hook up
51171 new optimized code in initializers.
51172
8f3b1ffe
AS
511732011-10-19 Andreas Schwab <schwab@redhat.com>
51174
51175 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51176 __feraiseexcept instead of feraiseexcept.
51177
d38f1dba
UD
511782011-10-18 Ulrich Drepper <drepper@gmail.com>
51179
d9a8d0ab
UD
51180 * math/math_private.h: Define defaults for libc_fetestexcept and
51181 libc_feupdateenv.
51182 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51183 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51184 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51185 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51186 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51187 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51188 libc_fetestexcept and libc_feupdateenv.
51189
4855e3dd
UD
51190 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51191 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51192 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51193 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51194 libc_feholdexcept_setround.
51195
581d30e3
UD
51196 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51197 Add s_nearbyint-c and s_nearbyintf-c.
51198 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51199 nearbyintf inlines.
51200 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51201 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51202 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51203 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51204
d38f1dba
UD
51205 * math/math_private.h: Define defaults for libc_fegetround,
51206 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51207 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51208 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51210 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51211 standard functions.
51212 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51213 Remove comments and hacks for old compiler versions.
51214 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51215 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51216 libc_feholdexceptl.
51217
caa6c9d8
AS
512182011-10-18 Andreas Schwab <schwab@redhat.com>
51219
51220 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51221 (__feraiseexcept_renamed): Add __NTH.
51222 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51223 namespace violations.
51224
97c066e6
UD
512252011-10-17 Ulrich Drepper <drepper@gmail.com>
51226
99ce7b04
UD
51227 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51228
1004d182
UD
51229 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51230
228a984d
UD
51231 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51232 recently added interfaces.
51233 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51234
c8553a6a
UD
51235 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51236 about macro parameter expansion.
51237
ed22dcf6
UD
51238 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51239 __NO_MATH_INLINES is defined. Cleanups.
51240
51241 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51242 and __floorf is target has SSE4.1.
51243 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51245 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51246 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51247
b171c137
UD
51248 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51249 name.
51250 (floorf): Likewise.
51251
97c066e6
UD
51252 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51253
629f62ef
AS
512542011-10-17 Andreas Schwab <schwab@redhat.com>
51255
49a43d80
AS
51256 * misc/sys/cdefs.h: Fix last change.
51257
629f62ef
AS
51258 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51259 database lookup.
51260
e453f6cd
UD
512612011-10-16 Ulrich Drepper <drepper@gmail.com>
51262
aa78043a
UD
51263 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51264
ad0f5cad
UD
51265 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51267 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51268 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51270 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51273 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51274 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51275 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51276 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51277 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51278 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51279 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51280 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51281 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51282 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51283 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51284 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51285 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51286 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51287
51288 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51289 ceil, ceilf, floor, floorf.
51290
51291 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51292 Perform IRELATIVE relocations last.
51293
e453f6cd
UD
51294 * elf/do-rel.h: Add another parameter nrelative, replacing the
51295 local variable with the same name. Change name of the function
51296 to end in Rel or Rela (uppercase).
51297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51298 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51299 elf_dynamic_do_##reloc function.
51300
fd5bdc09
UD
513012011-10-15 Ulrich Drepper <drepper@gmail.com>
51302
79b195b5
UD
51303 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51304 is sufficient, at least on modern CPUs.
51305
d4a28569
UD
51306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51307
b61099b5
UD
51308 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51309 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51310
bcf01e6d
UD
51311 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51312 __expl_finite.
51313 * math/bits/math-finite.h: Add entries for exp.
51314 * math/e_expl.c: Add __*_finite alias.
51315 * sysdeps/i386/fpu/e_exp.S: Likewise.
51316 * sysdeps/i386/fpu/e_expf.S: Likewise.
51317 * sysdeps/i386/fpu/e_expl.c: Likewise.
51318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51319 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51320 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51322 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51323 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51324 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51325
ba1a0d59
UD
51326 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51327 is sufficient, at least on modern CPUs.
51328
fd5bdc09
UD
51329 * ctype/ctype-info.c (__ctype_init): Define.
51330 * include/ctype.h (__ctype_init): Declare.
51331 (__ctype_b_loc): The variable is always initialized.
51332 (__ctype_toupper_loc): Likewise.
51333 (__ctype_tolower_loc): Likewise.
51334 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51335 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51336
7872cfb0
AS
513372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51338
b468825a
AS
51339 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51340
7872cfb0
AS
51341 * configure.in: Also look in $cxxmachine/include for C++ system
51342 headers.
51343
be13f7bf
LD
513442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51345
51346 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51347 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51348 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51349 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51351 (USE_AS_WMEMCMP): New macro.
51352 Fixing indents.
51353 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51354 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51355 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51356 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51358 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51359 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51360 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51361 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51362 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51363 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51364 (USE_AS_WMEMCMP): New macro.
51365 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51366 * sysdeps/string/test-memcmp.c: Update.
51367 Fix simple_wmemcmp.
51368 Add new tests.
51369 * wcsmbs/wmemcmp.c: Update.
51370 (WMEMCMP): New macro.
51371 Fix overflow bug.
51372
556a2007
AJ
513732011-10-12 Andreas Jaeger <aj@suse.de>
51374
51375 [BZ #13268]
51376 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51377
538faaa7
UD
513782011-10-15 Ulrich Drepper <drepper@gmail.com>
51379
ab6737ff
UD
51380 * libio/iofwide.c (do_length): Avoid warning.
51381
538faaa7
UD
51382 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51383
396a21b1
UD
513842011-10-14 Ulrich Drepper <drepper@gmail.com>
51385
cdf2901f
UD
51386 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51387
38ad40ce
UD
51388 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51389 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51390 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51391 * sysdeps/i386/i686/fpu/e_log.S: New file.
51392 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51393 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51394
396a21b1
UD
51395 * ctype/ctype.h: Add support for inlined isXXX functions when
51396 compiling C++ code.
51397
6b1f68c9
AS
513982011-10-14 Andreas Schwab <schwab@redhat.com>
51399
349290c0
AS
51400 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51401
6b1f68c9
AS
51402 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51403
f2282d42
RM
514042011-10-13 Roland McGrath <roland@hack.frob.com>
51405
51406 [BZ #13291]
51407 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51408
5298ffa8
AS
514092011-10-13 Andreas Schwab <schwab@redhat.com>
51410
714fad23
AS
51411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51412 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51413 feraiseexcept.
51414
81dcc7fb
AS
51415 * sysdeps/x86_64/memrchr.S: Check for zero size.
51416
5298ffa8
AS
51417 * string/stratcliff.c: Add memrchr tests.
51418
951fbcec
LD
514192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51420
51421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51422 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51423 rawmemchr-sse2 rawmemchr-sse2-bsf.
51424 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51425 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51426 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51427 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51428 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51429 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51430 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51431 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51432 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51433 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51434 * string/memrchr.c (MEMRCHR): New macro.
51435
0ac5ae23
UD
514362011-10-12 Ulrich Drepper <drepper@gmail.com>
51437
51438 Add integration with gcc's -ffinite-math-only and optimize wrapper
51439 functions in libm.
51440 * Versions.def: Define GLIBC_2.15 version for libm.
51441 * math/Makefile (headers): Add bits/math-finite.h.
51442 * math/bits/math-finite.h: New file.
51443 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51444 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51445 * math/e_acoshl.c: Add __*_finite alias.
51446 * math/e_acosl.c: Likewise.
51447 * math/e_asinl.c: Likewise.
51448 * math/e_atan2l.c: Likewise.
51449 * math/e_atanhl.c: Likewise.
51450 * math/e_coshl.c: Likewise.
51451 * math/e_exp10.c: Likewise.
51452 * math/e_exp10f.c: Likewise.
51453 * math/e_exp10l.c: Likewise.
51454 * math/e_exp2l.c: Likewise.
51455 * math/e_fmodl.c: Likewise.
51456 * math/e_gammal_r.c: Likewise.
51457 * math/e_hypotl.c: Likewise.
51458 * math/e_j0l.c: Likewise.
51459 * math/e_j1l.c: Likewise.
51460 * math/e_jnl.c: Likewise.
51461 * math/e_lgammal_r.c: Likewise.
51462 * math/e_log10l.c: Likewise.
51463 * math/e_log2l.c: Likewise.
51464 * math/e_logl.c: Likewise.
51465 * math/e_powl.c: Likewise.
51466 * math/e_sinhl.c: Likewise.
51467 * math/e_sqrtl.c: Likewise.
51468 * math/e_scalb.c: Completely rewritten and optimized.
51469 * math/e_scalbf.c: Likewise.
51470 * math/e_scalbl.c: Likewise.
51471 * math/w_acos.c: Likewise.
51472 * math/w_acosf.c: Likewise.
51473 * math/w_acosl.c: Likewise.
51474 * math/w_acosh.c: Likewise.
51475 * math/w_acoshf.c: Likewise.
51476 * math/w_acoshl.c: Likewise.
51477 * math/w_asin.c: Likewise.
51478 * math/w_asinf.c: Likewise.
51479 * math/w_asinl.c: Likewise.
51480 * math/w_atan2.c: Likewise.
51481 * math/w_atan2f.c: Likewise.
51482 * math/w_atan2l.c: Likewise.
51483 * math/w_atanh.c: Likewise.
51484 * math/w_atanhf.c: Likewise.
51485 * math/w_atanhl.c: Likewise.
51486 * math/w_exp10.c: Likewise.
51487 * math/w_exp10f.c: Likewise.
51488 * math/w_exp10l.c: Likewise.
51489 * math/w_fmod.c: Likewise.
51490 * math/w_fmodf.c: Likewise.
51491 * math/w_fmodl.c: Likewise.
51492 * math/w_j0.c: Likewise.
51493 * math/w_j0f.c: Likewise.
51494 * math/w_j0l.c: Likewise.
51495 * math/w_j1.c: Likewise.
51496 * math/w_j1f.c: Likewise.
51497 * math/w_j1l.c: Likewise.
51498 * math/w_jn.c: Likewise.
51499 * math/w_jnf.c: Likewise.
51500 * math/w_log.c: Likewise.
51501 * math/w_logf.c: Likewise.
51502 * math/w_logl.c: Likewise.
51503 * math/w_log10.c: Likewise.
51504 * math/w_log10f.c: Likewise.
51505 * math/w_log10l.c: Likewise.
51506 * math/w_log2.c: Likewise.
51507 * math/w_log2f.c: Likewise.
51508 * math/w_log2l.c: Likewise.
51509 * math/w_pow.c: Likewise.
51510 * math/w_powf.c: Likewise.
51511 * math/w_powl.c: Likewise.
51512 * math/w_remainder.c: Likewise.
51513 * math/w_remainderf.c: Likewise.
51514 * math/w_remainderl.c: Likewise.
51515 * math/w_scalb.c: Likewise.
51516 * math/w_scalbf.c: Likewise.
51517 * math/w_scalbl.c: Likewise.
51518 * math/w_sqrt.c: Likewise.
51519 * math/w_sqrtf.c: Likewise.
51520 * math/w_sqrtl.c: Likewise.
51521 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51522 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51523 used.
51524 * math/math_private.h: Declare __kernel_standard_f.
51525 * math/w_cosh.c: Remove cruft and optimize a bit.
51526 * math/w_coshf.c: Likewise.
51527 * math/w_coshl.c: Likewise.
51528 * math/w_exp2.c: Likewise.
51529 * math/w_exp2f.c: Likewise.
51530 * math/w_exp2l.c: Likewise.
51531 * math/w_hypot.c: Likewise.
51532 * math/w_hypotf.c: Likewise.
51533 * math/w_hypotl.c: Likewise.
51534 * math/w_lgamma.c: Likewise.
51535 * math/w_lgamma_r.c: Likewise.
51536 * math/w_lgammaf.c: Likewise.
51537 * math/w_lgammaf_r.c: Likewise.
51538 * math/w_lgammal.c: Likewise.
51539 * math/w_lgammal_r.c: Likewise.
51540 * math/w_sinh.c: Likewise.
51541 * math/w_sinhf.c: Likewise.
51542 * math/w_sinhl.c: Likewise.
51543 * math/w_tgamma.c: Likewise.
51544 * math/w_tgammaf.c: Likewise.
51545 * math/w_tgammal.c: Likewise.
51546 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51548 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51549 Minor optimizations. Pretty printing. Remove cruft.
51550 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51551 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51553 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51554 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51555 * sysdeps/i386/fpu/e_asin.S: Likewise.
51556 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51557 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51558 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51559 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51560 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51561 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51563 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51564 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51565 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51566 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51567 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51568 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51569 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51570 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51571 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51572 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51573 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51574 * sysdeps/i386/fpu/e_log.S: Likewise.
51575 * sysdeps/i386/fpu/e_log10.S: Likewise.
51576 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51577 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51578 * sysdeps/i386/fpu/e_log2.S: Likewise.
51579 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51580 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51581 * sysdeps/i386/fpu/e_logf.S: Likewise.
51582 * sysdeps/i386/fpu/e_logl.S: Likewise.
51583 * sysdeps/i386/fpu/e_pow.S: Likewise.
51584 * sysdeps/i386/fpu/e_powf.S: Likewise.
51585 * sysdeps/i386/fpu/e_powl.S: Likewise.
51586 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51587 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51588 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51589 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51590 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51591 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51592 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51593 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51594 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51595 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51598 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51599 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51600 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51601 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51602 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51603 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51604 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51605 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51606 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51609 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51612 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51615 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51616 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51617 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51618 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51619 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51620 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51621 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51622 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51623 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51624 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51625 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51626 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51627 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51628 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51629 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51630 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51631 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51632 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51633 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51634 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51635 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51636 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51637 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51638 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51639 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51640 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51641 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51642 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51643 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51644 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51645 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51646 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51647 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51650 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51651 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51652 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51654 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51655 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51656 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51659 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51660 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51661 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51664 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51665 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51666 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51667 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51668 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51669 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51671 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51672 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51673 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51674 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51675 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51676 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51677 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51678 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51679 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51680 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51681 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51682 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51683 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51684 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51685 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51686 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51687 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51688 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51689 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51690 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51691 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51692 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51693 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51694 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51695 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51696 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51697 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51698 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51699 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51700 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51701 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51703 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51704 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51705 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51706 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51707 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51708 (__isnanf): Likewise.
51709 (__isinf_ns): Likewise.
51710 (__isinf_nsf): Likewise.
51711 (__finite): Likewise.
51712 (__finitef): Likewise.
51713 (__ieee754_sqrt): Define as macro.
51714 (__ieee754_sqrtf): Define as macro.
51715 (__ieee754_sqrtl): Define as macro.
51716 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51717 inlined copy.
51718 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51719 __FINITE_MATH_ONLY__ consistent.
51720 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51721
12cc2fcd
AS
517222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51723
a843a204
AS
51724 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51725 of rawmemchr.
51726
12cc2fcd
AS
51727 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51728
c853acd5
UD
517292011-10-09 Ulrich Drepper <drepper@gmail.com>
51730
51731 * po/ja.po: Update from translation team.
51732
c658d255
RM
517332011-10-08 Roland McGrath <roland@hack.frob.com>
51734
110946e4
RM
51735 * locale/programs/locarchive.c (prepare_address_space): New function.
51736 (create_archive, enlarge_archive, open_archive): Use it.
51737
50604220
RM
51738 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51739 inside [SHARED], where it is used.
51740
c658d255
RM
51741 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51742
51743 * nss/getent.c (netgroup_keys): Remove unused variable.
51744 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51745
6a621eb7
UD
517462011-10-08 Ulrich Drepper <drepper@gmail.com>
51747
7edb55ce
UD
51748 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51749 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51751 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51753 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51754 * math/Makefile (libm-calls): Add s_isinf_ns.
51755 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51756 * math/multc3.c: Likewise.
51757 * math/s_casin.c: Likewise.
51758 * math/s_casinf.c: Likewise.
51759 * math/s_casinl.c: Likewise.
51760 * math/s_ccos.c: Likewise.
51761 * math/s_ccosf.c: Likewise.
51762 * math/s_ccosl.c: Likewise.
51763 * math/s_ctan.c: Likewise.
51764 * math/s_ctanf.c: Likewise.
51765 * math/s_ctanh.c: Likewise.
51766 * math/s_ctanhf.c: Likewise.
51767 * math/s_ctanhl.c: Likewise.
51768 * math/s_ctanl.c: Likewise.
51769 * math/w_fmod.c: Likewise.
51770 * math/w_fmodf.c: Likewise.
51771 * math/w_fmodl.c: Likewise.
51772 * math/w_remainder.c: Likewise.
51773 * math/w_remainderf.c: Likewise.
51774 * math/w_remainderl.c: Likewise.
51775 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51776 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51777 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51779 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51780 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51781 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51782 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51783
187da0ae
UD
51784 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51785 of the number.
51786 * stdio-common/printf_fphex.c: Likewise.
51787 * stdio-common/printf_size.c: Likewise.
51788
9277c064
UD
51789 * math/e_exp10.c: Include math_private.h using <...> not "...".
51790 * math/e_exp10f.c: Likewise.
51791 * math/e_exp10l.c: Likewise.
51792 * math/e_exp2l.c: Likewise.
51793 * math/e_j0l.c: Likewise.
51794 * math/e_j1l.c: Likewise.
51795 * math/e_jnl.c: Likewise.
51796 * math/e_lgammal_r.c: Likewise.
51797 * math/e_rem_pio2l.c: Likewise.
51798 * math/e_scalb.c: Likewise.
51799 * math/e_scalbf.c: Likewise.
51800 * math/e_scalbl.c: Likewise.
51801 * math/k_cosl.c: Likewise.
51802 * math/k_sinl.c: Likewise.
51803 * math/k_tanl.c: Likewise.
51804 * math/s_cacoshf.c: Likewise.
51805 * math/s_catan.c: Likewise.
51806 * math/s_catanf.c: Likewise.
51807 * math/s_catanh.c: Likewise.
51808 * math/s_catanhf.c: Likewise.
51809 * math/s_catanhl.c: Likewise.
51810 * math/s_catanl.c: Likewise.
51811 * math/s_ccosh.c: Likewise.
51812 * math/s_ccoshf.c: Likewise.
51813 * math/s_ccoshl.c: Likewise.
51814 * math/s_cexp.c: Likewise.
51815 * math/s_cexpf.c: Likewise.
51816 * math/s_cexpl.c: Likewise.
51817 * math/s_clog.c: Likewise.
51818 * math/s_clog10.c: Likewise.
51819 * math/s_clog10f.c: Likewise.
51820 * math/s_clog10l.c: Likewise.
51821 * math/s_clogf.c: Likewise.
51822 * math/s_clogl.c: Likewise.
51823 * math/s_csin.c: Likewise.
51824 * math/s_csinf.c: Likewise.
51825 * math/s_csinh.c: Likewise.
51826 * math/s_csinhf.c: Likewise.
51827 * math/s_csinhl.c: Likewise.
51828 * math/s_csinl.c: Likewise.
51829 * math/s_csqrt.c: Likewise.
51830 * math/s_csqrtf.c: Likewise.
51831 * math/s_csqrtl.c: Likewise.
51832 * math/s_ctan.c: Likewise.
51833 * math/s_ctanf.c: Likewise.
51834 * math/s_ctanh.c: Likewise.
51835 * math/s_ctanhf.c: Likewise.
51836 * math/s_ctanhl.c: Likewise.
51837 * math/s_ctanl.c: Likewise.
51838 * math/s_ldexp.c: Likewise.
51839 * math/s_ldexpf.c: Likewise.
51840 * math/s_ldexpl.c: Likewise.
51841 * math/s_significand.c: Likewise.
51842 * math/s_significandf.c: Likewise.
51843 * math/s_significandl.c: Likewise.
51844 * math/w_acos.c: Likewise.
51845 * math/w_acosf.c: Likewise.
51846 * math/w_acosh.c: Likewise.
51847 * math/w_acoshf.c: Likewise.
51848 * math/w_acoshl.c: Likewise.
51849 * math/w_acosl.c: Likewise.
51850 * math/w_asin.c: Likewise.
51851 * math/w_asinf.c: Likewise.
51852 * math/w_asinl.c: Likewise.
51853 * math/w_atan2.c: Likewise.
51854 * math/w_atan2f.c: Likewise.
51855 * math/w_atan2l.c: Likewise.
51856 * math/w_atanh.c: Likewise.
51857 * math/w_atanhf.c: Likewise.
51858 * math/w_atanhl.c: Likewise.
51859 * math/w_cosh.c: Likewise.
51860 * math/w_coshf.c: Likewise.
51861 * math/w_coshl.c: Likewise.
51862 * math/w_dremf.c: Likewise.
51863 * math/w_exp10.c: Likewise.
51864 * math/w_exp10f.c: Likewise.
51865 * math/w_exp10l.c: Likewise.
51866 * math/w_exp2.c: Likewise.
51867 * math/w_exp2f.c: Likewise.
51868 * math/w_fmod.c: Likewise.
51869 * math/w_fmodf.c: Likewise.
51870 * math/w_fmodl.c: Likewise.
51871 * math/w_hypot.c: Likewise.
51872 * math/w_hypotf.c: Likewise.
51873 * math/w_hypotl.c: Likewise.
51874 * math/w_j0.c: Likewise.
51875 * math/w_j0f.c: Likewise.
51876 * math/w_j0l.c: Likewise.
51877 * math/w_j1.c: Likewise.
51878 * math/w_j1f.c: Likewise.
51879 * math/w_j1l.c: Likewise.
51880 * math/w_jn.c: Likewise.
51881 * math/w_jnf.c: Likewise.
51882 * math/w_jnl.c: Likewise.
51883 * math/w_lgamma.c: Likewise.
51884 * math/w_lgamma_r.c: Likewise.
51885 * math/w_lgammaf.c: Likewise.
51886 * math/w_lgammaf_r.c: Likewise.
51887 * math/w_lgammal.c: Likewise.
51888 * math/w_lgammal_r.c: Likewise.
51889 * math/w_log.c: Likewise.
51890 * math/w_log10.c: Likewise.
51891 * math/w_log10f.c: Likewise.
51892 * math/w_log10l.c: Likewise.
51893 * math/w_log2.c: Likewise.
51894 * math/w_log2f.c: Likewise.
51895 * math/w_log2l.c: Likewise.
51896 * math/w_logf.c: Likewise.
51897 * math/w_logl.c: Likewise.
51898 * math/w_pow.c: Likewise.
51899 * math/w_powf.c: Likewise.
51900 * math/w_powl.c: Likewise.
51901 * math/w_remainder.c: Likewise.
51902 * math/w_remainderf.c: Likewise.
51903 * math/w_remainderl.c: Likewise.
51904 * math/w_scalb.c: Likewise.
51905 * math/w_scalbf.c: Likewise.
51906 * math/w_scalbl.c: Likewise.
51907 * math/w_sinh.c: Likewise.
51908 * math/w_sinhf.c: Likewise.
51909 * math/w_sinhl.c: Likewise.
51910 * math/w_sqrt.c: Likewise.
51911 * math/w_sqrtf.c: Likewise.
51912 * math/w_sqrtl.c: Likewise.
51913 * math/w_tgamma.c: Likewise.
51914 * math/w_tgammaf.c: Likewise.
51915 * math/w_tgammal.c: Likewise.
51916
6a621eb7
UD
51917 * po/ja.po: Update from translation team.
51918
bf582445
AJ
519192011-09-29 Andreas Jaeger <aj@suse.de>
51920
f9efbf3a
AJ
51921 [BZ #13179]
51922 * sunrpc/netname.c (netname2host): Fix logic.
51923
bf582445
AJ
51924 [BZ #6779]
51925 [BZ #6783]
51926 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51927 correctly.
51928 * math/w_remainder.c (__remainder): Likewise.
51929 * math/w_remainderf.c (__remainderf): Likewise.
51930 * math/libm-test.inc (remainder_test): Add test cases.
51931
48693bea
AK
519322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51933
51934 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51935 sdiv_qrnnd.
51936
42622229
LD
519372011-10-07 Ulrich Drepper <drepper@gmail.com>
51938
51939 * string/test-memcmp.c: Avoid unncessary #defines.
51940 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51941
093ecf92
LD
519422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51943
51944 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51945 Use new sse2 version for core i3 - i7 as it's faster
51946 than sse42 version.
51947 (bit_Prefer_PMINUB_for_stringop): New.
51948 * sysdeps/x86_64/rawmemchr.S: Update.
51949 Replace with faster SSE2 version.
51950 * sysdeps/x86_64/memrchr.S: New file.
51951 * sysdeps/x86_64/memchr.S: Update.
51952 Replace with faster SSE2 version.
51953
fde56e5c
MP
519542011-09-12 Marek Polacek <mpolacek@redhat.com>
51955
51956 * elf/dl-load.c (lose): Add cast to avoid warning.
51957
21fd49a9
UD
519582011-10-07 Ulrich Drepper <drepper@gmail.com>
51959
5a06e643
UD
51960 * po/ca.po: Update from translation team.
51961
684ae515
UD
51962 * inet/getnetgrent_r.c: Hook up nscd.
51963 * nscd/Makefile (routines): Add nscd_netgroup.
51964 (nscd-modules): Add netgroupcache.
51965 (CFLAGS-netgroupcache.c): Define.
51966 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51967 (cache_search): Add const to second parameter.
51968 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51969 INNETGR.
51970 (dbs): Add netgrdb entry.
51971 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51972 (verify_persistent_db): Handle netgrdb.
51973 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51974 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51975 GETFDNETGR.
51976 (netgroup_response_header): Define.
51977 (innetgroup_response_header): Define.
51978 (datahead): Add netgroup_response_header and innetgroup_response_header
51979 elements.
51980 * nscd/nscd.conf: Add entries for netgroup cache.
51981 * nscd/nscd.h (dbtype): Add netgrdb.
51982 (_PATH_NSCD_NETGROUP_DB): Define.
51983 (netgroup_iov_disabled): Declare.
51984 (xmalloc, xcalloc, xrealloc): Move declarations here.
51985 (cache_search): Adjust prototype.
51986 Add netgroup-related prototypes.
51987 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51988 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51989 (__nscd_innetgr): Declare.
51990 * nscd/selinux.c (perms): Use access_vector_t as element type and
51991 add netgroup-related initializers.
51992 * nscd/netgroupcache.c: New file.
51993 * nscd/nscd_netgroup.c: New file.
51994 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51995 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51996 For four parameters use innetgr.
51997 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51998 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51999 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52000 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52001
21fd49a9
UD
52002 * nscd/connections.c (register_traced_file): Don't register file
52003 for disabled databases.
52004
054c0457
UD
520052011-10-06 Ulrich Drepper <drepper@gmail.com>
52006
32b63198
UD
52007 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52008
054c0457
UD
52009 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52010 from tree and freeing node.
52011
64031225
JO
520122011-09-25 Jiri Olsa <jolsa@redhat.com>
52013
52014 * nss/nsswitch.c (__nss_database_lookup): Handle
52015 nss_parse_service_list out of memory case.
52016
0490345c
JO
520172011-09-15 Jiri Olsa <jolsa@redhat.com>
52018
52019 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52020 out of memory case.
52021
3a62d00d
AS
520222011-10-04 Andreas Schwab <schwab@redhat.com>
52023
52024 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52025 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52026 pass it down.
52027 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52028 elf_machine_rela, elf_machine_lazy_rel.
52029 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52030 (ELF_DYNAMIC_DO_REL): Likewise.
52031 (ELF_DYNAMIC_DO_RELA): Likewise.
52032 (ELF_DYNAMIC_RELOCATE): Likewise.
52033 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52034 to ELF_DYNAMIC_DO_REL.
52035 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52036 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52037 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52038 elf_machine_rela.
52039 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52040 skip_ifunc, don't call ifunc function if non-zero.
52041 (elf_machine_rela): Likewise.
52042 (elf_machine_lazy_rel): Likewise.
52043 (elf_machine_lazy_rela): Likewise.
52044 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52045 (elf_machine_lazy_rel): Likewise.
52046 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52047 Likewise.
52048 (elf_machine_lazy_rel): Likewise.
52049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52050 Likewise.
52051 (elf_machine_lazy_rel): Likewise.
52052 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52053 (elf_machine_lazy_rel): Likewise.
52054 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52055 (elf_machine_lazy_rel): Likewise.
52056 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52057 (elf_machine_lazy_rel): Likewise.
52058 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52059 (elf_machine_lazy_rel): Likewise.
52060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52061 (elf_machine_lazy_rel): Likewise.
52062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52063 (elf_machine_lazy_rel): Likewise.
52064
68577918
UD
520652011-09-28 Ulrich Drepper <drepper@gmail.com>
52066
52067 * nss/nss_files/files-init.c (_nss_files_init): Use static
52068 initialization for all the *_traced_file variables.
52069
68822d74
AS
520702011-09-28 Andreas Schwab <schwab@redhat.com>
52071
52072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52073
2056100b
RM
520742011-09-27 Roland McGrath <roland@hack.frob.com>
52075
52076 [BZ #13226]
52077 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52078
32c76b63
AS
520792011-09-27 Andreas Schwab <schwab@redhat.com>
52080
52081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52082 Reread the line before reparsing it.
52083
bf972c9d
AS
520842011-09-26 Andreas Schwab <schwab@redhat.com>
52085
52086 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52087
e057a1b5
JM
520882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52089 Maxim Kuvyrkov <maxim@codesourcery.com>
52090 Joseph Myers <joseph@codesourcery.com>
52091
52092 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52093 if needed for __stack_chk_guard.
52094
bc7e1c36
RM
520952011-09-19 Roland McGrath <roland@hack.frob.com>
52096
ecb1482f
RM
52097 * sysdeps/posix/spawni.c (script_execute): Always define it.
52098 It will be optimized away if unused.
52099 (maybe_script_execute): New function.
52100 (__spawni): Call it.
52101
bc7e1c36
RM
52102 * Makerules: Don't include tls.make.
52103 (config-tls): Always set to thread.
52104 * tls.make.c: File removed.
52105
1c3b002b
MF
521062011-09-19 Mike Frysinger <vapier@gentoo.org>
52107
52108 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52109 * config.make.in (CPPFLAGS-config): New substituted variable.
52110
2840865d
UD
521112011-09-15 Ulrich Drepper <drepper@gmail.com>
52112
88738eb6
UD
52113 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52114
cbf645a6 52115 [BZ #13192]
2840865d
UD
52116 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52117 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52118
b402e91a
RM
521192011-09-15 Roland McGrath <roland@hack.frob.com>
52120
52121 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52122 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52124 (CALL_FAIL): Likewise.
52125 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52126 (CALL_FAIL): Macro removed.
52127 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52128
4c1a1f71
UD
521292011-09-15 Ulrich Drepper <drepper@gmail.com>
52130
52131 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52132 for __FINITE_MATH_ONLY__ == 1.
52133
edc121be
AS
521342011-09-15 Andreas Schwab <schwab@redhat.com>
52135
52136 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52137 __ieee754_sqrt instead of sqrt.
52138 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52139 __ieee754_sqrtf instead of sqrtf.
52140 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52141 __floorf instead of floorf.
52142 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52143 __floorf, __truncf instead of floorf, truncf.
52144
cd205654
UD
521452011-09-14 Ulrich Drepper <drepper@gmail.com>
52146
ee4d0315
UD
52147 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52148
cd205654
UD
52149 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52150 __extern_always_inline.
52151 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52152 32-bit.
52153
48b67d71
AS
521542011-09-14 Andreas Schwab <schwab@redhat.com>
52155
52156 * elf/rtld.c (dl_main): Also relocate in dependency order when
52157 doing symbol dependency testing.
52158
1ae12c75
AS
521592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52160
52161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52162 Always define `refsym'.
52163
995a80df
AS
521642011-09-13 Andreas Schwab <schwab@redhat.com>
52165
e529793b
AS
52166 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52167 (__FD_ELT): Renamed from __FDELT.
52168 * misc/bits/select2.h (__FD_ELT): Likewise.
52169 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52170 __FD_MASK instead of __FDELT, __FDMASK.
52171 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52172 Likewise.
52173 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52174 Likewise.
52175
52d4fef8
AS
52176 * elf/Makefile (gen-ldd): Fix pattern.
52177
995a80df
AS
52178 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52179 (init_tls): Likewise.
52180
8682f8b0
UD
521812011-09-12 Ulrich Drepper <drepper@gmail.com>
52182
52183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52184
de82006d
AS
521852011-09-12 Andreas Schwab <schwab@redhat.com>
52186
a7c8e6a1
AS
52187 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52188 `struct cmsghdr *' instead of `void *'.
52189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52190 Likewise.
52191
0f31fe77
AS
521922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52193
52194 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52195 if non-absolute.
52196 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52197 ldd_rewrite_script.
0f31fe77 52198
32b4c839
UD
521992011-09-11 Ulrich Drepper <drepper@gmail.com>
52200
83cd1420
UD
52201 * configure.in: Remove --with-tls option.
52202 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52203 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52204 out in case it is missing.
52205 * sysdeps/ia64/elf/configure.in: Likewise.
52206 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52207 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52208 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52209 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52210 * sysdeps/sh/elf/configure.in: Likewise.
52211 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52213 * sysdeps/x86_64/elf/configure.in: Likewise.
52214 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52215 * sysdeps/mach/hurd/tls.h: Likewise.
52216
633f745d
UD
52217 [BZ #13067]
52218 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52219
f318beb8
UD
52220 [BZ #13090]
52221 * configure.in: Fix use of AC_INIT.
52222
32b4c839
UD
52223 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52224
3ce1f295
UD
522252011-09-10 Ulrich Drepper <drepper@gmail.com>
52226
bb016596
UD
52227 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52228 __set_errno.
8e58439c
UD
52229 * malloc/hooks.c: Likewise.
52230
aebae053 52231 [BZ #11929]
02d46fc4
UD
52232 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52233 variables statically.
52234 (narenas): Initialize.
52235 (list_lock): Initialize.
bb016596
UD
52236 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52237 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52238 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52239 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52240 Add initializers to main_arena and mp_.
52241 (malloc_state): Remove pagesize member. Change all users to use
52242 GLRO(dl_pagesize).
52243
52244 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52245 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52246 is always initialized.
52247
22a89187
UD
52248 * malloc/malloc.c: Removed unused configurations and dead code.
52249 * malloc/arena.c: Likewise.
52250 * malloc/hooks.c: Likewise.
02d46fc4 52251 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52252
d063d164
UD
52253 * include/tls.h: Removed. USE___THREAD must always be defined.
52254 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52255 * elf/dl-libc.c: Likewise.
52256 * elf/dl-tsd.c: Likewise.
52257 * include/errno.h: Likewise.
52258 * include/netdb.h: Likewise.
52259 * include/resolv.h: Likewise.
52260 * inet/herrno-loc.c: Likewise.
52261 * inet/herrno.c: Likewise.
52262 * malloc/arena.c: Likewise.
52263 * malloc/hooks.c: Likewise.
52264 * malloc/malloc.c: Likewise.
52265 * resolv/res-state.c: Likewise.
52266 * resolv/res_libc.c: Likewise.
52267 * sysdeps/i386/dl-machine.h: Likewise.
52268 * sysdeps/ia64/dl-machine.h: Likewise.
52269 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52270 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52271 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52272 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52273 * sysdeps/sh/dl-machine.h: Likewise.
52274 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52275 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52276 * sysdeps/unix/i386/sysdep.S: Likewise.
52277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52278 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52283 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52287 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52288 * sysdeps/x86_64/dl-machine.h: Likewise.
52289 * tls.make.c: Likewise.
52290
3ce1f295
UD
52291 * configure.in: Remove --with-__thread option. Make tests for
52292 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52293 tls_model attribute fail if no support is available. Remove
52294 USE_IN_LIBIO.
52295 * Makeconfig: Adjust for dropped configure option. All features are
52296 now mandatory.
52297 * Makerules: Likewise.
52298 * Versions.def: Likewise.
52299 * argp/argp-fmtstream.c: Likewise.
52300 * argp/argp-fmtstream.h: Likewise.
52301 * argp/argp-help.c: Likewise.
52302 * assert/assert.c: Likewise.
52303 * config.h.in: Likewise.
52304 * config.make.in: Likewise.
52305 * configure: Likewise.
52306 * configure.in: Likewise.
52307 * csu/Versions: Likewise.
52308 * csu/init.c: Likewise.
52309 * elf/tst-audit2.c: Likewise.
52310 * elf/tst-tls10.c: Likewise.
52311 * elf/tst-tls10.h: Likewise.
52312 * elf/tst-tls11.c: Likewise.
52313 * elf/tst-tls12.c: Likewise.
52314 * elf/tst-tls14.c: Likewise.
52315 * elf/tst-tlsmod11.c: Likewise.
52316 * elf/tst-tlsmod12.c: Likewise.
52317 * elf/tst-tlsmod13.c: Likewise.
52318 * elf/tst-tlsmod13a.c: Likewise.
52319 * elf/tst-tlsmod14a.c: Likewise.
52320 * elf/tst-tlsmod15b.c: Likewise.
52321 * elf/tst-tlsmod16a.c: Likewise.
52322 * elf/tst-tlsmod16b.c: Likewise.
52323 * elf/tst-tlsmod7.c: Likewise.
52324 * elf/tst-tlsmod8.c: Likewise.
52325 * elf/tst-tlsmod9.c: Likewise.
52326 * gmon/gmon.c: Likewise.
52327 * grp/fgetgrent_r.c: Likewise.
52328 * grp/putgrent.c: Likewise.
52329 * hurd/fopenport.c: Likewise.
52330 * include/libc-symbols.h: Likewise.
52331 * include/tls.h: Likewise.
52332 * intl/gettextP.h: Likewise.
52333 * intl/loadinfo.h: Likewise.
52334 * locale/global-locale.c: Likewise.
52335 * locale/localeinfo.h: Likewise.
52336 * mach/devstream.c: Likewise.
52337 * malloc/arena.c: Likewise.
52338 * malloc/set-freeres.c: Likewise.
52339 * misc/err.c: Likewise.
52340 * misc/getttyent.c: Likewise.
52341 * misc/mntent_r.c: Likewise.
52342 * posix/getopt.c: Likewise.
52343 * posix/wordexp.c: Likewise.
52344 * pwd/fgetpwent_r.c: Likewise.
52345 * resolv/Versions: Likewise.
52346 * resolv/res_hconf.c: Likewise.
52347 * shadow/fgetspent_r.c: Likewise.
52348 * shadow/putspent.c: Likewise.
52349 * stdio-common/printf_fphex.c: Likewise.
52350 * stdio-common/tmpfile.c: Likewise.
52351 * stdlib/abort.c: Likewise.
52352 * stdlib/fmtmsg.c: Likewise.
52353 * sunrpc/auth_unix.c: Likewise.
52354 * sunrpc/clnt_perr.c: Likewise.
52355 * sunrpc/clnt_tcp.c: Likewise.
52356 * sunrpc/clnt_udp.c: Likewise.
52357 * sunrpc/clnt_unix.c: Likewise.
52358 * sunrpc/openchild.c: Likewise.
52359 * sunrpc/svc_simple.c: Likewise.
52360 * sunrpc/svc_tcp.c: Likewise.
52361 * sunrpc/svc_udp.c: Likewise.
52362 * sunrpc/svc_unix.c: Likewise.
52363 * sunrpc/xdr.c: Likewise.
52364 * sunrpc/xdr_array.c: Likewise.
52365 * sunrpc/xdr_rec.c: Likewise.
52366 * sunrpc/xdr_ref.c: Likewise.
52367 * sunrpc/xdr_stdio.c: Likewise.
52368
1248c1c4
PB
523692011-09-09 Ulrich Drepper <drepper@gmail.com>
52370
52371 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52372
523732011-07-03 Andreas Jaeger <aj@suse.de>
52374
52375 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52376 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52377 regenerate with gen-libm-tests.pl.
52378
523792010-05-12 Petr Baudis <pasky@suse.cz>
52380
52381 [BZ #11589]
52382 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52383 around j0() zero points by switching to j1().
52384 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52385 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52387 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52388
f22e1074
UD
523892011-09-09 Ulrich Drepper <drepper@gmail.com>
52390
f19009c1
UD
52391 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52392 instead of 0.
52393 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52394 instead of 0.
f19009c1
UD
52395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52396 Patch in part by Pavel Roskin <proski@gnu.org>.
52397
3f8cc204
UD
52398 [BZ #13138]
52399 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52400 realloc.
52401 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52402 Free memory block if necessary.
52403
f22e1074
UD
52404 [BZ #12847]
52405 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52406 be NULL. Don't lock in this case.
52407
0a2349f9
RM
524082011-09-09 Roland McGrath <roland@hack.frob.com>
52409
52410 * elf/elf.h (ELFOSABI_GNU): New macro.
52411 (ELFOSABI_LINUX): Define to that.
52412
f3cdd467
DZ
524132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52414
52415 * string/strncat.c (strncat): Undef the symbol in case it has been
52416 defined in bits/string.h.
52417
74718d13
UD
524182011-09-09 Ulrich Drepper <drepper@gmail.com>
52419
633e9e0f
UD
52420 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52421
0a2349f9 52422 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52423 link map.
52424
f9924780
AJ
524252011-08-17 Andreas Jaeger <aj@suse.de>
52426
52427 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52428
7f5517aa
PP
524292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52430 Ian Lance Taylor <iant@google.com>
52431
52432 * math/libm-test.inc (lround_test): New testcase.
52433 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52434
762011fe
UD
524352011-09-08 Ulrich Drepper <drepper@gmail.com>
52436
92963737
UD
52437 * Makefile: Remove support for automatic cvs check-ins.
52438 * Makerules: Likewise.
52439 * config.make.in: Likewise.
52440 * configure.in: Likewise.
52441 * intl/Makefile: Likewise.
52442 * locale/Makefile: Likewise.
52443 * po/Makefile: Likewise.
52444 * posix/Makefile: Likewise.
52445 * sysdeps/gnu/Makefile: Likewise.
52446 * sysdeps/mach/hurd/Makefile: Likewise.
52447 * sysdeps/sparc/sparc32/Makefile: Likewise.
52448
b0727fd8
JS
52449 [BZ #13118]
52450 * posix/Makefile (bug-regex32-ENV): Define.
52451 Patch by John Stanley <jpsinthemix@verizon.net>.
52452
a0f33f99
UD
52453 * misc/Makefile (headers): Add bits/select2.h.
52454 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52455 * misc/bits/select2.h: New file.
52456 * include/bits/select2.h: New file.
52457 * debug/Makefile (routines): Add fdelt_chk.
52458 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52459 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52460 FD_ISSET.
52461 * debug/fdelt_chk.c: New file.
52462
762011fe
UD
52463 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52464 * wcsmbs/test-wmemcmp.c: Likewise.
52465 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52466 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52467
524682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52469
52470 * string/Makefile (strop-tests): Add memcmp.
52471 * string/test-wmemcmp.c: New file.
52472 * string/test-memcmp.c: Add wmemcmp support.
52473
7f513ec8
RM
524742011-09-08 Roland McGrath <roland@hack.frob.com>
52475
0442afb4
RM
52476 [BZ #13153]
52477 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52478 2011-07-19 change.
52479
7f513ec8
RM
52480 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52481 garbage value in a __mach_port_mod_refs call in the cases of the
52482 task-self and thread-self ports.
52483
a12b2239
ST
524842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52485
52486 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52487
610f9ab4
AS
524882011-09-08 Andreas Schwab <schwab@redhat.com>
52489
7f513ec8 52490 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52491
48882a1a
LD
524922011-09-07 Ulrich Drepper <drepper@gmail.com>
52493
b49865be
UD
52494 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52495
fdc86bc9
UD
52496 * elf/dl-libc.c (dlerror_run): Pass back error code from
52497 dl_catch_error.
52498
c966526a
UD
52499 [BZ #13123]
52500 * elf/dl-load.c (lose): Free l_origin if it is valid.
52501
48882a1a
LD
52502 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52503 names.
52504 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52507 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52509 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52510
77a2a8b4
AZ
525112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52512
52513 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52514 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52515 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52516 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52517 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52518 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52519 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52520 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52521 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52522 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52523
24f579d8
AM
525242011-08-15 Alan Modra <amodra@gmail.com>
52525
52526 [BZ #13092]
52527 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52528 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52529 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52530 ppc_mcount to static-only-routines.
52531 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52532 __mcount_internal.
52533 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52534 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52535
3d4837df
UD
525362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52537
52538 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52539 for finite and infinity parameters.
52540
22700377
WS
525412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52542
52543 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52544 and add nop instructions for throughput optimization.
52545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52546
5025581e
WS
525472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52548
52549 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52550 aligned copy for power7 with vector-scalar instructions.
52551 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52552
08a300c9
L
525532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52554
52555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52556 AVX check.
52557
59178ef9
AS
525582011-09-07 Andreas Schwab <schwab@redhat.com>
52559
52560 [BZ #13144]
52561 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52562 last change.
52563
e38ba7ab
UD
525642011-09-07 Ulrich Drepper <drepper@gmail.com>
52565
52566 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52567 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52568 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52569 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52570 clock_gettime.
52571
d53a73ac
UD
525722011-09-06 Ulrich Drepper <drepper@gmail.com>
52573
fc8bffcc
UD
52574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52575 Forgot to demangle the pointer.
52576
ceaa0c5d
UD
52577 * sysdeps/i386/sysdep.h: Define atom_text_section.
52578 * sysdeps/x86_64/sysdep.h: Likewise.
52579 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52580 section with atom_text_section.
52581 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52582 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52583 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52585 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52586
a77d3c17
UD
52587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52588 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52589 already be defined. Change to take two parameters and don't assign
52590 result to variable. Adjust all users.
52591 Define INTERNAL_GETTIME if not already defined.
52592 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52593 call.
52594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52595 HAVE_CLOCK_GETTIME_VSYSCALL.
52596 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52597
d53a73ac
UD
52598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52599 gettimeofday vsyscall, just use time.
52600
a8f84144
AS
526012011-09-06 Andreas Schwab <schwab@redhat.com>
52602
52603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52604 <errno.h>.
52605
ef606249
UD
526062011-09-06 Ulrich Drepper <drepper@gmail.com>
52607
52608 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52609 syscall on x86-64.
52610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52611 syscall.
52612 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52614 syscall if possible.
52615
6585cb60
UD
526162011-09-05 Ulrich Drepper <drepper@gmail.com>
52617
52618 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52619 e_ident. Don't pass to find_mapsXX.
52620 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52621
a5f524e4
LD
526222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52623
52624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52625 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52626 * sysdeps/x86_64/multiarch/strchr.S: Update.
52627 Check bit_slow_BSF bit.
52628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52629 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52630 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52631
554881ef
UD
526322011-09-05 Ulrich Drepper <drepper@gmail.com>
52633
d96de963
UD
52634 [BZ #13134]
52635 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52636 before glibc 2.15.
52637 (tryshell): Define.
52638 (__spawni): Change last parameter to be flag. Test
52639 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52640 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52641 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52642 * posix/spawni.c: Likewise.
52643 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52644 * posix/spawnp.c: Likewise. Change normal version to use
52645 SPAWN_XFLAGS_USE_PATH.
52646 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52647 SPAWN_XFLAGS_TRY_SHELL.
52648
d48e5868
UD
52649 [BZ #13150]
52650 * posix/glob.h: Remove gcc 1.x support.
52651
554881ef
UD
52652 [BZ #13068]
52653 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52654
693fb948
LD
526552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52656
52657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52658 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52659 strrchr-sse2-bsf
52660 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52661 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52662 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52663 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52664 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52665 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52666
1b48c537
UD
526672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52668
49d42c37
UD
52669 * sysdeps/x86_64/wcscmp.S: New file.
52670
1b48c537
UD
52671 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52672 wcscmp-c wcscmp-sse2
52673 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52674 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52675 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52676 * wcsmbs/wcscmp.c: Allow renaming.
52677
15c95c5d
DM
526782011-09-05 David S. Miller <davem@davemloft.net>
52679
52680 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52681 stack slot, rather than the struct return pointer slot.
52682 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52683 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52685 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52686
2f0ad8f3
UD
526872011-09-05 Ulrich Drepper <drepper@gmail.com>
52688
d88ae418
UD
52689 * po/ja.po: Update from translation team.
52690
2f0ad8f3
UD
52691 [BZ #13144]
52692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52693 kernel in 64-bit binaries.
52694
5f4318d1
DM
526952011-09-01 David S. Miller <davem@davemloft.net>
52696
52697 * elf/elf.h (HWCAP_SPARC_*): Move to..
52698 * sysdeps/sparc/sysdep.h: this new file and add new values.
52699 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52700 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52701 _DL_HWCAP_COUNT to 24.
52702 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52703 entries.
52704 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52705 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52706 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52708 instead of magic constants.
52709 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52710
3ba57516
DM
527112011-08-31 David S. Miller <davem@davemloft.net>
52712
52713 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52715 Reimplement to do errno handling inline.
52716 (SYSCALL_ERROR_HANDLER): New macro.
52717 (__SYSCALL_STRING): Do not do errno handling in asm.
52718 (__CLONE_SYSCALL_STRING): Delete.
52719 (__INTERNAL_SYSCALL_STRING): Delete.
52720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52721 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52722 (PSEUDO): Reimplement to do errno handling inline.
52723 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52724 (SYSCALL_ERROR_HANDLER): New macro.
52725 (__SYSCALL_STRING): Do not do errno handling in asm.
52726 (__CLONE_SYSCALL_STRING): Delete.
52727 (__INTERNAL_SYSCALL_STRING): Delete.
52728 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52729 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52730 i386.
52731 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52732 (inline_syscall*): Add 'err' argument.
52733 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52734 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52735 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52736 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52737
52738 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52739 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52740
2bc17433
AS
527412011-08-30 Andreas Schwab <schwab@redhat.com>
52742
52743 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52744
fbeb5f4d
JO
527452011-08-29 Jiri Olsa <jolsa@redhat.com>
52746
52747 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52748 directive.
52749
ad69cc26
DM
527502011-08-24 David S. Miller <davem@davemloft.net>
52751
52752 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52753
39dd69df
AS
527542011-08-24 Andreas Schwab <schwab@redhat.com>
52755
52756 * elf/Makefile: Add rules to build and run unload8 test.
52757 * elf/unload8.c: New file.
52758 * elf/unload8mod1.c: New file.
52759 * elf/unload8mod1x.c: New file.
52760 * elf/unload8mod2.c: New file.
52761 * elf/unload8mod3.c: New file.
52762
52763 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52764 it wasn't used.
52765
2c0b250a
DM
527662011-08-23 David S. Miller <davem@davemloft.net>
52767
52768 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52769 subtract stack bias.
52770 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52771 %sp not %fp in calculations.
52772 (_JMPBUF_UNWINDS_ADJ): Likewise.
52773
22044b48
DM
52774 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52775 (aio_suspend): Call it to force an exception region around the
52776 AIO_MISC_WAIT() invocation.
52777
2cae4995
AS
527782011-08-23 Andreas Schwab <schwab@redhat.com>
52779
52780 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52781 backslash.
52782
873a772e
AJ
527832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52784
52785 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52786 protection macro.
52787 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52788 and <dl-machine.h>.
52789 (Elf64_FuncDesc): Remove.
52790
25ad0df1
DM
527912011-08-22 David S. Miller <davem@davemloft.net>
52792
52793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52794 sigaltstack check, add missing cfi directives.
52795 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52796 missing cfi directives, and sigaltstack handling.
52797
e888bcbe
AS
527982011-08-16 Andreas Schwab <schwab@redhat.com>
52799
52800 [BZ #11724]
52801 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52802 object is seen twice.
52803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52804
52805 * elf/Makefile (distribute): Add tst-initorder2.c.
52806 (tests): Add tst-initorder2.
52807 (modules-names): Add tst-initorder2a tst-initorder2b
52808 tst-initorder2c tst-initorder2d. Add rules to build them.
52809 ($(objpfx)tst-initorder2.out): New rule.
52810 * elf/tst-initorder2.c: New file.
52811 * elf/tst-initorder2.exp: New file.
52812
87162f46
AS
528132011-08-22 Andreas Schwab <schwab@redhat.com>
52814
70538b7f
AS
52815 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52816
f55ffe58
AS
52817 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52818 dependencies back to end of function.
52819
87162f46
AS
52820 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52821 $(elfobjdir)/ld.so.
52822
91b392a4
UD
528232011-08-21 Ulrich Drepper <drepper@gmail.com>
52824
52825 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52826 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52828 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52829 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52830 of __vdso_gettimeofday.
52831 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52832 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52833 attribute_hidden.
52834 (_libc_vdso_platform_setup): Remove initialization of
52835 __vdso_gettimeofday and __vdso_time.
52836
5c43483f
UD
528372011-08-20 Ulrich Drepper <drepper@gmail.com>
52838
775a77e7
UD
52839 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52840 and fgetc_unlocked.
52841 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52842 getc_unlocked.
89f447ed 52843
49c74ba9
UD
52844 * elf/dl-open.c (add_to_global): Report additions to the global scope
52845 for LD_DEBUG=scopes.
52846 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52847 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52848
5c43483f
UD
52849 [BZ #13114]
52850 * stdio-common/Makefile (tests): Add bug24.
52851 * stdio-common/bug24.c: New file.
52852
a101b025
AJ
528532011-08-19 Andreas Jaeger <aj@suse.de>
52854
52855 [BZ #13114]
52856 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52857 non-existant file when using close-on-exec mode.
52858
c88f1766
UD
528592011-08-20 Ulrich Drepper <drepper@gmail.com>
52860
0276a718
UD
52861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52862 the very first instruction.
52863
c88f1766
UD
52864 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52865 the CFI state in the end.
52866 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52867 inclusion of dl-trampoline.h.
52868 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52869
51ccffa0
AS
528702011-08-19 Andreas Schwab <schwab@redhat.com>
52871
94d7165f
AS
52872 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52873 expectations for long double.
52874
51ccffa0
AS
52875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52876 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52877
fd708658 528782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52879
52880 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52881 artificual limit depends upon the system page size.
52882
44f0a71e
UD
528832011-08-17 Ulrich Drepper <drepper@gmail.com>
52884
52885 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52886 * resolv/Makefile: Define CFLAGS-libresolv.
52887
8de79a24
AS
528882011-08-17 Andreas Schwab <schwab@redhat.com>
52889
52890 * nss/makedb.c (compute_tables): Make variables used in nested
52891 function static.
52892
27724598
UD
528932011-08-17 Ulrich Drepper <drepper@gmail.com>
52894
c5305d88
UD
52895 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52896 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52897 if buffer was too small.
52898
27724598
UD
52899 * elf/pldd.c (main): Attach to all threads in the process.
52900 Rewrite /proc handling to use *at functions.
52901
076fe015
UD
529022011-08-16 Ulrich Drepper <drepper@gmail.com>
52903
174baab3
UD
52904 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52905 specifies first scope to show.
52906 (dl_open_worker): Update callers. Move printing scope of new
52907 object to before the relocation.
44f0a71e 52908 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52909 * sysdeps/generic/ldsodefs.h: Update declaration.
52910
076fe015
UD
52911 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52912 string for the scope number.
52913
a60df2c3
UD
529142011-08-14 Ulrich Drepper <drepper@gmail.com>
52915
52916 * nscd/servicescache.c (cache_addserv): Make sure written is always
52917 initialized.
52918
5e4287d1
RM
529192011-08-14 Roland McGrath <roland@hack.frob.com>
52920
85ae0589
RM
52921 * sysdeps/i386/i486/bits/atomic.h
52922 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52923 statement expression, so as to suppress "set but not used" warning.
52924 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52925
69f63097
RM
52926 * string/strncat.c (STRNCAT): Use prototype definition.
52927
675456ef
RM
52928 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52929 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52930 -Iprograms here.
52931 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52932 (localedef-modules): Add localedef.
52933 (locale-modules): Add locale.
52934
5e4287d1
RM
52935 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52936 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52937 to avoid a warning.
52938
9c96ff23
DM
529392011-08-14 David S. Miller <davem@davemloft.net>
52940
52941 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52942 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52943
f9ddf089
UD
529442011-08-13 Ulrich Drepper <drepper@gmail.com>
52945
44f0a71e 52946 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52947 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52948 * elf/rtld.c (dl_main): Set l_name of vDSO.
52949 Call _dl_show_scope when DL_DEBUG_SCOPES.
52950 (process_dl_debug): Recognize scopes flag and also set it for all.
52951 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52952 Declare _dl_show_scope.
52953
1dc27704
UD
52954 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52955 (do_dlopen): Pass caller_dlopen to dl_open.
52956 (__libc_dlopen_mode): Initialize caller_dlopen.
52957
f9ddf089
UD
52958 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52959 of libc. Make tolower call locale-independent. Optimize a bit by
52960 using isdigit instead of isalnum.
52961 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52962
9ac533d3
UD
529632011-08-12 Ulrich Drepper <drepper@gmail.com>
52964
52965 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52966 was a dependency or dynamically loaded.
52967
89edf2e9
UD
529682011-08-11 Ulrich Drepper <drepper@gmail.com>
52969
8e999d29
UD
52970 * intl/l10nflist.c: Allow architecture-specific pop function.
52971 * sysdeps/x86_64/l10nflist.c: New file.
52972
89edf2e9
UD
52973 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52974 classification.
52975
14d96785
AS
529762011-08-10 Andreas Schwab <schwab@redhat.com>
52977
52978 * include/dirent.h: Add libc_hidden_proto for scandirat and
52979 scandirat64. Don't declare __scandirat64.
52980 * dirent/scandirat.c: Add libc_hidden_def.
52981 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52982 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52983
6761ac04
DM
529842011-08-10 David S. Miller <davem@davemloft.net>
52985
52986 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52987 enum.
52988 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52989 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52991
c55fbd1e
UD
529922011-08-09 Ulrich Drepper <drepper@gmail.com>
52993
52994 * Versions.def [libc]: Add GLIBC_2.15.
52995 * dirent/Makefile (routines): Add scandirat and scandirat64.
52996 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52997 GLIBC_2.15.
52998 * dirent/dirent.h: Declare scandirat and scandirat64.
52999 * dirent/scandirat.c: New file.
53000 * dirent/scandirat64.c: New file.
53001 * sysdeps/wordsize-64/scandirat.c: New file.
53002 * sysdeps/wordsize-64/scandirat64.c: New file.
53003 * dirent/opendir.c: Define opendirat.
53004 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53005 using scandirat.
53006 * dirent/scandir64.c: Adjust for scandir.c change.
53007 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53008 __scandirat64, and __scandir_cancel_handler.
53009 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53010 additional parameter and use openat instead of open (outside of ld.so).
53011 Add new __opendir as wrapper around __opendirat.
53012 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53013 here without requiring old scandirat implementation.
53014
879165f2
UD
530152011-08-08 Ulrich Drepper <drepper@gmail.com>
53016
53017 * dirent/scandir.c (cancel_handler): Renamed to
53018 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53019 defined. Adjust users.
53020 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53022
cb7e923b
UD
530232011-08-04 Ulrich Drepper <drepper@gmail.com>
53024
16292edd
UD
53025 * string/test-string.h (IMPL): Use __STRING to expand name and then
53026 stringify it.
53027
cb7e923b
UD
53028 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53029 of cleanups.
53030
cff82933
LD
530312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53032
53033 * string/Makefile: Update.
53034 (strop-tests): Append strncat.
53035 * string/test-wcscmp.c: New file.
53036 New comprehensive test for wcscmp.
53037 * string/test-strcmp.c: Update.
53038 (WIDE): New define.
53039
9be9bfcc
AS
530402011-07-22 Andreas Schwab <schwab@redhat.com>
53041
53042 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53043 line.
53044
2e96f1c7
AS
530452011-07-26 Andreas Schwab <schwab@redhat.com>
53046
53047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53048 encoding to ACE if AI_IDN.
53049
85188888
JJ
530502011-08-01 Jakub Jelinek <jakub@redhat.com>
53051
53052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53053 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53054
5fa16e9b
LD
530552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53056
53057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53058 Fix overflow bug in strncat.
53059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53060
53061 * string/test-strncat.c: Update.
53062 Add new tests for checking overflow bugs.
53063
530642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53065
53066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53067 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53068 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53069 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53070 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53071 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53072 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53073 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53074 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53075
53076 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53077 (USE_AS_STRCAT): Define.
53078 Add strcat and strncat support.
53079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53080
8c1a459f
AS
530812011-07-25 Andreas Schwab <schwab@redhat.com>
53082
53083 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53084 __n bigger than INT_MAX+1.
53085 (__strncmp_g): Likewise.
53086
bba33c28
UD
530872011-07-23 Ulrich Drepper <drepper@gmail.com>
53088
798be72d
UD
53089 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53090 * libio/stido.h: Likewise.
53091
8accd4dc
UD
53092 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53093 (AF_NFC): Define.
53094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53095 (AF_NFC): Define.
53096
cbff0d96
UD
53097 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53100 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53102
9191c04a
UD
53103 [BZ #13021]
53104 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53105 installed.
53106
bba33c28
UD
53107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53108 typo.
53109 (_dl_x86_64_save_sse): Likewise.
53110
90f139dd
UD
531112011-07-22 Ulrich Drepper <drepper@gmail.com>
53112
1aae088a
UD
53113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53114 OSXSAVE.
53115 (_dl_x86_64_save_sse): Likewise.
53116
8e2045f5
UD
53117 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53118
90f139dd
UD
53119 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53120
1d002f25
AS
531212011-07-21 Andreas Schwab <schwab@redhat.com>
53122
53123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53124 change.
53125 (_dl_x86_64_save_sse): Use correct AVX check.
53126
21137f89
UD
531272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53128
53129 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53130 bug in strncpy/strncat.
53131 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53132
a65c0b7a
UD
531332011-07-21 Ulrich Drepper <drepper@gmail.com>
53134
53135 * string/tester.c (test_strcat): Add tests for different alignments
53136 of source and destination.
53137 (test_strncat): Likewise.
53138
6986b98a
UD
531392011-07-20 Ulrich Drepper <drepper@gmail.com>
53140
90bb2039
UD
53141 [BZ #12852]
53142 * posix/glob.c (glob): Check passed in values before using them in
53143 expressions to avoid some overflows.
53144 (glob_in_dir): Likewise.
53145
5644ef54
UD
53146 [BZ #13007]
53147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53148 check for AVX enablement so that we don't crash with old kernels and
53149 new hardware.
53150 * elf/tst-audit4.c: Add same checks here.
53151 * elf/tst-audit6.c: Likewise.
53152
53153 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53154
bfc9dc9b
AS
531552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53156
53157 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53158
702e64bb
UD
531592011-07-20 Ulrich Drepper <drepper@gmail.com>
53160
53161 * po/cs.po: Update from translation team.
53162 * po/bg.po: Likewise.
53163
295e904f
MP
531642011-07-12 Marek Polacek <mpolacek@redhat.com>
53165
53166 * misc/sys/cdefs.h: Add support for const attribute.
53167 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53168 to gnu_dev_{major,minor,makedev} functions.
53169
3ff94596
MP
531702011-07-20 Marek Polacek <mpolacek@redhat.com>
53171
53172 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53173
28b59fca
AS
531742011-07-20 Andreas Schwab <schwab@redhat.com>
53175
53176 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53177 strlen results.
53178
19df733e
AK
531792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53180
53181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53182 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53183 register in order to avoid conflicts with the soft frame pointer
53184 being held in r11 when necessary.
53185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53186 (INTERNAL_VSYSCALL_NCS): Likewise.
53187
c8835729
MP
531882011-07-14 Marek Polacek <mpolacek@redhat.com>
53189
53190 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53191 * elf/dl-fini.c (_dl_fini): Adjust caller.
53192 * elf/dl-close.c (_dl_close_worker): Likewise.
53193 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53194
b902330c
MP
531952011-07-15 Marek Polacek <mpolacek@redhat.com>
53196
8991e135
MP
53197 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53198 "aux_cache->nlibs < 0".
53199
b902330c
MP
53200 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53201 in the reload-count case.
53202
99710781
LD
532032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53204
53205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53206 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53207 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53208 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53209 * sysdeps/x86_64/multiarch/strcat.S: New file.
53210 * sysdeps/x86_64/multiarch/strncat.S: New file.
53211 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53212 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53213 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53214 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53215 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53216 (USE_AS_STRCAT): Define.
53217 Add strcat and strncat support.
53218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53220 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53221 * string/strncat.c: Update.
53222 (USE_AS_STRNCAT): Define.
53223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53224 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53225 and i7.
53226 * sysdeps/x86_64/multiarch/init-arch.h
53227 (bit_Prefer_PMINUB_for_stringop): New.
53228 (index_Prefer_PMINUB_for_stringop): Likewise.
53229 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53230 bit_Prefer_PMINUB_for_stringop.
53231
7dc6bd90
UD
532322011-07-19 Ulrich Drepper <drepper@gmail.com>
53233
53234 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53235 buffer64.
53236 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53237 of casting of buffer.
53238 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53239 buffer32 and buffer64.
53240 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53241 writes instead of casting of buffer.
53242 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53243 buffer32.
53244 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53245 casting of buffer.
53246
e0e72284
AS
532472011-07-19 Andreas Schwab <schwab@redhat.com>
53248
53249 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53250
feb1eb0b
UD
532512011-07-19 Ulrich Drepper <drepper@gmail.com>
53252
53253 * nscd/nscd.c (termination_handler): Don't do anything for a database
53254 if it has not yet been initialized.
53255
298711ff
UD
532562011-07-18 Ulrich Drepper <drepper@gmail.com>
53257
53258 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53259
532602011-07-15 Marek Polacek <mpolacek@redhat.com>
53261
53262 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53263
f9d68389
UD
532642011-07-18 Ulrich Drepper <drepper@gmail.com>
53265
53266 * po/nl.po: Update from translation team.
53267 * po/sv.po: Likewise.
53268
db290cf5
RM
532692011-07-16 Roland McGrath <roland@hack.frob.com>
53270
53271 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53272 now disallowed by GCC.
5c550700 53273
fd5e21c7
RM
53274 * configure.in (use-default-link): Default to yes if a test -shared
53275 link meets our qualifications.
53276 * configure: Regenerated.
53277
5c550700
RM
53278 * config.make.in (output-format): New variable.
53279 * configure.in: Check for ld --print-output-format support.
53280 * configure: Regenerated.
53281 * Makerules ($(common-objpfx)format.lds)
53282 [$(output-format) != unknown]: Just use $(output-format),
53283 instead of the linker-script munging.
53284
9fa2c032
RM
532852011-07-14 Roland McGrath <roland@hack.frob.com>
53286
a6928d51
RM
53287 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53288 of $(common-objpfx)shlib.lds.
53289 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53290
661607b3
RM
53291 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53292 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53293
9fa2c032
RM
53294 * configure.in (-z relro check): Adjust test code to add a large
53295 writable data section after it.
53296 * configure: Regenerated.
53297
defe9061
RM
532982011-07-11 Roland McGrath <roland@hack.frob.com>
53299
53300 * configure.in (-z relro check): Fix test code to make the variable
53301 truly const.
53302 * configure: Regenerated.
53303
319b9ad4
UD
533042011-07-11 Ulrich Drepper <drepper@gmail.com>
53305
53306 * nscd/nscd.h (struct traced_file): Define.
53307 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53308 elements. Add traced_files.
53309 (inotify_fd): Declare.
53310 (register_traced_file): Declare.
53311 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53312 (inotify_fd): Export.
53313 (resolv_conf_descr): Remove.
53314 (nscd_init): Move inotify descriptor creation to main.
53315 Don't register files for notification here.
53316 (register_traced_file): New function.
53317 (invalidate_cache): Don't use reset_res to determine whether to call
53318 res_init, go through the list of registered files.
53319 (main_loop_poll): The inotify descriptors are now stored in the
53320 structures for the traced files.
53321 (main_loop_epoll): Likewise
53322 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53323 to __nss_disable_nscd.
53324 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53325 for a database anymore. Check the records for all the registered
53326 files instead.
53327 * nss/Makefile (libnss_files-routines): Add files-init.
53328 (libnss_db-routines): Add db-init.
53329 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53330 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53331 * nss/nss_db/db-init.c: New file.
53332 * nss/nss_files/files-init.c: New file.
53333 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53334 __nss_lookup_function.
53335 (__nss_lookup_function): Call nss_load_library.
53336 (nss_load_all_libraries): New function.
53337 (__nss_disable_nscd): Take parameter with callback function for files
53338 to register. Set is_nscd. Load all the DSOs for the NSS modules
53339 used for the cached services.
53340 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53341 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53342 options for features to all the files in nscd.
53343
53344 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53345
23bee3e8
RM
533462011-07-10 Roland McGrath <roland@hack.frob.com>
53347
53348 * csu/elf-init.c (__libc_csu_init): Comment typo.
53349
46a5b7f0
UD
533502011-07-09 Ulrich Drepper <drepper@gmail.com>
53351
53352 * po/pl.po: Update from translation team.
53353 * po/ja.po: Likewise.
53354 * po/ru.po: Likewise.
53355 * po/ko.po: Likewise.
53356 * po/fr.po: Likewise.
53357
d30cf5bb
RM
533582011-07-09 Roland McGrath <roland@hack.frob.com>
53359
113ddea4
RM
53360 * configure.in (.ctors/.dtors header and trailer check):
53361 Use an empirical test on a built program.
53362 * configure: Regenerated.
53363
574920b4
RM
53364 * configure.in (-z relro check): Use an empirical test on a built DSO.
53365 Detect, but do not require, on ia64.
53366 * configure: Regenerated.
53367
d30cf5bb
RM
53368 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53369 Update tests that use readelf to use $READELF instead.
53370 * configure: Regenerated.
53371
8538fdb3
UD
533722011-07-08 Ulrich Drepper <drepper@gmail.com>
53373
53374 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53375 if the result is not used.
53376
04d08991
AJ
533772011-07-05 Andreas Jaeger <aj@suse.de>
53378
53379 [BZ#9696]
53380 * stdlib/tst-strtod.c: Add testcase.
53381
de283087
AD
533822011-07-07 Ulrich Drepper <drepper@gmail.com>
53383
4e5f31c8 53384 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53385 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53386 The latter has a higher limit. Take additional parameter to pass to
53387 the new function.
53388 (__pathconf): Pass file to __statfs_link_max.
53389 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53390 __statfs_link_max.
53391 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53392 __statfs_link_max.
53393
de283087
AD
53394 [BZ #12868]
53395 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53397 Handle Lustre.
53398 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53399 (__statfs_filesize_max): Likewise.
53400 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53401
c75fa153
AJ
534022011-07-05 Andreas Jaeger <aj@suse.de>
53403
53404 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53405
1a544854
UD
534062011-07-06 Marek Polacek <mpolacek@redhat.com>
53407
53408 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53409 `status' variable.
53410 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53411 Likewise.
53412
6f0eec67
UD
534132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53414
53415 * Makefile (strop-tests): Add strncat.
53416 * string/test-strncat.c: New file.
53417
aae30307
UD
534182011-06-30 Marek Polacek <mpolacek@redhat.com>
53419
53420 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53421
c0cfb5eb
UD
534222011-06-21 Andreas Jaeger <aj@suse.de>
53423
53424 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53425 Copy rule from iconvdata/Makefile.
53426
01636b21
UD
534272011-07-06 Ulrich Drepper <drepper@gmail.com>
53428
53429 [BZ #12922]
53430 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53431 but no long options are defined, just return 'W'.
53432
9895c8bc
UD
534332011-06-22 Marek Polacek <mpolacek@redhat.com>
53434
53435 [BZ #9696]
53436 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53437
5d4cf042
UD
534382011-07-06 Ulrich Drepper <drepper@gmail.com>
53439
53440 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53441 netgroups to read.
960e5535 53442 (innetgr): Likewise.
5d4cf042 53443
751eb97e
RM
534442011-07-05 Roland McGrath <roland@hack.frob.com>
53445
53446 * config.make.in (install_root): Default to $(DESTDIR).
53447
f15f1e45
UD
534482011-07-05 Ulrich Drepper <drepper@gmail.com>
53449
53450 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53451
4e34ac6a
RM
534522011-07-02 Roland McGrath <roland@hack.frob.com>
53453
5e9b6af4
RM
53454 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53455
84f9ea0f
RM
53456 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53457 containing directory rather than embedding absolute directory names.
53458
ea5ee9f7
RM
53459 * scripts/check-local-headers.sh: Rewritten using awk.
53460 Match by word, not by line. Print error messages for matches.
53461 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53462
1b74661a
RM
53463 * Makerules [shlib-lds-flags empty]:
53464 ($(common-objpfx)libc_pic.opts): New target.
53465 ($(common-objpfx)libc_pic.os.clean): New target.
53466 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53467
53468 * config.make.in (OBJCOPY): New variable.
53469 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53470 * configure: Regenerated.
53471
f781ef40
RM
53472 * config.make.in (use-default-link): New variable.
53473 * configure.in (use_default_link): Grok --with-default-link to set it.
53474 * configure: Regenerated.
53475 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53476 (shlib-lds, shlib-lds-flags): Define to empty.
53477
2d4fa81e
RM
53478 * Makerules (shlib-lds): New variable.
53479 (shlib-lds-flags): New variable.
53480 (build-shlib, build-moduile, build-module-asneeded): Use it.
53481 ($(common-objpfx)libc.so): Use $(shlib-lds).
53482 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53483 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53484
31fffa6b
RM
53485 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53486 DT_FLAGS/DT_FLAGS_1 with zero flags.
53487
4e34ac6a
RM
53488 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53489 linker script munging.
53490
fcfc776b
UD
534912011-07-02 Ulrich Drepper <drepper@gmail.com>
53492
53493 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53494 as 128-bit value.
53495 * crypt/sha512.c (sha512_process_block): Perform total addition using
53496 128-bit if possible.
53497 (__sha512_finish_ctx): Likewise.
53498 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53499 as 64-bit value.
53500 * crypt/sha256.c (SWAP64): Define.
53501 (sha256_process_block): Perform total addition using 64-bit if
53502 possible.
53503 (__sha256_finish_ctx): Likewise.
53504
99231d9a
UD
535052011-07-01 Ulrich Drepper <drepper@gmail.com>
53506
53507 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53509 * nscd/hstcache.c (cache_addhst): Likewise.
53510 * nscd/grpcache.c (cache_addgr): Likewise.
53511 * nscd/aicache.c (addhstaiX): Likewise
53512 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53513
445b4a53
TK
535142011-07-01 Thorsten Kukuk <kukuk@suse.de>
53515
53516 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53518 * nscd/hstcache.c (cache_addhst): Likewise.
53519 * nscd/grpcache.c (cache_addgr): Likewise.
53520 * nscd/aicache.c (addhstaiX): Likewise
53521
6d4d8e8e
AS
535222011-07-01 Andreas Schwab <schwab@redhat.com>
53523
53524 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53525 domain only when needed.
53526
89f654c5
AS
535272011-06-30 Andreas Schwab <schwab@redhat.com>
53528
53529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53530 is always restored.
53531
cf3b23ff
UD
535322011-06-29 Ulrich Drepper <drepper@gmail.com>
53533
53534 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53535 are re-adding the entry.
53536 * nscd/servicescache.c (cache_addserv): Likewise.
53537
751626f9
AJ
535382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53539
53540 * sysdeps/generic/dl-irel.h: fix protection against multiple
53541 inclusions.
53542 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53543
9113ea1f
UD
535442011-06-28 Ulrich Drepper <drepper@gmail.com>
53545
5c0b8d90
UD
53546 [BZ #12935]
53547 * malloc/memusage.sh: Fix quoting in message.
53548 * debug/xtrace.sh: Likewise.
53549
9113ea1f
UD
53550 * configure.in: Remove support for --experimental-malloc option, make
53551 it the default.
53552 * config.make.in: Likewise.
53553 * malloc/Makefile: Likewise.
53554
a4172181
AS
535552011-06-27 Andreas Schwab <schwab@redhat.com>
53556
53557 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53558 two-byte characters.
53559
78a7eee7
RM
535602011-06-27 Roland McGrath <roland@hack.frob.com>
53561
62bede13
RM
53562 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53563 AC_CACHE_CHECK invocation.
53564 * configure: Regenerated.
53565
78a7eee7
RM
53566 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53567
5ce33a62
UD
535682011-06-27 Ulrich Drepper <drepper@gmail.com>
53569
034807a9
UD
53570 [BZ #12350]
53571 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53572 bit from old_res_options.
53573
4902da17
UD
53574 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53575
5ce33a62
UD
53576 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53577 value type for setfct.
53578
c2344f56
L
535792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53580
53581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53582 __gettimeofday instead of gettimeofday.
53583
68468076
UD
535842011-06-26 Ulrich Drepper <drepper@gmail.com>
53585
53586 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53587
acb0d739
L
535882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53589
53590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53591
53592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53593 info.
53594
8912479f
L
535952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53596
53597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53598 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53599 strcpy-sse2-unaligned strncpy-sse2-unaligned
53600 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53601 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53602 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53603 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53604 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53605 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53607 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53608 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53609 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53610 (STRCPY): Support SSE2 and SSSE3 versions.
53611
d5495a11
UD
536122011-06-24 Ulrich Drepper <drepper@gmail.com>
53613
53614 [BZ #12874]
53615 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53616 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53617 kernels which artificially limit size of requests.
53618
0b1cbaae
L
536192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53620
53621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53622 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53623 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53624 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53625 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53626 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53627 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53628 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53629 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53631 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53632 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53633 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53634 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53635 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53637 Enable unaligned load optimization for Intel Core i3, i5 and i7
53638 processors.
53639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53640 Define.
53641 (index_Fast_Unaligned_Load): Define.
53642 (HAS_FAST_UNALIGNED_LOAD): Define.
53643
07f494a0
MP
536442011-06-23 Marek Polacek <mpolacek@redhat.com>
53645
53646 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53647
fa3fc0fe
UD
536482011-06-22 Ulrich Drepper <drepper@gmail.com>
53649
53650 [BZ #12907]
53651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53652 until it is clear that the information is realy needed.
53653 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53654
e12df166
AS
536552011-06-22 Andreas Schwab <schwab@redhat.com>
53656
53657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53658
852eb34d
UD
536592011-06-22 Ulrich Drepper <drepper@gmail.com>
53660
84e2a551
UD
53661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53662 /sys/devices/system/cpu/online if it is usable.
53663
852eb34d
UD
53664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53665 reading the information from the /proc filesystem to once a second.
53666
6e502e19
UD
536672011-06-21 Andreas Jaeger <aj@suse.de>
53668
53669 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53670 NULL after inclusion of kernel headers.
53671
75d39ff2
UD
536722011-06-21 Ulrich Drepper <drepper@gmail.com>
53673
51f9aa6a
UD
53674 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53675 calls to internal_setent.
53676
c0244a9d
UD
53677 [BZ #12885]
53678 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53679 addresses using gethostbyname4_r ignore IPv4 addresses.
53680
c5e3c2ae
UD
53681 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53682 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53683
75d39ff2
UD
53684 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53685
42675c6f
DM
536862011-06-20 David S. Miller <davem@davemloft.net>
53687
53688 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53689 inclusions.
53690 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53691
53692 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53693 (elf_irel): Use it.
53694 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53695 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53696 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53697 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53698 * sysdeps/x86_64/dl-irel.h: Likewise.
53699
53700 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53701 * elf/dl-sym.c: Likewise.
53702
57912a71
UD
537032011-06-15 Ulrich Drepper <drepper@gmail.com>
53704
53705 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53706 need to dereference resplen2.
53707
ee22793d
AS
537082011-06-14 Andreas Schwab <schwab@redhat.com>
53709
53710 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53711
a9e836b0
UD
537122011-06-15 Ulrich Drepper <drepper@gmail.com>
53713
77fb9117
UD
53714 * Makeconfig: Define vardbdir and inst_vardbdir.
53715 * nss/Makefile: Add rules to install db-Makefile.
53716
40c1b22c
UD
53717 * nss/nss_db/db-XXX.c: Cleanup.
53718
9f2da732
UD
53719 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53720 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53721 GLIBC_PRIVATE.
53722 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53723 * nss/makedb.c: Implement -g option to specify that value strings
53724 are generated and should not be added to table iterated over for
53725 get*ent calls.
53726 * nss/nss_db/db-initgroups.c: New file.
53727
82e9a1f7
UD
53728 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53729 interface.
53730
c41af17e
UD
53731 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53732 (internal_getgrouplist): Adjust to name change.
53733 Update use_initgroups_entry if this is not the first call.
53734 * nss/databases.def: Add initgroups entry.
53735
a9e836b0
UD
53736 * nss/makedb.c (compute_tables): Check result of multiple hash table
53737 sizes to minimize maximum chain length.
53738
2666d441
UD
537392011-06-14 Ulrich Drepper <drepper@gmail.com>
53740
53741 * Versions.def: Add entry for libnss_db.
53742 * shlib-versions: Likewise.
53743 * nss/Makefile: Add rules to build libnss_db.
53744 * nss/Versions: Add libnss_db information. Organize libnss_files
53745 entries better.
53746 * nss/db-Makefile: Add gshadow support. Change rules for the new
53747 makedb progra. Some minor improvements to generate smaller files.
53748 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53749 here from...
53750 * nss/makedb.c: ...here.
53751 Improve database format to be smaller and require less memory at
53752 runtime.
53753 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53754 db anymore.
53755 * nss/nss_db/db-netgrp.c: Likewise.
53756 * nss/nss_db/db-open.c: Likewise.
53757 * nss/nss_files/flies-XXX.x: Adjust comments.
53758 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53759 * nss/nss_files/files-grp.c: Likewise.
53760 * nss/nss_files/files-hosts.c: Likewise.
53761 * nss/nss_files/files-network.c: Likewise.
53762 * nss/nss_files/files-proto.c: Likewise.
53763 * nss/nss_files/files-pwd.c: Likewise.
53764 * nss/nss_files/files-rpc.c: Likewise.
53765 * nss/nss_files/files-service.c: Likewise.
53766 * nss/nss_files/files-sgrp.c: Likewise.
53767 * nss/nss_files/files-spwd.c: Likewise.
53768 * nss/nss_db/db-alias.c: Removed.
53769 * nss/nss_db/dummy-db.h: Removed.
53770
9ee76b5a
UD
537712011-06-02 Ulrich Drepper <drepper@gmail.com>
53772
53773 * nss/makedb.c: Rewritten to not use database library.
53774 * nss/Makefile: Update to build new makedb program.
53775
c71ca1f8
AJ
537762011-06-14 Andreas Jaeger <aj@suse.de>
53777
53778 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53779 memset declaration.
53780
3154bfb8
UD
537812011-06-10 Andreas Schwab <schwab@redhat.com>
53782
53783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53784 tmpbuf.
53785
b350afab
RM
537862011-06-10 Roland McGrath <roland@hack.frob.com>
53787
decd4e50
RM
53788 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53789 * elf/Makefile ($(objpfx)ld.so): Likewise.
53790
5615eaf2
RM
53791 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53792 Don't list ld.so twice in dependencies.
53793
53794 * posix/bug-regex31.c: Include <stdlib.h>.
53795
53796 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53797
53798 * nis/nss_compat/compat-spwd.c
53799 (getspent_next_nss_netgr): Remove unused variable.
53800 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53801
53802 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53803 nonmembers" output to use the right array.
53804
53805 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53806
53807 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53808
53809 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53810 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53811 * catgets/gencat.c (read_input_file): Likewise.
53812 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53813
53814 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53815 variable definition inside #if's controlling its use.
53816
53817 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53818
53819 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53820
53821 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53822
53823 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53824 unreachable code.
53825
53826 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53827
b68e08db
RM
53828 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53829 * configure: Regenerated.
53830
b350afab
RM
53831 * Makerules: Revert last change.
53832 * elf/Makefile: Likewise.
53833
28368601
RM
538342011-06-09 Roland McGrath <roland@hack.frob.com>
53835
53836 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53837 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53838 (reloc-link): Likewise.
53839
11988f8f
UD
538402011-06-09 Ulrich Drepper <drepper@gmail.com>
53841
53842 * elf/Makefile: Add rules to build pldd.
53843 * elf/pldd.c: New file.
53844 * elf/pldd-xx.c: New file.
53845
e80fab37
UD
538462011-06-07 Ulrich Drepper <drepper@gmail.com>
53847
53848 * version.h: Update for 2.15 development version.
53849
9b849836
DM
538502011-06-07 David S. Miller <davem@davemloft.net>
53851
53852 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53853 ifuncs.
53854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53855 elf_machine_lazy_rel): Likewise.
53856 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53858 elf_machine_lazy_rel): Likewise.
53859 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53860 dl_hwcap via passed in argument.
53861 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53862 Likewise.
53863
5a31b283
AK
538642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53865
53866 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53867
069e52f8
RM
538682011-06-06 Roland McGrath <roland@hack.frob.com>
53869
53870 [BZ #12849]
53871 * manual/fdl-1.1.texi: New file, verbatim from:
53872 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53873 * manual/lgpl-2.1.texi: New file, verbatim from:
53874 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53875 * manual/Makefile (licenses): New variable, list those new file names.
53876 (texis): Use it.
53877 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53878
53879 * manual/fdl.texi: File removed.
53880 * manual/lesser.texi: File removed.
53881 * manual/libc.texinfo (Copying, Documentation License):
53882 Use new @include file names, put @appendix directive before @include.
53883
f16846a5
JJ
538842011-06-04 Jakub Jelinek <jakub@redhat.com>
53885
53886 [BZ #12841]
53887 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53888 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53889 (mq_open): Add __NTH.
53890
3d29045b
L
538912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53892
53893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53894 Assume Intel Core i3/i5/i7 processor if AVX is available.
53895
8c297311
UD
538962011-05-31 Ulrich Drepper <drepper@gmail.com>
53897
53898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53899 typo.
53900
c8fc0c91
UD
539012011-05-31 Andreas Schwab <schwab@redhat.com>
53902
53903 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53904 memory. Use alloca_account. Fix memory leak when retrying.
53905
5b27a807
UD
539062011-05-31 Ulrich Drepper <drepper@gmail.com>
53907
356f8bc6
UD
53908 * version.h (RELEASE): Bump for 2.14 release.
53909 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53910
5b27a807
UD
53911 * config.make.in (RANLIB): Remove entry.
53912
01f16ab0
UD
539132011-05-30 Ulrich Drepper <drepper@gmail.com>
53914
41fce8bd
UD
53915 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53916 (libc.pot): Work around missing support for .ksh extension in xgettext.
53917
4769ae77
UD
53918 [BZ #12684]
53919 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53920 if both request failed.
53921 (send_dg): In case of server errors clear resplen or *resplen2.
53922
6b1e7d19
UD
53923 [BZ #12454]
53924 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53925 when there are multiple maps.
53926 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53927 (_dl_fini): Remove test here.
53928
01f16ab0
UD
53929 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53930
b1ebd700
UD
539312011-05-29 Ulrich Drepper <drepper@gmail.com>
53932
7ae22829
UD
53933 [BZ #12350]
53934 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53935 bit from old_res_options.
53936 (gaih_inet): Likewise.
53937
553149f6 53938 [BZ #11099]
18a84741 53939 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53940 as signed.
53941
652ffab1
UD
53942 * resolv/res_init.c (res_setoptions): Make the code more compact.
53943
16985fd0
UD
53944 [BZ #11558]
53945 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53946 set RES_USEVC.
53947
0464f746
UD
53948 [BZ #11634]
53949 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53950
7d17596c
UD
53951 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53952
cf6bbbd7
UD
53953 [BZ #11781]
53954 * malloc/malloc.h: Declare malloc hook variables as volatile.
53955
13f1ab36
UD
53956 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53957 in last patch.
53958
b1ebd700
UD
53959 [BZ #11799]
53960 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53961 raise in the comment.
80e2212d
UD
53962 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53963 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53964 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53965
ce67228d
UD
539662011-05-28 Ulrich Drepper <drepper@gmail.com>
53967
8887a920
UD
53968 [BZ #12811]
53969 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53970 grow the buffers more if it already has to be sufficient.
53971 (build_wcs_upper_buffer): Likewise.
53972 * posix/regexec.c (check_matching): Likewise.
53973 (clean_state_log_if_needed): Likewise.
53974 (extend_buffers): Don't enlarge buffers beyond size of the input
53975 buffer.
53976 Patches mostly by Emil Wojak <emil@wojak.eu>.
53977 * posix/bug-regex32.c: New file.
53978 * posix/Makefile (tests): Add bug-regex32.
53979
4f031072
UD
53980 * locale/findlocale.c (_nl_find_locale): Return right away if
53981 _nl_explode_name failed.
53982 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53983
d0478f0c
UD
53984 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53985
de81b246
UD
53986 * debug/xtrace.sh: Unify messages.
53987 * malloc/memusage.sh: Likewise.
53988
c738465a
UD
53989 [BZ #12813]
53990 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53991 time symbol from vDSO. Substitute with vsyscall if not available.
53992 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53993 __vdso_time.
53994
f1f929d7
UD
53995 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53996 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53997 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53998 Add sendmmsg and internal_sendmmsg.
53999 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54000 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54001 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54002
ce67228d
UD
54003 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54004 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54006
e57420c6
UD
540072011-05-27 Ulrich Drepper <drepper@gmail.com>
54008
a8509ca5
UD
54009 [BZ #12813]
54010 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54011 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54012 available.
54013 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54014 __vdso_getcpu.
54015
e57420c6
UD
54016 [BZ #12814]
54017 * iconvdata/Makefile (tests): Add bug-iconv9.
54018 * iconvdata/bug-iconv9.c: New file.
54019
4d07db15
AS
540202011-05-27 Andreas Schwab <schwab@redhat.com>
54021
54022 [BZ #12814]
54023 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54024
ea486f69
JJ
540252011-05-25 Jakub Jelinek <jakub@redhat.com>
54026
54027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54028 (struct user_regs_struct): Change intcs field back to cs.
54029
6f038433
UD
540302011-05-25 Ulrich Drepper <drepper@gmail.com>
54031
54032 * po/ja.po: Update from translation team.
54033
67f86a25
UD
540342011-05-23 Ulrich Drepper <drepper@gmail.com>
54035
54036 [BZ #12795]
54037 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54038 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54039
def7fbd6
AS
540402011-05-20 Andreas Schwab <schwab@redhat.com>
54041
54042 * stdlib/longlong.h: Update from GCC.
54043
f50ef8f1
AS
540442011-05-23 Andreas Schwab <schwab@redhat.com>
54045
54046 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54047 parameter name.
54048 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54049 Add parameter name.
54050 (__sysconf): Pass it down.
54051
de7ce8f1
UD
540522011-05-22 Ulrich Drepper <drepper@gmail.com>
54053
f2962a71
UD
54054 [BZ #12671]
54055 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54056 some situations.
54057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54058 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54059 add in in __libc_use_alloca calls. Adjust callers.
54060 (glob): Use malloc in some situations.
54061
de7ce8f1
UD
54062 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54063 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54064 pltexit.
54065
aec84f53
UD
540662011-05-21 Ulrich Drepper <drepper@gmail.com>
54067
05bb4a68
UD
54068 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54069 and CLOCK_BOOTTIME_ALARM.
54070
7ea72f99
UD
54071 [BZ #12782]
54072 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54073 is returned.
54074
7e4afad5
UD
54075 * string/_strerror.c (__strerror_r): Print negative errors as signed
54076 numbers.
54077
8e211fec
UD
54078 [BZ #12777]
54079 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54080 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54081 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54082
f7d82dc9
UD
54083 * configure.in: Fix typo in redirection and correct removal of test
54084 files in two cases.
54085
cc9e536d
UD
54086 [BZ #12788]
54087 * locale/setlocale.c (new_composite_name): Fix test to check for
54088 identical name of all categories.
54089
aec84f53
UD
54090 [BZ #12792]
54091 * libio/filedoalloc.c (local_isatty): New function.
54092 (_IO_file_doallocate): Use local_isatty.
54093 * stdio-common/perror.c (perror): In case a new stream is used
54094 forward the stream error.
54095 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54096 error flag.
54097
78e64fdc
RT
540982011-05-20 Ulrich Drepper <drepper@gmail.com>
54099
34a9094f
UD
54100 [BZ #11869]
54101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54102 alloca.
54103 * include/alloca.h (extend_alloca_account): Define.
54104
78e64fdc
RT
54105 [BZ #11857]
54106 * posix/regex.h: Fix comments with documentation of user-accessible
54107 fields after compilation and describe correct free'ing of pattern
54108 after re_compile_pattern.
54109 Patch by Reuben Thomas <rrt@sc3d.org>.
54110
457bddfc
RA
541112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54112
54113 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54114 and -mno-altivec to prevent the compiler from using Altivec and/or
54115 VSX instructions when the corresponding registers are not available.
54116
a4527b51
AS
541172011-05-19 Andreas Schwab <schwab@redhat.com>
54118
54119 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54120
ed690b2f
UD
541212011-05-19 Ulrich Drepper <drepper@gmail.com>
54122
54123 * libio/freopen.c (freopen): Use __dup2, not dup2.
54124 * libio/freopen64.c (freopen64): Likewise.
54125
8db73634
L
541262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54127
54128 [BZ #12775]
54129 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54130 * math/Makefile (tests): Add test-powl.
54131 (CFLAGS-test-powl.c): Define.
54132 * math/test-powl.c: New file.
54133
0a197a9d
L
541342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54135
54136 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54137
ee30c380
UD
541382011-05-17 Ulrich Drepper <drepper@gmail.com>
54139
54140 [BZ #11837]
54141 * iconvdata/gb18030.c: Update to GB18020-2005.
54142
6ce75379
UD
541432011-05-16 Ulrich Drepper <drepper@gmail.com>
54144
a4b89fd8
AR
54145 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54146 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54147 Patch by Aharon Robbins <arnold@skeeve.com>.
54148
ea389b12
UD
54149 [BZ #11892]
54150 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54151 on the stack.
54152
68a3f91f
UD
54153 [BZ #11895]
54154 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54155 through underflows.
54156
15cc7dd1
UD
54157 [BZ #12766]
54158 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54159 point to strings before performing equality test for error_one_per_line
54160 mode.
54161
f3799213
UD
54162 [BZ #11697]
54163 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54164
d79a9c94
UD
54165 [BZ #11820]
54166 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54167 (struct user_fpregs_struct): Avoid __uint*_t types.
54168
56e5eb46
UD
54169 [BZ #6420]
54170 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54171 symbol info. Use it instead of calling _dl_addr locally.
54172 (lock_and_info): New function.
54173 (tr_freehook): Call lock_and_info and pass symbol info as additional
54174 parameter to tr_where.
54175 (tr_mallochook): Likewise.
54176 (tr_reallochook): Likewise.
54177 (tr_memalignhook): Likewise.
54178
6ce75379
UD
54179 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54180 used and couldn't be at all thread-safe.
54181
f8a3b5bf
UD
541822011-05-15 Ulrich Drepper <drepper@gmail.com>
54183
94b7cc37
UD
54184 * libio/freopen.c (freopen): Don't close old file descriptor
54185 before the new one is opened. Instead dup the new file descriptor
54186 to the old one after the new stream is created.
54187 * libio/freopen64.c (freopen64): Likewise.
54188 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54189 * libio/fileops.c (_IO_new_file_close_it): Handle new
54190 _IO_FLAGS2_NOCLOSE flag.
54191 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54192 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54193 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54194 _IO_FLAGS2_NOCLOSE flag.
54195 * include/unistd.h: Add hidden_proto for dup3.
54196 Define __have_dup3.
54197 * io/dup3.c: Define hidden symbol.
54198 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54199
bd25564e
UD
54200 [BZ #7101]
54201 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54202 when an incomplete long option is used.
54203 * posix/tst-getopt_long1.c: New file.
54204 * posix/Makefile (tests): Add tst-getopt_long1.
54205
c84cfef4
UD
54206 [BZ #10138]
54207 * scripts/config.guess: Update from autoconf-2.68.
54208 * scripts/config.sub: Likewise.
54209
3b85df27
UD
54210 [BZ #10157]
54211 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54212 tests into ...
54213 (has_cpuclock): ...this. New function.
54214 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54215 macro here based on has_cpuclock code.
54216
15a856b1
UD
54217 [BZ #10149]
54218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54219 First byte (not low byte) is now always NUL.
54220 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54221
05f399e6
UD
54222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54223 Use non-cancelable interfaces.
54224
10a52685 54225 [BZ #9809]
94ecc67d
UD
54226 * locale/iso-639.def: Add entry for Sorani.
54227
f8a3b5bf
UD
54228 [BZ #11901]
54229 * include/stdlib.h: Move include protection to the right place.
54230 Define abort_msg_s. Declare __abort_msg with it.
54231 * stdlib/abort.c (__abort_msg): Adjust type.
54232 * assert/assert.c (__assert_fail_base): New function. Majority
54233 of code from __assert_fail. Allocate memory for __abort_msg with
54234 mmap.
54235 (__assert_fail): Now call __assert_fail_base.
54236 * assert/assert-perr.c: Remove bulk of implementation. Use
54237 __assert_fail_base.
54238 * include/assert.hL Declare __assert_fail_base.
54239 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54240 mmap.
54241 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54242
1af4e298
UD
542432011-05-14 Ulrich Drepper <drepper@gmail.com>
54244
f8a3b5bf 54245 [BZ #11952]
d26dfc60
MG
54246 [BZ #12453]
54247 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54248 until all modules are registered in the DTV.
54249 * elf/Makefile: Add rules to build and run tst-tls19.
54250 * elf/tst-tls19.c: New file.
54251 * elf/tst-tls19mod1.c: New file.
54252 * elf/tst-tls19mod2.c: New file.
54253 * elf/tst-tls19mod3.c: New file.
54254 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54255
2fc54d6f
UD
54256 [BZ #12083]
54257 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54258 correctly.
54259
98d76b46
UD
54260 [BZ #12601]
54261 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54262 two-byte sequence errors.
54263 * iconvdata/Makefile (tests): Add bug-iconv8.
54264 * iconvdata/bug-iconv8.c: New file.
54265
da3c19ef
UD
54266 [BZ #12626]
54267 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54268 buf2 definition.
54269
ca408c15
UD
54270 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54271
d6f67f7d
UD
54272 [BZ #12432]
54273 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54274 (dummy_getcfa): New function.
54275 (init): Get _Unwind_GetCFA address, use dummy if not found.
54276 (backtrace_helper): In recursion check, also check whether CFA changes.
54277 (__backtrace): Completely initialize arg.
54278
1af4e298 54279 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54280 storing incomplete byte sequence in state object. Avoid testing for
54281 guaranteed too small input if we know there is enough data available.
1af4e298 54282
da62f81b
AS
542832011-05-11 Andreas Schwab <schwab@redhat.com>
54284
54285 * Makeconfig (+link-pie): Indent.
54286 * Rules (binaries-pie): Define if $(have-fpie) and
54287 $(build-shared).
54288 (binaries-shared): Also filter out $(binaries-pie).
54289 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54290 * nscd/Makefile (others-pie): Add nscd.
54291 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54292 ($(objpfx)nscd): Remove command override.
54293 * login/Makefile (others-pie): Add pt_chown.
54294 ($(objpfx)pt_chown): Remove command override.
54295 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54296 remove command overrides.
54297
fcabc0f8
UD
542982011-05-13 Ulrich Drepper <drepper@gmail.com>
54299
20030ae6
UD
54300 * libio/tst_putwc.c: Fix error messages.
54301
fcabc0f8
UD
54302 [BZ #12724]
54303 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54304 currently writing and seek to current position when not.
54305 * libio/Makefile (tests): Add bug-fclose1.
54306 * libio/bug-fclose1.c: New file.
54307
320a5dc0
PB
543082011-05-12 Ulrich Drepper <drepper@gmail.com>
54309
54310 [BZ #12511]
54311 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54312 don't set DF_1_NODELETE here.
54313 (do_lookup_x): When entering new entry test for copy relocation
54314 and if necessary set DF_1_NODELETE flag.
54315 * elf/tst-unique4.cc: New file.
54316 * elf/tst-unique4.h: New file.
54317 * elf/tst-unique4lib.cc: New file.
54318 * elf/Makefile: Add rules to build and run tst-unique4.
54319 Patch by Piotr Bury <pbury@goahead.com>.
54320
22836f52
UD
543212011-05-11 Ulrich Drepper <drepper@gmail.com>
54322
f574184a
UD
54323 [BZ #12052]
54324 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54325
e1fb097f
UD
54326 [BZ #12625]
54327 * misc/mntent_r.c (addmntent): Flush the stream after the output
54328
22836f52
UD
54329 [BZ #12393]
54330 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54331 (is_trusted_path_normalize): Skip initial colon. Append slash
54332 to empty buffer. Duplicate is_trusted_path code but allow
54333 constructed patch to be prefix.
54334 (is_dst): Allow $ORIGIN followed by /.
54335 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54336 Correct testing of result of is_trusted_path_normalize
54337 (decompose_rpath): Fix warning.
54338
7b3b0b2a
UD
543392011-05-10 Ulrich Drepper <drepper@gmail.com>
54340
54341 [BZ #11257]
54342 * grp/initgroups.c (internal_getgrouplist): When we found the service
54343 list through the initgroups entry in nsswitch.conf do not always
54344 continue on a successful lookup. Don't always use the
eac80ce2 54345 __nss_group_database value if it is set.
7b3b0b2a
UD
54346 * nss/nsswitch.conf (initgroups): Change action for successful db
54347 lookup to continue for compatibility.
54348
2a81eaa5
UD
543492011-05-09 Ulrich Drepper <drepper@gmail.com>
54350
be97a69e
UD
54351 [BZ #11532]
54352 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54353 and CP774 modules.
54354 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54355 and CP774 modules.
54356 * iconvdata/tst-tables.sh: Likewise.
54357 * iconvdata/cp770.c: New file.
54358 * iconvdata/cp771.c: New file.
54359 * iconvdata/cp772.c: New file.
54360 * iconvdata/cp773.c: New file.
54361 * iconvdata/cp774.c: New file.
54362 * iconvdata/testdata/CP770: New file.
54363 * iconvdata/testdata/CP770..UTF8: New file.
54364 * iconvdata/testdata/CP771: New file.
54365 * iconvdata/testdata/CP771..UTF8: New file.
54366 * iconvdata/testdata/CP772: New file.
54367 * iconvdata/testdata/CP772..UTF8: New file.
54368 * iconvdata/testdata/CP773: New file.
54369 * iconvdata/testdata/CP773..UTF8: New file.
54370 * iconvdata/testdata/CP774: New file.
54371 * iconvdata/testdata/CP774..UTF8: New file.
54372
54373 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54374 END CHARMAP line.
54375 * iconvdata/gen-8bit-gap.sh: Likewise.
54376 * iconvdata/gen-8bit.sh: Likewise.
54377
c1e9e399
UD
54378 * locale/iso-639.def: Add ary entry.
54379
24c55fb3 54380 [BZ #11258]
96b4b1b0
UD
54381 * locale/C-translit.h.in: Add U20A1 transliteration.
54382
bdc2f971
KB
54383 [BZ #12178]
54384 * locale/iso-639.def: Add wae entry.
54385 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54386
2952b117
UD
54387 [BZ #12545]
54388 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54389 for n.
54390
2a81eaa5
UD
54391 [BZ #12711]
54392 * locale/C-translit.h.in: Add entry for U20B9.
54393 Patch by pravin.d.s@gmail.com.
54394
28377d1b
UD
543952011-05-08 Ulrich Drepper <drepper@gmail.com>
54396
7fb90fb8
UD
54397 [BZ #12713]
54398 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54399 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54400 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54401 in rtld. Use *stat64.
7fb90fb8 54402 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54403 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54404 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54405 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54406 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54407 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54408 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54409 __fstatat64 macros.
7fb90fb8
UD
54410 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54411 * dirent/rewinddir.c: Add libc_hidden_def.
54412 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54413 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54414
28377d1b
UD
54415 * include/dirent.h (__alloc_dir): Add flags parameter.
54416 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54417 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54418 __alloc_dir.
54419 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54420 from fdopendir if O_CLOEXEC is already set.
54421
66bdbaa4
AM
544222011-03-15 Alan Modra <amodra@gmail.com>
54423
54424 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54425 l_tls_firstbyte_offset non-zero. Save padding offset in
54426 l_tls_firstbyte_offset for later use.
54427 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54428 freeing static tls block.
54429
95721191
JN
544302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54431
54432 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54433 where #ifdef was intended. The intent is to prevent ARG_MAX from
54434 being defined by the kernel headers.
54435
f87dfb1f
UD
544362011-05-07 Ulrich Drepper <drepper@gmail.com>
54437
54438 [BZ #12734]
54439 * resolv/resolv.h: Define RES_NOTLDQUERY.
54440 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54441 no-tld-query and set RES_NOTLDQUERY.
54442 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54443 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54444 modern BIND to search name as TLD unless forbidden.
54445
47c3cd7a
UD
544462011-05-07 Petr Baudis <pasky@suse.cz>
54447 Ulrich Drepper <drepper@gmail.com>
54448
54449 [BZ #12393]
54450 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54451 (is_trusted_path): ...to here.
c1e9ea35 54452 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54453 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54454 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54455
8a35c912
PP
544562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54457
54458 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54459 __BEGIN/__END_DECLS.
54460
acd41f47
UD
544612011-05-06 Ulrich Drepper <drepper@gmail.com>
54462
54463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54464 NSS_STATUS_NOTFOUND if no record was found.
54465
597df647
AS
544662011-05-05 Andreas Schwab <schwab@redhat.com>
54467
54468 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54469 (headers-not-in-tirpc): Remove rpc/netdb.h
54470 * resolv/netdb.h: Revert last change.
54471
b9af1301
PP
544722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54473
54474 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54475 circular dependency between libgcc.a and libc.a.
54476
4e34d5f5
AS
544772011-05-05 Andreas Schwab <schwab@redhat.com>
54478
54479 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54480 * nis/Makefile: Don't install rpcsvc/*.
54481 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54482 instead of <rpc/types.h>.
54483 (MAXHOSTNAMELEN): Define.
54484
00ee369c
AS
544852011-05-03 Andreas Schwab <schwab@redhat.com>
54486
54487 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54488
0b592a30
MB
544892011-04-28 Maciej Babinski <mbabinski@google.com>
54490
54491 [BZ #12714]
54492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54493 gethostbyname4_r when IPv6 results are possible.
54494
6e04cbbe
UD
544952011-05-02 Ulrich Drepper <drepper@gmail.com>
54496
54497 [BZ #12723]
54498 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54499 _PC_PIPE_BUF handling.
54500
e4ecafe0
BH
545012011-04-30 Bruno Haible <bruno@clisp.org>
54502
54503 [BZ #12717]
54504 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54505 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54506 to 'int'.
54507 * inet/getnameinfo.c (getnameinfo): Likewise.
54508
125ee683
UD
545092011-04-29 Ulrich Drepper <drepper@gmail.com>
54510
54511 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54512 to groups setting in database lookup.
54513 * nss/nsswitch.conf: Add initgroups entry.
54514
b722481a
EB
545152011-04-22 Ulrich Drepper <drepper@gmail.com>
54516
54517 [BZ #12685]
54518 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54519 mode string.
54520 Patch by Eric Blake <eblake@redhat.com>.
54521
4df46dbd
L
545222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54523
54524 * sunrpc/Makefile (need-export-routines): Add svc_run.
54525 (routines): Remove svc_run.
54526 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54527 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54528 * sunrpc/svc_run.c (svc_run): Likewise.
54529 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54530
e84142d2
UD
545312011-04-21 Ulrich Drepper <drepper@gmail.com>
54532
54533 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54534 problem in reallocation in last patch.
54535
877175d8
UD
545362011-04-20 Ulrich Drepper <drepper@gmail.com>
54537
54538 * sunrpc/Makefile: Move inclusion of Rules.
54539
ab8eed78
UD
545402011-04-19 Ulrich Drepper <drepper@gmail.com>
54541
54542 * nss/nss_files/files-initgroups.c: New file.
54543 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54544 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54545 _nss_files_initgroups_dyn.
54546
e3d8f584
RS
545472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54548
54549 * elf/elf.h (R_ARM_IRELATIVE): Define.
54550
af190f45
UD
545512011-04-19 Ulrich Drepper <drepper@gmail.com>
54552
54553 * po/ru.po: Update from translation team.
54554
53cf59ef
UD
545552011-04-17 Ulrich Drepper <drepper@gmail.com>
54556
54557 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54558 dependencies.
54559
4c559bcd
MF
545602011-02-06 Mike Frysinger <vapier@gentoo.org>
54561
54562 [BZ #12653]
54563 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54564 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54568
4420675c
AS
545692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54570
54571 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54572 differing bytes.
54573 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54574 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54576
75ea32ab
UD
545772011-04-17 Ulrich Drepper <drepper@gmail.com>
54578
54579 [BZ #12420]
54580 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54581 storing it.
54582 * stdlib/bug-getcontext.c: New file.
54583 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54584
27390476
AK
545852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54586
54587 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54588 instructions into .machine "z9-109".
54589 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54590 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54591
10442705
AK
545922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54593
54594 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54595 between environment variables and auxiliary vector.
54596
7b57bfe5
UD
545972011-04-16 Ulrich Drepper <drepper@gmail.com>
54598
54599 * Makefile: Add rules to build linkobj/libc.so.
54600 * include/libc-symbols.h: Define libc_hidden_nolink.
54601 * include/rpc/auth.h: Mark functions which are to be hidden.
54602 * include/rpc/auth_des.h: Likewise.
54603 * include/rpc/auth_unix.h: Likewise.
54604 * include/rpc/clnt.h: Likewise.
54605 * include/rpc/des_crypt.h: Likewise.
54606 * include/rpc/key_prot.h: Likewise.
54607 * include/rpc/pmap_clnt.h: Likewise.
54608 * include/rpc/pmap_prot.h: Likewise.
54609 * include/rpc/pmap_rmt.h: Likewise.
54610 * include/rpc/rpc_msg.h: Likewise.
54611 * include/rpc/svc.h: Likewise.
54612 * include/rpc/svc_auth.h: Likewise.
54613 * include/rpc/xdr.h: Likewise.
54614 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54615 * nss/Makefile: Likewise.
54616 * sunrpc/Makefile: Don't install headers. Build library with normal
54617 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54618 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54619 for the compat linking library. Remove use of INTDEF/INTUSE.
54620 * sunrpc/auth_none.c: Likewise.
54621 * sunrpc/auth_unix.c: Likewise.
54622 * sunrpc/authdes_prot.c: Likewise.
54623 * sunrpc/authuxprot.c: Likewise.
54624 * sunrpc/clnt_gen.c: Likewise.
54625 * sunrpc/clnt_perr.c: Likewise.
54626 * sunrpc/clnt_raw.c: Likewise.
54627 * sunrpc/clnt_simp.c: Likewise.
54628 * sunrpc/clnt_tcp.c: Likewise.
54629 * sunrpc/clnt_udp.c: Likewise.
54630 * sunrpc/clnt_unix.c: Likewise.
54631 * sunrpc/des_crypt.c: Likewise.
54632 * sunrpc/des_soft.c: Likewise.
54633 * sunrpc/get_myaddr.c: Likewise.
54634 * sunrpc/key_call.c: Likewise.
54635 * sunrpc/key_prot.c: Likewise.
54636 * sunrpc/netname.c: Likewise.
54637 * sunrpc/pm_getmaps.c: Likewise.
54638 * sunrpc/pm_getport.c: Likewise.
54639 * sunrpc/pmap_clnt.c: Likewise.
54640 * sunrpc/pmap_prot.c: Likewise.
54641 * sunrpc/pmap_prot2.c: Likewise.
54642 * sunrpc/pmap_rmt.c: Likewise.
54643 * sunrpc/publickey.c: Likewise.
54644 * sunrpc/rpc_cmsg.c: Likewise.
54645 * sunrpc/rpc_common.c: Likewise.
54646 * sunrpc/rpc_dtable.c: Likewise.
54647 * sunrpc/rpc_prot.c: Likewise.
54648 * sunrpc/rpc_thread.c: Likewise.
54649 * sunrpc/rtime.c: Likewise.
54650 * sunrpc/svc.c: Likewise.
54651 * sunrpc/svc_auth.c: Likewise.
54652 * sunrpc/svc_authux.c: Likewise.
54653 * sunrpc/svc_raw.c: Likewise.
54654 * sunrpc/svc_run.c: Likewise.
54655 * sunrpc/svc_simple.c: Likewise.
54656 * sunrpc/svc_tcp.c: Likewise.
54657 * sunrpc/svc_udp.c: Likewise.
54658 * sunrpc/svc_unix.c: Likewise.
54659 * sunrpc/svcauth_des.c: Likewise.
54660 * sunrpc/xcrypt.c: Likewise.
54661 * sunrpc/xdr.c: Likewise.
54662 * sunrpc/xdr_array.c: Likewise.
54663 * sunrpc/xdr_float.c: Likewise.
54664 * sunrpc/xdr_intXX_t.c: Likewise.
54665 * sunrpc/xdr_mem.c: Likewise.
54666 * sunrpc/xdr_rec.c: Likewise.
54667 * sunrpc/xdr_ref.c: Likewise.
54668 * sunrpc/xdr_sizeof.c: Likewise.
54669 * sunrpc/xdr_stdio.c: Likewise.
54670
e6c61494
UD
546712011-04-10 Ulrich Drepper <drepper@gmail.com>
54672
54673 [BZ #12650]
54674 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54675 * sysdeps/ia64/dl-tls.h: Likewise.
54676 * sysdeps/powerpc/dl-tls.h: Likewise.
54677 * sysdeps/s390/dl-tls.h: Likewise.
54678 * sysdeps/sh/dl-tls.h: Likewise.
54679 * sysdeps/sparc/dl-tls.h: Likewise.
54680 * sysdeps/x86_64/dl-tls.h: Likewise.
54681 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54682
34fe483e
AS
546832011-03-14 Andreas Schwab <schwab@redhat.com>
54684
54685 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54686 rpath element also skip the following colon.
54687 (expand_dynamic_string_token): Add is_path parameter and pass
54688 down to DL_DST_REQUIRED and _dl_dst_substitute.
54689 (decompose_rpath): Call expand_dynamic_string_token with
54690 non-zero is_path. Ignore empty rpaths.
54691 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54692 with zero is_path.
54693
f12a32e6
AS
546942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54695
54696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54697 Make cancelable.
54698
38a7d692
UD
546992011-04-09 Ulrich Drepper <drepper@gmail.com>
54700
54701 [BZ #12655]
54702 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54703 Patch by Filipe David Manana <fdmanana@apache.org>.
54704
e451d22b
AS
547052011-04-07 Andreas Schwab <schwab@redhat.com>
54706
54707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54708 Maintain aligned stack.
54709 (CHECK_RSP): Remove unused macro.
54710
dedc7c7b
UD
547112011-04-03 Ulrich Drepper <drepper@gmail.com>
54712
54713 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54714 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54715
94521213
UD
547162011-04-02 Ulrich Drepper <drepper@gmail.com>
54717
54718 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54719
8cb700c0 54720 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54721
0354e355
L
547222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54723
54724 [BZ #12518]
54725 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54726 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54727 * sysdeps/x86_64/memmove.c: New file.
54728 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54729 (memcpy): Renamed to ...
54730 (__new_memcpy): This.
54731 (memcpy): Provide GLIBC_2_14 memcpy.
54732 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54733 (memcpy): Provide GLIBC_2_2_5 memcpy.
54734
8593482f
UD
547352011-04-01 Ulrich Drepper <drepper@gmail.com>
54736
54737 [BZ #12631]
54738 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54739
81a5726b
AS
547402011-03-30 Andreas Schwab <schwab@redhat.com>
54741
54742 * misc/syncfs.c: New file.
54743 * misc/Makefile (routines): Add syncfs.
54744 * posix/unistd.h: Declare syncfs.
54745 * sysdeps/unix/syscalls.list: Add syncfs.
54746
00e5419f
AS
547472011-04-01 Andreas Schwab <schwab@redhat.com>
54748
54749 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54750 open_by_handle_at.
54751 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54756 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54757 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54758
748876bf
UD
547592011-04-01 Ulrich Drepper <drepper@gmail.com>
54760
658e451d
UD
54761 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54763 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54765 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54768
748876bf
UD
54769 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54770 sync_file_range.c with -fexceptions.
54771 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54772 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54773 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54774 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54775 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54776 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54777 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54778 sync_file_range as cancellation point
54779 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54780 now a wrapper around __call_sync_file_range with cancellation handling.
54781 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54782 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54783 function name to __call_sync_file_range.
54784 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54785 Add call_sync_file_range.
748876bf 54786
6e63d5e1
AS
547872011-04-01 Andreas Schwab <schwab@redhat.com>
54788
54789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54790 bits/timex.h.
6e63d5e1 54791
46998f74
UD
547922011-04-01 Ulrich Drepper <drepper@gmail.com>
54793
4c1423ed
UD
54794 * iconv/iconv.h: Fix typo in comment.
54795 * io/fcntl.h: Likewise.
54796 * libio/stdio.h: Likewise.
54797 * posix/spawn.h: Likewise.
54798 * posix/unistd.h: Likewise.
54799 * stdlib/stdlib.h: Likewise.
54800 * time/time.h: Likewise.
54801 * wcsmbs/wchar.h: Likewise.
54802
158648c0
UD
54803 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54804 open_by_handle): Add.
54805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54806 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54807 Augment a few comments.
54808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54810 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54812 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54813 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54814 open_by_handle.
54815
46998f74
UD
54816 * io/fcntl.h (AT_EMPTY_PATH): Define.
54817
83fe108b
UD
548182011-03-30 Ulrich Drepper <drepper@gmail.com>
54819
54820 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54821 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54822 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54823 to...
54824 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54825 * Versions.def: Add GLIBC_2.14.
54826 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54827 Export.
83fe108b 54828
bb242059
UD
548292011-03-22 Ulrich Drepper <drepper@gmail.com>
54830
54831 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54832 round counter.
54833 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54834
c97a1282
L
548352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54836
54837 [BZ #12597]
54838 * string/test-strncmp.c (do_page_test): New function.
54839 (check2): Likewise.
54840 (test_main): Call check2.
54841 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54842
2a115601
UD
548432011-03-20 Ulrich Drepper <drepper@gmail.com>
54844
54845 [BZ #12587]
54846 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54847 Handle cache information in CPU leaf 4.
54848 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54849
8126d904
UD
548502011-03-18 Ulrich Drepper <drepper@gmail.com>
54851
042c49c6 54852 [BZ #12583]
8126d904
UD
54853 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54854 character representation.
54855 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54856
ccfe366e
RA
548572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54858
54859 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54860 END(__isnan) to END(__isnanf) to match function entry point/label
54861 EALIGN(__isnanf,...).
54862
c6e13027
JJ
548632011-03-10 Jakub Jelinek <jakub@redhat.com>
54864
54865 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54866
33f85a3f
UD
548672011-03-10 Ulrich Drepper <drepper@gmail.com>
54868
028478fa
UD
54869 [BZ #12510]
54870 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54871 copy from the symbol referenced in the relocation to initialize the
54872 used variable.
54873 Patch by Piotr Bury <pbury@goahead.com>.
54874 * elf/Makefile: Add rules to build and tst-unique3.
54875 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54876 * elf/tst-unique3.cc: New file.
54877 * elf/tst-unique3.h: New file.
54878 * elf/tst-unique3lib.cc: New file.
54879 * elf/tst-unique3lib2.cc: New file.
54880
33f85a3f
UD
54881 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54882
03592fc7
MF
548832011-03-10 Mike Frysinger <vapier@gentoo.org>
54884
54885 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54886 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54887 to _start.
03592fc7 54888
6a5ee102
UD
548892011-03-06 Ulrich Drepper <drepper@gmail.com>
54890
54891 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54892 to-be-loaded object along a path to loader is ld.so.
54893
7e4ba49c
HJ
548942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54895 Ulrich Drepper <drepper@gmail.com>
54896
54897 * sysdeps/x86_64/memset.S: After aligning destination, code
54898 branches to different locations depending on the value of
54899 misalignment, when multiarch is enabled. Fix this.
54900
549012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54902
54903 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54904 Set _x86_64_preferred_memory_instruction for AMD processsors.
54905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54906 Set bit_Prefer_SSE_for_memop for AMD processors.
54907
13a804de
UD
549082011-03-04 Ulrich Drepper <drepper@gmail.com>
54909
54910 * libio/fmemopen.c (fmemopen): Optimize a bit.
54911
9d25c392
AS
549122011-03-03 Andreas Schwab <schwab@redhat.com>
54913
54914 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54915
a5543c6a
RM
549162011-03-03 Roland McGrath <roland@redhat.com>
54917
54918 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54919
012d35f7
DM
549202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54921
7e4ba49c 54922 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54923 __bzero_ultra1 instead of __memset_ultra1.
54924
4bff6e01
AS
549252011-02-23 Andreas Schwab <schwab@redhat.com>
54926 Ulrich Drepper <drepper@gmail.com>
54927
54928 [BZ #12509]
54929 * include/link.h (struct link_map): Add l_orig_initfini.
54930 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54931 returning unsuccessfully.
54932 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54933 close of a file loaded at startup, restore the original l_initfini
54934 list.
54935 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54936 list, store the pointer.
54937 * elf/Makefile ($(objpfx)noload-mem): New rule.
54938 (noload-ENV): Define.
54939 (tests): Add $(objpfx)noload-mem.
54940 * elf/noload.c: Include <memcheck.h>.
54941 (main): Call mtrace. Close all opened handles.
54942
f2092faf
AS
549432011-02-17 Andreas Schwab <schwab@redhat.com>
54944
54945 [BZ #12454]
54946 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54947 dependencies are missing.
54948
6c8a2e88
ST
549492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54950
f2092faf 54951 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54952 Hurd needs munmap.
54953 * sysdeps/mach/hurd/ifreq.h: New file.
54954
84a42118
PB
549552011-01-27 Petr Baudis <pasky@suse.cz>
54956 Ulrich Drepper <drepper@gmail.com>
54957
071f805e 54958 [BZ 12445]#
84a42118
PB
54959 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54960 to extend_alloca().
54961 * stdio-common/bug23.c: New file.
54962 * stdio-common/Makefile (tests): Add bug23.
54963
e23fe25b
AS
549642010-09-28 Andreas Schwab <schwab@redhat.com>
54965 Ulrich Drepper <drepper@gmail.com>
54966
54967 [BZ #12489]
54968 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54969 before performing relro protection. At old place add assertion
54970 to make sure nothing changed.
54971
d3f02e10
NS
549722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54973 Glauber de Oliveira Costa <glommer@gmail.com>
54974
54975 * elf/elf.h: Add new ARM TLS relocs.
54976
d55fd7a5
RA
549772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54978
54979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54980 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54981 cast from r3.
54982 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54983 'tests' variable.
54984 * sysdeps/wordsize-64/tst-writev.c: New file.
54985
2206397e
RA
549862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54987
54988 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54989 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54990 insns in _dl_start to prevent a TOC reference before relocs are
54991 resolved.
54992
e9433893
UD
549932011-02-15 Ulrich Drepper <drepper@gmail.com>
54994
54995 [BZ #12469]
54996 * Makeconfig: Remove RANLIB definition.
54997 * Makerules: Don't use RANLIB.
54998 * aclocal.m4: Remove ranlib test.
54999 * configure.in: No need to check for ranlib.
55000 * elf/rtld-Rules: Don't use RANLIB.
55001
f75286c6
ST
550022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55003
8e31c82d
ST
55004 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55005 protection macro.
55006 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55007 inclusion protection macro.
55008
f75286c6
ST
55009 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55010 SIGRTMIN and SIGRTMAX and print information in that case only when
55011 SIGRTMIN is defined.
55012
c1d0e639
JJ
550132011-02-11 Jakub Jelinek <jakub@redhat.com>
55014
55015 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55016 arginfo fn returning -1.
55017
55018 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55019 and thousands string is zero terminated.
55020
edf9294e
AS
550212011-02-03 Andreas Schwab <schwab@redhat.com>
55022
55023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55024 sysdeps/unix/sysv/linux/bits/socket.h.
55025
2b7e92df
ST
550262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55027
edf9294e
AS
55028 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55029 (__CPU_COUNT): Remove old macros.
55030 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55031 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55032 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55033 (__sched_cpualloc, __sched_cpufree): Add declarations.
55034
a4c7ea7b
UD
550352011-02-05 Ulrich Drepper <drepper@gmail.com>
55036
55037 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55038 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55039 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55040 (readdhstai): Return value of addhstaiX call.
55041 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55042 (addgrbyX): Return value returned by cache_addgr.
55043 (readdgrbyname): Return value returned by addgrbyX.
55044 (readdgrbygid): Likewise.
55045 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55046 (addpwbyX): Return value returned by cache_addpw.
55047 (readdpwbyname): Return value returned by addhstbyX.
55048 (readdpwbyuid): Likewise.
55049 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55050 (addservbyX): Return value returned by cache_addserv.
55051 (readdservbyname): Return value returned by addservbyX:
55052 (readdservbyport): Likewise.
55053 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55054 (addhstbyX): Return value returned by cache_addhst.
55055 (readdhstbyname): Return value returned by addhstbyX.
55056 (readdhstbyaddr): Likewise.
55057 (readdhstbynamev6): Likewise.
55058 (readdhstbyaddrv6): Likewise.
55059 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55060 (readdinitgroups): Return value returned by addinitgroupsX.
55061 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55062 (prune_cache): Keep track of timeout value of re-added entries.
55063 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55064 * nscd/nscd.h: Adjust prototypes of readd* functions.
55065
a0bf67cc
RM
550662011-02-04 Roland McGrath <roland@redhat.com>
55067
55068 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55069 (nis_stats): Likewise.
55070 * nis/nis_modify.c (nis_modify): Likewise.
55071 * nis/nis_remove.c (nis_remove): Likewise.
55072 * nis/nis_add.c (nis_add): Likewise.
55073
55074 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55075
55076 * posix/fnmatch_loop.c: Add some consts.
55077
55078 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55079
435b95eb
L
550802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55081
55082 [BZ #12460]
55083 * config.make.in (config-cflags-novzeroupper): Define.
55084 * configure.in: Substitute libc_cv_cc_novzeroupper.
55085 * elf/Makefile (AVX-CFLAGS): Define.
55086 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55087 (CFLAGS-tst-auditmod4a.c): Likewise.
55088 (CFLAGS-tst-auditmod4b.c): Likewise.
55089 (CFLAGS-tst-auditmod6b.c): Likewise.
55090 (CFLAGS-tst-auditmod6c.c): Likewise.
55091 (CFLAGS-tst-auditmod7b.c): Likewise.
55092 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55093
8517b15e
UD
550942011-02-02 Ulrich Drepper <drepper@gmail.com>
55095
55096 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55097 function to the callback.
55098 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55099
10a656fe
AS
551002011-02-02 Andreas Schwab <schwab@redhat.com>
55101
55102 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55103 of errno.
55104
968dad0a
UD
551052011-01-19 Ulrich Drepper <drepper@gmail.com>
55106
9f94d2ea 55107 [BZ #11724]
968dad0a
UD
55108 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55109 of constructors.
55110 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55111 of destructors.
55112 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55113
55114 [BZ #11724]
55115 * elf/Makefile: Add rules to build and run new test.
55116 * elf/tst-initorder.c: New file.
55117 * elf/tst-initorder.exp: New file.
55118 * elf/tst-initordera1.c: New file.
55119 * elf/tst-initordera2.c: New file.
55120 * elf/tst-initordera3.c: New file.
55121 * elf/tst-initordera4.c: New file.
55122 * elf/tst-initorderb1.c: New file.
55123 * elf/tst-initorderb2.c: New file.
55124 * elf/tst-order-a1.c: New file.
55125 * elf/tst-order-a2.c: New file.
55126 * elf/tst-order-a3.c: New file.
55127 * elf/tst-order-a4.c: New file.
55128 * elf/tst-order-b1.c: New file.
55129 * elf/tst-order-b2.c: New file.
55130 * elf/tst-order-main.c: New file.
55131 New test case by George Gensure <werkt0@gmail.com>.
55132
86e92359
UD
551332010-10-01 Andreas Schwab <schwab@redhat.com>
55134
55135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55136 decoding ACE if AI_CANONIDN.
55137
5d5732b0
UD
551382011-01-18 Ulrich Drepper <drepper@gmail.com>
55139
55140 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55141
a77e8cbc
UD
551422011-01-17 Ulrich Drepper <drepper@gmail.com>
55143
6392473f
UD
55144 * version.h (RELEASE): Bump for 2.13 release.
55145 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55146
620a0529
UD
55147 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55148
18ba70a5
UD
55149 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55150 MADV_NOHUGEPAGE.
32465c3e
UD
55151 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55153 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55154 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55157
c0dafcf1
UD
55158 * posix/getconf.c: Update copyright year.
55159 * catgets/gencat.c: Likewise.
55160 * csu/version.c: Likewise.
55161 * debug/catchsegv.sh: Likewise.
55162 * debug/xtrace.sh: Likewise.
55163 * elf/ldconfig.c: Likewise.
55164 * elf/ldd.bash.in: Likewise.
55165 * elf/sprof.c (print_version): Likewise.
55166 * iconv/iconv_prog.c: Likewise.
55167 * iconv/iconvconfig.c: Likewise.
55168 * locale/programs/locale.c: Likewise.
55169 * locale/programs/localedef.c: Likewise.
55170 * malloc/memusage.sh: Likewise.
55171 * malloc/mtrace.pl: Likewise.
55172 * nscd/nscd.c (print_version): Likewise.
55173 * nss/getent.c: Likewise.
55174
a77e8cbc
UD
55175 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55176 PF_CAIF, and PF_ALG.
55177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55178
77e8bddf
AS
551792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55180
1f20b93a
AS
55181 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55182 (modules-names): Use them.
55183 (ifunc-test-modules, ifunc-pie-tests): Define.
55184 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55185 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55186 (test-extras): Likewise.
55187 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55188 $(compile-command.c).
55189 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55190 (all-built-dso): Define.
55191 (check-textrel.out, check-execstack.out): Depend on it.
55192
77e8bddf
AS
55193 * configure.in: Don't override --enable-multi-arch.
55194
bc425b33
UD
551952011-01-15 Ulrich Drepper <drepper@gmail.com>
55196
55197 [BZ #6812]
55198 * nscd/hstcache.c (tryagain): Define.
55199 (cache_addhst): Return tryagain not notfound for temporary errors.
55200 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55201 failed.
55202
794c3ad3
UD
552032011-01-14 Ulrich Drepper <drepper@gmail.com>
55204
70181fdd
UD
55205 [BZ #10563]
55206 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55207 to make the syscall.
55208 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55209
794c3ad3
UD
55210 [BZ #12378]
55211 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55212 and fall back to matching as normal character if the string ends before
55213 the matching ']' is found. This is what POSIX requires.
55214 * posix/testfnm.c: Adjust test result.
55215 * posix/globtest.sh: Adjust test result. Add new test.
55216 * posix/tst-fnmatch.input: Likewise.
55217 * posix/tst-fnmatch2.c: Add new test.
55218
68dc9497
AS
552192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55220
55221 * elf/Makefile (check-execstack): Revert last change. Depend on
55222 check-execstack.h.
55223 (check-execstack.h): New target.
55224 (generated): Add check-execstack.h.
55225 * elf/check-execstack.c: Include "check-execstack.h".
55226 (main): Revert last change.
55227 (handle_file): Return zero if GNU_STACK is absent and
55228 DEFAULT_STACK_PERMS doesn't include PF_X.
55229
451f001b
UD
552302011-01-13 Ulrich Drepper <drepper@gmail.com>
55231
cfa28e56
UD
55232 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55233 in child fails because the descriptor is already closed.
8cf8ce17
UD
55234 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55235 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55236 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55237
1086d70d
UD
55238 [BZ #12397]
55239 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55240 syscall.
55241
451f001b
UD
55242 [BZ #10484]
55243 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55244 temporary buffer used to handle multi lookups locally.
a85b5cb4 55245 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55246
08769175
UD
552472011-01-12 Ulrich Drepper <drepper@gmail.com>
55248
55249 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55250 loader is ld.so.
55251
5e49c52e
UD
552522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55253
55254 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55255 alignment for SSE2.
55256
60522a5f
UD
552572011-01-12 Ulrich Drepper <drepper@gmail.com>
55258
55259 [BZ #12394]
55260 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55261 characters. When rounding increased number of integer digits recompute
55262 number of groups.
55263 * stdio-common/tst-grouping.c: New file.
55264 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55265
f257bbd7
UD
552662011-01-09 Ulrich Drepper <drepper@gmail.com>
55267
55268 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55269 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55270
55271 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55272 void.
55273 * bits/select.h: Likewise.
55274
fa9c15cb
UD
552752011-01-08 Ulrich Drepper <drepper@gmail.com>
55276
55277 * po/ja.po: Update from translation team.
55278
16c2895f
DM
552792011-01-04 David S. Miller <davem@sunset.davemloft.net>
55280
55281 [BZ #11155]
55282 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55283 implementation just like for lxstat, fxstatat, et al.
55284
2543fef2
JM
552852010-12-27 Jim Meyering <meyering@redhat.com>
55286
55287 [BZ #12348]
55288 * posix/regexec.c (build_trtable): Return failure indication upon
55289 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55290
98727dbe
UD
552912010-12-25 Ulrich Drepper <drepper@gmail.com>
55292
5bd6dc5c
UD
55293 [BZ #12201]
55294 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55295 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55296 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55297 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55298
97983464
UD
55299 [BZ #12207]
55300 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55301
98727dbe
UD
55302 [BZ #12204]
55303 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55304 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55305
4a531bb0
L
553062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55307
55308 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55309 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55310 script has SORT_BY_INIT_PRIORITY.
55311 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55312 NO_CTORS_DTORS_SECTIONS is defined.
55313 * elf/soinit.c: Likewise.
55314 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55315 NO_CTORS_DTORS_SECTIONS is defined.
55316 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55317 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55318 * sysdeps/sh/init-first.c: Likewise.
55319 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55320
07eb4b71
UD
553212010-12-24 Ulrich Drepper <drepper@gmail.com>
55322
55323 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55324 always use the slow path.
55325
30950a5f
RA
553262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55327
55328 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55329 similar rule which adds the sysdep directories to the header search in
55330 order to pick up the correct platform stackinfo.h.
55331 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55332 perform test if it is, otherwise return successfully without testing.
55333 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55334 DEFAULT_STACK_PERMS define in stackinfo.h.
55335 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55336 defined in stackinfo.h.
55337 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55338 DEFAULT_STACK_PERMS defined in stackinfo.h.
55339 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55340 * sysdeps/ia64/stackinfo.h: Likewise.
55341 * sysdeps/s390/stackinfo.h: Likewise.
55342 * sysdeps/sh/stackinfo.h: Likewise.
55343 * sysdeps/sparc/stackinfo.h: Likewise.
55344 * sysdeps/x86_64/stackinfo.h: Likewise.
55345 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55346 PF_X for powerpc64. Retain PF_X for powerpc32.
55347
db753e2c
UD
553482010-12-19 Ulrich Drepper <drepper@gmail.com>
55349
14b697f7
UD
55350 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55351 accurately.
db753e2c
UD
55352 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55353 GETDENTS_64BIT_ALIGNED.
55354
28300719
UD
553552010-12-14 Ulrich Drepper <dreper@gmail.com>
55356
14b697f7 55357 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55358
4f197237
AS
553592010-12-10 Andreas Schwab <schwab@redhat.com>
55360
dbb0472f
AS
55361 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55362 _GNU_SOURCE.
55363
4f197237
AS
55364 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55365 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55366 Remove __restrict.
55367 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55368 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55369
fb88ac72
UD
553702010-12-09 Ulrich Drepper <drepper@gmail.com>
55371
55372 [BZ #11655]
55373 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55374 are initialized.
55375
42acbb92
JJ
553762010-12-09 Jakub Jelinek <jakub@redhat.com>
55377
55378 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55379
c038d98d
UD
553802010-12-03 Ulrich Drepper <drepper@gmail.com>
55381
55382 * po/it.po: Update from translation team.
55383
3a4a2499
L
553842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55385
55386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55387 unused codes.
55388
1e24cf6e
UD
553892010-11-30 Ulrich Drepper <drepper@gmail.com>
55390
55391 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55392
a7690819
AS
553932010-11-24 Andreas Schwab <schwab@redhat.com>
55394
55395 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55396 specially.
55397 (gaih_getanswer_slice): Likewise.
55398
3bf8d1b1
JJ
553992010-10-20 Jakub Jelinek <jakub@redhat.com>
55400
55401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55402
6db52fbb
PB
554032010-05-31 Petr Baudis <pasky@suse.cz>
55404
55405 [BZ #11149]
55406 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55407 silently even in the chroot mode.
55408
eaca7569
UD
554092010-11-22 Ulrich Drepper <drepper@gmail.com>
55410
55411 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55412 last patch a bit. Pretty printing
55413
3056dcdb
UD
554142010-05-31 Petr Baudis <pasky@suse.cz>
55415
55416 [BZ #10085]
55417 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55418 initialization of skip_initgroups_dyn.
55419
cf7c9078
UD
554202010-11-19 Ulrich Drepper <drepper@gmail.com>
55421
55422 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55424
a1fb5e3e
UD
554252010-11-16 Ulrich Drepper <drepper@gmail.com>
55426
55427 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55428
3540d66b
AS
554292010-11-11 Andreas Schwab <schwab@redhat.com>
55430
55431 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55432 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55433 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55434 ($(objpfx)tst-fnmatch-mem): New rule.
55435 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55436 * posix/tst-fnmatch.c (main): Call mtrace.
55437
13b69574
L
554382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55439
55440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55441 Support Intel processor model 6 and model 0x2c.
55442
da93d214
LM
554432010-11-10 Luis Machado <luisgpm@br.ibm.com>
55444
55445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55446 signed comparison.
55447
8ca52c6e
L
554482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55449
55450 [BZ #12205]
55451 * string/test-strncasecmp.c (check_result): New function.
55452 (do_one_test): Use it.
55453 (check1): New function.
55454 (test_main): Use it.
55455 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55456 Support strcasecmp and strncasecmp.
55457
69da074d
UD
554582010-11-08 Ulrich Drepper <drepper@gmail.com>
55459
55460 [BZ #12194]
55461 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55463
ff02d528
L
554642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55465
55466 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55467 IFUNC support.
55468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55469 memset-x86-64.
55470 * sysdeps/x86_64/multiarch/bzero.S: New file.
55471 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55472 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55473 * sysdeps/x86_64/multiarch/memset.S: New file.
55474 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55476 Set bit_Prefer_SSE_for_memop for Intel processors.
55477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55478 Define.
55479 (index_Prefer_SSE_for_memop): Define.
55480 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55481
344d0b54
LM
554822010-11-04 Luis Machado <luisgpm@br.ibm.com>
55483
55484 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55485 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55486
c0dde15b
UD
554872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55488
55489 [BZ #12191]
55490 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55491 (__x86_64_raw_data_cache_size_half): Likewise.
55492 (__x86_64_raw_shared_cache_size): Likewise.
55493 (__x86_64_raw_shared_cache_size_half): Likewise.
55494
55495 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55496 (__x86_64_raw_data_cache_size_half): Likewise.
55497 (__x86_64_raw_shared_cache_size): Likewise.
55498 (__x86_64_raw_shared_cache_size_half): Likewise.
55499 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55500 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55501 and __x86_64_raw_shared_cache_size_half. Round
55502 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55503 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55504 to multiple of 256 bytes.
55505
0e516e0e
MS
555062010-11-03 Ulrich Drepper <drepper@gmail.com>
55507
55508 [BZ #12167]
55509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55510 of inacessible symlinks. Verify result of symlink before returning it.
55511 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55512 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55513
0e012e87
ER
555142010-10-28 Erich Ritz <erichritz@gmail.com>
55515
55516 * math/math.h (isinf): Fix typo in comment.
55517
de0ff7bc
UD
555182010-11-01 Ulrich Drepper <drepper@gmail.com>
55519
55520 * po/da.po: Update from translation team.
55521
fa41c84d
UD
555222010-10-26 Ulrich Drepper <drepper@gmail.com>
55523
55524 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55525 is added to the list.
55526
f0967738
AK
555272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55528 Ulrich Drepper <drepper@gmail.com>
55529
55530 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55531 the global list here. Move code to...
55532 (_dl_add_to_namespace_list): ...here. New function.
55533 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55534 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55535 * elf/dl-load.c (lose): Don't remove the element from the list.
55536 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55537 (_dl_map_object): Likewise.
55538
555392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55540
55541 [BZ #12159]
55542 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55543 into all bytes of SSE register.
55544 Patch by Richard Li <richardpku@gmail.com>.
55545
f0967738 555462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55547
55548 [BZ #12140]
55549 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55550 perturbing.
55551
d0b9e94f
MB
555522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55553
55554 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55555 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55557 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55559 submachine.
55560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55561
8e9f92e9
AS
555622010-10-22 Andreas Schwab <schwab@redhat.com>
55563
55564 * include/dlfcn.h (__RTLD_SECURE): Define.
55565 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55566 mode & __RTLD_SECURE instead.
55567 (open_path): Rename preloaded parameter to secure.
55568 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55569 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55570 * elf/dl-deps.c (openaux): Likewise.
55571 * elf/rtld.c (struct map_args): Remove is_preloaded.
55572 (map_doit): Don't use it.
55573 (dl_main): Likewise.
55574 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55575 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55576
bc96fbda
AS
555772010-09-09 Andreas Schwab <schwab@redhat.com>
55578
55579 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55580 (sysd-rules-targets): Remove duplicates.
55581 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55582 rtld-%.$o dependency.
55583
22cd1c9b
AS
555842010-10-18 Andreas Schwab <schwab@redhat.com>
55585
55586 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55587 _dl_map_object do it.
55588
18edac48
UD
555892010-10-19 Ulrich Drepper <drepper@gmail.com>
55590
55591 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55592 fast fma builtins, define the macros in the C99 standard.
55593 (FP_FAST_FMAF): Likewise.
55594 (FP_FAST_FMAL): Likewise.
55595 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55596
55597 * bits/mathdef.h: Update copyright year.
55598 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55599
d2050124
MM
556002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55601
55602 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55603 builtins, define the macros in the C99 standard.
55604 (FP_FAST_FMAF): Likewise.
55605 (FP_FAST_FMAL): Likewise.
55606 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55607 multiply/add.
55608 (FP_FAST_FMAF): Likewise.
55609
475facd1
JJ
556102010-10-15 Jakub Jelinek <jakub@redhat.com>
55611
55612 [BZ #3268]
55613 * math/libm-test.inc (fma_test): Some new testcases.
55614 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55615 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55616 y and infinite z. Do multiplication by C already in long double.
55617 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55619 y and infinite z. Do bitwise or of inexact bit into u.d.
55620 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55621 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55622 * sysdeps/i386/fpu/s_fma.S: Removed.
55623 * sysdeps/i386/fpu/s_fmal.S: Removed.
55624
7c08a05c
JJ
556252010-10-16 Jakub Jelinek <jakub@redhat.com>
55626
55627 [BZ #3268]
55628 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55630 computation is not scheduled after fetestexcept. Fix value
55631 of minimum denormal long double.
55632
f3f7372d
JJ
556332010-10-14 Jakub Jelinek <jakub@redhat.com>
55634
55635 [BZ #3268]
55636 * math/libm-test.inc (fma_test): Add some more tests.
55637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55638 correctly.
55639
14d43591
AS
556402010-10-15 Andreas Schwab <schwab@redhat.com>
55641
55642 * scripts/data/localplt-s390-linux-gnu.data: New file.
55643 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55644
5e908464
JJ
556452010-10-13 Jakub Jelinek <jakub@redhat.com>
55646
55647 [BZ #3268]
55648 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55649 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55650 instead of dbl-64.
55651 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55652 inlines.
55653 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55655 if one of x and y is very large and the other is subnormal.
55656 * sysdeps/s390/fpu/s_fmaf.c: New file.
55657 * sysdeps/s390/fpu/s_fma.c: New file.
55658 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55659 * sysdeps/powerpc/fpu/s_fma.S: New file.
55660 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55661 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55662 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55663
556642010-10-12 Jakub Jelinek <jakub@redhat.com>
55665
55666 [BZ #3268]
55667 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55668 fma tests.
55669 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55670 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55671 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55672 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55673 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55674 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55675 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55676
b833d51f
UD
556772010-10-12 Ulrich Drepper <drepper@redhat.com>
55678
55679 [BZ #12078]
55680 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55681 * posix/bug-regex31.input: Add test case.
55682
1751705d
UD
556832010-10-11 Ulrich Drepper <drepper@gmail.com>
55684
e9b9cbf5
UD
55685 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55686 * posix/bug-regex31.input: New file.
55687
55688 [BZ #12078]
55689 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55690 (parse_sub_exp): Fix last change, use postorder.
55691
ef06edbe
UD
55692 * posix/bug-regex31.c: New file.
55693 * posix/Makefile: Add rules to build and run bug-regex31.
55694
a129c80d
UD
55695 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55696
55697 [BZ #12078]
55698 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55699
b76b818e
UD
55700 [BZ #12108]
55701 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55702 to have entries in sys_siglist.
55703
1751705d
UD
55704 [BZ #12093]
55705 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55706 be NULL.
55707
9ff8d36f
JJ
557082010-10-07 Jakub Jelinek <jakub@redhat.com>
55709
55710 [BZ #3268]
55711 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55712 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55713 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55714 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55715 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55716 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55717 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55718 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55719 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55720 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55721 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55722 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55723 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55724 * math/ftestexcept.c (fetestexcept): Likewise.
55725 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55726 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55727 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55728 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55729 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55730 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55731 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55732
af325969
UD
557332010-10-11 Ulrich Drepper <drepper@gmail.com>
55734
c579b202 55735 [BZ #12107]
af325969
UD
55736 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55737 newline.
55738
67a67b95
UD
557392010-10-06 Ulrich Drepper <drepper@gmail.com>
55740
55741 * string/bug-strstr1.c: New file.
55742 * string/Makefile: Add rules to build and run bug-strstr1.
55743
5fb308bc
EB
557442010-10-05 Eric Blake <eblake@redhat.com>
55745
55746 [BZ #12092]
55747 * string/str-two-way.h (two_way_long_needle): Always clear memory
55748 when skipping input due to the shift table.
55749
45db99c7
UD
557502010-10-03 Ulrich Drepper <drepper@gmail.com>
55751
3b111893
UD
55752 [BZ #12005]
55753 * malloc/mcheck.c: Handle large requests.
55754
45db99c7
UD
55755 [BZ #12077]
55756 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55757 for strncmp and strncasecmp.
55758 * string/stratcliff.c: Add tests for strcmp and strncmp.
55759 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55760
cf7a1eb8
NI
557612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55762
55763 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55764 __set_fpscr.
55765
6484ba5e
AJ
557662010-09-30 Andreas Jaeger <aj@suse.de>
55767
55768 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55769 (CGROUP_SUPER_MAGIC): Define.
55770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55771 Handle btrfs and cgroup file systems.
55772 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55773 Likewise.
55774
91c42559
LM
557752010-09-27 Luis Machado <luisgpm@br.ibm.com>
55776
55777 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55778 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55779
87a97932
AK
557802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55781
55782 [BZ #12067]
55783 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55784 trying to locate the ELF header.
55785
c21cc9bc
AS
557862010-09-27 Andreas Schwab <schwab@redhat.com>
55787
55788 [BZ #11611]
55789 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55790 Mask out sign-bit copies when constructing f_fsid.
55791
315970f6
PB
557922010-09-24 Petr Baudis <pasky@suse.cz>
55793
55794 * debug/stack_chk_fail_local.c: Add missing licence exception.
55795 * debug/warning-nop.c: Likewise.
55796
1ac7a2c7
JM
557972010-09-15 Joseph Myers <joseph@codesourcery.com>
55798
55799 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55800 implementing getdents64 using getdents syscall, set d_type if
55801 __ASSUME_GETDENTS32_D_TYPE.
55802
56801c50
AS
558032010-09-16 Andreas Schwab <schwab@redhat.com>
55804
55805 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55806 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55807
dda51327
UD
558082010-09-21 Ulrich Drepper <drepper@redhat.com>
55809
55810 [BZ #12037]
55811 * posix/unistd.h: Undo change of feature selection for ftruncate from
55812 2010-01-11.
55813
8ffcee4a
UD
558142010-09-20 Ulrich Drepper <drepper@redhat.com>
55815
a545ecd9 55816 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55817 detection.
55818
e24f0a8b
AS
558192010-09-20 Andreas Schwab <schwab@redhat.com>
55820
55821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55822 fanotify_mark.
55823 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55824
7291c56f
AS
558252010-09-14 Andreas Schwab <schwab@redhat.com>
55826
55827 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55828 variables after CHECK_SP call.
55829 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55830
bc5fb037
AS
558312010-09-13 Andreas Schwab <schwab@redhat.com>
55832 Ulrich Drepper <drepper@redhat.com>
55833
55834 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55835 re-relocationg ld.so.
55836 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55837 _dl_init_paths call.
55838 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55839 here anymore.
55840
e66e7419
UD
558412010-09-14 Ulrich Drepper <drepper@redhat.com>
55842
55843 * resolv/res_init.c (__res_vinit): Count the default server we added.
55844
c044aa75
CLT
558452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55846 Ulrich Drepper <drepper@redhat.com>
55847
55848 [BZ #11968]
55849 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55850 (____longjmp_chk): Use %ebx for saving value across system call.
55851 Add unwind info.
55852
32cf4069
AS
558532010-09-06 Andreas Schwab <schwab@redhat.com>
55854
55855 * manual/Makefile: Don't mix pattern rules with normal rules.
55856
817328ee
AS
558572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55858
55859 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55860 operation.
55861 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55862 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55863 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55864 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55866 Likewise.
55867
29fddf61
UD
558682010-09-04 Ulrich Drepper <drepper@redhat.com>
55869
55870 [BZ #11979]
55871 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55872 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55873
0959ffc9
UD
558742010-09-02 Ulrich Drepper <drepper@redhat.com>
55875
55876 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55877 * sysdeps/x86_64/addmul_1.S: Likewise.
55878 * sysdeps/x86_64/lshift.S: Likewise.
55879 * sysdeps/x86_64/mul_1.S: Likewise.
55880 * sysdeps/x86_64/rshift.S: Likewise.
55881 * sysdeps/x86_64/sub_n.S: Likewise.
55882 * sysdeps/x86_64/submul_1.S: Likewise.
55883
ece29840
ST
558842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55885
0959ffc9
UD
55886 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55887 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55888 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55889 * bits/sched.h [__need_schedparam]
ece29840 55890 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55891 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55892 (__defined_schedparam): Define to 1.
ece29840
ST
55893 (__sched_param): New structure, identical to sched_param.
55894 (__need_schedparam): Undefine.
55895
e53a31fe
MF
558962010-08-31 Mike Frysinger <vapier@gentoo.org>
55897
fdc0c10d
MF
55898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55899 (epoll_create1): Declare.
55900
e53a31fe
MF
55901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55902
a726d796
AS
559032010-08-31 Andreas Schwab <schwab@redhat.com>
55904
55905 [BZ #7066]
55906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55907 shifting retval into place.
55908
2f3e3dc7
UD
559092010-09-01 Ulrich Drepper <drepper@redhat.com>
55910
f2933da9
UD
55911 * nis/rpcsvc/nis.h: Update copyright notice.
55912 * nis/rpcsvc/nis.x: Likewise.
55913 * nis/rpcsvc/nis_callback.h: Likewise.
55914 * nis/rpcsvc/nis_callback.x: Likewise.
55915 * nis/rpcsvc/nis_object.x: Likewise.
55916 * nis/rpcsvc/nis_tags.h: Likewise.
55917 * nis/rpcsvc/yp.h: Likewise.
55918 * nis/rpcsvc/yp.x: Likewise.
55919 * nis/rpcsvc/ypupd.h: Likewise.
55920 * nis/yp_xdr.c: Likewise.
55921 * nis/ypupdate_xdr.c: Likewise.
55922
2f3e3dc7
UD
55923 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55924 mainly the body of pmap_getport. Add parameters to specify timeouts.
55925 (pmap_getport): Use __libc_rpc_getport.
55926 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55927 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55928 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55929
f3dcc2f9
AS
559302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55931
55932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55933 fanotify_mark.
55934
6d34eb5b
RM
559352010-08-27 Roland McGrath <roland@redhat.com>
55936
55937 * sysdeps/i386/i686/multiarch/Makefile
55938 (CFLAGS-varshift.c): New variable.
55939
9ea3de11
UD
559402010-08-27 Ulrich Drepper <drepper@redhat.com>
55941
c96d23fc
UD
55942 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55943 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55944
9ea3de11
UD
55945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55946
55947 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55948
623aac7f
L
559492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55950
55951 * sysdeps/x86_64/strlen.S: Unroll the loop.
55952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55953 strlen-sse2 strlen-sse2-bsf.
55954 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55955 __strlen_no_bsf if bit_Slow_BSF is set.
55956 (__strlen_sse42): Removed.
55957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55958 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55959
8b2b7715
RM
559602010-08-25 Roland McGrath <roland@redhat.com>
55961
55962 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55963 * sysdeps/x86_64/multiarch/varshift.c: New file.
55964 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55965 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55966 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55967 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55968
e73015f2
L
559692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55970
55971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55972 strlen-sse2 strlen-sse2-bsf.
55973 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55974 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55975 (__strlen_sse2): Removed.
55976 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55979 bit_Slow_BSF for Atom.
55980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55981 (index_Slow_BSF): Define.
55982 (HAS_SLOW_BSF): Define.
55983
df24a73e
UD
559842010-08-25 Ulrich Drepper <drepper@redhat.com>
55985
55986 [BZ #10851]
55987 * resolv/res_init.c (__res_vinit): When no server address at all
55988 is given default to loopback.
55989
f2ac4868
RM
559902010-08-24 Roland McGrath <roland@redhat.com>
55991
09055553
RM
55992 * configure.in: Remove config-name.h generation.
55993 * configure: Regenerated.
55994 * config-name.in: File removed.
55995 * scripts/config-uname.sh: New file.
55996 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55997 ($(objdir)config-name.h): New target.
55998
f2ac4868
RM
55999 * sunrpc/rpc_parse.h: Avoid nested comment.
56000
73f27d5e
RH
560012010-08-24 Richard Henderson <rth@redhat.com>
56002 Ulrich Drepper <drepper@redhat.com>
56003 H.J. Lu <hongjiu.lu@intel.com>
56004
56005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56007 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56008 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56009 _mm_alignr_epi8 with _mm_loadu_si128.
56010 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56011 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56012 (__m128i_shift_right): Removed.
56013 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56014 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56015 * sysdeps/x86_64/multiarch/varshift.h: New file.
56016 * sysdeps/x86_64/multiarch/varshift.S: New file.
56017
84b9230c
MF
560182010-08-21 Mike Frysinger <vapier@gentoo.org>
56019
56020 * configure.in: Move assembler checks to before sysdep dir checking.
56021
9bbd0ddc
PB
560222010-08-20 Petr Baudis <pasky@suse.cz>
56023
56024 * LICENSES: Sync the sunrpc license.
56025
9da4bb31
UD
560262010-08-19 Ulrich Drepper <drepper@redhat.com>
56027
a7ab6ec8
UD
56028 * sunrpc/auth_des.c: Update copyright notice once again.
56029 * sunrpc/auth_none.c: Likewise.
56030 * sunrpc/auth_unix.c: Likewise.
56031 * sunrpc/authdes_prot.c: Likewise.
56032 * sunrpc/authuxprot.c: Likewise.
56033 * sunrpc/bindrsvprt.c: Likewise.
56034 * sunrpc/clnt_gen.c: Likewise.
56035 * sunrpc/clnt_perr.c: Likewise.
56036 * sunrpc/clnt_raw.c: Likewise.
56037 * sunrpc/clnt_simp.c: Likewise.
56038 * sunrpc/clnt_tcp.c: Likewise.
56039 * sunrpc/clnt_udp.c: Likewise.
56040 * sunrpc/clnt_unix.c: Likewise.
56041 * sunrpc/des_crypt.c: Likewise.
56042 * sunrpc/des_soft.c: Likewise.
56043 * sunrpc/get_myaddr.c: Likewise.
56044 * sunrpc/getrpcport.c: Likewise.
56045 * sunrpc/key_call.c: Likewise.
56046 * sunrpc/key_prot.c: Likewise.
56047 * sunrpc/openchild.c: Likewise.
56048 * sunrpc/pm_getmaps.c: Likewise.
56049 * sunrpc/pm_getport.c: Likewise.
56050 * sunrpc/pmap_clnt.c: Likewise.
56051 * sunrpc/pmap_prot.c: Likewise.
56052 * sunrpc/pmap_prot2.c: Likewise.
56053 * sunrpc/pmap_rmt.c: Likewise.
56054 * sunrpc/rpc/auth.h: Likewise.
56055 * sunrpc/rpc/auth_unix.h: Likewise.
56056 * sunrpc/rpc/clnt.h: Likewise.
56057 * sunrpc/rpc/des_crypt.h: Likewise.
56058 * sunrpc/rpc/key_prot.h: Likewise.
56059 * sunrpc/rpc/netdb.h: Likewise.
56060 * sunrpc/rpc/pmap_clnt.h: Likewise.
56061 * sunrpc/rpc/pmap_prot.h: Likewise.
56062 * sunrpc/rpc/pmap_rmt.h: Likewise.
56063 * sunrpc/rpc/rpc.h: Likewise.
56064 * sunrpc/rpc/rpc_des.h: Likewise.
56065 * sunrpc/rpc/rpc_msg.h: Likewise.
56066 * sunrpc/rpc/svc.h: Likewise.
56067 * sunrpc/rpc/svc_auth.h: Likewise.
56068 * sunrpc/rpc/types.h: Likewise.
56069 * sunrpc/rpc/xdr.h: Likewise.
56070 * sunrpc/rpc_clntout.c: Likewise.
56071 * sunrpc/rpc_cmsg.c: Likewise.
56072 * sunrpc/rpc_common.c: Likewise.
56073 * sunrpc/rpc_cout.c: Likewise.
56074 * sunrpc/rpc_dtable.c: Likewise.
56075 * sunrpc/rpc_hout.c: Likewise.
56076 * sunrpc/rpc_main.c: Likewise.
56077 * sunrpc/rpc_parse.c: Likewise.
56078 * sunrpc/rpc_parse.h: Likewise.
56079 * sunrpc/rpc_prot.c: Likewise.
56080 * sunrpc/rpc_sample.c: Likewise.
56081 * sunrpc/rpc_scan.c: Likewise.
56082 * sunrpc/rpc_scan.h: Likewise.
56083 * sunrpc/rpc_svcout.c: Likewise.
56084 * sunrpc/rpc_tblout.c: Likewise.
56085 * sunrpc/rpc_util.c: Likewise.
56086 * sunrpc/rpc_util.h: Likewise.
56087 * sunrpc/rpcinfo.c: Likewise.
56088 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56089 * sunrpc/rpcsvc/key_prot.x: Likewise.
56090 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56091 * sunrpc/rpcsvc/mount.x: Likewise.
56092 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56093 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56094 * sunrpc/rpcsvc/rex.x: Likewise.
56095 * sunrpc/rpcsvc/rstat.x: Likewise.
56096 * sunrpc/rpcsvc/rusers.x: Likewise.
56097 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56098 * sunrpc/rpcsvc/spray.x: Likewise.
56099 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56100 * sunrpc/rtime.c: Likewise.
56101 * sunrpc/svc.c: Likewise.
56102 * sunrpc/svc_auth.c: Likewise.
56103 * sunrpc/svc_authux.c: Likewise.
56104 * sunrpc/svc_raw.c: Likewise.
56105 * sunrpc/svc_run.c: Likewise.
56106 * sunrpc/svc_simple.c: Likewise.
56107 * sunrpc/svc_tcp.c: Likewise.
56108 * sunrpc/svc_udp.c: Likewise.
56109 * sunrpc/svc_unix.c: Likewise.
56110 * sunrpc/svcauth_des.c: Likewise.
56111 * sunrpc/xcrypt.c: Likewise.
56112 * sunrpc/xdr.c: Likewise.
56113 * sunrpc/xdr_array.c: Likewise.
56114 * sunrpc/xdr_float.c: Likewise.
56115 * sunrpc/xdr_mem.c: Likewise.
56116 * sunrpc/xdr_rec.c: Likewise.
56117 * sunrpc/xdr_ref.c: Likewise.
56118 * sunrpc/xdr_sizeof.c: Likewise.
56119 * sunrpc/xdr_stdio.c: Likewise.
56120
9da4bb31
UD
56121 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56122 handling.
56123
bdaa77bc
AS
561242010-08-19 Andreas Schwab <schwab@redhat.com>
56125
56126 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56127
fe2f79db
LM
561282010-08-19 Luis Machado <luisgpm@br.ibm.com>
56129
56130 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56132 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56133 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56134 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56135 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56136 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56137 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56139 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56140 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56141 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56142 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56143 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56144
b9b42ee0
AB
561452010-07-26 Anton Blanchard <anton@samba.org>
56146
56147 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56148 * malloc/arena.c (heap_trim): Likewise.
56149
1c06ba31
UD
561502010-08-16 Ulrich Drepper <drepper@redhat.com>
56151
56152 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56153 here. Not...
56154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56155 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56156
f8392f40
L
561572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56158
56159 * sysdeps/i386/elf/Makefile: New file.
56160
3162f12e
AS
561612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56162
56163 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56164 from fanotify_init.
56165 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56167
28c90b2c
UD
561682010-08-15 Ulrich Drepper <drepper@redhat.com>
56169
56170 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56171 of strncasecmp_l.
1feccb6c 56172 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56173
ca6bb004
UD
561742010-08-14 Ulrich Drepper <drepper@redhat.com>
56175
e9f82e0d
UD
56176 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56177 strncase_l-nonascii.
56178 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56179 Add strncase_l-ssse3.
56180 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56181 * sysdeps/x86_64/strcmp.S: Likewise.
56182 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56183 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56184 * sysdeps/x86_64/strncase.S: New file.
56185 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56186 * sysdeps/x86_64/strncase_l.S: New file.
56187 * string/Makefile (strop-tests): Add strncasecmp.
56188 * string/test-strncasecmp.c: New file.
56189
56190 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56191 warning.
56192
ca6bb004
UD
56193 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56194 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56195
052fa7b3
AS
561962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56197
56198 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56199
962dba78
UD
562002010-08-12 Ulrich Drepper <drepper@redhat.com>
56201
56202 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56203 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56204 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56205
bebff237
AM
562062010-05-01 Alan Modra <amodra@gmail.com>
56207
56208 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56209 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56210 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56211 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56212 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56213 tidying. Don't tail-call __sigjmp_save for static lib.
56214 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56215 save location.
56216 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56217 (CALL_MCOUNT): Add eh info, and nop after bl.
56218 (TAIL_CALL_SYSCALL_ERROR): New macro.
56219 (PSEUDO_RET): Use it.
56220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56221 Correct save location of integer regs and cr.
56222 (_dl_profile_resolve): Correct cr save location. Delete nops
56223 after bl when SHARED. Reduce cfi size a little by better
56224 placement of cfi directives.
56225 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56226 make a stack frame. Instead use parm save area as a temp.
56227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56228 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56230 Don't make a stack frame for parent, use parm save area.
56231 Increase child stack frame to 112 bytes. Don't save unused reg,
56232 and adjust reg usage. Set up cfi on error recovery and
56233 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56235 (__makecontext): Add dummy nop after jump to exit.
56236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56237 Use correct parm save area and cr save, reduce stack frame.
56238 Correct cfi for possible PSEUDO_RET frame setup.
56239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56240 Branch to local label emitted by PSEUDO_RET rather than
56241 __syscall_error.
56242
02637374
AS
562432010-08-12 Andreas Schwab <schwab@redhat.com>
56244
56245 [BZ #11904]
56246 * locale/programs/locale.c (print_assignment): New function.
56247 (show_locale_vars): Use it.
56248
c3e2f19b
UD
562492010-08-11 Ulrich Drepper <drepper@redhat.com>
56250
3cdaa6ad
UD
56251 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56252 field.
56253 (struct statfs64): Likewise.
56254 (_STATFS_F_FLAGS): Define.
56255 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56257 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56258 (ST_VALID): Define locally.
56259 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56260 __statvfs_getflags, use the provided value.
56261 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56262 __ASSUME_STATFS_F_FLAGS.
56263
754f7da3
UD
56264 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56265
10b3bedc
UD
56266 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56267 Add sys/fanotify.h.
56268 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56269 fanotify_mask for GLIBC_2.13.
56270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56271 fanotify_init and fanotify_mark.
56272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56273 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56274
c08fb0d7
UD
56275 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56276 Add prlimit.
56277 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56278 prlimit64 for GLIBC_2.13.
56279 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56280 prlimit64.
56281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56282 syscall.
56283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56284 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56285 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56288 add prlimit alias.
56289 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56290
15bac72b
UD
56291 [BZ #11903]
56292 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56293 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56294
c3e2f19b
UD
56295 * nss/Makefile: Add rules to build and run tst-nss-test1.
56296 * shlib-versions: Add entry for libnss_test1.
56297 * nss/nss_test1.c: New file.
56298 * nss/tst-nss-test1.c: New file.
56299
56300 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56301 (__nss_configure_lookup): Set appropriate entry in
56302 __nss_configure_lookup to true.
56303 * nss/nsswitch.h: Define enum with indeces of databases in
56304 databases and __nss_database_custom arrays. Declare
56305 __nss_database_custom.
56306 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56307 to avoid using nscd when custom rules are installed.
56308 * nss/getXXbyYY_r.c: Likewise.
56309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56310
56311 * nss/nss_files/files-parse.c: Whitespace fixes.
56312
f15ce4d8
UD
563132010-08-09 Ulrich Drepper <drepper@redhat.com>
56314
56315 [BZ #11883]
56316 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56317 * posix/fnmatch_loop.c: Likewise.
56318
d22e4cc9
AK
563192010-07-17 Andi Kleen <ak@linux.intel.com>
56320
56321 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56322 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56323 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56324 * Versions.def [GLIBC_2.13]: Add.
56325
805bc17d
UD
563262010-08-06 Ulrich Drepper <drepper@redhat.com>
56327
56328 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56329 Also fail if tpwd after pwuid call is NULL.
56330
5a42321d
ST
563312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56332
56333 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56334 when converting to ms.
56335
fd3ebeda
ST
563362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56337
56338 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56339 EOPNOTSUPP errors with ENOTTY.
56340 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56341 EOPNOTSUPP errors with ENOTTY.
56342
73507d3a
UD
563432010-07-31 Ulrich Drepper <drepper@redhat.com>
56344
56345 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56346 Add strcasecmp_l-ssse3.
56347 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56348 strcasecmp.
56349 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56350 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56351 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56352
fe36dd02
UD
563532010-07-30 Ulrich Drepper <drepper@redhat.com>
56354
66f6765a
UD
56355 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56356
42e08a54
UD
56357 * string/Makefile (strop-tests): Add strcasecmp.
56358 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56359 strcasecmp_l-nonascii.
56360 (gen-as-const-headers): Add locale-defines.sym.
56361 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56362 * sysdeps/x86_64/strcasecmp.S: New file.
56363 * sysdeps/x86_64/strcasecmp_l.S: New file.
56364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56365 * sysdeps/x86_64/locale-defines.sym: New file.
56366 * string/test-strcasecmp.c: New file.
56367
fe36dd02
UD
56368 * string/test-strcasestr.c: Test both ends of the range of characters.
56369 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56370
48cbc0d6
RM
563712010-07-29 Roland McGrath <roland@redhat.com>
56372
76e6d6bc 56373 [BZ #11856]
48cbc0d6
RM
56374 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56375
880113d9
UD
563762010-07-27 Ulrich Drepper <drepper@redhat.com>
56377
56378 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56379 for ld.so.
56380
deb9cabb
AS
563812010-07-27 Andreas Schwab <schwab@redhat.com>
56382
56383 * manual/memory.texi (Malloc Tunable Parameters): Document
56384 M_PERTURB.
56385
1c7570ff
RM
563862010-07-26 Roland McGrath <roland@redhat.com>
56387
56388 [BZ #11840]
56389 * configure.in (-fgnu89-inline check): Set and substitute
56390 gnu89_inline, not libc_cv_gnu89_inline.
56391 * configure: Regenerated.
56392 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56393
24fb0f88
UD
563942010-07-26 Ulrich Drepper <drepper@redhat.com>
56395
56396 * string/test-strnlen.c: New file.
56397 * string/Makefile (strop-tests): Add strnlen.
56398 * string/tester.c (test_strnlen): Add a few more test cases.
56399 * string/tst-strlen.c: Better error reporting.
56400
56401 * sysdeps/x86_64/strnlen.S: New file.
56402
8e96b93a
UD
564032010-07-24 Ulrich Drepper <drepper@redhat.com>
56404
56405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56406 lower-latency instructions.
56407
dbc676d4
UD
564082010-07-23 Ulrich Drepper <drepper@redhat.com>
56409
56410 * string/test-strcasestr.c: New file.
56411 * string/test-strstr.c: New file.
56412 * string/Makefile (strop-tests): Add strstr and strcasestr.
56413 * string/str-two-way.h: Don't undefine MAX.
56414 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56415
f6a31e0e
AS
564162010-07-21 Andreas Schwab <schwab@redhat.com>
56417
56418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56419 strcasestr-nonascii.
56420 (CFLAGS-strcasestr-nonascii.c): Define.
56421 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56422 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56423 Remove unused attribute.
56424
5dbc3b6c
RM
564252010-07-20 Roland McGrath <roland@redhat.com>
56426
56427 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56428 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56429 ld.so.cache was broken. With it, there is no way to disable dsocaps
56430 like LD_HWCAP_MASK can disable hwcaps.
56431
23d101d8
EPM
564322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56433
56434 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56435
cc9f2e47
UD
564362010-07-16 Ulrich Drepper <drepper@redhat.com>
56437
56438 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56439 call in strcasestr.
56440 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56441 __strcasestr_sse42_nonascii.
56442 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56443 strcasestr-nonascii.c.
56444 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56445
77c1b069
LM
564462010-06-15 Luis Machado <luisgpm@br.ibm.com>
56447
56448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56450 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56451 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56452
440566c3
UD
564532010-07-09 Ulrich Drepper <drepper@redhat.com>
56454
56455 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56456 fcntl.
56457
5be9d05d
AS
564582010-07-06 Andreas Schwab <schwab@redhat.com>
56459
c30b7ee2 56460 [BZ #11577]
5be9d05d
AS
56461 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56462 dl_signal_cerror.
56463
8a492a67
UD
564642010-07-06 Ulrich Drepper <drepper@redhat.com>
56465
56466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56467 _PC_PIPE_BUF using F_GETPIPE_SZ.
56468
713df3d5
RM
564692010-07-05 Roland McGrath <roland@redhat.com>
56470
56471 * manual/arith.texi (Rounding Functions): Fix rint description
56472 implicit in round description.
56473
702e8f14
UD
564742010-07-02 Ulrich Drepper <drepper@redhat.com>
56475
56476 * elf/Makefile: Fix linking for a few tests to make recent linker
56477 happy.
56478
52ed8be9
AS
564792010-06-30 Andreas Schwab <schwab@redhat.com>
56480
56481 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56482 $(common-objpfx)libc_nonshared.a.
56483
f47c9a11
LM
564842010-06-21 Luis Machado <luisgpm@br.ibm.com>
56485
56486 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56487 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56488 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56489 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56490 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56491 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56492 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56493 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56508 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56509 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56510 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56511 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56512 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56513 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56514 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56515 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56516 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56517 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56518 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56519 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56534
6fb8cbcb
L
565352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56536
56537 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56538 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56539 * string/memmove.c (memmove): Renamed to ...
56540 (MEMMOVE): ...this. Default to memmove.
56541 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56542 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56543 (END_CHK): Define.
56544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56545 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56546 mempcpy-ssse3-back memmove-ssse3-back.
56547 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56550 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56551 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56552 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56553 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56554 * sysdeps/x86_64/multiarch/memmove.c: New file.
56555 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56556 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56557 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56558 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56559 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56560 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56561 Define.
56562 (index_Fast_Copy_Backward): Define.
56563 (HAS_ARCH_FEATURE): Define.
56564 (HAS_FAST_REP_STRING): Define.
56565 (HAS_FAST_COPY_BACKWARD): Define.
56566
4e733bac 565672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56568
56569 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56570 Restore proper fallback handling.
56571
63c4ed22
UD
565722010-06-19 Ulrich Drepper <drepper@redhat.com>
56573
ac2b484c
UD
56574 [BZ #11701]
56575 * posix/group_member.c (__group_member): Correct checking loop.
56576
63c4ed22
UD
56577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56578 OOM in getpwuid_r correctly. Return error number when the caller
56579 should return, otherwise -1.
56580 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56581 call returning > 0 value.
56582 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56583
765ade4b
AS
565842010-06-07 Andreas Schwab <schwab@redhat.com>
56585
56586 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56587 libc_nonshared.a from targets in modules-names.
56588
80da2e09
KS
565892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56590
56591 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56592 requires it.
56593
158db122
LM
565942010-06-10 Luis Machado <luisgpm@br.ibm.com>
56595
56596 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56598 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56600
caa78cf8
AS
566012010-06-02 Andreas Schwab <schwab@redhat.com>
56602
56603 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56604
b2ef2c01
UD
566052010-06-14 Ulrich Drepper <drepper@redhat.com>
56606
56607 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56608 and F_GETPIPE_SZ.
56609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56614 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56615
fbd643b6
RM
566162010-06-14 Roland McGrath <roland@redhat.com>
56617
56618 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56619
f32f2869
JJ
566202010-06-07 Jakub Jelinek <jakub@redhat.com>
56621
56622 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56623 __REDIRECT followed by __THROW.
56624 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56625 * posix/getopt.h (getopt): Likewise.
56626
2a50c078
EPM
566272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56628
56629 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56630 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56631 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56632 in AT_FLAGS.
56633 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56634 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56635
eb5ad2eb
LM
566362010-05-28 Luis Machado <luisgpm@br.ibm.com>
56637
56638 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56639
3c88fe1e
L
566402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56641
56642 [BZ #11640]
56643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56644 Properly check family and model.
56645
d2f73151
TY
566462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56647
56648 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56649
ebd2e13d
LM
566502010-05-24 Luis Machado <luisgpm@br.ibm.com>
56651
56652 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56653
b32b8b45
UD
566542010-05-21 Ulrich Drepper <drepper@redhat.com>
56655
56656 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56657 symbol reference.
56658
9acbe24d
AS
566592010-05-19 Andreas Schwab <schwab@redhat.com>
56660
56661 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56662 symbol reference.
56663
f0ccf6ea
AS
566642010-05-21 Andreas Schwab <schwab@redhat.com>
56665
3d04ff3a
AS
56666 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56667 and internal_recvmmsg.
56668 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56669 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56670 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56671 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56672
f0ccf6ea
AS
56673 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56674 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56675 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56676
5b08ac57
AS
566772010-05-20 Andreas Schwab <schwab@redhat.com>
56678
56679 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56680
4828935d
LM
566812010-05-17 Luis Machado <luisgpm@br.ibm.com>
56682
56683 POWER7 optimizations.
56684 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56685 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56686
373d545e
UD
566872010-05-19 Ulrich Drepper <drepper@redhat.com>
56688
56689 * version.h: Update for 2.13 development version.
56690
21a2b1ae
AS
566912010-05-12 Andrew Stubbs <ams@codesourcery.com>
56692
56693 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56694 exceptions. Return 0.
56695
3f7dcb2b
RM
566962010-05-07 Roland McGrath <roland@redhat.com>
56697
56698 * elf/ldconfig.c (main): Add a const.
56699
5f24d53a 567002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56701
a160f8d8
UD
56702 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56703 (args_options): Add no-idn option.
56704 (ahosts_keys_int): Add idn_flags to ai_flags.
56705 (parse_option): Handle 'i' option to clear idn_flags.
56706
5f24d53a
UD
56707 * malloc/malloc.c (_int_free): Possible race in the most recently
56708 added check. Only act on the data if no current modification
56709 happened.
265bb1ce
UD
56710
56711See ChangeLog.17 for earlier changes.
This page took 8.150484 seconds and 5 git commands to generate.