]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix powerpc software sqrtf (bug 17967).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
95c26233
JM
12015-02-13 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #17967]
4 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5 __builtin_fmaf instead of relying on contraction of a * b + c.
6
3f293d61
WP
72015-02-12 J William Piggott <elseifthen@gmx.com>
8
9 [BZ #17969]
10 * manual/time.texi: correct the zoneinfo path in the TZ Variable
11 node.
12
e8bd5286
JM
132015-02-12 Joseph Myers <joseph@codesourcery.com>
14
15 [BZ #17964]
16 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17 __builtin_fma instead of relying on contraction of a * b + c.
18
04f5a636
RM
192015-02-12 Roland McGrath <roland@hack.frob.com>
20
96a15749
RM
21 * Makeconfig (ASFLAGS): Add -Werror=undef.
22 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25
04f5a636
RM
26 * Makeconfig (after-link): New variable.
27 (+link-pie, +link-pie-tests): Use it.
28 (+link-static, +link-static-tests): Likewise.
29 (+link, +link-tests): Likewise.
30 * Makerules (build-module, build-module-asneeded): Likewise.
31 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32 Likewise.
33 * elf/Makefile ($(objpfx)ld.so): Likewise.
34
87a629c5
RS
352015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
36
37 [BZ #17965]
38 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39 both struct timeval and struct timespec.
40
03d95bd4
JM
412015-02-12 Joseph Myers <joseph@codesourcery.com>
42
43 [BZ #16560]
44 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45 and redefine.
46 (__ieee754_exp2l): Do not multiply small fractional parts by
47 M_LN2l.
48 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
49 small argument.
50 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
52 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
53 * math/auto-libm-test-in: Add more tests of exp2.
54 * math/auto-libm-test-out: Regenerated.
55
98408b95
RS
562015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
57
58 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
59 unaligned path.
60
6f741503
AZ
612015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62
63 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
64 little endian.
65
2868e070
AS
662015-02-12 Andreas Schwab <schwab@suse.de>
67
68 [BZ #15790]
69 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
70 Filter out elision flags from value returned in kind.
71 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
72 * nptl/tst-pthread-mutexattr.c: New file.
73
ebf27d12
ST
742015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
75
76 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
77 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
78 into gnu-gnu, and update comment to refer to abi-tags.
79
d435569c
JM
802015-02-11 Joseph Myers <joseph@codesourcery.com>
81
82 [BZ #15467]
83 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
84 (__sincos): Set errno to EDOM for infinite argument.
85 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
86 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
87 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
88 (__sincosl): Set errno to EDOM for infinite argument.
89 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
90 (__sincosl): Set errno to EDOM for infinite argument.
91 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
92 (__sincosl): Set errno to EDOM for infinite argument.
93 * math/libm-test.inc (sincos_test_data): Test errno setting.
94
d35273f2
LH
952015-02-11 Leonhard Holz <leonhard.holz@web.de>
96
97 * string/strxfrm_l.c: Remove #define STRCMP.
98 * string/strcoll_l.c: Remove #define STRLEN.
99 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
100 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
101
306bc0d1
JM
1022015-02-10 Joseph Myers <joseph@codesourcery.com>
103
104 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
105 * sysdeps/mips/mips32/sfp-machine.h: ... here.
106 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
107 * sysdeps/mips/mips64/Makefile: ... here.
108 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
109 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
110 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
111 * sysdeps/mips/mips64/sfp-machine.h: ... here.
112 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
113 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
114 * sysdeps/mips/mips64/n64/Implies: Likewise.
115
92b67e8d
RM
1162015-02-10 Roland McGrath <roland@hack.frob.com>
117
118 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
119 <sys/time.h>, <string.h>, and <errno.h>.
120 (dest_offset, dest_address, value, zero): Remove unused variables.
121 (ldouble): Remove typedef.
122 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
123 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
124 1). Fix code style.
125 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
126 (check): Function removed.
127 (CHECK): New macro.
128 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
129 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
130 Don't call set_sigaction_FP and remove_sigaction_FP here.
131 (ldouble_test): Just use 'long double' as macro argument, no need for
132 the 'ldouble' typedef.
133 (do_test): Set up SIGFPE handler at start, using plain signal rather
134 than sigaction. Fix code style.
135
132a1328
EF
1362015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
137
138 [BZ #17949]
139 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
140 jump label.
141
3001e54c
AZ
1422015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
143
bc0cdc49
AZ
144 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
145 * sysdeps/powerpc/powerpc32/configure: Regenerated.
146
83658961
AZ
147 * sysdeps/powerpc/configure.ac: Remove file.
148 * sysdeps/powerpc/configure: Likewise.
149
10169938
AZ
150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
151 [sysdep_routines]: Remove wordcopy-power6 object.
152 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
153 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
155 (__memmove_ppc32): Likewise.
156 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
157 file.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
159 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
160 Remove preprocessor.
161
8548a53d
AZ
162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
163 [sysdep_routines]: Remove wide chars objects.
164 [wcsmbs]: New rule for wide char objects.
165
b2692114
AZ
166 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
167 Remove wordcopy-power6 obejct.
168 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
169 Use local call for wordcopy and memcpy symbols.
170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
172 implementation for loader.
173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
174
18e270aa
AZ
175 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
176 Remove wordcopy-power7 object.
177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
178 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
179 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
180 (_wordcopy_fwd_dest_aligned): Likewise.
181 (_wordcopy_bwd_aligned): Likewise.
182 (_wordcopy_bwd_dest_aligned): Likewise.
183
6f0993a6
AZ
184 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
185 Rewrite to call __memmove_ppc instead of include default
186 implementation.
187
3001e54c
AZ
188 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
189 Remove wide chars objects.
190 [wcsmbs]: New rule for wide char objects.
191
59b61c82
AS
1922015-02-09 Andreas Schwab <schwab@suse.de>
193
194 [BZ #17912]
195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
196 in terms of __O_DIRECTORY.
197
ebd7aede
ST
1982015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
199
200 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
201 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
202 call PTR_MANGLE.
203 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
204 PTR_DEMANGLE.
ebd7aede 205
3999d26e
PE
2062015-02-07 Paul Eggert <eggert@cs.ucla.edu>
207
208 Add ersatz _Static_assert on older C hosts
209 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
210 pre-C11 C platform that is not known to support _Static_assert.
211
e9a5bc1c
ST
2122015-02-07 Richard Braun <rbraun@sceen.net>
213
214 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
215 sigstate.
e86c5b64 216 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 217
e2049d17
ST
2182015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
219
220 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
221 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
222 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
223 instead of int.
224 * misc/fchflags.c (fchflags): Likewise.
225 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
226 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
227 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
228 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
229 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
230 Declare macros.
231 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
232 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
233 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
234 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
235 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
236 45.
a9a002fb
ST
237 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
238 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
239 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
240 MACH_RCV_TIMED_OUT.
f96ec27a
ST
241 * hurd/hurd/signal.h (_hurd_self_sigstate,
242 _hurd_critical_section_lock, _hurd_critical_section_unlock):
243 Explicit casts from void *.
4fc81a77 244 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 245 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 246
f05826f0
ST
247 [BZ #4719]
248 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
249 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
250 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
251 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
252 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
253 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
254
a5eb23de
ST
255 [BZ #17944]
256 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
257 duplicates ADDR->sun_path with sockaddr LEN limitation.
258 * sysdeps/mach/hurd/connect.c: Include <string.h>
259 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
260 * sysdeps/mach/hurd/sendmsg.c: Likewise.
261 * sysdeps/mach/hurd/sendto.c: Likewise.
262 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
263 implementing it by hand.
264
ac9e0e5e
RM
2652015-02-06 Roland McGrath <roland@hack.frob.com>
266
f8d1bb4c
RM
267 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
268 Use sfi_breg on ldr.
269 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
270 Likewise.
271
022f4812
RM
272 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
273 it's defined.
274 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
275 Test SIGSETXID only if it's defined.
276
1ac074e6
RM
277 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
278
f50ad78b
RM
279 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
280 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
281
9e7265f4
RM
282 * nptl/tst-align2.c: Moved ...
283 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
284 * nptl/Makefile (tests): Remove tst-align2.
285 * sysdeps/unix/sysv/linux/Makefile
286 [$(subdir) = nptl] (tests): Add tst-align-clone.
287 * nptl/tst-getpid1.c: Moved ...
288 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
289 * nptl/tst-getpid2.c: Moved ...
290 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
291 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
292 * sysdeps/unix/sysv/linux/Makefile
293 [$(subdir) = nptl] (tests): ... here.
294 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
295 * sysdeps/unix/sysv/linux/Makefile
296 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
297
62ad2abc
RM
298 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
299 Drop trailing \n from perror argument. Use return rather than exit.
300
cfa69b0b
RM
301 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
302 on [SA_SIGINFO].
303 * nptl/tst-cancel21.c (do_test): Likewise.
304 * debug/tst-backtrace6.c: Include <signal.h> first thing.
305 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
306 [!SA_SIGINFO]: Make it a stub test.
307
82727806
RM
308 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
309 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
310
da3a1594
RM
311 * posix/tst-getlogin.c: Move to ...
312 * login/tst-getlogin.c: ... here.
313 * posix/Makefile (tests): Move tst-getlogin to ...
314 * login/Makefile (tests): ... here.
315
b65c0ff9
RM
316 * libio/tst-atime.c (do_test): Move local variables SV and E
317 inside [ST_NOATIME] conditional.
318
56606ab3
RM
319 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
320
ebf7d6ee
RM
321 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
322
ca0e0675
RM
323 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
324 (wait_code): New function replaces macro.
325 Call nanosleep rather than syscall.
326
8c28bbc6
RM
327 * nptl/pt-system.c: Rewritten. Put everything under
328 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
329 Use IFUNC to redirect when possible.
330
ec2a88b3
RM
331 * nptl/pt-longjmp.c: Rewritten. Put everything under
332 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
333 Use IFUNC to redirect when possible.
334
beff1d13
RM
335 * nptl/pt-fork.c: Rewritten. Put everything under
336 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
337 Use IFUNC to redirect when possible.
338 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
339
ea02c6b8
RM
340 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
341 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
342 unconditionally nowadays. This included the only reference to
343 __vdso_clock_gettime that appears outside libc proper.
344 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
345 Remove version set (containing only __vdso_clock_gettime).
346 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
347 Add attribute_hidden.
348 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
349 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
350 libc_hidden_data_def.
351 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
353
a1309c2b
RM
354 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
355 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
356 setrpcent, and getrpcport to ...
357 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
358 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
359 getrpcbynumber_r, and getrpcent_r to ...
360 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
361 * inet/getrpcbyname.c: Moved ...
362 * sunrpc/getrpcbyname.c: ... here.
363 * inet/getrpcbyname_r.c: Moved ...
364 * sunrpc/getrpcbyname_r.c: ... here.
365 * inet/getrpcbynumber.c: Moved ...
366 * sunrpc/getrpcbynumber.c: ... here.
367 * inet/getrpcbynumber_r.c: Moved ...
368 * sunrpc/getrpcbynumber_r.c: ... here.
369 * inet/getrpcent.c: Moved ...
370 * sunrpc/getrpcent.c: ... here.
371 * inet/getrpcent_r.c: Moved ...
372 * sunrpc/getrpcent_r.c: ... here.
373 * inet/Makefile (routines): Move those to ...
374 * sunrpc/Makefile (routines): ... here.
375 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
376 the $(subdirs) list.
377 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
378 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
379 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
380 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
381
ac9e0e5e
RM
382 * elf/Makefile (routines): Include $(all-dl-routines), not just
383 $(dl-routines).
384 (rtld-routines): Likewise. Use = rather than :=.
385 * sysdeps/aarch64/Makefile [$(subdir) = elf]
386 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
387 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
388 * sysdeps/arm/Makefile: Likewise.
389 * sysdeps/i386/Makefile: Likewise.
390 * sysdeps/x86_64/Makefile: Likewise.
391 * sysdeps/hppa/Makefile [$(subdir) = elf]
392 (sysdep_routines, sysdep-rtld-routines): Don't add
393 $(sysdep-dl-routines) to these.
394 * sysdeps/ia64/Makefile: Likewise.
395 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
396 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
397 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
398 Don't add dl-static to these; sysdep-dl-routines alone is enough.
399 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
400 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
401 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
402 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
403 * sysdeps/powerpc/Makefile [$(subdir) = elf]
404 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
405 these; sysdep-dl-routines alone is enough.
406
639e42eb
JM
4072015-02-06 Joseph Myers <joseph@codesourcery.com>
408
1c7a4a51
JM
409 [BZ #17932]
410 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
411 where multiplication results in zero and third argument is finite
412 and nonzero.
413 * math/auto-libm-test-in: Add more tests of fma.
414 * math/auto-libm-test-out: Regenerated.
415
61f006c1
JM
416 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
417 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
418 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
419 (_FP_CMP_EQ): Likewise.
420 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
421
639e42eb
JM
422 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
423 extra argument CHECK_NAN. Redefine as wrapper around
424 _FP_EXTEND_CNAN.
425
3c0c543b
CD
4262015-02-06 Carlos O'Donell <carlos@systemhalted.org>
427
4e42b5b8
CD
428 * version.h (RELEASE): Set to "stable".
429 (VERSION): Set to "2.21"
430 * include/features.h (__GLIBC_MINOR__): Set to 21.
431
3c0c543b
CD
432 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
433
5bd80bfe 4342015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 435 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
436
437 [BZ #16618]
438 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
439 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
440 size in bytes. Store needed elements in wpmax. Use needed size
441 in bytes for extend_alloca.
442
3f823f48
CD
4432015-02-05 Carlos O'Donell <carlos@systemhalted.org>
444
04cb913d
CD
445 * manual/install.texi: Latest tested versions are GCC 4.9.2,
446 binutls 2.25, and texinfo 5.2.
447 * INSTALL: Regenerate.
448 * sysdeps/nios2/configure: Regenerate.
449 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
450 * manual/contrib.texi: Update.
451 * po/be.po: Update.
452 * po/bg.po: Update.
453 * po/ca.po: Update.
454 * po/cs.po: Update.
455 * po/da.po: Update.
456 * po/de.po: Update.
457 * po/el.po: Update.
458 * po/eo.po: Update.
459 * po/es.po: Update.
460 * po/fi.po: Update.
461 * po/fr.po: Update.
462 * po/gl.po: Update.
463 * po/hr.po: Update.
464 * po/hu.po: Update.
465 * po/ia.po: Update.
466 * po/id.po: Update.
467 * po/it.po: Update.
468 * po/ja.po: Update.
469 * po/ko.po: Update.
470 * po/lt.po: Update.
471 * po/nb.po: Update.
472 * po/nl.po: Update.
473 * po/pl.po: Update.
474 * po/pt_BR.po: Update.
475 * po/ru.po: Update.
476 * po/rw.po: Update.
477 * po/sk.po: Update.
478 * po/sl.po: Update.
479 * po/sv.po: Update.
480 * po/tr.po: Update.
481 * po/uk.po: Update.
482 * po/vi.po: Update.
483 * po/zh_CN.po: Update.
484 * po/zh_TW.po: Update.
485
3f823f48
CD
486 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
487 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
488 * sysdeps/hppa/dl-irel.h: Remove #warning.
489 * sysdeps/hppa/entry.h: Provide prototype for
490 __canonicalize_funcptr_for_compare and cast argument.
491 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
492 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
493 * sysdeps/hppa/sotruss-lib.c: New file.
494 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
495 (atomic_compare_and_exchange_val_acq): Use __typeof__.
496 (atomic_compare_and_exchange_bool_acq): Likewise.
497 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
498 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
499
500 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
501 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
502 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
503
34c56048
CLT
5042015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
505
506 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
507 called function in non-PIC case.
508
d4abeca5
DM
5092015-01-31 David S. Miller <davem@davemloft.net>
510
edac0a60
DM
511 * sysdeps/sparc/sparc32/bits/atomic.h
512 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
513 unlock not after it.
514 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
515 volatile register usage warnings from the compiler.
516
d4abeca5
DM
517 * sysdeps/sparc/nptl/sem_init.c: Delete.
518 * sysdeps/sparc/nptl/sem_post.c: Delete.
519 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
520 * sysdeps/sparc/nptl/sem_wait.c: Delete.
521 * sysdeps/sparc/sparc32/sem_init.c: New file.
522 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
523 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
524 padding explicitly initialized.
525 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
526 padding for in-semaphore spinlock.
527 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
528 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
529 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
530 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
531 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
532 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
533 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
534 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
535 version.
536 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
537 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
538
5f3d0b78
L
5392015-01-30 H.J. Lu <hongjiu.lu@intel.com>
540
541 [BZ #17801]
542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
543 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
544 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
545 New.
546 (index_AVX_Fast_Unaligned_Load): Likewise.
547 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
548 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
549 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
550 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
551 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
552 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
553 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
554 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
555 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
556
b658fdd8
AS
5572015-01-29 Andreas Schwab <schwab@suse.de>
558
559 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
560
3cb26316
SP
5612015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
562
563 [BZ #17892]
564 * nscd/nscd_stat.c (send_stats): Initialize DATA.
565
527de9e4
MS
5662015-01-28 Martin Sebor <msebor@redhat.com>
567
568 * math/README.libm-test: Clarify. Add "How to read the test output."
569
06991eb8
CM
5702015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
571
572 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
573 Define to 0.
574
df341342
JM
5752015-01-28 Joseph Myers <joseph@codesourcery.com>
576
577 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
578 (__HAVE_64B_ATOMICS): Define to 0.
579
08cee2a4
AZ
5802015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
581
d4d0ecb2
AZ
582 [BZ #17885]
583 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
584 value to set as new flag.
585
08cee2a4
AZ
586 [BZ #16576]
587 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
588 and use _ARCH_PPCSQ instead.
589 (__ieee754_sqrt): Likewise.
590 (__ieee754_sqrtf): Likewise.
591 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
592 _ARCH_PPCSQ is defined.
593 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
594 fsqrt instruction.
595 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
596 _ARCH_PPCSQ is defined.
597 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
598 fsqrts instruction.
599 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
600
5fe8e359
AK
6012015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
602
603 * iconv/loop.c: Suppress array out of bound warning caused by GCC
604 bug (GCC BZ #64739).
605
24bb7432
AS
6062015-01-25 Andreas Schwab <schwab@linux-m68k.org>
607
fa20da31
AS
608 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
609 Mark _retval as used.
610 (lll_futex_wake_unlock): Likewise.
611 (lll_futex_timed_wait_requeue_pi): Likewise.
612
45819cbc
AS
613 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
614 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
615 register variables.
616
403cc231
AS
617 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
618 libm_hidden_def.
619
24bb7432
AS
620 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
621 (__bswap_64): Mark as __always_inline.
622
9317ea65
B
6232015-01-25 Bram <bug_rh@spam.wizbit.be>
624
625 [BZ #15378]
626 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
627 when none of the search directories exist.
628
0e87343e
AZ
6292015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
630
bea58013
AZ
631 [BZ #17869]
632 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
633 power8 in .machine directive.
634
0e87343e
AZ
635 [BZ #17868]
636 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
637 set dependency from opd value.
638
ede0236c
L
6392015-01-23 H.J. Lu <hongjiu.lu@intel.com>
640
641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
642 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
643 architecture.
ede0236c 644
22971c35
L
6452015-01-23 H.J. Lu <hongjiu.lu@intel.com>
646
647 [BZ #17870]
648 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
649 with uint64_t.
650 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
651 (uint64_t) 1.
e0da28a1 652 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
653 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
654 Replace 1UL with (uint64_t) 1.
655 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
656 int with uint64_t.
657
da5bf245
RM
6582015-01-23 Roland McGrath <roland@hack.frob.com>
659
2ec2d703
RM
660 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
661 (if_freenameindex): Likewise.
662
da5bf245
RM
663 * resource/getrlimit64.c: Add missing libc_hidden_def.
664
d7423856
JM
6652015-01-22 Joseph Myers <joseph@codesourcery.com>
666
667 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
668 __label__.
669 (_FP_FMA): Likewise.
670 (_FP_TO_INT_ROUND): Likewise.
671 (_FP_FROM_INT): Likewise.
672
6b2ba95b
AZ
6732015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
674
675 [BZ #16418]
676 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
677 Make code racy and cancel safe.
678
ccdb048d
CD
6792015-01-21 Carlos O'Donell <carlos@redhat.com>
680
191220b3
CD
681 * sysdeps/arm/unwind-resume.h: Fix copyright year.
682 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
683 attribution.
684
0897c551
CD
685 * pwd/tst-getpw.c: Rewrite.
686
ccdb048d
CD
687 [BZ #17702]
688 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
689 (modules-names): Add moddummy1 and moddummy2.
690 ($(objpfx)tst-rec-dlopen): Define.
691 * dlfcn/moddummy1.c: New file.
692 * dlfcn/moddummy2.c: New file.
693 * dlfcn/tst-rec-dlopen.c: New file.
694 * elf/dl-cache.c (_dl_load_cache_lookup):
695 Return char*. Copy result with alloca/strcpy/strdup.
696 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
697 returns char*. Free cached. If not saving realname
698 free cached.
699 * elf/dl-open.c (dl_open_worker): Do not assert that
700 _r_debug->r_state is RT_CONSISTENT.
701 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
702 returns char*.
703
042e1521
CD
7042015-01-21 Torvald Riegel <triegel@redhat.com>
705 Carlos O'Donell <carlos@redhat.com>
706
707 [BZ #12674]
708 * nptl/sem_waitcommon.c: New file.
709 * nptl/sem_wait.c: Include sem_waitcommon.c.
710 (__sem_wait_cleanup, do_futex_wait): Remove.
711 (__new_sem_wait): Adapt.
712 (__new_sem_trywait): New function.
713 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
714 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
715 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
716 (sem_timedwait): Adapt.
717 * nptl/sem_post.c (__new_sem_post): Adapt.
718 (futex_wake): New function.
719 (__old_sem_post): Add release MO fence.
720 * nptl/sem_open.c (sem_open): Adapt.
721 * nptl/sem_init.c (__new_sem_init): Adapt.
722 (futex_private_if_supported): New function.
723 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
724 (__old_sem_getvalue): Add using previous code.
725 * sysdeps/nptl/internaltypes.h: Adapt.
726 * nptl/tst-sem13.c (do_test): Adapt.
727 * nptl/tst-sem11.c (main): Adapt.
728 * nptl/sem_trywait.c: Remove.
729 * nptl/DESIGN-sem.txt: Remove.
730 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
731 (gen-as-const-headers): Remove structsem.sym.
732 * nptl/structsem.sym: Remove.
733 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
734 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
735 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
736 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
737 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
738 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
739 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
740 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
741 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
742 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
743 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
744 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
745 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
746 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
747 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
748 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
749 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
750 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
751 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
752 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
753 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
754 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
755
fe0e85af
CD
7562015-01-20 Carlos O'Donell <carlos@redhat.com>
757
a8db092e
CD
758 * INSTALL: Regenerated.
759
fe0e85af
CD
760 * po/libc.pot: Regenerated.
761
522e6ee3
CLT
7622015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
763 Sandra Loosemore <sandra@codesourcery.com>
764 Andrew Jenner <andrew@codesourcery.com>
765 Joseph Myers <joseph@codesourcery.com>
766 Nathan Sidwell <nathan@codesourcery.com>
767
768 * NEWS: Mention new Nios II port.
769 * sysdeps/nios2/Implies: New file.
770 * sysdeps/nios2/Makefile: New file.
771 * sysdeps/nios2/Subdirs: New file.
772 * sysdeps/nios2/Versions: New file.
773 * sysdeps/nios2/__longjmp.S: New file.
774 * sysdeps/nios2/abort-instr.h: New file.
775 * sysdeps/nios2/backtrace.c: New file.
776 * sysdeps/nios2/bits/endian.h: New file.
777 * sysdeps/nios2/bits/fenv.h: New file.
778 * sysdeps/nios2/bits/link.h: New file.
779 * sysdeps/nios2/bits/setjmp.h: New file.
780 * sysdeps/nios2/bsd-_setjmp.S: New file.
781 * sysdeps/nios2/bsd-setjmp.S: New file.
782 * sysdeps/nios2/configure: New generated file.
783 * sysdeps/nios2/configure.ac: New file.
784 * sysdeps/nios2/crti.S: New file.
785 * sysdeps/nios2/crtn.S: New file.
786 * sysdeps/nios2/dl-init.c: New file.
787 * sysdeps/nios2/dl-machine.h: New file.
788 * sysdeps/nios2/dl-sysdep.h: New file.
789 * sysdeps/nios2/dl-tls.h: New file.
790 * sysdeps/nios2/dl-trampoline.S: New file.
791 * sysdeps/nios2/gccframe.h: New file.
792 * sysdeps/nios2/gmp-mparam.h: New file.
793 * sysdeps/nios2/jmpbuf-offsets.h: New file.
794 * sysdeps/nios2/jmpbuf-unwind.h: New file.
795 * sysdeps/nios2/ldsodefs.h: New file.
796 * sysdeps/nios2/libc-tls.c: New file.
797 * sysdeps/nios2/libm-test-ulps: New file.
798 * sysdeps/nios2/machine-gmon.h: New file.
799 * sysdeps/nios2/math-tests.h: New file.
800 * sysdeps/nios2/math_private.h: New file.
801 * sysdeps/nios2/memusage.h: New file.
802 * sysdeps/nios2/nptl/Makefile: New file.
803 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
804 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
805 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
806 * sysdeps/nios2/nptl/pthreaddef.h: New file.
807 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
808 * sysdeps/nios2/nptl/tls.h: New file.
809 * sysdeps/nios2/preconfigure: New file.
810 * sysdeps/nios2/s_fma.c: New file.
811 * sysdeps/nios2/s_fmaf.c: New file.
812 * sysdeps/nios2/setjmp.S: New file.
813 * sysdeps/nios2/sfp-machine.h: New file.
814 * sysdeps/nios2/sotruss-lib.c: New file.
815 * sysdeps/nios2/stackguard-macros.h: New file.
816 * sysdeps/nios2/stackinfo.h: New file.
817 * sysdeps/nios2/start.S: New file.
818 * sysdeps/nios2/sysdep.h: New file.
819 * sysdeps/nios2/tls-macros.h: New file.
820 * sysdeps/nios2/tst-audit.h: New file.
821 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
822 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
823 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
824 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
825 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
826 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
827 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
828 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
829 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
830 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
831 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
832 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
833 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
834 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
835 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
836 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
837 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
838 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
839 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
840 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
841 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
842 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
843 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
844 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
845 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
846 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
847 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
848 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
849 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
850 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
851 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
852 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
853 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
854 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
855 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
856 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
857 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
858 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
859 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
860 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
861 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
862 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
863 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
864 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
865
026eb207
SL
8662015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
867
868 [BZ #17844]
869 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
870 (getutent): Use weak_alias in non SHARED case
871 and default_symbol_version in SHARED case.
872 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
873 (getutent_r, pututline): Likewise.
874 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
875 (getutid): Likewise.
876 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
877 (getutid_r): Likewise.
878 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
879 (getutline): Likewise.
880 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
881 (getutline_r): Likewise.
882 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
883 (updwtmp): Likewise.
884
1d532483
SL
8852015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
886
887 [BZ #17848]
888 * sysdeps/s390/s390-32/memcmp.S
889 (memcmp_g5): Rename to __memcmp_g5.
890 * sysdeps/s390/s390-32/memcpy.S
891 (memcpy_g5): Rename to __memcpy_g5.
892 Jump to __memcpy_mvcle instead of memcpy_mvcle.
893 (memcpy_mvcle) Rename to __memcpy_mvcle.
894 * sysdeps/s390/s390-32/memset.S
895 (memset_g5): Rename to __memset_g5.
896 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
897 (IFUNC_RESOLVE): Prefix ifunc-resolve function
898 and use prefixed functions.
899 * sysdeps/s390/s390-32/multiarch/memcmp.S
900 (memcmp_z196): Rename to __memcmp_z196.
901 (memcmp_z10): Rename to __memcmp_z10.
902 (memcmp): Set alias to __memcmp_g5.
903 (bcmp): Set alias to __memcmp_g5.
904 * sysdeps/s390/s390-32/multiarch/memcpy.S
905 (memcpy_z196): Rename to __memcpy_z196.
906 Jump to __memcpy_mvcle instead of memcpy_mvcle.
907 (memcpy_z10): Rename to __memcpy_z10.
908 Jump to __memcpy_mvcle instead of memcpy_mvcle.
909 (memcpy): Set alias to __memcpy_g5.
910 * sysdeps/s390/s390-32/multiarch/memset.S
911 (memset_z196): Rename to __memset_z196.
912 Jump to __memset_mvcle instead of memset_mvcle.
913 (memset_z10): Rename to __memset_z10.
914 Jump to __memset_mvcle instead of memset_mvcle.
915 (memset_mvcle) Rename to __memset_mvcle.
916 (memset): Set alias to __memset_g5.
917 * sysdeps/s390/s390-64/memcmp.S
918 (memcmp_z900): Rename to __memcmp_z900.
919 * sysdeps/s390/s390-64/memcpy.S
920 (memcpy_z900): Rename to __memcpy_z900.
921 Jump to __memcpy_mvcle instead of memcpy_mvcle.
922 (memcpy_mvcle) Rename to __memcpy_mvcle.
923 * sysdeps/s390/s390-64/memset.S
924 (memset_z900): Rename to __memset_z900.
925 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
926 (IFUNC_RESOLVE): Prefix ifunc-resolve function
927 and use prefixed functions.
928 * sysdeps/s390/s390-64/multiarch/memcmp.S
929 (memcmp_z196): Rename to __memcmp_z196.
930 (memcmp_z10): Rename to __memcmp_z10.
931 (memcmp): Set alias to __memcmp_z900.
932 (bcmp): Set alias to __memcmp_z900.
933 * sysdeps/s390/s390-64/multiarch/memcpy.S
934 (memcpy_z196): Rename to __memcpy_z196.
935 Jump to __memcpy_mvcle instead of memcpy_mvcle.
936 (memcpy_z10): Rename to __memcpy_z10.
937 Jump to __memcpy_mvcle instead of memcpy_mvcle.
938 (memcpy): Set alias to __memcpy_z900.
939 * sysdeps/s390/s390-64/multiarch/memset.S
940 (memset_z196): Rename to __memset_z196.
941 Jump to __memset_mvcle instead of memset_mvcle.
942 (memset_z10): Rename to __memset_z10.
943 Jump to __memset_mvcle instead of memset_mvcle.
944 (memset_mvcle) Rename to __memset_mvcle.
945 (memset): Set alias to __memset_z900.
946
53fbd169
JM
9472015-01-14 Joseph Myers <joseph@codesourcery.com>
948
949 [BZ #17748]
950 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
951 __fesetenv instead of fesetenv.
952
d639a363
SP
9532015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
954
955 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
956 macro.
957
d3b00f46
AZ
9582015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
959
ce6615c9
AZ
960 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
961 regression on LE.
962
d3b00f46
AZ
963 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
964 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
965 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
966 strncmp-power8 object.
967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
968 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
969 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
970 * NEWS: Update.
971
72607db0
RS
9722015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
973 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
974
975 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
976 trailing byte check.
977
54dc5461
DM
9782015-01-13 David S. Miller <davem@davemloft.net>
979
980 * include/signal.h (__sigreturn): Guard with __USE_MISC.
981
1c6e6f23
RM
9822015-01-13 Roland McGrath <roland@hack.frob.com>
983
984 * login/logout.c (logout): Use memset rather than bzero.
985 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
986 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
987 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
988 (_gethtbyaddr): Likewise.
989 * locale/programs/simple-hash.c (bcopy): Macro removed.
990
96d6fd6c
AZ
9912015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
992
8bedcb5f
AZ
993 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
994 Add strcmp-power8 object.
995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
996 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
997 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
998 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
999 __strcmp_power8 implementation.
1000 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1001 * NEWS: Update.
1002
f06a4faf
AZ
1003 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1004 Add strncpy-power8 and stpncpy-power8 objects.
1005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1006 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1007 implementations.
1008 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1009 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1010 __stpncpy_power8 implementation.
1011 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1012 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1013 __strncpy_power8 implementation.
1014 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1015 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1016 * NEWS: Update.
1017
9f2f36e5
AZ
1018 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1019 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1020 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1021
96d6fd6c 1022 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1023 strncat-power8 object.
1024 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1025 __strcat_power8 implementation.
1026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1027 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1028 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1029 optimized strcat for power8.
1030
1031 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1032 strcpy-power8 and stpcpy-power8 objects.
1033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1034 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1035 implementations.
1036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1037 multiarch stpcpy implementation for POWER8.
1038 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1039 multiarch strcpy implementation for POWER8.
1040 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1041 __strcpy_power8 function.
1042 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1043 stpcpy for POWER8.
1044 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1045 strcpy for POWER8.
1046 * NEWS: Update.
1047
0f9e5854
LH
10482015-01-13 Leonhard Holz <leonhard.holz@web.de>
1049
1050 [BZ #16009]
1051 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1052 weights and rules. Use do_xfrm_cached if data fits in cache,
1053 do_xfrm otherwise. Moved former main loop to...
1054 * (do_xfrm_cached): New function.
1055 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1056 find_idx, find_position and stack_push.
1057 * (find_idx): New function.
1058 * (find_position): Likewise.
1059 * localedata/sort-test.sh: Added test run for do_xfrm.
1060 * localedata/xfrm-test.c (main): Added command line option
1061 -nocache to run the test with strings that are too large for
1062 the STRXFRM cache.
1063
c60ec0e0
TR
10642015-01-13 Torvald Riegel <triegel@redhat.com>
1065
1066 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1067 variable to lll_futex_wake call, not the value itself.
1068
34e93d6c
JM
10692015-01-12 Joseph Myers <joseph@codesourcery.com>
1070
5a9e4c09
JM
1071 [BZ #17803]
1072 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1073 twom64. Adjust value to 0x1p-64L.
1074 (__scalblnl): Only return standard underflowing result for K <=
1075 -64 not K <= -63; adjust exponent for underflowing result by 64
1076 not 63.
1077 * math/libm-test.inc (scalbn_test_data): Add more tests.
1078 (scalbln_test_data): Likewise.
1079
34e93d6c
JM
1080 [BZ #17834]
1081 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1082 0x1p63L.
1083 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1084 not HX.
1085 * math/libm-test.inc (scalbn_test_data): Add more tests.
1086 (scalbln_test_data): Likewise.
1087
ca677d3c
AZ
10882015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1089 Stefani Seibold <stefani@seibold.net>
1090
1091 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1092 (sysdep_routines): Add dl-vdso here, ...
1093 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1094 (sysdep_routines): ... not here.
1095 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1096 fallback when vDSO is not presented.
1097 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1098 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1099 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1100 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1101 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1102 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1103 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1105 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1107 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1108 fallback configurable symbol when vDSO is not available.
1109 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1110 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1111 be able to redefine fallback symbol when vDSO is not available.
1112 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1113 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1114
49a9f6ab 11152015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1116
56cf2763
AZ
1117 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1118 (TLS_INIT_TP): Add tm_capable initialization.
1119 (TLS_DEFINE_INIT_TP): Likewise.
1120 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1121 TCB.
1122 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1123 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1124 calculation.
1125 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1126 transactoion is lock elision is built and TCB tm_capable is set.
1127 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1129 (INTERNAL_SYSCALL_NCS): Likewise.
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1131 (INTERNAL_SYSCALL_NCS): Likewise.
1132 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1133
4b45943a
AZ
1134 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1135 for powerpc.
1136 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1137 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1138 and remove it for 32 bits case.
1139 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1141 initialization.
1142 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1143 Disable lock elision with rdlocks if elision is not available.
1144
8d2c0a59
AZ
1145 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1146 (sysdep_routines): Add lock elision objects.
1147 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1148 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1149 [pthread_mutex_t] (__elision): Add field.
1150 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1151 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1152 elision definitions for powerpc.
1153 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1154 implementation of lock elision for powerpc.
1155 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1156 implementation of timed lock elision for powerpc.
1157 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1158 implementation of trylock with lock elision for powerpc.
1159 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1160 implementaion of unlock for lock elision for powerpc.
1161 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1162 automatic enable lock elision for mutexes.
1163 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1164 transaction execution definitions for powerpc.
1165 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1166 definitions.
1167 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1168 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1169 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1170 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1171 * NEWS: Update.
1172
bc0ed9f7
RM
11732015-01-09 Roland McGrath <roland@hack.frob.com>
1174
1175 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1176 for #include of <shm-directory.h>.
1177
585d9c18
CLT
11782015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1179
1180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1181 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1182
aee6626c
MF
11832015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1184
1185 [BZ #17791]
1186 * NEWS: Mention bug fix.
1187 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1188 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1189 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1190
9e560f48
TR
11912015-01-09 Torvald Riegel <triegel@redhat.com>
1192
1193 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1194
e1cfbd0c
TR
11952015-01-09 Torvald Riegel <triegel@redhat.com>
1196
1197 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1198
cf71e44f
DH
11992015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1200
1201 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1202 pointer and cast to uintptr_t.
1203
b360ee62
DH
12042015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1205
1206 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1207 removed.
1208 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1209
caff764e
DH
12102015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1211
1212 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1213 of 0.
1214
59ff172f
RM
12152015-01-08 Roland McGrath <roland@hack.frob.com>
1216
c97d27f1
RM
1217 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1218 <nptl/pthreadP.h> instead.
1219 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1220
08734ccd
RM
1221 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1222 already defined.
1223 [__SIGRTMIN] (init): Function removed.
1224 [__SIGRTMIN] (initialized): Variable removed.
1225 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1226 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1227 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1228 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1229 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1230 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1231 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1232 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1233 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1234 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1235 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1236 * sysdeps/nptl/allocrtsig.c: New file.
1237 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1238 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1239 * sysdeps/generic/testrtsig.h: File removed.
1240
7b052e33
RM
1241 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1242 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1243
cc40d25e
RM
1244 * nptl/nptl-init.c (pthread_functions): Conditionalize
1245 .ptr__nptl_setxid initialization on [SIGSETXID].
1246
9287adf0
RM
1247 * sysdeps/nptl/sys/procfs.h: New file.
1248 * nptl_db/Makefile (headers): Add it.
1249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1250
59ff172f
RM
1251 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1252 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1253 * nptl/pthread_attr_setaffinity.c: Include it.
1254 * nptl/pthread_setattr_default_np.c: Likewise.
1255 * nptl/check-cpuset.h: New file.
1256
b9205857
RH
12572015-01-08 Richard Henderson <rth@redhat.com>
1258
1259 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1260 (CFLAGS-tst-execstack-prog.c): Likewise.
1261 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1262
1a0a8d15
CLT
12632015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1264 Sandra Loosemore <sandra@codesourcery.com>
1265 Andrew Jenner <andrew@codesourcery.com>
1266 Joseph Myers <joseph@codesourcery.com>
1267 Nathan Sidwell <nathan@codesourcery.com>
1268
1269 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1270 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1271 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1272 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1273 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1274 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1275 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1276 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1277 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1278 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1279 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1280 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1281 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1282 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1283 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1284 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1285 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1286
dd6e8af6
AZ
12872015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288
1289 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1290 timespec struct member in syscall macro.
1291 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1292 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1293 first timeval struct member in syscall macro.
1294 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1295
8116321f
JM
12962015-01-07 Joseph Myers <joseph@codesourcery.com>
1297
1298 [BZ #17748]
1299 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1300 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1301 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1302 __feupdateenv and define as weak alias of __feupdateenv. Use
1303 libm_hidden_weak.
1304 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1305 libm_hidden_def.
1306 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1307 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1308 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1309 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1310 libm_hidden_def.
1311 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1312 __feupdateenv and define as weak alias of __feupdateenv. Use
1313 libm_hidden_weak.
1314 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1315 libm_hidden_def.
1316 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1317 __feupdateenv and define as weak alias of __feupdateenv. Use
1318 libm_hidden_weak.
1319 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1320 libm_hidden_def.
1321 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1322 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1323 (__feupdateenv): Likewise.
1324 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1325 __feupdateenv and define as weak alias of __feupdateenv. Use
1326 libm_hidden_weak.
1327 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1328 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1329 libm_hidden_def.
1330 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1331 function.
1332 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1333 libm_hidden_def.
1334 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1335 __feupdateenv instead of feupdateenv.
1336 (default_libc_feupdateenv_test): Likewise.
1337 (libc_feresetround_ctx): Likewise.
1338
882dfe18
AZ
13392015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1340
1341 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1342 prototype.
1343
39a12f8d
CM
13442015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1345
1346 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1347 COLL_SYM in a couple of places to avoid uninitialized variable
1348 wanings on tilegx gcc 4.8.2.
1349
dc400d7b
RE
13502015-01-07 Richard Earnshaw <rearnsha@arm.com>
1351
1352 * sysdeps/aarch64/strcpy.S: New file.
1353 * sysdeps/aarch64/stpcpy.S: New file.
1354 * NEWS: Updated.
1355
ec582ca0
RE
13562015-01-07 Richard Earnshaw <rearnsha@arm.com>
1357
1358 * sysdeps/aarch64/strrchr.S: New file.
1359 * NEWS: Updated.
1360
d5b1c5ed
EB
13612015-01-07 Eric Biggers <ebiggers3@gmail.com>
1362
1363 [BZ #17658]
1364 * stdlib/setenv.c: Fix memory leak when setting large,
1365 duplicate string.
1366
fb87ee96
VN
13672015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1368
60f046a8 1369 [BZ #17273]
fb87ee96
VN
1370 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1371 and tabs from buffer before parsing fstab entry.
1372 * misc/tst-mntent.c (main): Add test for mount entry with
1373 trailing spaces and tabs.
1374
cd42798a
JM
13752015-01-06 Joseph Myers <joseph@codesourcery.com>
1376
01238691
JM
1377 [BZ #17748]
1378 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1379 * math/fesetround.c (fesetround): Rename to __fesetround and
1380 define as weak alias of __fesetround. Use libm_hidden_weak.
1381 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1382 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1383 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1384 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1385 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1386 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1387 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1388 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1389 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1390 __fesetround_inline.
1391 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1392 __fesetround_inline instead of __fesetround.
1393 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1394 __fesetround and define as weak alias of __fesetround. Use
1395 libm_hidden_weak. Call __fesetround_inline instead of
1396 __fesetround.
1397 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1398 __fesetround and define as weak alias of __fesetround. Use
1399 libm_hidden_weak.
1400 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1401 Likewise.
1402 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1403 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1404 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1405 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1406 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1407 __fesetround and define as weak alias of __fesetround. Use
1408 libm_hidden_weak.
1409 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1410 __fesetround instead of fesetround.
1411 (default_libc_feholdexcept_setround): Likewise.
1412 (libc_feholdsetround_ctx): Likewise.
1413 (libc_feholdsetround_noex_ctx): Likewise.
1414
cd42798a
JM
1415 [BZ #17748]
1416 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1417 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1418 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1419 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1420 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1421 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1422 define as weak alias of __fesetenv. Use libm_hidden_weak.
1423 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1424 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1425 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1426 define as weak alias of __fesetenv. Use libm_hidden_weak.
1427 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1428 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1429 define as weak alias of __fesetenv. Use libm_hidden_weak.
1430 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1431 libm_hidden_def.
1432 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1433 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1434 Likewise.
1435 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1436 define as weak alias of __fesetenv. Use libm_hidden_weak.
1437 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1438 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1439 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1440 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1441 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1442 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1443 __fesetenv instead of fesetenv.
1444 (libc_feresetround_noex_ctx): Likewise.
1445 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1446 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1447 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1448 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1449 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1450 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1451 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1452 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1453 (__feupdateenv): Likewise.
1454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1455 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1456 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1457 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1458
38949026
AJ
14592015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1460
1cf98e27 1461 [BZ #17806]
38949026
AJ
1462 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1463 addresses have been freed.
1464
5fe55e9c
AJ
14652015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1466
1467 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1468 and nservall.
1469
dc8ab018
OB
14702015-01-06 Ondřej Bílka <neleai@seznam.cz>
1471
1472 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1473 Clean up check_pf allocation pattern. addresses
1474
14bb4e57
AZ
14752015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476
1477 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1478 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1479 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1480 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1481 * nptl/pthread_join.c (pthread_join): Likewise.
1482 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1483 * sysdeps/posix/waitid.c (__waitid): Likewise.
1484 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1485 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1486 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1487 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1488 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1489 Likewise.
1490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1491 (__libc_pread64): Likewise.
1492 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1493 (__libc_pwrite): Likewise.
1494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1495 (__libc_pwrite64): Likewsie.
1496 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1497 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1498 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1499 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1500 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1501 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1502 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1504 Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1506 (__libc_pread64): Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1508 Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1510 (__libc_pwrite64): Likewise.
1511 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1512 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1513 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1514 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1515 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1516 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1517 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1518 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1519 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1520 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1521 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1522 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1523 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1524 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1525 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1527 Likewise.
1528
10a5e112
AS
15292015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1530
1531 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1532 (CFLAGS-test-double.c): Likewise.
1533 (CFLAGS-test-ldouble.c): Likewise.
1534 (CPPFLAGS-test-ifloat.c): Likewise.
1535 (CPPFLAGS-test-idouble.c): Likewise.
1536 (CPPFLAGS-test-ildoubl.c): Likewise.
1537 (CFLAGS-test-test-fenv.c): Remove variable.
1538 (CFLAGS-test-misc.c): Likewise.
1539
57ada0e7
L
15402015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 [BZ #17797]
1543 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1544 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1545 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1546 CLOCKS_PER_SEC == 1000000.
1547 * time/clocktest.c (main): Replace %ld with %jd and cast to
1548 intmax_t.
1549
46abb64d
RM
15502015-01-05 Roland McGrath <roland@hack.frob.com>
1551
1552 * sysdeps/generic/unwind-resume.h: New file.
1553 * sysdeps/gnu/unwind-resume.c: Include it.
1554 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1555 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1556 argument list.
1557 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1558 global rather than static.
1559 (_Unwind_Resume): Update user.
1560 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1561 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1562 rather than static. Add __attribute__ ((cold)).
1563 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1564 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1565 * sysdeps/arm/arm-unwind-resume.S: New file.
1566 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1567 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1568 * sysdeps/arm/Makefile [$(subdir) = csu]
1569 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1570 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1571 Add rt-arm-unwind-resume.
1572 [$(subdir) = nptl]
1573 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1574 Add pt-arm-unwind-resume.
1575 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1576 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1577
ef9faf13
JM
15782015-01-05 Joseph Myers <joseph@codesourcery.com>
1579
1580 [BZ #17748]
1581 * include/fenv.h (__feholdexcept): Declare. Use
1582 libm_hidden_proto.
1583 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1584 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1585 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1586 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1587 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1588 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1589 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1590 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1591 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1592 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1593 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1594 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1595 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1596 (feholdexcept): Likewise.
1597 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1598 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1599 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1600 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1601 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1602 __feholdexcept instead of feholdexcept.
1603 (default_libc_feholdexcept_setround): Likewise.
1604
295a453e
SE
16052015-01-05 Steve Ellcey <sellcey@imgtec.com>
1606
1607 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1608 to avoid using stl/str to align destination.
1609
882c4b9f
SE
16102015-01-05 Steve Ellcey <sellcey@imgtec.com>
1611
1612 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1613
ac4c11f5
JM
16142015-01-05 Joseph Myers <joseph@codesourcery.com>
1615
1616 [BZ #17796]
1617 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1618 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1619 Define as weak alias not strong alias.
1620
03403e30
SE
16212015-01-05 Steve Ellcey <sellcey@imgtec.com>
1622
1623 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1624 bltzal with addiupc.
1625 (RTLD_START): Ditto.
1626
1dca195e
CM
16272015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1628
00b8b9ba
SP
1629 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1630 for __vdso_* functions in declarations.
1631 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1632 definitions.
1633 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1634 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1635
1dca195e
CM
1636 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1637 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1638 function with cast from llround().
1639 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1640 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1641 Define.
1642
a287953a
JM
16432015-01-05 Joseph Myers <joseph@codesourcery.com>
1644
ab70da77
JM
1645 [BZ #17793]
1646 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1647 Define as weak alias not strong alias.
1648
b8986484
JM
1649 [BZ #17635]
1650 * ctype/ctype-c99.c: New file. isblank implementation moved from
1651 ...
1652 * ctype/ctype-extn.c: ... here.
1653 (__isblank_l): Move to ...
1654 * ctype/ctype-c99_l.c: ... here. New file.
1655 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1656 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1657 Remove variable.
1658 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1659 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1660 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1661 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1662 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1663
a287953a
JM
1664 [BZ #17777]
1665 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1666 (posix_fadvise64): Define as weak alias not strong alias.
1667 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1668 (posix_fallocate64): Likewise.
1669 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1670 Remove variable.
1671 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1672 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1673 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1674 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1675 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1676
b1efe3bb
MF
16772015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1678
1679 [BZ #16191]
1680 * NEWS: Mention bug fix.
1681 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1682 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1683 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1684 (HOST_STACK_END_ADDR): Likewise.
1685
9706dc5f
JM
16862015-01-02 Joseph Myers <joseph@codesourcery.com>
1687
b93c2205
JM
1688 [BZ #17748]
1689 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1690 * math/fegetround.c (fegetround): Rename to __fegetround and
1691 define as weak alias of __fegetround. Use libm_hidden_weak.
1692 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1693 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1694 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1695 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1696 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1697 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1698 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1699 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1700 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1701 Undefine after rather than before function definition; use
1702 parentheses around function name in definition.
1703 (__fegetround): Also undefine macro after function definition.
1704 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1705 __fegetround and define as weak alias of __fegetround. Use
1706 libm_hidden_weak. Do not undefine as macro.
1707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1708 Likewise.
1709 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1710 __fegetround and define as weak alias of __fegetround. Use
1711 libm_hidden_weak.
1712 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1713 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1714 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1715 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1716 __fegetround and define as weak alias of __fegetround. Use
1717 libm_hidden_weak.
1718 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1719 __fegetround instead of fegetround.
1720
253a59cc
JM
1721 [BZ #17782]
1722 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1723 Condition macro definition on [__USE_MISC].
1724
27dae011
JM
1725 [BZ #17781]
1726 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1727 (struct sigaction): Change type of sa_flags field to int.
1728
172019c0
JM
1729 [BZ #17780]
1730 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1731 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1732 __glibc_reserved0.
1733
522ad1d6
JM
1734 * nptl/version.c (banner): Use single year in copyright notice.
1735
9706dc5f
JM
1736 * NEWS: Update copyright dates.
1737 * catgets/gencat.c (print_version): Likewise.
1738 * csu/version.c (banner): Likewise.
1739 * debug/catchsegv.sh: Likewise.
1740 * debug/pcprofiledump.c (print_version): Likewise.
1741 * debug/xtrace.sh (do_version): Likewise.
1742 * elf/ldconfig.c (print_version): Likewise.
1743 * elf/ldd.bash.in: Likewise.
1744 * elf/pldd.c (print_version): Likewise.
1745 * elf/sotruss.sh: Likewise.
1746 * elf/sprof.c (print_version): Likewise.
1747 * iconv/iconv_prog.c (print_version): Likewise.
1748 * iconv/iconvconfig.c (print_version): Likewise.
1749 * locale/programs/locale.c (print_version): Likewise.
1750 * locale/programs/localedef.c (print_version): Likewise.
1751 * login/programs/pt_chown.c (print_version): Likewise.
1752 * malloc/memusage.sh (do_version): Likewise.
1753 * malloc/memusagestat.c (print_version): Likewise.
1754 * malloc/mtrace.pl: Likewise.
1755 * manual/libc.texinfo: Likewise.
1756 * nptl/version.c (banner): Likewise.
1757 * nscd/nscd.c (print_version): Likewise.
1758 * nss/getent.c (print_version): Likewise.
1759 * nss/makedb.c (print_version): Likewise.
1760 * posix/getconf.c (main): Likewise.
1761 * scripts/test-installation.pl: Likewise.
1762 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1763
b8607aac
WN
17642015-01-02 Will Newton <will.newton@linaro.org>
1765
1766 * sysdeps/arm/armv7/configure: Removed.
1767 * sysdeps/arm/armv7/configure.ac: Likewise.
1768
b168057a
JM
17692015-01-02 Joseph Myers <joseph@codesourcery.com>
1770
1771 * All files with FSF copyright notices: Update copyright dates
1772 using scripts/update-copyrights.
1773 * intl/plural.c: Regenerated.
1774 * locale/programs/charmap-kw.h: Likewise.
1775 * locale/programs/locfile-kw.h: Likewise.
1776
b217c15f
SP
17772015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1778
1779 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1780
73a268c7
JM
17812014-12-31 Joseph Myers <joseph@codesourcery.com>
1782
1783 [BZ #17748]
1784 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1785 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1786 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1787 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1788 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1789 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1790 define as weak alias of __fegetenv. Use libm_hidden_weak.
1791 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1792 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1793 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1794 define as weak alias of __fegetenv. Use libm_hidden_weak.
1795 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1796 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1797 define as weak alias of __fegetenv. Use libm_hidden_weak.
1798 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1799 libm_hidden_def.
1800 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1801 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1802 Likewise.
1803 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1804 define as weak alias of __fegetenv. Use libm_hidden_weak.
1805 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1806 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1807 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1808 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1809 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1810 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1811 __fegetenv instead of fegetenv.
1812 (libc_feholdsetround_noex_ctx): Likewise.
1813
0bd95672
MF
18142014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1815
1816 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1817 (Elf_MIPS_ABIFlags_v0): New structure.
1818 (EF_MIPS_FP64): Define.
1819 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1820 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1821 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1822 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1823 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1824 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1825 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1826 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1827 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1828 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1829 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1830 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1831 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1832 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1833 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1834 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1835 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1836 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1837 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1838 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1839 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1840 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1841 field.
1842 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1843 EF_MIPS_FP64.
1844 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1845 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1846 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1847 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1848 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1849 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1850 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1851 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1852 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1853 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1854 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1855 record the current FP ABI extension.
1856 (mips-mode-switch): Define to show if kernel headers support mode
1857 switching.
1858 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1859 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1860 supported SYSV ABI version to 3.
1861 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1862 feature.
1863
f59ad976
RS
18642014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1865 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1866
1867 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1868 path.
1869 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1870
4a3d3999
JM
18712014-12-31 Joseph Myers <joseph@codesourcery.com>
1872
1873 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1874 __fegetround and redefine to call __fegetround. Remove condition
1875 on [!__NO_MATH_INLINES].
1876 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1877 function.
1878 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1880 Remove macro.
1881 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1882 instead of <fenv_libc.h>.
1883 (__llrintl): Call fegetround instead of __fegetround.
1884 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1885 instead of <fenv_libc.h>.
1886 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1887 (__lrintl): Call fegetround instead of __fegetround.
1888 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1889 instead of <fenv_libc.h>.
1890 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1891 (__rintl): Call fegetround instead of __fegetround.
1892
195f3afc
SP
18932014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1894
1895 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1896 arrays.
1897
7062bd42
L
18982014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 [BZ #17775]
1901 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1902 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1903 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1904
07256e18
AS
19052014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1906
1907 * sysdeps/i386/tls-macros.h: Include <features.h>.
1908 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1909 (TLS_IE): Likewise.
1910 (TLS_LD): Likewise.
1911 (TLS_GD): Likewise.
1912 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1913 define for GCC >= 5.0.
1914
1ff950ad
CM
19152014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1916
1917 * math/test-fenv.c (test_single_exception, set_single_exc,
1918 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1919 feexcp_mask_test, feenable_test, fe_single_test): Add
1920 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1921 case where they are not used.
1922 * math/libm-test.inc: Likewise.
1923 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1924 unused in the absence of FP rounding/exception support.
1925 * stdio-common/tst-printf-round.c: Likewise.
1926 * stdlib/tst-strtod-round.c: Likewise.
1927 * stdlib/tst-strtod-underflow.c: Likewise.
1928
0747f818
JM
19292014-12-30 Joseph Myers <joseph@codesourcery.com>
1930
1931 [BZ #17723]
1932 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1933 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1934 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1935 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1936 libm_hidden_weak.
1937 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1938 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1939 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1940 libm_hidden_def.
1941 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1942 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1943 libm_hidden_weak.
1944 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1945 Likewise.
1946 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1947 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1948 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1949 libm_hidden_weak.
1950 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1951 libm_hidden_def.
1952 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1953 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1954 (__feraiseexcept): Likewise.
1955 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1956 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1957 libm_hidden_weak.
1958 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1959 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1960 libm_hidden_def.
1961 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1962 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1963 Use libm_hidden_def.
1964 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1965 libm_hidden_def.
1966 (feraiseexcept): Define as weak not strong alias. Use
1967 libm_hidden_weak.
1968 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1969 New inline function. Factored out of ...
1970 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1971 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1972 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1973 feraiseexcept.
1974 * math/w_acos.c (__acos): Likewise.
1975 * math/w_asin.c (__asin): Likewise.
1976 * math/w_ilogb.c (__ilogb): Likewise.
1977 * math/w_j0.c (y0): Likewise.
1978 * math/w_j1.c (y1): Likewise.
1979 * math/w_jn.c (yn): Likewise.
1980 * math/w_log.c (__log): Likewise.
1981 * math/w_log10.c (__log10): Likewise.
1982 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1983 * sysdeps/aarch64/fpu/math_private.h
1984 (libc_feupdateenv_test_aarch64): Likewise.
1985 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1986 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1987 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1988 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1989 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1990 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1991 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1992 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1993 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1994 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1995
8d2b2763
L
19962014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1997
1998 [BZ #17732]
1999 * io/test-utime.c (main): Replace %ld with %jd and cast to
2000 intmax_t.
41fad830 2001 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2002 * nptl/tst-mutex5.c: Include <stdint.h>.
2003 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2004 * posix/tst-regex.c (run_test): Likewise.
2005 (run_test_backwards): Likewise.
5d619de4
L
2006 * rt/tst-clock.c: Include <stdint.h>.
2007 (clock_test): Replace %ld with %jd and cast to intmax_t.
2008 * rt/tst-cpuclock1.c: Include <stdint.h>.
2009 (do_test): Replace %lu with %ju and cast to uintmax_t.
2010 * rt/tst-cpuclock2.c: Include <stdint.h>.
2011 (do_test): Replace %lu with %ju and cast to uintmax_t.
2012 * rt/tst-mqueue1.c: Include <stdint.h>.
2013 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2014 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2015 intmax_t.
2016 * rt/tst-mqueue4.c (do_test): Likewise.
2017 * rt/tst-timer4.c: Include <stdint.h>.
2018 (check_ts): Replace %ld with %jd and cast to intmax_t.
2019 (do_test): Likewise.
ad86fbc3
L
2020 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2021 and cast to intmax_t.
37f46900 2022 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2023 * time/clocktest.c (main): Likewise.
2024 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2025 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2026
8b4416d8
AS
20272014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2028 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2031 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2034 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2035 version if bit_Fast_Unaligned_Load is set.
2036 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2037 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2038 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2039 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2040 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2043 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2044 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2045 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2046 to 4.
2047 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2048 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2049 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2050 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2051
e47b8d3b
CM
20522014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2053
6d6d7fde
CM
2054 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2055 instead of #if to avoid a Wundef warning.
2056 * stdlib/tst-limits.c (do_test): Likewise.
2057
cd2c37c9
CM
2058 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2059 parallel other exception macros.
2060 (fegetenv): Convert from macro to extern inline so that it applies
2061 retroactively to inline functions already seen by the compiler.
2062 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2063
e47b8d3b
CM
2064 * posix/Makefile (before-compile): Use $(objpfx) for
2065 posix-conf-vars-def.h.
2066
4a6aca7b
SP
20672014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2068
7910c2ae
SP
2069 * posix/getconf.c (main): Use size_t for type of I.
2070 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2071 NSPEC.
2072
50cbbaa9
SP
2073 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2074 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2075 * posix/posix-envs.def: Likewise.
2076 * sysdeps/posix/sysconf.c: Likewise.
2077 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2078 (specs): Remove array.
2079 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2080 array.
2081
3b566046
SP
2082 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2083 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2084 (__sysconf): Use CONF_IS_* macros.
2085
4a6aca7b
SP
2086 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2087 ($(objpfx)posix-conf-vars-def.h): New target.
2088 * posix/posix-conf-vars.list: New file.
2089 * posix/posix-conf-vars.h: New file.
2090 * posix/confstr.c: Include posix-conf-vars.h.
2091 (confstr): Use CONF_IS_* macros.
2092 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2093 CONF_IS_* macros.
2094 * scripts/gen-posix-conf-vars.awk: New file.
2095
7c1395a7
CM
20962014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2097
0025b4cc
CM
2098 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2099 fegetround): Add no-op macros to avoid linknamespace issues.
2100
d8aaf74b
CM
2101 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2102 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2103
5d24aa60
CM
2104 * sysdeps/unix/sysv/linux/tile/sysdep.h
2105 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2106 assembly-specific section to avoid a redefinition warning.
2107
7c1395a7
CM
2108 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2109 long before casting to pointer to avoid a cast warning.
2110
3c87c616
CM
21112014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2112
2113 * sysdeps/tile/tilegx/Implies: New file.
2114
f559d8cf
RE
21152014-12-23 Richard Earnshaw <rearnsha@arm.com>
2116
2117 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2118
7d81e8d6
FW
21192014-12-23 Florian Weimer <fweimer@redhat.com>
2120
2121 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2122
90aa3d09
JM
21232014-12-22 Joseph Myers <joseph@codesourcery.com>
2124
2125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2126 not define.
2127 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2128 <kernel-features.h>.
2129 (__utimes) [__NR_utimes]: Make code unconditional.
2130 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2131 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2132 (__ASSUME_UTIMES): Do not undefine.
2133 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2134 (__ASSUME_UTIMES): Likewise.
2135 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2136 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2137 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2138 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2139
4c0c0e2a
SE
21402014-12-22 Steve Ellcey <sellcey@imgtec.com>
2141
2142 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2143
0dacd7a3
CM
21442014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2145
b638f96a
CM
2146 [BZ #17747]
2147 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2148 alias to weak alias for j0l, y0l.
2149 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2150 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2151
0dacd7a3
CM
2152 [BZ #17746]
2153 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2154 conversion.
2155
528479c4
SE
21562014-12-22 Steve Ellcey <sellcey@imgtec.com>
2157
2158 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2159 to zero if not already defined.
2160
f56f9124
JM
21612014-12-22 Joseph Myers <joseph@codesourcery.com>
2162
2163 [BZ #17724]
2164 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2165 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2166 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2167 (char *) casts added.
2168 * sysdeps/ieee754/k_standardf.c: New file.
2169 * sysdeps/ieee754/k_standardl.c: Likewise.
2170 * math/Makefile (libm-support): Remove k_standard.
2171 (libm-calls): Add k_standard.
2172
8622d556
WD
21732014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2174
2175 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2176 Optimize to avoid an unnecessary FPCR read.
2177
f3806bdb
WD
21782014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2179
2180 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2181 Optimize to reduce FPCR/FPSR accesses.
2182
9b47df58
WD
21832014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2184
2185 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2186 Call libc_fetestexcept_aarch64.
2187
97be3cac
WD
21882014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2189
2190 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2191 Call libc_fesetround_aarch64.
2192
935ab817
JM
21932014-12-22 Joseph Myers <joseph@codesourcery.com>
2194
2195 [BZ #17733]
2196 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2197 (__bind): Do not define as weak alias.
2198 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2199 define.
2200 (__getsockname): Do not define as weak alias.
2201
cc8623f1
WN
22022014-12-22 Will Newton <will.newton@linaro.org>
2203
2204 * manual/install.texi: Document that we require bison 2.7
2205 or above.
2206 * INSTALL: Regenerate.
2207 * configure.ac: Use AC_CHECK_PROG_VER instead of
2208 AC_PATH_PROG when checking for bison and check for
2209 version 2.7 or above.
2210 * configure: Regenerate.
2211
a19ca65a
CM
22122014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2213
92901170 2214 [BZ #17745]
e969965a
CM
2215 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2216 * sysdeps/tile/ffsll.c (ffsll): To here.
2217
a19ca65a
CM
2218 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2219
050f7298
L
22202014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2223 if not defined.
2224 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2225 definition.
2226 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2227 hidden ___tls_get_addr.
2228 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2229 hidden __tls_get_addr.
2230 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2231 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2232 Likewise.
2233
6df5547e
AS
22342014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2235
2236 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2237 _dl_init call.
2238
7432d613
L
22392014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2240
2241 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2242 from "call _dl_init@PLT".
2243 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2244
98fe149e
AK
22452014-12-21 Anders Kaseorg <andersk@mit.edu>
2246
2247 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2248 guarantees.
2249
d12455f5
CM
22502014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2251
2252 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2253
95dee05f
CM
22542014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2255
92901170 2256 [BZ #17744]
95dee05f
CM
2257 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2258 strnlen.
2259
2ef4b74a
SE
22602014-12-19 Steve Ellcey <sellcey@imgtec.com>
2261
2262 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2263 of multu on MIPSr6.
2264 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2265 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2266 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2267 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2268 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2269
22702014-12-19 Steve Ellcey <sellcey@imgtec.com>
2271
2272 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2273 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2274 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2275 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2276 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2277 mips32r6/mips64r6.
2278 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2279
3eb38795
OB
22802014-12-19 Ondřej Bílka <neleai@seznam.cz>
2281
2282 * string/strncat.c (STRNCAT): Simplify implementation.
2283
6d4188dd
DM
22842014-12-19 David S. Miller <davem@davemloft.net>
2285
0d4ba8be
DM
2286 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2287 access the quad as both a long double and as a series of 4 words.
2288
6d4188dd
DM
2289 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2290 link_map->l_info array access.
2291
4ef91cdc
CM
22922014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2293
804c54f7
CM
2294 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2295
4ef91cdc
CM
2296 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2297 * math/atest-exp2.c (TIMEOUT): Likewise.
2298 * math/atest-sincos.c (TIMEOUT): Likewise.
2299
afd176d6
L
23002014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2301
2302 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2303 -Wno-error with -fno-builtin-lround.
2304
a4a43a90
TR
23052014-12-19 Torvald Riegel <triegel@redhat.com>
2306
2307 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2308 Contains futex constants and functions moved over from ...
2309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2310 <lowlevellock-futex.h>.
2311 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2312 (lll_timedwait_tid): Add comments and parentheses around macro
2313 arguments.
2314
76f71081
TR
23152014-12-19 Torvald Riegel <triegel@redhat.com>
2316
2317 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2318 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2319 (__lll_private_flag): Remove.
2320 (lll_futex_wait): Likewise.
2321 (lll_futex_timed_wait): Likewise.
2322 (lll_futex_wake): Likewise.
2323 (lll_futex_requeue): Likewise.
2324 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2325 (__lll_timedwait_tid): Spell out argument names.
2326 (lll_timedwait_tid): Add comments and parentheses around macro
2327 arguments.
2328 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2329 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2330
6b814909
TR
23312014-12-19 Torvald Riegel <triegel@redhat.com>
2332
2333 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2334 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2335 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2336 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2337 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2338 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2339 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2340 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2341 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2344 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2347 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2348 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2349 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2350 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2351 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2352
9cd4d4ab
L
23532014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2354
2355 * sysdeps/x86_64/x32/Makefile: New file.
2356
c9c1a2d0
L
23572014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2358
2359 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2360 1L with (mp_limb_t) 1.
2361
af102d95
RM
23622014-12-17 Roland McGrath <roland@hack.frob.com>
2363
dd690454
RM
2364 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2365 * nptl/libc_pthread_init.c: ... here.
2366 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2367 * nptl/register-atfork.c: ... here.
2368
74eb826c
RM
2369 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2370 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2371 Use assert_perror to check its return value.
2372 (__gai_create_helper_thread): Likewise.
2373
c9ce306b
RM
2374 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2375
af102d95
RM
2376 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2377
8ac5a76a
JM
23782014-12-17 Joseph Myers <joseph@codesourcery.com>
2379
ea41469b
JM
2380 [BZ #17725]
2381 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2382 __profil_counter.
2383 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2384 Likewise.
2385 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2386 Likewise.
2387 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2388 Likewise.
2389 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2390 (profil_counter): Likewise.
2391 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2392 (profil_counter): Likewise.
2393 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2394 Likewise.
2395 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2396 Likewise.
2397 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2398 (profil_counter): Likewise.
2399 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2400 Likewise.
2401 [!__profil_counter] (profil_counter): Define as weak alias of
2402 __profil_counter.
2403 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2404 (profil_counter): Rename to __profil_counter.
2405 [!__profil_counter] (profil_counter): Define as weak alias of
2406 __profil_counter.
2407 * sysdeps/unix/sysv/linux/sparc/sparc64/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/posix/profil.c: Update comment referring to
2412 profil_counter.
2413 (__profil): Use __profil_counter instead of profil_counter.
2414 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2415 __profil_counter. Use __profil_counter_ushort and
2416 __profil_counter_uint in definitions.
2417 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2418 instead of profil_counter_uint and profil_counter_ushort.
2419
8ac5a76a
JM
2420 [BZ #17722]
2421 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2422 define as weak alias of __inet_makeaddr.
2423 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2424 as weak alias of __inet_addr.
2425 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2426 as weak alias of __inet_pton. Use libc_hidden_weak.
2427 * include/arpa/inet.h (__inet_pton): Declare. Use
2428 libc_hidden_proto.
2429 (inet_makeaddr): Don't use libc_hidden_proto.
2430 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2431 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2432 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2433 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2434 Remove variable.
2435 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2436 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2437
66ce3cb1
SE
24382014-12-17 Steve Ellcey <sellcey@imgtec.com>
2439
2440 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2441
d22ce01b
SL
24422014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2443
2444 * stdio-common/bug-vfprintf-nargs.c (do_test):
2445 Cast value to intptr_t to avoid format warning
2446 for usage with PRIdPTR printing macro.
2447
eca2772b
SL
24482014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2449
2450 * libio/tst-widetext.c (do_test):
2451 Use format type %td instead of %Zd for ptrdiff_t
2452 in order to avoid format warning.
2453
bdf079da
AS
24542014-12-17 Andreas Schwab <schwab@suse.de>
2455
2456 * nscd/mem.c (gc): Add size_t cast to match printf format.
2457
3eb5d2fc
RM
24582014-12-16 Roland McGrath <roland@hack.frob.com>
2459
2460 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2461 (init): Apply PTR_MANGLE to pointers before storing them.
2462 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2463 before using them.
2464
d003ada2
JM
24652014-12-16 Joseph Myers <joseph@codesourcery.com>
2466
380292ba
JM
2467 [BZ #17719]
2468 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2469 define as weak alias of __memrchr.
2470 (__memrchr): Do not define as strong alias of memrchr.
2471 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2472 Remove variable.
2473 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2474 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2475 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2476
9a44d530
JM
2477 [BZ #17717]
2478 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2479 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2480 (if_indextoname): Rename to __if_indextoname and define as weak
2481 alias of __if_indextoname. Use libc_hidden_weak.
2482 (if_freenameindex): Rename to __if_freenameindex and define as
2483 weak alias of __if_freenameindex.
2484 (if_nameindex): Rename to __if_nameindex and define as weak alias
2485 of __if_nameindex.
2486 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2487 __if_nametoindex and define as weak alias of __if_nametoindex.
2488 Use libc_hidden_weak.
2489 (if_freenameindex): Rename to __if_freenameindex and define as
2490 weak alias of __if_freenameindex.
2491 (if_nameindex): Rename to __if_nameindex and define as weak alias
2492 of __if_nameindex.
2493 (if_indextoname): Rename to __if_indextoname and define as weak
2494 alias of __if_indextoname. Use libc_hidden_weak.
2495 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2496 __if_nametoindex and define as weak alias of __if_nametoindex.
2497 Use libc_hidden_weak.
2498 (if_freenameindex): Rename to __if_freenameindex and define as
2499 weak alias of __if_freenameindex. Use libc_hidden_weak.
2500 (if_nameindex_netlink): Use __if_freenameindex instead of
2501 if_freenameindex.
2502 (if_nameindex): Rename to __if_nameindex and define as weak alias
2503 of __if_nameindex. Use libc_hidden_weak.
2504 (if_indextoname): Rename to __if_indextoname and define as weak
2505 alias of __if_indextoname. Use libc_hidden_weak.
2506 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2507 libc_hidden_proto.
2508 [!_ISOMAC] (__if_freenameindex): Likewise.
2509 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2510 if_nametoindex.
2511 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2512 variable.
2513 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2514 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2515 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2516 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2517 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2518 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2519 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2520
d003ada2
JM
2521 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2522 Remove variable.
2523 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2524 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2525
a0d424ef
SP
25262014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2527
0cd85520
SP
2528 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2529 subscript above bounds'
2530
a0d424ef
SP
2531 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2532 bounds.
2533
0e426475
AS
25342014-12-16 Arjun Shankar <arjun.is@lostca.se>
2535
8b460906
AS
2536 * libio/tst-fopenloc.c: Use test-skeleton.c.
2537
fa13e15b
AS
2538 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2539 (entry): Rename to ITEM.
2540 (do_test, comp): Adjust.
2541
0e426475
AS
2542 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2543
4f646bce
TR
25442014-12-16 Torvald Riegel <triegel@redhat.com>
2545
2546 * string/tester.c: Include <libc-internal.h>.
2547 (test_memset): Ignore -Wmemset-transposed-args.
2548
a07c4427
TR
25492014-12-16 Torvald Riegel <triegel@redhat.com>
2550
2551 * misc/tst-mntent2.c (do_test): Fix warning.
2552
1469f466
TR
25532014-12-16 Torvald Riegel <triegel@redhat.com>
2554
2555 * elf/tst-unique4lib.cc(a): Mark as used.
2556
11e3417a
FW
25572014-12-16 Florian Weimer <fweimer@redhat.com>
2558
2559 [BZ #17630]
2560 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2561 names.
2562
ae61fc7b
AM
25632014-12-16 Allan McRae <allan@archlinux.org>
2564
2565 * stdio-common/Makefile (tests): Re-add bug26.
2566
363a9899
OB
25672014-12-15 Ondřej Bílka <neleai@seznam.cz>
2568
2569 [BZ #17657]
2570 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2571 static array.
2572
d52c62df
TR
25732014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2574
2575 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2576 (__lll_lock_wait): Likewise.
2577 (__lll_timedlock_wait): Likewise.
2578 (__lll_timedwait_tid): Likewise.
2579 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2580 (__lll_robust_timedlock_wait): Likewise.
2581 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2582 (lll_cond_trylock): Likewise.
2583 (__lll_lock): Likewise.
2584 (__lll_robust_lock): Likewise.
2585 (__lll_cond_lock): Likewise.
2586 (lll_robust_cond_lock): Likewise.
2587 (__lll_timedlock): Likewise.
2588 (__lll_robust_timedlock): Likewise.
2589 (__lll_unlock): Likewise.
2590 (__lll_robust_unlock): Likewise.
2591 (lll_wait_tid): Likewise.
2592 (lll_timedwait_tid): Likewise.
2593
045a6bcd
TR
25942014-12-15 Torvald Riegel <triegel@redhat.com>
2595
2596 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2597
7f786dc1
TR
25982014-12-15 Torvald Riegel <triegel@redhat.com>
2599
2600 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2601
e7e21cba
AZ
26022014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2603
2604 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2605 * stdio-common/tst-sprintf.c: Likewise.
2606
bc89c0fc
TR
26072014-12-15 Torvald Riegel <triegel@redhat.com>
2608
2609 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2610
a5357b7c
JL
26112014-12-15 Jeff Law <law@redhat.com>
2612
2613 [BZ #16617]
2614 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2615 on the heap. (CVE-2012-3406)
2616 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2617 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2618 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2619
3a12c70f
WN
26202014-12-15 Will Newton <will.newton@linaro.org>
2621
2622 * manual/install.texi: Bump required version of texinfo
2623 to 4.7 from 4.5.
2624 * INSTALL: Regenerated.
2625 * configure.ac: Check for makeinfo version 4.7 and above.
2626 * configure: Regenerated.
2627
e4f639e4
RM
26282014-12-12 Roland McGrath <roland@hack.frob.com>
2629
2630 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2631 PREFIX, string constant to insert between directory and name.
2632 * sysdeps/posix/shm_open.c: Update caller.
2633 * sysdeps/posix/shm_unlink.c: Likewise.
2634 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2635 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2636 (SEM_SHM_PREFIX): New macro.
2637 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2638 [$(have-thread-library) = no].
2639 * nptl/Makefile (libpthread-routines): Add shm-directory.
2640 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2641 * sysdeps/nptl/shm-directory.h: New file.
2642 * sysdeps/posix/shm-directory.c
2643 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2644 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2645 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2646 INTERNAL_SYSCALL.
2647 (__where_is_shmfs): Function removed.
2648 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2649 Variables removed.
2650 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2651 Use SHM_GET_NAME.
2652 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2653
2654 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2655 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2656 unconditional for use inside libpthread.
2657 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2658
439c43f6
RM
26592014-12-12 Roland McGrath <roland@hack.frob.com>
2660
c76d1ff5
RM
2661 * nptl/pthread_getaffinity.c: New file.
2662 * nptl/pthread_setaffinity.c: New file.
2663 * nptl/pthread_getname.c: New file.
2664 * nptl/pthread_setname.c: New file.
2665
439c43f6
RM
2666 * nptl/pthread_create.c (START_THREAD_DEFN)
2667 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2668
48e435cd
SL
26692014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2670 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2671
2672 * resolv/res_send.c (send_vc): Disable warning resplen may
2673 be used uninitialized.
2674
9d9c0019
SL
26752014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2676
2677 * nptl/tst-mutex6.c
2678 (ATTR_NULL): New define checks ATTR against NULL.
2679 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2680 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2681
9173840b
JL
26822014-12-11 James Lemke <jwlemke@codesourcery.com>
2683
2684 [BZ #17581]
2685 * malloc/hooks.c
2686 (mem2mem_check): Revert my previous change.
2687 (malloc_check_get_size): Revert my previous change.
2688 (mem2chunk_check): Revert my previous change.
2689
78e21c5d
RM
26902014-12-11 Roland McGrath <roland@hack.frob.com>
2691
2692 * sysdeps/posix/shm-directory.c: New file.
2693 * sysdeps/posix/shm-directory.h: New file.
2694 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2695 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2696 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2697 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2698 Transmute EPERM to EACCES.
2699 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2700 from ...
2701 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2702 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2703
f82c43af
KK
27042014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2705
2706 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2707 pointer and cast to uintptr_t.
2708 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2709 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2710 Add cast to avoid warning.
2711 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2712
fc00cf7b
JM
27132014-12-11 Joseph Myers <joseph@codesourcery.com>
2714
2715 * nptl/semaphore.h: Move to ...
2716 * sysdeps/pthread/semaphore.h: ... here.
2717 * Makefile (installed-headers): Change nptl/semaphore.h to
2718 sysdeps/pthread/semaphore.h.
2719
1c4053db
RM
27202014-12-11 Roland McGrath <roland@hack.frob.com>
2721
73b0c1a1
RM
2722 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2723 generated error format strings.
2724
1c4053db
RM
2725 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2726 -Wformat-extra-args warnings for scanf formats.
2727 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2728 test of zero-length format (duh).
2729 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2730 corner-case scanf format test.
2731 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2732 generated fprintf format string.
2733 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2734 corner-case sprintf format tests.
2735 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2736 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2737 -Wformat-extra-args warnings throughout.
2738 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2739 (CFLAGS-scanf4.c): Likewise.
2740 (CFLAGS-scanf7.c): Likewise.
2741 (CFLAGS-tst-sprintf.c): Likewise.
2742 (CFLAGS-tst-printf.c): Likewise.
2743 (CFLAGS-tst-printfsz.c): Likewise.
2744
47d51f4f
JM
27452014-12-11 Joseph Myers <joseph@codesourcery.com>
2746
a1edbf3c
JM
2747 * include/cpio.h: New file.
2748 * include/fmtmsg.h: Likewise.
2749
47d51f4f
JM
2750 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2751 corresponding format argument to size_t.
2752 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2753 arguments.
2754 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2755 corresponding format argument to size_t.
2756 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2757 arguments.
2758 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2759 corresponding format argument to size_t.
2760 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2761 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2762 (CFLAGS-tst-mbswcs2.c): Likewise.
2763 (CFLAGS-tst-mbswcs3.c): Likewise.
2764 (CFLAGS-tst-mbswcs4.c): Likewise.
2765 (CFLAGS-tst-mbswcs5.c): Likewise.
2766 (CFLAGS-tst-trans.c): Likewise
2767
e9813cfb
RM
27682014-12-11 Roland McGrath <roland@hack.frob.com>
2769
2770 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2771 rather than assuming they won't contain any '%'s.
2772
f627ca82
CM
27732014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2774
2775 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2776 inhibit_loop_to_libcall to avoid recursive calls.
2777 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2778 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2779
7f296942
AZ
27802014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2781
2782 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2783 prototype.
2784
d0276e18
SE
27852014-12-11 Steve Ellcey <sellcey@imgtec.com>
2786
2787 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2788 integer value instead of boolean.
2789
fc56e970
SE
27902014-12-11 Steve Ellcey <sellcey@imgtec.com>
2791
2792 * malloc/malloc.c: Fix powerof2 check.
2793
40e53917
SL
27942014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2795
2796 * locale/programs/locfile.h (maybe_swap_uint32):
2797 Remove inline and add unused attribute.
2798
1ea166df
SL
27992014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2800
9d9c0019 2801 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2802 Truncating assembler expression to a .long expression.
2803
acf869f4
AS
28042014-12-11 Andreas Schwab <schwab@suse.de>
2805
2806 * elf/rtld.c (struct map_args): Constify str member.
2807 (do_preload): Constify fname argument.
2808
9d969099
AZ
28092014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2810
2811 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2812 constants definition.
2813
da5bcaa4
AS
28142014-12-11 Andreas Schwab <schwab@suse.de>
2815
b0a3c164
AS
2816 [BZ #16657]
2817 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2818 FORCE_ELISION instead of DO_ELISION.
2819 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2820 Remove.
2821 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2822 Likewise.
2823
da5bcaa4
AS
2824 * iconvdata/gconv-modules: Remove duplicate entry.
2825
6d248857
WN
28262014-12-11 Will Newton <will.newton@linaro.org>
2827
2828 Merge gettext 0.19.3 into intl/.
2829
2830 This involves a number of cosmetic changes to comments
2831 and ANSI function definitions and prototypes throughout
2832 all the files. The gettext copyright header is used but
2833 with the date ranges taken from the glibc copy.
2834
2835 * NEWS: Add gettext merge to 2.21.
2836 * intl/bindtextdom.c: Switch to gettext copyright.
2837 Use ANSI definitions and prototypes.
2838 Use gl_* locking primitives rather than __libc_* ones.
2839 Use __builtin_expect rather than __glibc_likely/unlikely.
2840 * intl/dcgettext.c: Switch to gettext copyright.
2841 Use ANSI definitions and prototypes.
2842 * intl/dcigettext.c: Switch to gettext copyright.
2843 Use ANSI definitions and prototypes.
2844 (INTDIV0_RAISES_SIGFPE): New define.
2845 Use gl_* locking primitives rather than __libc_* ones.
2846 Include eval-plural.h instead of plural-eval.c.
2847 Use __builtin_expect rather than __glibc_likely/unlikely.
2848 * intl/dcngettext.c: Switch to gettext copyright.
2849 Use ANSI definitions and prototypes.
2850 * intl/dgettext.c: Likewise.
2851 * intl/dngettext.c: Likewise.
2852 * intl/plural-eval.c: Renamed to...
2853 * intl/eval-plural.h: ...this.
2854 * intl/explodename.c: Switch to gettext copyright.
2855 Use ANSI definitions and prototypes.
2856 (_nl_explode_name): Use strchr instead of __rawmemchr.
2857 * intl/finddomain.c: Switch to gettext copyright.
2858 Use ANSI definitions and prototypes.
2859 Use gl_* locking primitives rather than __libc_* ones.
2860 (_nl_find_domain): Use malloc rather than alloca for
2861 allocation of temporary locale name.
2862 * intl/gettext.c: Switch to gettext copyright.
2863 Use ANSI definitions and prototypes.
2864 * intl/gettextP.h: Switch to gettext copyright.
2865 Use ANSI definitions and prototypes.
2866 Use gl_* locking primitives rather than __libc_* ones.
2867 * intl/gmo.h: Switch to gettext copyright.
2868 (struct sysdep_string): Move struct segment_pair outside of
2869 struct definition.
2870 * intl/hash-string.c: Use ANSI definitions and prototypes.
2871 * intl/hash-string.h: Switch to gettext copyright.
2872 Use ANSI definitions and prototypes.
2873 * intl/l10nflist.c: Switch to gettext copyright.
2874 Use ANSI definitions and prototypes.
2875 (_nl_normalize_codeset): Avoid integer overflow.
2876 * intl/loadinfo.h: Switch to gettext copyright.
2877 Use ANSI definitions and prototypes.
2878 (LIBINTL_DLL_EXPORTED): New define.
2879 (PATH_SEPARATOR): New define.
2880 * intl/loadmsgcat.c: Switch to gettext copyright.
2881 * intl/localealias.c: Switch to gettext copyright.
2882 Use ANSI definitions and prototypes.
2883 (_nl_expand_alias): Use PATH_SEPARATOR.
2884 * intl/ngettext.c: Switch to gettext copyright.
2885 Use ANSI definitions and prototypes.
2886 * intl/plural-exp.c: Likewise.
2887 * intl/plural-exp.h: Switch to gettext copyright.
2888 Use ANSI definitions and prototypes.
2889 (struct expression): Move definition of enum operator outside
2890 of struct definition.
2891 * intl/plural.c: Regenerate.
2892 * intl/plural.y: Switch to gettext copyright.
2893 Use ANSI definitions and prototypes.
2894 Port to bison 3.0.
2895 * intl/textdomain.c: Switch to gettext copyright.
2896 Use ANSI definitions and prototypes.
2897 Use gl_* locking primitives rather than __libc_* ones.
2898
48c43298
SE
28992014-12-10 Steve Ellcey <sellcey@imgtec.com>
2900
2901 * debug/warning-nop.c: Add used atrribute.
2902
2b89bce9
JM
29032014-12-10 Joseph Myers <joseph@codesourcery.com>
2904
c153ac9f
JM
2905 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2906
2b89bce9
JM
2907 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2908 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2909 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2910
2cfbdb9a
JM
29112014-12-10 Joseph Myers <joseph@codesourcery.com>
2912 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2913
2914 [BZ #17634]
2915 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2916 Undefine after defining function. Define as weak alias of
2917 __wcschr. Use libc_hidden_weak.
2918 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2919 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2920 (libc_hidden_def): Also define __GI___wcschr alias.
2921 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2922 __wcschr and define as weak alias of __wcschr.
2923 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2924 __wcschr.
2925 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2926 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2927 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2928 libc_hidden_weak. Do not use libc_hidden_def.
2929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2930 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2931 __GI___wcschr alias.
2932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2933 [IS_IN (libc)] (wcschr): Define as macro expanding to
2934 __redirect_wcschr.
2935 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2936 [IS_IN (libc)] (__wcschr_power6): Likewise.
2937 [IS_IN (libc)] (__wcschr_power7): Likewise.
2938 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2939 instead of wcschr.
2940 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2941 __libc_wcschr.
2942 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2943 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2944 __wcschr and define as weak alias of __wcschr. Use
2945 libc_hidden_builtin_def.
2946 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2947 as weak alias of __wcschr. Use libc_hidden_weak.
2948 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2949 wcschr.
2950 * time/era.c (_nl_init_era_entries): Likewise.
2951 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2952 variable.
2953 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2954 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2955
1b8bf351
JM
29562014-12-10 Joseph Myers <joseph@codesourcery.com>
2957
2958 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2959 format for long int variable.
2960
f5f46d51
AK
29612014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2962
2963 [BZ #10672]
07008f7d 2964 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2965 qsort stable.
2966
217a74a8
AS
29672014-12-10 Andreas Schwab <schwab@suse.de>
2968
2969 [BZ #12847]
2970 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2971 user-controlled locks.
2972
aa76a5c7
RE
29732014-12-10 Richard Earnshaw <rearnsha@arm.com>
2974
2975 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2976 register.
2977
2084e7ca
JM
29782014-12-10 Joseph Myers <joseph@codesourcery.com>
2979
a4ecc9eb
JM
2980 * configure.ac (--disable-werror): New configure option.
2981 (enable_werror): New AC_SUBST.
2982 * configure: Regenerated.
2983 * config.make.in (enable-werror): New variable.
2984 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2985 -Wno-error=undef.
2986 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2987 * manual/install.texi (Configuring and compiling): Document
2988 --disable-werror.
2989 * INSTALL: Regenerated.
2990 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2991 (CFLAGS-tst-chk2.c): Likewise.
2992 (CFLAGS-tst-chk3.c): Likewise.
2993 (CFLAGS-tst-chk4.cc): Likewise.
2994 (CFLAGS-tst-chk5.cc): Likewise.
2995 (CFLAGS-tst-chk6.cc): Likewise.
2996 (CFLAGS-tst-lfschk1.c): Likewise.
2997 (CFLAGS-tst-lfschk2.c): Likewise.
2998 (CFLAGS-tst-lfschk3.c): Likewise.
2999 (CFLAGS-tst-lfschk4.cc): Likewise.
3000 (CFLAGS-tst-lfschk5.cc): Likewise.
3001 (CFLAGS-tst-lfschk6.cc): Likewise.
3002
0f88636c
JM
3003 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3004 (main): Disable -Wdeprecated-declarations around calls to
3005 register_printf_function.
3006
c81e9deb
JM
3007 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3008 (do_test): Disable -Wdiv-by-zero around some calls to
3009 fwrite_unlocked and fread_unlocked.
3010
2084e7ca
JM
3011 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3012 (DIAG_POP_NEEDS_COMMENT): Likewise.
3013 (_DIAG_STR1): Likewise.
3014 (_DIAG_STR): Likewise.
3015 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3016 * stdio-common/bug21.c: Include <libc-internal.h>.
3017 (do_test): Disable -Wformat around call to sscanf.
3018 * stdio-common/scanf14.c: Include <libc-internal.h>.
3019 (main): Disable -Wformat around some calls to scanf functions.
3020
df7ecc6b
TR
30212014-12-09 Torvald Riegel <triegel@redhat.com>
3022
3023 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3024
2aa3862e
AZ
30252014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3026
3027 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3028 stack variable alignment.
3029
c5c2b7c3
JM
30302014-12-06 Joseph Myers <joseph@codesourcery.com>
3031
3032 [BZ #17682]
3033 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3034 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3035 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3036 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3037 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3038 __getrlimit instead of getrlimit.
3039 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3040 __gettimeofday instead of gettimeofday.
3041 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3042 Likewise.
3043 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3044 Likewise.
3045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3046 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3047 Remove variable.
3048 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3049 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3050
9752c3cd
AZ
30512014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3052
3053 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3054 for wide-character tests.
3055
4bee4cd9
RM
30562014-12-04 Roland McGrath <roland@hack.frob.com>
3057
3058 * io/openat64.c: #include <libc-internal.h>
3059 (__openat64): Prototypify. Use ignore_value on MODE.
3060 * io/openat.c: Likewise.
3061 * misc/reboot.c: #include <libc-internal.h>
3062 (reboot): Prototypify. Use ignore_value on HOWTO.
3063 * misc/ptrace.c: #include <libc-internal.h>
3064 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3065
84dbedb6
JM
30662014-12-04 Joseph Myers <joseph@codesourcery.com>
3067
3068 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3069 XPG4, UNIX98 and XOPEN2K.
3070 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3071 Remove variable.
3072 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3073
b7a3e1c4 30742014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3075
af50dfc1 3076 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3077 * libio/iofopen.c: Likewise.
3078 * libio/wfileops.c: Likewise.
3079
fe8b4d98
SP
3080 [BZ #17653]
3081 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3082 offset on EOF.
3083 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3084 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3085 (fgets_func): Function pointer to fgets and fgetws.
3086 (do_ftell_test): Add test to verify ftell value after read
3087 EOF.
3088 (do_test): Set fgets_func.
3089
61b4f792
SP
3090 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3091 O_TRUNC flag for w and w+ modes.
3092 (do_rewind_test): Likewise.
3093 (do_ftell_test): Likewise.
3094 (do_write_test): Likewise.
3095
be349d70
SP
3096 [BZ #17647]
3097 * libio/fileops.c (do_ftell): Seek only when there are
3098 unflushed writes.
3099 * libio/wfileops.c (do_ftell_wide): Likewise.
3100 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3101 test case.
3102 (do_one_test): Call it.
3103
e3d6dba5
JM
31042014-12-03 Joseph Myers <joseph@codesourcery.com>
3105
3106 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3107 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3108 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3109 Remove variable.
3110 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3111 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3112 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3113
7f994279
JM
31142014-12-02 Joseph Myers <joseph@codesourcery.com>
3115
28a91e8f
JM
3116 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3117 Remove variable.
3118 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3119
7f994279
JM
3120 [BZ #17668]
3121 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3122 as weak alias of __getifaddrs. Use libc_hidden_weak.
3123 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3124 __freeifaddrs. Use libc_hidden_weak.
3125 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3126 define 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/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3130 __getifaddrs and define as weak alias of __getifaddrs. Use
3131 libc_hidden_weak.
3132 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3133 __freeifaddrs. Use libc_hidden_weak.
3134 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3135 Remove variable.
3136 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3137 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3138
bbe4c142
PJ
31392014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3140
3141 [BZ #17601]
3142 * sysdeps/mips/start.S (__start): Use indirect jump to call
3143 __libc_start_main.
3144
66cadc05
JM
31452014-12-02 Joseph Myers <joseph@codesourcery.com>
3146
909e16d9
JM
3147 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3148
4e0b9016
JM
3149 * nptl/tst-mutex1.c: Include <stdbool.h>.
3150 [!ATTR] (ATTR_NULL): New macro.
3151 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3152 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3153 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3154
b1aff6a4
JM
3155 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3156 to char *.
3157
266865c0
JM
3158 [BZ #17665]
3159 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3160 Change conditional to [__USE_MISC].
3161
84e5e756
JM
3162 [BZ #17664]
3163 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3164 fgets_unlocked.
3165 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3166 __fgets_unlocked.
3167 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3168 fgets_unlocked.
3169 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3170 Remove variable.
3171 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3172 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3173 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3174 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3175 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3176 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3177 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3178 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3179 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3180
66cadc05
JM
3181 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3182
2e8a2de2 31832014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3184
3185 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3186 Remove strpbrk objects.
3187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3188 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3189 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3190 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3191 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3192 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3193
bb2542e0
AZ
3194 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3195 Remove strcspn objects.
3196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3197 (__libc_ifunc_impl_list): Remove strcspn implementation.
3198 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3199 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3200 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3201 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3202
3203 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3204 Remove strspn objetcs.
3205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3206 (__libc_ifunc_impl_list): Remove strspn implementation.
3207 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3208 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3209 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3210 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3211
08f1e1d2
JL
32122014-12-01 James Lemke <jwlemke@codesourcery.com>
3213
3214 [BZ #17581]
3215 * malloc/hooks.c
3216 (mem2mem_check): Add a terminator to the chain of checking blocks.
3217 (malloc_check_get_size): Use it here.
3218 (mem2chunk_check): Ditto.
3219
a8a7d7d2
RS
32202014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3221
3222 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3223 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3224
97114a38
CD
32252014-11-29 Carlos O'Donell <carlos@redhat.com>
3226
c8dc1727
CD
3227 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3228
6d03458e
CD
3229 * nptl/nptl-init.c: Include libc-internal.h.
3230 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3231
97114a38
CD
3232 * elf/ldconfig.c (search_dir): Expand comment.
3233
0e7e69ba
JM
32342014-11-29 Joseph Myers <joseph@codesourcery.com>
3235
3236 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3237 variable.
3238 (linknamespace-symlist-stdlibs-tests): Likewise.
3239 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3240 instead of $(objpfx)symlist-stdlibs.
3241 (linknamespace-libs-isoc): New variable.
3242 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3243 (linknamespace-libs-ISO): New variable.
3244 (linknamespace-libs-ISO99): Likewise.
3245 (linknamespace-libs-ISO11): Likewise.
3246 (linknamespace-libs-XPG3): Likewise.
3247 (linknamespace-libs-XPG4): Likewise.
3248 (linknamespace-libs-POSIX): Likewise.
3249 (linknamespace-libs-UNIX98): Likewise.
3250 (linknamespace-libs-XOPEN2K): Likewise.
3251 (linknamespace-libs-POSIX2008): Likewise.
3252 (linknamespace-libs-XOPEN2K8): Likewise.
3253 ($(objpfx)symlist-stdlibs): Replace by
3254 $(linknamespace-symlist-stdlibs-tests). Use
3255 $(linknamespace-libs-$*) as set of libraries.
3256 ($(linknamespace-header-tests)): Update dependencies. Use
3257 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3258 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3259 * conform/linknamespace.pl: Remove comment about considering
3260 definitions of symbols from irrelevant libraries.
3261
d8dd0080
L
32622014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3263
3264 [BZ #13862]
3265 * elf/dl-tls.c: Include <atomic.h>.
3266 (oom): Remove #ifdef SHARED/#endif.
3267 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3268 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3269 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3270 big enough.
3271 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3272 * nptl/Makefile (tests): Add tst-stack4.
3273 (modules-names): Add tst-stack4mod.
3274 ($(objpfx)tst-stack4): New.
3275 (tst-stack4mod.sos): Likewise.
3276 ($(objpfx)tst-stack4.out): Likewise.
3277 ($(tst-stack4mod.sos)): Likewise.
3278 (clean): Likewise.
3279 * nptl/tst-stack4.c: New file.
3280 * nptl/tst-stack4mod.c: Likewise.
3281
167da422
B
32822014-11-27 J. Brown <jb999@gmx.de>
3283
3284 * sysdeps/x86/bits/string.h: Add recent CPUs.
3285
9114625b
JM
32862014-11-27 Joseph Myers <joseph@codesourcery.com>
3287
6b5189eb
JM
3288 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3289 sigblock.
3290
49051f8e
JM
3291 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3292 feof.
3293
9114625b
JM
3294 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3295 variable.
3296
e7300fef
SL
32972014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3298
3299 * nscd/connections.c: Include libc-internal.h because of macro
3300 usage ignore_value.
3301
1721f0a4
SP
33022014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3303
3304 * string/bits/string3.h (__warn_memset_zero_len): Don't
3305 declare for gcc newer than 5.0.
3306 (memset): Don't test for zero-length __LEN for gcc newer than
3307 5.0.
3308
be970916
JM
33092014-11-27 Joseph Myers <joseph@codesourcery.com>
3310
d88548f4
JM
3311 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3312 size_t for %zu format.
3313
be970916
JM
3314 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3315 difference, not %ju.
3316
3b20fd5c
JM
33172014-11-26 Joseph Myers <joseph@codesourcery.com>
3318
8915eace
JM
3319 * include/libc-internal.h (ignore_value): New macro.
3320 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3321 with ignore_value.
3322
f1a5a0e3
JM
3323 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3324 definition.
3325
59ef1715
JM
3326 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3327 pthread_cleanup_push to void *.
3328
a6f3079b
JM
3329 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3330 Undefine.
3331
706688aa
JM
3332 [BZ #16619]
3333 [BZ #16740]
3334 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3335 instead of 1L << 52.
3336
12da14a5
JM
3337 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3338 * libio/bug-rewind2.c (do_test): Likewise.
3339
bd5dadac
JM
3340 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3341 * debug/test-strcpy_chk-ifunc.c: Likewise.
3342 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3343 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3344 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3345 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3346 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3347 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3348 * Rules [$(multi-arch) = no] (tests): Do not filter out
3349 $(tests-ifunc).
3350 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3351 * debug/Makefile (tests-ifunc): Remove variable.
3352 (tests): Do not add $(tests-ifunc).
3353 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3354 (tests): Do not add $(tests-ifunc).
3355 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3356 [TEST_IFUNC]: Remove conditionals.
3357 * string/test-string.h (TEST_IFUNC): Remove macro.
3358 [TEST_IFUNC]: Remove conditionals.
3359
3b20fd5c
JM
3360 * string/test-strchr.c [!WIDE] (L): New macro.
3361 [WIDE] (L): Likewise.
3362 (check1): Use CHAR instead of char. Use L on string and character
3363 constants.
3364
704f7947
AZ
33652014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3366
3367 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3368 tests.
3369 * sysdeps/powerpc/bits/atomic.h
3370 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3371 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3372 (atomic_exchange_and_add_acq): Likewise.
3373 (atomic_exchange_and_add_rel): Likewise.
3374 * sysdeps/powerpc/powerpc32/bits/atomic.h
3375 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3376 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3377 * sysdeps/powerpc/powerpc64/bits/atomic.h
3378 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3379 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3380
cdcb42d7
TR
33812014-11-26 Torvald Riegel <triegel@redhat.com>
3382
3383 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3384 Change synchronization of __sched_fifo_min_prio and
3385 __sched_fifo_max_prio.
3386 * nptl/pthread_mutexattr_getprioceiling.c
3387 (pthread_mutexattr_getprioceiling): Likewise.
3388 * nptl/pthread_mutexattr_setprioceiling.c
3389 (pthread_mutexattr_setprioceiling): Likewise.
3390 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3391 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3392 Likewise.
3393
c82f5c0c
JM
33942014-11-26 Joseph Myers <joseph@codesourcery.com>
3395
3396 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3397 void.
3398
439e1ad6
JM
33992014-11-25 Joseph Myers <joseph@codesourcery.com>
3400
3401 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3402 third argument const.
3403
b1eda10e
PE
34042014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3405
3406 fnmatch: work around GCC compiler warning bug with uninit var
3407 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3408 This works around a bug with x86-64 GCC 4.9.2 and earlier
3409 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3410 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3411 used uninitialized in this function [-Wmaybe-uninitialized]".
3412
bde2667a
JM
34132014-11-25 Joseph Myers <joseph@codesourcery.com>
3414
3415 * posix/bug-regex31.c (main): Return RES not 0.
3416
5fbb5691
AB
34172014-11-25 Anton Blanchard <anton@samba.org>
3418
3419 * sysdeps/powerpc/bits/atomic.h
3420 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3421
467fec0b
BM
34222014-11-24 Sterling Augustine <saugustine@google.com>
3423
3424 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3425
e9ff8efb
RC
34262014-11-24 Ryan Cumming <etaoins@gmail.com>
3427
3428 [BZ #17608]
3429 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3430
9744496f
JM
34312014-11-24 Joseph Myers <joseph@codesourcery.com>
3432
3433 [BZ #17633]
3434 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3435 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3436 variable.
3437 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3438 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3439
6423d475
WD
34402014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3441
3442 * string/strncpy.c (strncpy): Improve performance by using memset.
3443
34442014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3445
3446 * string/strcpy.c (strcpy):
3447 Improve performance by using strlen and memcpy.
3448
5d178c37
LH
34492014-11-24 Leonhard Holz <leonhard.holz@web.de>
3450
3451 * string/strcoll_l.c (get_next_seq): __always_inline.
3452 * string/strcoll_l.c (do_compare): __always_inline.
3453
279bc5b3
SP
34542014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3455
7a9ebfa1
SP
3456 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3457 defined.
3458 * include/mqueue.h: Likewise.
3459 * include/stdlib.h: Likewise.
3460
4f41c682
SP
3461 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3462 (get_null_defines): Adjust.
3463 * sunrpc/Makefile: Adjust comment.
3464 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3465 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3466 (CFLAGS-interp.c): Likewise.
3467 (CFLAGS-ldconfig.c): Likewise.
3468 (CPPFLAGS-.os): Likewise.
3469 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3470 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3471 * extra-modules.mk (extra-modules.mk): Likewise.
3472 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3473 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3474 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3475 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3476 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3477 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3478 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3479 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3480 * iconvdata/Makefile (CPPFLAGS): Likewise.
3481 (cpp-srcs-left): Add libof for all iconvdata routines.
3482 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3483 * include/assert.h: Likewise.
3484 * include/ctype.h: Likewise.
3485 * include/errno.h: Likewise.
3486 * include/libc-symbols.h: Likewise.
3487 * include/math.h: Likewise.
3488 * include/netdb.h: Likewise.
3489 * include/resolv.h: Likewise.
3490 * include/stdio.h: Likewise.
3491 * include/stdlib.h: Likewise.
3492 * include/string.h: Likewise.
3493 * include/sys/stat.h: Likewise.
3494 * include/wctype.h: Likewise.
3495 * intl/l10nflist.c: Likewise.
3496 * libidn/idn-stub.c: Likewise.
3497 * libio/libioP.h: Likewise.
3498 * nptl/libc_multiple_threads.c: Likewise.
3499 * nptl/pthreadP.h: Likewise.
3500 * posix/regex_internal.h: Likewise.
3501 * resolv/res_hconf.c: Likewise.
3502 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3503 * sysdeps/arm/memmove.S: Likewise.
3504 * sysdeps/arm/sysdep.h: Likewise.
3505 * sysdeps/generic/_itoa.h: Likewise.
3506 * sysdeps/generic/symbol-hacks.h: Likewise.
3507 * sysdeps/gnu/errlist.awk: Likewise.
3508 * sysdeps/gnu/errlist.c: Likewise.
3509 * sysdeps/i386/i586/memcpy.S: Likewise.
3510 * sysdeps/i386/i586/memset.S: Likewise.
3511 * sysdeps/i386/i686/memcpy.S: Likewise.
3512 * sysdeps/i386/i686/memmove.S: Likewise.
3513 * sysdeps/i386/i686/mempcpy.S: Likewise.
3514 * sysdeps/i386/i686/memset.S: Likewise.
3515 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3516 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3519 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3521 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3523 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3526 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3527 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3529 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3530 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3532 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3556 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3562 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3570 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3573 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3576 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3577 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3578 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3579 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3580 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3581 * sysdeps/posix/closedir.c: Likewise.
3582 * sysdeps/posix/opendir.c: Likewise.
3583 * sysdeps/posix/readdir.c: Likewise.
3584 * sysdeps/posix/rewinddir.c: Likewise.
3585 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3586 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3588 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3591 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3592 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3597 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3598 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3599 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3600 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3601 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3602 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3604 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3605 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3606 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3607 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3608 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3621 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3622 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3623 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3624 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3625 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3626 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3627 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3628 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3629 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3630 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3631 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3633 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3634 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3635 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3636 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3637 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3638 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3639 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3641 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3642 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3643 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3644 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3645 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3646 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3647 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3648 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3649 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3650 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3651 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3652 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3653 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3654 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3656 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3657 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3658 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3659 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3660 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3661 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3662 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3663 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3664 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3667 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3668 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3669 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3671 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3672 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3673 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3675 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3676 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3677 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3681 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3683 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3684 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3685 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3686 * sysdeps/unix/alpha/sysdep.S: Likewise.
3687 * sysdeps/unix/alpha/sysdep.h: Likewise.
3688 * sysdeps/unix/make-syscalls.sh: Likewise.
3689 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3691 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3692 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3693 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3694 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3695 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3696 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3697 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3698 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3699 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3700 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3702 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3703 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3704 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3705 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3706 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3707 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3708 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3709 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3710 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3711 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3712 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3713 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3714 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3718 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3719 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3723 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3728 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3729 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3730 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3731 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3732 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3733 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3739 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3740 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3741 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3742 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3743 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3744 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3745 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3747 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3748 * sysdeps/x86_64/memcpy.S: Likewise.
3749 * sysdeps/x86_64/memmove.c: Likewise.
3750 * sysdeps/x86_64/memset.S: Likewise.
3751 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3752 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3753 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3754 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3755 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3756 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3758 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3759 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3760 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3761 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3762 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3763 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3764 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3765 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3766 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3767 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3768 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3769 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3770 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3771 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3772 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3773 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3774 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3775 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3776 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3777 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3778 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3779 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3780 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3781 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3782 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3783 * sysdeps/x86_64/strcmp.S: Likewise.
3784
76ca86a5
SP
3785 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3786
a3848485
SP
3787 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3788 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3789 * elf/rtld-Rules: Likewise.
3790 * elf/setup-vdso.h: Likewise.
3791 * include/assert.h: Likewise.
3792 * include/bits/stdlib-float.h: Likewise.
3793 * include/errno.h: Likewise.
3794 * include/sys/stat.h: Likewise.
3795 * include/unistd.h: Likewise.
3796 * sysdeps/aarch64/setjmp.S: Likewise.
3797 * sysdeps/alpha/setjmp.S: Likewise.
3798 * sysdeps/arm/__longjmp.S: Likewise.
3799 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3800 * sysdeps/arm/setjmp.S: Likewise.
3801 * sysdeps/arm/sysdep.h: Likewise.
3802 * sysdeps/generic/_itoa.h: Likewise.
3803 * sysdeps/generic/dl-sysdep.h: Likewise.
3804 * sysdeps/generic/ldsodefs.h: Likewise.
3805 * sysdeps/i386/dl-tls.h: Likewise.
3806 * sysdeps/i386/setjmp.S: Likewise.
3807 * sysdeps/m68k/setjmp.c: Likewise.
3808 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3809 * sysdeps/mach/hurd/opendir.c: Likewise.
3810 * sysdeps/posix/getcwd.c: Likewise.
3811 * sysdeps/posix/opendir.c: Likewise.
3812 * sysdeps/posix/profil.c: Likewise.
3813 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3814 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3815 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3817 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3818 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3819 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3820 * sysdeps/s390/dl-tls.h: Likewise.
3821 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3822 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3823 * sysdeps/sh/sh3/setjmp.S: Likewise.
3824 * sysdeps/sh/sh4/setjmp.S: Likewise.
3825 * sysdeps/unix/alpha/sysdep.h: Likewise.
3826 * sysdeps/unix/arm/sysdep.S: Likewise.
3827 * sysdeps/unix/i386/sysdep.S: Likewise.
3828 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3829 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3830 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3831 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3833 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3834 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3835 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3836 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3837 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3838 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3839 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3840 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3843 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3846 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3848 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3851 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3852 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3855 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3856 * sysdeps/x86_64/setjmp.S: Likewise.
3857
a109996e
SP
3858 * include/math.h: Use IS_IN instead of IS_IN_libm.
3859 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3871 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3879 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3880 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3881 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3882 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3883 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3884 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3886 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3887 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3888 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3889 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3890 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3893 Likewise.
3894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3895 Likewise.
3896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3897 Likewise.
3898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3899 Likewise.
3900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3901 Likewise.
3902 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3913 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3916 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3926 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3928 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3929
ce9f10f7
SP
3930 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3931 * nptl/pthreadP.h: Likewise.
3932 * nptl_db/structs.def: Likewise.
3933 * sysdeps/arm/sysdep.h: Likewise.
3934 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3935 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3936 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3937 * sysdeps/unix/alpha/sysdep.h: Likewise.
3938 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3940 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3941 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3942 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3943 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3945 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3946 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3947 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3948 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3949 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3950 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3951 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3955 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3956 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3959 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3960 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3961 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3962 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3963 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3964
016afc75
SP
3965 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3966 * nptl/pthreadP.h: Likewise.
3967 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3968 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3969 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3970 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3971 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3972 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3973 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3974 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3975 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3976 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3977 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3978 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3980 Likewise.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3982 Likewise.
3983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3985 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3988 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3989 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3990 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3991
9b42a0b3
SP
3992 * dlfcn/dladdr.c: Use IS_IN.
3993 * dlfcn/dladdr1.c: Likewise.
3994 * dlfcn/dlclose.c: Likewise.
3995 * dlfcn/dlerror.c: Likewise.
3996 * dlfcn/dlinfo.c: Likewise.
3997 * dlfcn/dlmopen.c: Likewise.
3998 * dlfcn/dlopen.c: Likewise.
3999 * dlfcn/dlsym.c: Likewise.
4000 * dlfcn/dlvsym.c: Likewise.
4001
85f36372
SP
4002 * include/ifaddrs.h: Use IS_IN.
4003 * inet/check_pf.c: Likewise.
4004 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4005 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4006
fb6784e3
SP
4007 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4008 IS_IN_ldconfig.
4009 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4010 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4011
2886d2d1
SP
4012 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4013 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4014 IS_IN (libc).
4015
9a484857
SP
4016 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4017
a10178bd
SP
4018 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4019 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4020 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4021 * include/libc-symbols.h (IS_IN_LIB): New macro.
4022 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4023 * include/netdb.h: Likewise.
4024 * include/stap-probe.h: Remove all uses of IN_LIB.
4025
279bc5b3
SP
4026 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4027 instead of IN_MODULE.
4028 * include/libc-symbols.h (IN_MODULE): Define using
4029 MODULE_NAME.
4030 (PASTE_NAME, PASTE_NAME1): New macros.
4031 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4032 of IN_LIB.
4033 (STAP_PROBE_ASM): Likewise.
4034
e0cfa510
ST
40352014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4036
4037 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4038 __mach_init in dlopened libc.
4039
34d97d87
MF
40402014-11-22 Mike Frysinger <vapier@gentoo.org>
4041
4042 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4043 * sysdeps/arm/preconfigure: Regenerate.
4044
33cd1f74
RM
40452014-11-21 Roland McGrath <roland@hack.frob.com>
4046
4047 * nptl/pthread_create.c (__pthread_create_2_1): Set
4048 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4049 when copying values from IATTR into PD.
4050
8c230039
WN
40512014-11-21 Will Newton <will.newton@linaro.org>
4052 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4053
6d3db89b
AP
4054 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4055 Refactor inline-asm. Also add comment.
4056
01194ba1
WN
4057 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4058 ElfW macro instead of hardcoded Elf64 types.
4059 (la_aarch64_gnu_pltenter): Likewise.
4060 * sysdeps/aarch64/dl-machine.h
4061 (elf_machine_runtime_setup): Use ElfW(Addr).
4062
8c230039
WN
4063 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4064 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4065 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4066 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4067 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4068 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4069 (R_AARCH64_TLS_DTPMOD): This.
4070 (R_AARCH64_TLS_DTPREL64): Rename to ...
4071 (R_AARCH64_TLS_DTPREL): This.
4072 (R_AARCH64_TLS_TPREL64): Rename to ...
4073 (R_AARCH64_TLS_TPREL): This.
4074 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4075 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4076 R_AARCH64_TLS_TPREL64.
4077 (elf_machine_rela): Likewise.
4078
0d79fa53
TR
40792014-11-21 Torvald Riegel <triegel@redhat.com>
4080
4081 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4082 by setting it to 0. 64b atomics are not supported currently.
4083
b59d114b
AO
40842014-11-21 Alexandre Oliva <aoliva@redhat.com>
4085
4086 [BZ #16469]
4087 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4088 search domain names.
4089
f3d945d5
AO
40902014-11-21 Alexandre Oliva <aoliva@redhat.com>
4091
4092 [BZ #16469]
4093 * NEWS: Update.
4094 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4095 trailing dot.
4096 * posix/tst-getaddrinfo5.c: New.
4097 * posix/Makefile (tests): Add it.
4098
49698902
AO
40992014-11-21 Alexandre Oliva <aoliva@redhat.com>
4100
4101 [BZ #14498]
4102 * NEWS: Fixed.
4103 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4104 after parsing line but before break_if_match.
4105 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4106 if there is a protocol mismatch.
4107
81959214
MS
41082014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4109
4110 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4111 because the potential race is on the user-supplied stream.
4112
7729e0e9
AO
41132014-11-21 Alexandre Oliva <aoliva@redhat.com>
4114
4115 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4116 string literal if not passed a buffer.
4117 * manual/job.texi (ctermid): Update reasoning, note deviation
4118 from posix, suggest mtasurace when not passed a buffer, for
4119 future non-preliminary safety notes.
4120
a4ea5e28
AO
41212014-11-21 Alexandre Oliva <aoliva@redhat.com>
4122
4123 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4124 of not passing it a buffer.
4125 Reported by Peng Haitao.
4126
a2b581cb
AO
41272014-11-21 Alexandre Oliva <aoliva@redhat.com>
4128
4129 * manual/Makefile ($(objpfx)stamp-summary): Require
4130 check-safety.sh to pass.
4131 * manual/check-safety.sh: Wish for verification that every
4132 @deftypefn and @deftypefun is followed by a @safety remark.
4133
f214ff74
RM
41342014-11-20 Roland McGrath <roland@hack.frob.com>
4135
7f0dfae0
RM
4136 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4137
2f531bbb
RM
4138 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4139 PTHREAD_CANCEL_ASYNCHRONOUS.
4140 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4141 send SIGCANCEL.
4142
f214ff74
RM
4143 * nptl/default-sched.h: New file.
4144 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4145 * nptl/pthread_create.c: Include it.
4146 (__pthread_create_2_1): Use collect_default_sched instead of making
4147 Linux syscalls here directly.
4148
e37c91d4
TR
41492014-11-20 Torvald Riegel <triegel@redhat.com>
4150
4151 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4152 __pthread_once): Use C11 atomics.
4153
1eccfecd
TR
41542014-11-20 Torvald Riegel <triegel@redhat.com>
4155
4156 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4157
ff871426
TR
41582014-11-20 Torvald Riegel <triegel@redhat.com>
4159
4160 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4161 atomic_thread_fence_acquire, atomic_thread_fence_release,
4162 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4163 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4164 atomic_compare_exchange_weak_relaxed,
4165 atomic_compare_exchange_weak_acquire,
4166 atomic_compare_exchange_weak_release,
4167 atomic_exchange_acquire, atomic_exchange_release,
4168 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4169 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4170 atomic_fetch_and_acquire,
4171 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4172
1ea339b6
TR
41732014-11-20 Torvald Riegel <triegel@redhat.com>
4174
4175 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4176 USE_ATOMIC_COMPILER_BUILTINS): Define.
4177 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4179 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4181 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4183 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4185 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4187 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4189 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4191 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4193 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4197 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4199 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4201 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4203 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4205 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4207 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4209 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4211 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4212 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4213 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4215 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4217
cbd463e2
RM
42182014-11-19 Roland McGrath <roland@hack.frob.com>
4219
d960211f
RM
4220 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4221 the sched_priority value here. It was already checked when the user
4222 called pthread_attr_setschedparam.
4223
cbd463e2
RM
4224 * nptl/tst-bad-schedattr.c: New file.
4225 * nptl/Makefile (tests): Add it.
4226
a39208bd
CD
42272014-11-19 Carlos O'Donell <carlos@redhat.com>
4228 Florian Weimer <fweimer@redhat.com>
4229 Joseph Myers <joseph@codesourcery.com>
4230 Adam Conrad <adconrad@0c3.net>
4231 Andreas Schwab <schwab@suse.de>
4232 Brooks <bmoses@google.com>
4233
4234 [BZ #17625]
4235 * wordexp-test.c (__dso_handle): Add prototype.
4236 (__register_atfork): Likewise.
4237 (__app_register_atfork): New function.
4238 (registered_forks): New global.
4239 (register_fork): New function.
4240 (test_case): Add 3 new tests for WRDE_CMDSUB.
4241 (main): Call __app_register_atfork.
4242 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4243 fork count is non-zero fail the test.
4244 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4245 is set.
4246 (parse_dollars): Remove check for WRDE_NOCMD.
4247 (parse_dquote): Likewise.
4248
9cd47470
SP
42492014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4250
130ac68c
SP
4251 * Makeconfig (built-modules): List non-library modules to be
4252 built.
4253 (module-cppflags): Include libc-modules.h for
4254 everything except shlib-versions.v.i.
4255 (CPPFLAGS): Use it.
4256 (before-compile): Add libc-modules.h.
4257 ($(common-objpfx)libc-modules.h,
4258 $(common-objpfx)libc-modules.stmp): New targets.
4259 (common-generated): Add libc-modules.h and libc-modules.stmp.
4260 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4261 * include/libc-symbols.h: Don't include libc-modules.h.
4262 * include/libc-modules.h: Remove file.
4263 * scripts/gen-libc-modules.awk: New script to generate
4264 libc-modules.h.
4265 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4266 Depend on libc-modules.stmp.
4267
286663c3
SP
4268 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4269
9cd47470
SP
4270 * Makeconfig (in-module): Get value of libof set for the
4271 translation unit.
4272 (CPPFLAGS): Use $(in-module).
4273 * Makerules: Don't suffix routine names for nonlib.
4274 * include/libc-modules.h: New file.
4275 * include/libc-symbols.h: Include libc-modules.h
4276 (IS_IN): New macro to replace IS_IN_* macros.
4277 * elf/Makefile: Set libof-* for each routine.
4278 * elf/rtld-Rules: Likewise.
4279 * extra-modules.mk: Likewise.
4280 * iconv/Makefile: Likewise.
4281 * iconvdata/Makefile: Likewise.
4282 * locale/Makefile: Likewise.
4283 * malloc/Makefile: Likewise.
4284 * nss/Makefile: Likewise.
4285 * sysdeps/gnu/Makefile: Likewise.
4286 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4287 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4288 * sysdeps/s390/s390-64/Makefile: Likewise.
4289 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4290 CPPFLAGS for nscd instead of nonlib.
4291
32fed10f
RM
42922014-11-18 Roland McGrath <roland@hack.frob.com>
4293
d71035bd
RM
4294 * nptl/createthread.c: New file.
4295
6540b991
RM
4296 * nptl/createthread.c: Moved ...
4297 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4298
32fed10f
RM
4299 * nptl/createthread.c: Add proper top-line comment.
4300 (do_clone): Folded into ...
4301 (create_thread): ... here. Take new arguments STOPPED_START and
4302 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4303 increment __nptl_threads, do event-reporting logic, do
4304 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4305 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4306 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4307 just send SIGCANCEL.
4308 * nptl/pthread_create.c: Forward-declare create_thread before
4309 including createthread.c.
4310 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4311 declaration, and new macro START_THREAD_SELF to replace argument.
4312 Remove return statement.
4313 (report_thread_creation): New function.
4314 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4315 synchronization logic, and __nptl_nthreads increment here, around
4316 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4317 PD->parent_cancelhandling here, before create_thread. When
4318 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4319 __deallocate_stack, and ENOMEM translation here.
4320
107a5bf0
JM
43212014-11-18 Joseph Myers <joseph@codesourcery.com>
4322
4323 [BZ #17616]
4324 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4325 (mptwo): Rename to __mptwo.
4326 (__inv): Use __mptwo instead of mptwo.
4327 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4328 (mptwo): Rename to __mptwo.
4329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4330 of mpone and __mptwo instead of mptwo.
4331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4332 instead of mpone.
4333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4334 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4335 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4336 of mpone and __mptwo instead of mptwo.
4337 (__mpranred): Use __mpone instead of mpone.
4338 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4339 variable.
4340 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4341 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4342 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4343 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4344 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4345 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4346 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4347 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4348 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4349 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4350 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4351 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4352 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4353 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4354 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4355 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4356 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4357 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4358 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4359
3b679ab3
TV
43602014-11-18 Tom de Vries <tom@codesoucery.com>
4361
4362 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4363 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4364
43652014-11-17 Richard Henderson <rth@redhat.com>
4366
4367 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4368 (_FP_PACK_RAW_2): Remove.
4369 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4370 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4371 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4372 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4373 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4374 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4375 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4376 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4377 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4378 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4379 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4380 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4381 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4382 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4383 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4384 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4385
0781a777
RM
43862014-11-14 Roland McGrath <roland@hack.frob.com>
4387
4388 * signal/signal.h [__USE_MISC]
4389 (struct sigvec): Remove type.
4390 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4391 (sigvec): Remove declaration.
4392 * sysdeps/posix/sigvec.c: Moved ...
4393 * signal/sigvec.c: ... here, replacing old file.
4394 (struct sigvec): New type, copied from old signal.h definition.
4395 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4396 (__sigvec): Convert definition to prototype.
4397 (sigvec): Replace weak_alias with compat_symbol.
4398 * signal/Versions (libc: GLIBC_2.21): New version set.
4399 * include/signal.h: Remove __sigvec declaration.
4400 * sysdeps/unix/bsd/sigvec.c: Remove file.
4401 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4402 * manual/signal.texi (BSD Handler): Remove subsection.
4403 Move siginterrupt up to ...
4404 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4405 (Blocking in BSD): Fold subsection into its parent.
4406 * NEWS: Mention sigvec removal.
4407
a4733812
JM
44082014-11-14 Joseph Myers <joseph@codesourcery.com>
4409
5ae4fe60
JM
4410 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4411 (DLA_FMS): Make definition conditional only on [__FMA4__].
4412 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4413 definition.
4414
6a0dd472
JM
4415 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4416 Make definition conditional only on [PROF].
4417 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4418 definition.
4419 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4420 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4421
a4733812
JM
4422 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4423 !__GNUC__].
4424 * include/signal.h (__sigpause): Move declaration above call to
4425 libc_hidden_proto.
4426 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4427 variable.
4428 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4429 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4430
cf7246dd
DM
44312014-11-14 David S. Miller <davem@davemloft.net>
4432
4433 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4434 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4435
c1b0aadc
JM
44362014-11-14 Joseph Myers <joseph@codesourcery.com>
4437
4863355a
JM
4438 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4439 * configure: Regenerated.
4440 * manual/install.texi (Tools for Compilation): Document a
4441 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4442 compiler verified to work.
4443 * INSTALL: Regenerated.
4444
c1b0aadc
JM
4445 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4446 redeclare with asm name.
4447 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4448 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4449 including <string.h>.
4450 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4451 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4452 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4453 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4454 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4456 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4457
2a1cfd94
JM
44582014-11-13 Joseph Myers <joseph@codesourcery.com>
4459
bf438382
JM
4460 * stdlib/strtol.c (__strtol): Use prototype definition.
4461
2a1cfd94
JM
4462 [BZ #17594]
4463 * stdlib/strtol.c (SYM__): New macro.
4464 (SYM__1): Likewise.
4465 (__strtol): Likewise.
4466 (strtol): Rename to __strtol and define as weak alias of
4467 __strtol. Use libc_hidden_weak.
4468
20ed0d26
SL
44692014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4470
4471 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4472 Use numbered labels in inline assembly.
4473
53244a4e
SL
44742014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4475
4476 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4477 Add setjmp LIBC_PROBE.
4478 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4479 Likewise.
4480 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4481 Add longjmp, longjmp_target LIBC_PROBE.
4482 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4483 Likewise.
4484
47df8251
SL
44852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4486
4487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4488 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4489 to get rid of unused variable warning.
4490
618cebef
SL
44912014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4492
4493 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4494 Check for unwind_backtrace == NULL only in SHARED case.
4495 (__backchain_backtrace): Compile only in SHARED case.
4496 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4497 Likewise.
4498 (__backchain_backtrace): Declare as static.
4499
c6aab2cb
RM
45002014-11-12 Roland McGrath <roland@hack.frob.com>
4501
4502 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4503 (__libc_multiple_threads_ptr): Variable moved ...
4504 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4505
5a6fa4d7
JM
45062014-11-12 Joseph Myers <joseph@codesourcery.com>
4507
24f4f825
JM
4508 * conform/GlibcConform.pm: New file.
4509 * conform/conformtest.pl: Use GlibcConform module.
4510 * conform/linknamespace.pl: New file.
4511 * conform/list-header-symbols.pl: Likewise.
4512 * conform/Makefile (linknamespace-symlists-base): New variable.
4513 (linknamespace-symlists-tests): Likewise.
4514 (linknamespace-header-base): Likewise.
4515 (linknamespace-header-tests): Likewise.
4516 (tests-special): Add new tests.
4517 ($(linknamespace-symlists-tests)): New rule.
4518 (linknamespace-libs): New variable.
4519 ($(objpfx)symlist-stdlibs): New rule.
4520 ($(linknamespace-header-tests)): Likewise.
4521 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4522 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4523 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4524 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4525 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4526 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4527 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4528 (test-xfail-ISO/math.h/linknamespace): Likewise.
4529 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4530 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4531 (test-xfail-ISO/time.h/linknamespace): Likewise.
4532 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4533 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4534 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4535 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4536 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4537 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4538 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4539 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4540 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4541 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4542 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4543 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4544 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4545 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4546 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4547 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4548 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4549 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4550 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4551 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4552 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4553 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4554 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4555 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4556 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4557 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4558 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4559 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4560 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4561 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4562 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4563 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4564 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4565 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4566 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4567 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4568 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4569 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4570 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4571 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4572 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4573 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4574 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4575 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4576 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4577 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4578 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4579 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4580 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4581 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4582 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4583 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4584 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4585 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4586 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4587 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4588 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4589 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4590 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4591 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4592 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4593 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4594 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4595 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4596 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4597 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4598 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4599 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4600 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4601 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4602 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4603 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4604 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4605 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4606 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4607 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4608 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4609 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4610 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4611 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4612 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4613 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4614 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4615 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4616 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4617 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4618 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4619 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4620 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4621 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4622 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4623 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4624 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4625 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4626 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4627 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4628 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4629 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4630 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4631 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4632 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4633 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4634 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4635 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4636 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4637 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4638 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4639 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4640 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4641 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4642 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4643 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4644 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4645 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4646 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4647 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4648 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4649 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4650 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4651 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4652 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4653 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4654 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4655 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4656 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4657 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4658 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4659 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4660 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4661 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4662 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4663 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4664 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4665 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4666 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4667 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4668 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4669 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4670 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4671 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4672 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4673 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4674 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4675 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4676 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4677 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4678 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4680 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4681 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4682
cc67478e
JM
4683 [BZ #17589]
4684 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4685 of fgets_unlocked.
4686
9975e3d3
JM
4687 [BZ #17585]
4688 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4689 (memmem): Rename to __memmem and define as weak alias of
4690 __memmem. Use libc_hidden_weak.
4691 (__memmem): Use libc_hidden_def.
4692 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4693 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4694 memmem.
4695
c4eae752
JM
4696 [BZ #17582]
4697 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4698 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4699 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4700 and define as weak alias of __fgets_unlocked. Use
4701 libc_hidden_weak.
4702 (__fgets_unlocked): Use libc_hidden_def.
4703 * include/stdio.h (__fgets_unlocked): Declare. Use
4704 libc_hidden_proto.
4705 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4706 __fgets_unlocked instead of fgets_unlocked.
4707 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4708 (GET_NPROCS_CONF_PARSER): Likewise.
4709 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4710 (GET_NPROCS_CONF_PARSER): Likewise.
4711
01cad84e
JM
4712 [BZ #17574]
4713 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4714 weak alias of __wmemset. Use libc_hidden_weak.
4715 (__wmemset): Use libc_hidden_def.
4716 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4717 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4718 of wmemset.
4719
939da411
JM
4720 [BZ #17573]
4721 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4722 with asm name __mempcpy.
4723 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4724
293d9a41
JM
4725 [BZ #17572]
4726 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4727 and define as weak alias of __rawmemchr.
4728 (__rawmemchr): Do not define as strong alias of rawmemchr.
4729
bef8fd60
JM
4730 [BZ #17571]
4731 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4732 alias of __qsort_r.
4733 (qsort): Call __qsort_r instead of qsort_r.
4734 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4735 (__qsort_r): Declare. Call libc_hidden_proto.
4736 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4737 instead of qsort_r.
4738 * nscd/gai.c (__qsort_r): Define to qsort_r.
4739 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4740 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4741 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4742
c52ff39e
JM
4743 [BZ #17570]
4744 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4745 define as weak alias of __malloc_info.
4746
2f5c1b00
JM
4747 [BZ #17584]
4748 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4749 as weak alias of __rewinddir. Don't use libc_hidden_def.
4750 (__rewinddir): Use libc_hidden_def.
4751 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4752 as weak alias of __rewinddir. Don't use libc_hidden_def.
4753 (__rewinddir): Use libc_hidden_def.
4754 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4755 weak alias of __rewinddir. Don't use libc_hidden_def.
4756 (__rewinddir): Use libc_hidden_def.
4757 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4758 (__rewinddir): Use libc_hidden_proto.
4759 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4760 rewinddir.
4761 (__getcwd): Use __rewinddir instead of rewinddir.
4762
5a6fa4d7
JM
4763 [BZ #17583]
4764 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4765 alias of __fileno. Use libc_hidden_weak.
4766 (__fileno): Use libc_hidden_def.
4767 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4768 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4769 alias of __ftello.
4770 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4771 __ftello.
4772 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4773 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4774 libc_hidden_def.
4775 (fread_unlocked): Don't use libc_hidden_ver.
4776 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4777 and define as weak alias of __fread_unlocked. Don't use
4778 libc_hidden_def.
4779 (__fread_unlocked): Use libc_hidden_def.
4780 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4781 (ftello): Don't use libc_hidden_proto.
4782 (__ftello): Declare. Use libc_hidden_proto.
4783 (fread_unlocked): Don't use libc_hidden_proto.
4784 (__fread_unlocked): Declare. Use libc_hidden_proto.
4785 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4786 and __ftello instead of fileno, fread_unlocked and ftello.
4787
2581b98e
SP
47882012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4789
4790 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4791 GOT12.
4792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4793 Likewise.
4794 (_dl_start_user): Likewise.
4795 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4796
533bb7c2
SP
47972014-11-12 Carlos O'Donell <carlos@redhat.com>
4798 Siddhesh Poyarekar <siddhesh@redhat.com>
4799
4800 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4801 Move argv and envp down instead of moving argc up.
4802 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4803
fffa1cf8
LH
48042014-11-12 Leonhard Holz <leonhard.holz@web.de>
4805
4806 [BZ #17506]
4807 * test-skeleton.c (main): Return successful if one of
4808 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4809 * string/tst-strcoll-overflow.c: Define expected status.
4810
fb89b46d
TU
48112014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4812
4813 [BZ #17475]
4814 * locale/iso-639.def: Define Bhili and Tulu language codes.
4815
5c40c3ba
AH
48162014-11-11 Alan Hayward <alan.hayward@arm.com>
4817
4818 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4819
b17fe01b 48202014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4821
4822 [BZ #17555]
4823 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4824
bd805071
AS
48252014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4826
4827 * configure.ac: Updated check of minimal required version to
4828 2.22.
4829 * manual/install.texi (Tools for Compilation): Updated version
4830 number.
4831 * configure: Regenerated.
4832 * INSTALL: Likewise.
4833
1400983e
AS
48342014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4835
4836 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4837 __tls_get_addr.
4838
2c46a66a
JM
48392014-11-07 Joseph Myers <joseph@codesourcery.com>
4840
4841 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4842 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4843 (__waitpid): Don't define as alias. Use libc_hidden_def not
4844 libc_hidden_weak.
4845 (waitpid): Define as alias of __waitpid.
4846 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4847 __waitpid.
4848 (__waitpid): Don't define as alias. Use libc_hidden_def not
4849 libc_hidden_weak.
4850 (waitpid): Define as alias of __waitpid.
4851 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4852 __libc_waitpid alias.
4853 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4854 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4855 Likewise.
4856 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4857 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4858 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4859 alias.
4860 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4861 __waitpid.
4862 (__waitpid): Don't define as alias. Use libc_hidden_def not
4863 libc_hidden_weak.
4864 (waitpid): Define as alias of __waitpid.
4865
da53d6db
CD
48662014-11-06 Carlos O'Donell <carlos@redhat.com>
4867
a2887bdb
CD
4868 * manual/llio.texi: Add comment that write safety has been
4869 fixed in Linux.
4870
da53d6db
CD
4871 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4872 (localplt-build-dso): Add elf/ld.so.
4873 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4874 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4875 and free for ld.so.
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4877 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4879 Likewise.
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4881 Likewise.
4882 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4883 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4884 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4885 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4886 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4887 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4888 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4889 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4890 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4891 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4893
9cf27b8d
JM
48942014-11-05 Joseph Myers <joseph@codesourcery.com>
4895
4896 [BZ #14132]
4897 * include/libc-symbols.h (INTUSE): Remove macro.
4898 (INTDEF): Likewise.
4899 (INTVARDEF): Likewise.
4900 (_INTVARDEF): Likewise.
4901 (INTDEF2): Likewise.
4902 (INTVARDEF2): Likewise.
4903 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4904 rtld_hidden_def instead of INTVARDEF.
4905 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4906 (_dl_starting_up_internal): Remove declaration.
4907 (_dl_starting_up): Use rtld_hidden_proto.
4908 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4909 declaration.
4910 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4911 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4912 _dl_starting_up.
4913 * elf/dl-writev.h (_dl_writev): Likewise.
4914 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4915 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4916 _dl_starting_up_internal.
4917
af83568d
AZ
49182014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4919
4920 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4921 test-skeleton.c.
4922
b01ee67c
WN
49232014-11-05 Will Newton <will.newton@linaro.org>
4924
4925 * benchtests/Makefile: (bench-malloc): Add malloc thread
4926 scalability benchmark.
4927 * benchtests/bench-malloc-threads.c: New file.
4928
be9d4ccc
RE
49292014-11-05 Richard Earnshaw <rearnsha@arm.com>
4930
4931 * sysdeps/aarch64/strchrnul.S: New file.
4932
7110166d
AZ
49332014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4934
4935 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4936 definition.
4937 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4938 Likwise.
4939 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4940 Likewise.
4941 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4942 Likewise.
4943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4944 Likewise.
4945 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4946 Likewise.
4947
49482014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4949
4950 * catgets/test-gencat.c: Use test-skeleton.c.
4951 * catgets/tst-catgets.c: Likewise.
4952 * csu/tst-empty.c: Likewise.
4953 * elf/tst-audit2.c: Likewise.
4954 * elf/tst-global1.c: Likewise.
4955 * elf/tst-pathopt.c: Likewise.
4956 * elf/tst-piemod1.c: Likewise.
4957 * elf/tst-tls10.c: Likewise.
4958 * elf/tst-tls11.c: Likewise.
4959 * elf/tst-tls12.c: Likewise.
4960 * gnulib/tst-gcc.c: Likewise.
4961 * iconvdata/tst-e2big.c: Likewise.
4962 * iconvdata/tst-loading.c: Likewise.
4963 * iconv/tst-iconv1.c: Likewise.
4964 * iconv/tst-iconv2.c: Likewise.
4965 * inet/test-inet6_opt.c: Likewise.
4966 * inet/tst-gethnm.c: Likewise.
4967 * inet/tst-network.c: Likewise.
4968 * inet/tst-ntoa.c: Likewise.
4969 * intl/tst-codeset.c: Likewise.
4970 * intl/tst-gettext2.c: Likewise.
4971 * intl/tst-gettext3.c: Likewise.
4972 * intl/tst-ngettext.c: Likewise.
4973 * intl/tst-translit.c: Likewise.
4974 * io/test-stat.c: Likewise.
4975 * libio/test-fmemopen.c: Likewise.
4976 * libio/tst-freopen.c: Likewise.
4977 * libio/tst-sscanf.c: Likewise.
4978 * libio/tst-ungetwc1.c: Likewise.
4979 * libio/tst-ungetwc2.c: Likewise.
4980 * libio/tst-widetext.c: Likewise.
4981 * localedata/tst-ctype.c: Likewise.
4982 * localedata/tst-digits.c: Likewise.
4983 * localedata/tst-leaks.c: Likewise.
4984 * localedata/tst-mbswcs1.c: Likewise.
4985 * localedata/tst-mbswcs2.c: Likewise.
4986 * localedata/tst-mbswcs3.c: Likewise.
4987 * localedata/tst-mbswcs4.c: Likewise.
4988 * localedata/tst-mbswcs5.c: Likewise.
4989 * localedata/tst-setlocale.c: Likewise.
4990 * localedata/tst-trans.c: Likewise.
4991 * localedata/tst-wctype.c: Likewise.
4992 * localedata/tst-xlocale1.c: Likewise.
4993 * login/tst-grantpt.c: Likewise.
4994 * malloc/tst-calloc.c: Likewise.
4995 * malloc/tst-malloc.c: Likewise.
4996 * malloc/tst-mallocstate.c: Likewise.
4997 * malloc/tst-mcheck.c: Likewise.
4998 * malloc/tst-mtrace.c: Likewise.
4999 * malloc/tst-obstack.c: Likewise.
5000 * math/atest-exp2.c: Likewise.
5001 * math/atest-exp.c: Likewise.
5002 * math/atest-sincos.c: Likewise.
5003 * math/test-matherr.c: Likewise.
5004 * math/test-misc.c: Likewise.
5005 * math/test-powl.c: Likewise.
5006 * math/tst-definitions.c: Likewise.
5007 * misc/tst-dirname.c: Likewise.
5008 * misc/tst-efgcvt.c: Likewise.
5009 * misc/tst-fdset.c: Likewise.
5010 * misc/tst-hsearch.c: Likewise.
5011 * misc/tst-mntent2.c: Likewise.
5012 * nptl/tst-sem7.c: Likewise.
5013 * nptl/tst-sem8.c: Likewise.
5014 * nptl/tst-sem9.c: Likewise.
5015 * nss/test-netdb.c: Likewise.
5016 * posix/tst-fnmatch.c: Likewise.
5017 * posix/tst-getlogin.c: Likewise.
5018 * posix/tst-gnuglob.c: Likewise.
5019 * posix/tst-mmap.c: Likewise.
5020 * pwd/tst-getpw.c: Likewise.
5021 * resolv/tst-inet_ntop.c: Likewise.
5022 * rt/tst-timer.c: Likewise.
5023 * stdio-common/test-fseek.c: Likewise.
5024 * stdio-common/test-popen.c: Likewise.
5025 * stdio-common/test-vfprintf.c: Likewise.
5026 * stdio-common/tst-cookie.c: Likewise.
5027 * stdio-common/tst-fileno.c: Likewise.
5028 * stdio-common/tst-gets.c: Likewise.
5029 * stdio-common/tst-obprintf.c: Likewise.
5030 * stdio-common/tst-perror.c: Likewise.
5031 * stdio-common/tst-sprintf2.c: Likewise.
5032 * stdio-common/tst-sprintf3.c: Likewise.
5033 * stdio-common/tst-sprintf.c: Likewise.
5034 * stdio-common/tst-swprintf.c: Likewise.
5035 * stdio-common/tst-tmpnam.c: Likewise.
5036 * stdio-common/tst-unbputc.c: Likewise.
5037 * stdio-common/tst-wc-printf.c: Likewise.
5038 * stdlib/tst-environ.c: Likewise.
5039 * stdlib/tst-fmtmsg.c: Likewise.
5040 * stdlib/tst-limits.c: Likewise.
5041 * stdlib/tst-rand48-2.c: Likewise.
5042 * stdlib/tst-rand48.c: Likewise.
5043 * stdlib/tst-random2.c: Likewise.
5044 * stdlib/tst-random.c: Likewise.
5045 * stdlib/tst-strtol.c: Likewise.
5046 * stdlib/tst-strtoll.c: Likewise.
5047 * stdlib/tst-tls-atexit.c: Likewise.
5048 * stdlib/tst-xpg-basename.c: Likewise.
5049 * string/test-ffs.c: Likewise.
5050 * string/tst-bswap.c: Likewise.
5051 * string/tst-inlcall.c: Likewise.
5052 * string/tst-strtok.c: Likewise.
5053 * string/tst-strxfrm.c: Likewise.
5054 * sysdeps/x86_64/tst-audit10.c: Likewise.
5055 * sysdeps/x86_64/tst-audit3.c: Likewise.
5056 * sysdeps/x86_64/tst-audit4.c: Likewise.
5057 * sysdeps/x86_64/tst-audit5.c: Likewise.
5058 * time/tst-ftime_l.c: Likewise.
5059 * time/tst-getdate.c: Likewise.
5060 * time/tst-mktime3.c: Likewise.
5061 * time/tst-mktime.c: Likewise.
5062 * time/tst-posixtz.c: Likewise.
5063 * time/tst-strptime2.c: Likewise.
5064 * time/tst-strptime3.c: Likewise.
5065 * wcsmbs/tst-btowc.c: Likewise.
5066 * wcsmbs/tst-mbrtowc.c: Likewise.
5067 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5068 * wcsmbs/tst-wchar-h.c: Likewise.
5069 * wcsmbs/tst-wcpncpy.c: Likewise.
5070 * wcsmbs/tst-wcrtomb.c: Likewise.
5071 * wcsmbs/tst-wcsnlen.c: Likewise.
5072 * wcsmbs/tst-wcstof.c: Likewise.
5073
2004e7fb
JM
50742014-11-04 Joseph Myers <joseph@codesourcery.com>
5075
ab97ee8f
JM
5076 [BZ #14132]
5077 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5078 INTDEF.
5079 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5080 declaration.
5081 (_dl_mcount): Use rtld_hidden_proto.
5082 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5083 _dl_mcount.
5084 * elf/rtld.c (_rtld_global_ro): Likewise.
5085
c5684fdb
JM
5086 [BZ #14132]
5087 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5088 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5089 of _dl_init_internal.
5090 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5091 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5092 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5093 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5094 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5095 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5096 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5097 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5098 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5099 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5100 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5101 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5102 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5103 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5104 * sysdeps/tile/dl-start.S (_start): Likewise.
5105 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5106 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5107
4243cbea
JM
5108 [BZ #14132]
5109 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5110 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5111 (rtld_progname): Make macro definition unconditional.
5112 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5113 INTDEF.
5114 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5115 (dl_main): Likewise.
5116 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5117 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5118 instead of _dl_argv_internal.
5119 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5120 __GI__dl_argv instead of INTUSE(_dl_argv).
5121 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5122 __GI__dl_argv instead of _dl_argv_internal.
5123
2004e7fb
JM
5124 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5125 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5126 macro.
5127 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5128 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5129 New macro.
5130 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5131 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5132 macro.
5133 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5134 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5135
97827bfc
AS
51362014-11-04 Andreas Schwab <schwab@suse.de>
5137
5138 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5139
5e4df284
AZ
51402014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5141
5142 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5143 mtvsrd instruction in binary form.
5144
04b76b5a
AS
51452014-11-03 Andreas Schwab <schwab@suse.de>
5146
5147 [BZ #17522]
5148 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5149 for less than MB_LEN_MAX use a local buffer of that size.
5150 * libio/tst-fputws.c: New file.
5151 * libio/Makefile (tests): Add tst-fputws.
5152
4c6da7da
JM
51532014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5154
5155 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5156 the size of the fpu_fr.fpu_dregs[] array.
5157
1679ba8e
JM
51582014-11-01 Joseph Myers <joseph@codesourcery.com>
5159
5160 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5161 (__nanosleep): Do not define as alias.
5162 (nanosleep): Define as alias of __nanosleep.
5163 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5164 __libc_nanosleep name.
5165
2626c183
JM
51662014-10-31 Joseph Myers <joseph@codesourcery.com>
5167
5168 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5169 install.texi in comment.
5170
7f981fc2
TR
51712014-10-31 Torvald Riegel <triegel@redhat.com>
5172
5173 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5174 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5175 ... add here and use lwsync or sync ...
5176 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5177 ... and add here using lwsync.
5178
d6f373d2
MF
51792014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5180
5181 * elf/dl-machine-reject-phdr.h: New file.
5182 * elf/dl-load.c: #include that.
5183 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5184 if that returned true.
5185
67c37987
RM
51862014-10-31 Roland McGrath <roland@hack.frob.com>
5187
5188 [BZ #17496]
5189 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5190 gen-as-const-headers chunk. Add a big scare comment after the last
5191 safe place to touch before-compile.
5192
94a42455 51932014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5194
f3f5d895
JM
5195 * manual/install.texi (Tools for Compilation): Update autoconf
5196 version requirements.
5197 * INSTALL: Regenerated.
5198
f62ff286
JM
5199 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5200 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5201 (__libc_pselect): Likewise.
94a42455
JM
5202
5203 [BZ #14138]
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5208
ff9dbdc0
TR
52092014-10-31 Torvald Riegel <triegel@redhat.com>
5210
5211 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5212 correct barrier instruction.
5213 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5214 Likewise.
5215 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5216 Likewise.
5217
b4f66884
RM
52182014-10-30 Roland McGrath <roland@hack.frob.com>
5219
5220 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5221 after defining inlines. Instead, just use parens to defeat macro
5222 expansion of __isctype in its declaration.
5223
e19c95fd
JM
52242014-10-30 Joseph Myers <joseph@codesourcery.com>
5225
5226 * include/sys/uio.h (__libc_readv): Remove declaration.
5227 (__libc_writev): Likewise.
5228 * misc/readv.c (__libc_readv): Rename to __readv.
5229 (__readv): Do not define as alias.
5230 (readv): Define as alias of __readv.
5231 * misc/writev.c (__libc_writev): Rename to __writev.
5232 (__writev): Do not define as alias.
5233 (writev): Define as alias of __writev.
5234 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5235 (__readv): Do not define as alias.
5236 (readv): Define unconditionally as alias of __readv.
5237 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5238 (__writev): Do not define as alias.
5239 (writev): Define unconditionally as alias of __writev.
5240 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5241 name.
5242 (writev): Do not define __libc_writev name.
5243
65b00b6c
RM
52442014-10-30 Roland McGrath <roland@hack.frob.com>
5245
5246 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5247 (convert_charseq): New function, broken out of ...
5248 (use_from_charmap): ... here. Call it.
5249 (use_to_charmap): Use convert_charseq and free instead of duplicating
5250 its code with a variable-length stack struct.
5251
d4e157aa
JM
52522014-10-30 Joseph Myers <joseph@codesourcery.com>
5253
5254 * include/fcntl.h (__libc_creat): Remove declaration.
5255 * io/creat.c (__libc_creat): Rename to creat.
5256 (creat): Do not define as alias.
5257 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5258 of creat instead of __libc_creat.
5259 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5260 to creat.
5261 (creat): Do not define as alias.
5262 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5263 __libc_creat.
5264 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5265 __libc_creat name.
5266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5267 Likewise.
5268
0c6891a0
CD
52692014-10-29 Carlos O'Donell <carlos@redhat.com>
5270
5271 * manual/llio.texi: Add comments discussing why write() may be
5272 considered MT-unsafe on Linux.
5273
cc00cece
CD
52742014-10-28 Carlos O'Donell <carlos@redhat.com>
5275
5276 * dl-load.c (local_strdup): Remove.
5277 (expand_dynamic_string_token): Use __strdup.
5278 (decompose_rpath): Likewise.
5279 (_dl_map_object): Likewise.
5280
51e623f2
JM
52812014-10-28 Joseph Myers <joseph@codesourcery.com>
5282
5283 [BZ #14132]
5284 * sysdeps/generic/unwind-dw2-fde.c
5285 (__register_frame_info_bases_internal): Do not declare.
5286 (__register_frame_info_table_bases_internal): Likewise.
5287 (__deregister_frame_info_bases_internal): Likewise.
5288 (__register_frame_info_bases): Declare and use hidden_proto before
5289 definition. Use hidden_def instead of INTDEF.
5290 (__register_frame_info_table_bases): Likewise.
5291 (__deregister_frame_info_bases): Likewise.
5292 (__register_frame_info): Do not use INTUSE.
5293 (__register_frame): Likewise.
5294 (__register_frame_info_table): Likewise.
5295 (__register_frame_table): Likewise.
5296 (__deregister_frame_info): Likewise.
5297 (__deregister_frame): Likewise.
5298
03d41216
GC
52992014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5300
5301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5302 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5303 not undefine.
5304 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5305 Likewise.
5306 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5307 Likewise.
5308
a4b3624d
JM
53092014-10-27 Joseph Myers <joseph@codesourcery.com>
5310
5311 [BZ #14138]
5312 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5313 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5314 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5315 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5316 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5317 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5318 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5319 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5320 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5321 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5322 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5324 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5325 syscall.
5326 (setfsuid): Likewise.
5327 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5328 (setfsuid): Likewise.
5329 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5330 (setfsuid): Likewise.
5331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5332 Likewise.
5333 (setfsuid): Likewise.
5334 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5335 (setfsuid): Likewise.
5336 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5337 Likewise.
5338 (setfsuid): Likewise.
5339
3574f2fd
AS
53402014-10-27 Andreas Schwab <schwab@suse.de>
5341
5342 [BZ #17501]
5343 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5344 check for Slow_SSE4_2 feature bit.
5345 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5346 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5347 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5348 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5349
70996a37
RM
53502014-10-24 Roland McGrath <roland@hack.frob.com>
5351
461a7b1e
RM
5352 * configure.ac: Validate compiler version with a empirical test of
5353 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5354 $CC -v output.
5355 * configure: Regenerated.
5356
70996a37
RM
5357 * inet/htons.c (htons): Prototypify.
5358 * inet/htonl.c (htonl): Likewise.
5359
e80514b5
WD
53602014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5361
5362 * string/strncat.c (strncat): Improve performance by using strlen.
5363
6e46de42
WD
53642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5365
5366 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5367
6a9ad2fa
WD
53682014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5369
5370 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5371 Call libc_fetestexcept_aarch64.
5372
1c8810ed
WD
53732014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5374
5375 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5376 Call libc_feholdexcept_aarch64.
5377
8b1af712
WD
53782014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5379
5380 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5381 Call get_rounding_mode.
5382
a7b00c11
WD
53832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5384
5385 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5386 Simplify logic.
5387
3a84f1a6
WD
53882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5389
5390 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5391 Simplify logic.
5392
48eb7a94
JM
53932014-10-24 Joseph Myers <joseph@codesourcery.com>
5394
c8bc4038
JM
5395 [BZ #14138]
5396 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5397 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5398 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5399 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5400 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5401 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5402 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5403 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5404 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5405 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5406 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5407 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5408 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5409 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5410 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5411 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5412 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5413 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5414 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5415 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5416 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5417 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5418 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5419 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5420 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5421 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5422 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5423 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5424 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5425 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5426 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5427 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5428 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5429 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5430 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5431 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5432 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5433 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5434 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5435 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5436 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5437 syscall.
5438 (geteuid): Likewise.
5439 (getgid): Likewise.
5440 (getuid): Likewise.
5441 (getresgid): Likewise.
5442 (getresuid): Likewise.
5443 (getgroups): Likewise.
5444 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5445 (geteuid): Likewise.
5446 (getgid): Likewise.
5447 (getuid): Likewise.
5448 (getresgid): Likewise.
5449 (getresuid): Likewise.
5450 (getgroups): Likewise.
5451 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5452 (geteuid): Likewise.
5453 (getgid): Likewise.
5454 (getuid): Likewise.
5455 (getresgid): Likewise.
5456 (getresuid): Likewise.
5457 (getgroups): Likewise.
5458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5459 Likewise.
5460 (geteuid): Likewise.
5461 (getgid): Likewise.
5462 (getuid): Likewise.
5463 (getresgid): Likewise.
5464 (getresuid): Likewise.
5465 (getgroups): Likewise.
5466 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5467 (geteuid): Likewise.
5468 (getgid): Likewise.
5469 (getuid): Likewise.
5470 (getresgid): Likewise.
5471 (getresuid): Likewise.
5472 (getgroups): Likewise.
5473 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5474 Likewise.
5475 (geteuid): Likewise.
5476 (getgid): Likewise.
5477 (getuid): Likewise.
5478 (getgroups): Likewise.
5479
48eb7a94
JM
5480 [BZ #14138]
5481 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5482 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5483 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5485 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5486 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5487 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5488 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5489 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5490 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5491 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5492 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5493 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5494 __chown.
5495 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5496 (lchown): Likewise.
5497 (fchown): Likewise.
5498 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5499 Likewise.
5500 (lchown): Likewise.
5501 (fchown): Likewise.
5502 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5503 (lchown): Likewise.
5504 (fchown): Likewise.
5505 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5506 Likewise.
5507 (lchown): Likewise.
5508 (fchown): Likewise.
5509
ea9a7c8b
WD
55102014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5511
5512 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5513 Simplify logic.
5514
e226de33
WD
55152014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5516
5517 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5518 Cleanup logic.
5519
6e3d8ed3
WD
55202014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5521
5522 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5523 Remove unused include.
5524
eb04247d
WD
55252014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5526
5527 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5528 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5529 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5530 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5531
13d84554
CD
55322014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5533 Helge Deller <deller@gmx.de>
5534
5535 [BZ #17508]
5536 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5537 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5538 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5539
15f9c5df
JM
55402014-10-23 Joseph Myers <joseph@codesourcery.com>
5541
5542 [BZ #14132]
5543 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5544 Remove macro definition.
5545 (__ashrdi3_v_glibc20): Likewise.
5546 (__lshrdi3_v_glibc20): Likewise.
5547 (__cmpdi2_v_glibc20): Likewise.
5548 (__ucmpdi2_v_glibc20): Likewise.
5549 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5550 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5551 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5552 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5553 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5554 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5555
c6dfed24
RM
55562014-10-22 Roland McGrath <roland@hack.frob.com>
5557
5558 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5559 old GNU extension [0] syntax.
5560 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5561 alloca rather than an array member with variable length.
5562 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5563 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5564 (parse_opt): ... here. Likewise use alloca there.
5565 Validate the -i argument before checking for rootness.
5566 (send_shutdown): New function, broken out of ...
5567 (parse_opt): ... here.
5568
8c2b1ed8
RM
55692014-10-22 Roland McGrath <roland@hack.frob.com>
5570
5571 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5572 macro to get at the _rt_local_ro field.
5573 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5574 ([PIC] case) or _dl_hwcap ([!PIC] case).
5575 * sysdeps/arm/setjmp.S: Likewise.
5576
5577 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5578 * sysdeps/arm/configure.ac: New check to define it.
5579 * sysdeps/arm/configure: Regenerated.
5580 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5581 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5582 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5583 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5584 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5585 Use move/movt pair instead of a load.
5586 (LDST_GLOBAL): Macro removed.
5587 (LDR_GLOBAL): New macro replaces it.
5588 (LDR_HIDDEN): New macro.
5589 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5590 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5591
5592 * setjmp/tst-setjmp-static.c: New file.
5593 * setjmp/Makefile (tests): Add it.
5594 (tests-static): New variable.
5595
b5af9297
MR
55962014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5597
5598 [BZ #17485]
5599 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5600
a13d0d74
JM
56012014-10-21 Joseph Myers <joseph@codesourcery.com>
5602
5603 [BZ #14132]
5604 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5605
f05e73f6
RM
56062014-10-21 Roland McGrath <roland@hack.frob.com>
5607
5608 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5609
6ab1d1ea
RM
56102014-10-20 Roland McGrath <roland@hack.frob.com>
5611
5612 * io/fts.c (dirent_not_directory): New function.
5613 (fts_build): Call it.
5614
ab49e763
RM
56152014-10-20 Roland McGrath <roland@hack.frob.com>
5616
e436eb79
RM
5617 * nptl/version.c (__nptl_main): Use normal __write rather than
5618 INTERNAL_SYSCALL.
5619 (banner): Update copyright years.
5620
6af246cf
RM
5621 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5622 gettimeofday.
5623 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5624 * nptl/pthread_cond_timedwait.c: Likewise.
5625 * nptl/pthread_mutex_timedlock.c: Likewise.
5626 * nptl/sem_timedwait.c: Likewise.
5627
ab49e763
RM
5628 * sysdeps/nptl/bits/libc-lock.h
5629 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5630 (__libc_lock_init_recursive): Return void, not 0.
5631 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5632 (__libc_rwlock_init): Likewise.
5633 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5634
f50277c1
TR
56352014-10-20 Torvald Riegel <triegel@redhat.com>
5636
5637 [BZ #15215]
5638 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5639 (__pthread_once_slow): ... here.
5640 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5641 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5642
63668b70
TR
56432014-10-20 Torvald Riegel <triegel@redhat.com>
5644
5645 [BZ #15215]
5646 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5647 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5648 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5649 * nptl/pthread_once.c (__pthread_once): Likewise.
5650 Update comments.
5651
42b7f5d4
JM
56522014-10-20 Joseph Myers <joseph@codesourcery.com>
5653
5654 [BZ #14138]
5655 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5656 name.
5657 (writev): Use __libc_writev as strong name.
5658 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5659 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5660
b0643088
RM
56612014-10-17 Roland McGrath <roland@hack.frob.com>
5662
114c4e09
RM
5663 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5664
674b8978
RM
5665 * sysdeps/i386/nptl/tls.h
5666 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5667 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5668 New macros.
5669 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5670 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5671 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5672 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5673 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5674 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5675
184ee940
RM
5676 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5677 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5678 on [__NR_futex].
5679 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5680 broken out of ...
5681 (__pthread_mutex_init): ... here. Call it.
5682 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5683 Conditionalize PI cases on [__NR_futex].
5684 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5685 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5686 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5687
327ae257
RM
5688 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5689 conditional on [SIGSETXID].
5690 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5691 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5692 is defined. Likewise for SIGSETXID.
5693 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5694 Conditionalize definitions on [SIGSETXID].
5695 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5696 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5697 unblocking on [SIGCANCEL].
5698
b0643088
RM
5699 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5700 [__NR_set_robust_list].
5701
33cc770b
SP
57022014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5703
5704 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5705 (do_compare): Likewise.
5706
0742aef6
LH
57072014-10-17 Leonhard Holz <leonhard.holz@web.de>
5708
5709 [BZ #15884]
5710 * string/strcoll_l.c: Don't include stdio.h.
5711 (coll_seq): Remove members idxarr and rulearr.
5712 (get_next_seq_cached): Remove function.
5713 (get_next_seq): Likewise.
5714 (get_next_seq_nocache): Rename to get_next_seq.
5715 (do_compare): Remove function.
5716 (do_compare_nocache): Rename to do_compare.
5717 (STRCOLL): Remove weight and rules cache.
5718
ee54ce44
RM
57192014-10-16 Roland McGrath <roland@hack.frob.com>
5720
5721 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5722 * sysdeps/arm/sfp-machine.h: ... to here.
5723 * sysdeps/arm/Implies: Remove arm/soft-fp.
5724
a75d3b02
JM
57252014-10-14 Joseph Myers <joseph@codesourcery.com>
5726
5727 * conform/data/sys/utsname.h-data (*_t): Allow.
5728 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5729 [POSIX] (WEXITED): Do not expect constant.
5730 [POSIX] (WSTOPPED): Likewise.
5731 [POSIX] (WNOHANG): Likewise.
5732 [POSIX] (WNOWAIT): Likewise.
5733 [POSIX] (siginfo_t): Do not expect type or elements.
5734 [POSIX] (pid_t): Do not expect type.
5735 [POSIX] (signal.h): Do not allow header.
5736 [POSIX] (sys/resource.h): Likewise.
5737 [POSIX] (si_*): Do not allow pattern.
5738 [POSIX] (W*): Likewise.
5739 [POSIX] (P_*): Likewise.
5740 [POSIX] (BUS_*): Likewise.
5741 [POSIX] (CLD_*): Likewise.
5742 [POSIX] (FPE_*): Likewise.
5743 [POSIX] (ILL_*): Likewise.
5744 [POSIX] (POLL_*): Likewise.
5745 [POSIX] (SEGV_*): Likewise.
5746 [POSIX] (SI_*): Likewise.
5747 [POSIX] (TRAP_*): Likewise.
5748 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5749 variable.
5750
fda389c8
SP
57512014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5752
5753 [BZ #12926]
5754 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5755 infinite loop when __recvmsg returns 0.
5756
6bc6bd3b
JM
57572014-10-10 Joseph Myers <joseph@codesourcery.com>
5758
fcb32af1
JM
5759 * CANCEL-FCT-WAIVE: Remove file.
5760 * CANCEL-FILE-WAIVE: Likewise.
5761
6bc6bd3b
JM
5762 [BZ #14132]
5763 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5764 instead of INTVARDEF.
5765 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5766 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5767 rtld_hidden_data_def instead of INTVARDEF.
5768 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5769 * elf/dl-deps.c (expand_dst): Likewise.
5770 * elf/dl-load.c (_dl_dst_count): Likewise.
5771 (_dl_dst_substitute): Likewise.
5772 (decompose_rpath): Likewise.
5773 (_dl_init_paths): Likewise.
5774 (open_path): Likewise.
5775 (_dl_map_object): Likewise.
5776 * elf/rtld.c (dl_main): Likewise.
5777 (process_dl_audit): Likewise.
5778 (process_envvars): Likewise.
5779 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5780 Remove declaration.
5781 (__libc_enable_secure): Use rtld_hidden_proto.
5782
b8c80a7e
KS
57832014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5784
5785 * elf/dl-load.c
5786 (add_path): New function broken out of _dl_rtld_di_serinfo.
5787 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5788
ff12c11f
JM
57892014-10-09 Joseph Myers <joseph@codesourcery.com>
5790
5c0508a3
JM
5791 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5792 parentheses around macro arguments.
5793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5794 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5796 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5798 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5799 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5800 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5801 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5802 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5804 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5805 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5806 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5807 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5808 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5809 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5810 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5813 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5816 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5817 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5818 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5819 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5822 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5823 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5824 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5825 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5826 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5827 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5828 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5829 Likewise.
5830 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5831 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5832 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5834 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5835 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5836 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5837 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5838 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5839 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5840 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5841 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5842 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5843 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5847 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5851 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5852 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5853 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5855 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5856 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5857 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5858 (_FP_FRAC_SRS_1): Likewise.
5859 (_FP_FRAC_CLZ_1): Likewise.
5860 (_FP_MUL_MEAT_1_imm): Likewise.
5861 (_FP_MUL_MEAT_1_wide): Likewise.
5862 (_FP_MUL_MEAT_1_hard): Likewise.
5863 (_FP_SQRT_MEAT_1): Likewise.
5864 (_FP_FRAC_ASSEMBLE_1): Likewise.
5865 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5866 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5867 (__FP_CLZ_2): Likewise.
5868 (_FP_MUL_MEAT_2_wide): Likewise.
5869 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5870 (_FP_MUL_MEAT_2_gmp): Likewise.
5871 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5872 (_FP_SQRT_MEAT_2): Likewise.
5873 (_FP_FRAC_ASSEMBLE_2): Likewise.
5874 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5875 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5876 (_FP_FRAC_CLZ_4): Likewise.
5877 (_FP_MUL_MEAT_4_wide): Likewise.
5878 (_FP_MUL_MEAT_4_gmp): Likewise.
5879 (_FP_SQRT_MEAT_4): Likewise.
5880 (_FP_FRAC_ASSEMBLE_4): Likewise.
5881 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5882 * soft-fp/op-common.h (_FP_CMP): Likewise.
5883 (_FP_CMP_EQ): Likewise.
5884 (_FP_CMP_UNORD): Likewise.
5885 (_FP_TO_INT): Likewise.
5886 (_FP_FROM_INT): Likewise.
5887 [!__FP_CLZ] (__FP_CLZ): Likewise.
5888 (_FP_DIV_HELP_imm): Likewise.
5889 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5890 Likewise.
5891 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5892 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5894 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5896 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5897 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5898 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5899 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5900 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5901 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5902 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5903 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5904 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5905 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5906 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5907 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5908 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5909 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5910 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5914 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5915 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5916 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5918 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5920 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5921 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5922 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5923 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5924 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5925 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5926 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5927 (FP_UNPACK_RAW_SP): Likewise.
5928 (FP_PACK_RAW_S): Likewise.
5929 (FP_PACK_RAW_SP): Likewise.
5930 (FP_UNPACK_S): Likewise.
5931 (FP_UNPACK_SP): Likewise.
5932 (FP_UNPACK_SEMIRAW_S): Likewise.
5933 (FP_UNPACK_SEMIRAW_SP): Likewise.
5934 (FP_PACK_S): Likewise.
5935 (FP_PACK_SP): Likewise.
5936 (FP_PACK_SEMIRAW_S): Likewise.
5937 (FP_PACK_SEMIRAW_SP): Likewise.
5938 (_FP_SQRT_MEAT_S): Likewise.
5939 (FP_CMP_S): Likewise.
5940 (FP_CMP_EQ_S): Likewise.
5941 (FP_CMP_UNORD_S): Likewise.
5942 (FP_TO_INT_S): Likewise.
5943 (FP_FROM_INT_S): Likewise.
5944
a736ec37
JM
5945 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5946
ff12c11f
JM
5947 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5948 (FP_EX_INVALID_IMZ): Likewise.
5949 (FP_EX_INVALID_IMZ_FMA): Likewise.
5950 (FP_EX_INVALID_ISI): Likewise.
5951 (FP_EX_INVALID_ZDZ): Likewise.
5952 (FP_EX_INVALID_IDI): Likewise.
5953 (FP_EX_INVALID_SQRT): Likewise.
5954 (FP_EX_INVALID_CVI): Likewise.
5955 (FP_EX_INVALID_VC): Likewise.
5956 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5957 "invalid" exceptions.
5958 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5959 (_FP_ADD_INTERNAL): Likewise.
5960 (_FP_MUL): Likewise.
5961 (_FP_FMA): Likewise.
5962 (_FP_DIV): Likewise.
5963 (_FP_CMP_CHECK_NAN): Likewise.
5964 (_FP_SQRT): Likewise.
5965 (_FP_TO_INT): Likewise.
5966 (FP_EXTEND): Likewise.
5967
b6dcfe8c
AM
59682014-10-09 Allan McRae <allan@archlinux.org>
5969
5970 * po/fr.po: Update French translation from translation project.
5971
2d6a47ba
JM
59722014-10-09 Joseph Myers <joseph@codesourcery.com>
5973
cb831245
JM
5974 [BZ #14132]
5975 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5976 of INTDEF.
5977 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5978 (__cxa_atexit): Use libc_hidden_proto.
5979 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5980
5deeb190
JM
5981 [BZ #14132]
5982 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5983 declaration.
5984 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5985 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5986 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5987 [!_ISOMAC] (__iswctype_internal): Likewise.
5988 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5989 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5990 alias.
5991 (fcntl): Remove __fcntl_internal alias.
5992 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5993 __connect_internal alias.
5994 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5995 Likewise.
5996
454ac701
JM
5997 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5998 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5999 FP_DENORM_ZERO.
6000 (_FP_CHECK_FLUSH_ZERO): New macro.
6001 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6002 (_FP_CMP): Likewise.
6003 (_FP_CMP_EQ): Likewise.
6004 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6005 FP_DENORM_ZERO.
6006 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6007 (FP_TRUNC): Likewise.
6008
0022e688
JM
6009 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6010 treated as invalid conversion, not as normal exponent.
6011
73e28d9c
JM
6012 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6013 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6014 (_FP_CMP_EQ): Likewise.
6015 (_FP_CMP_UNORD): Likewise.
6016 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6017 (FP_CMP_EQ_D): Likewise.
6018 (FP_CMP_UNORD_D): Likewise.
6019 * soft-fp/extended.h (FP_CMP_E): Likewise.
6020 (FP_CMP_EQ_E): Likewise.
6021 (FP_CMP_UNORD_E): Likewise.
6022 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6023 (FP_CMP_EQ_Q): Likewise.
6024 (FP_CMP_UNORD_Q): Likewise.
6025 * soft-fp/single.h (FP_CMP_S): Likewise.
6026 (FP_CMP_EQ_S): Likewise.
6027 (FP_CMP_UNORD_S): Likewise.
6028 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6029 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6030 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6031 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6032 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6033 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6034 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6035 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6036 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6037 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6038 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6039 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6040 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6041 to FP_CMP_Q.
6042 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6043 FP_CMP_Q.
6044 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6045 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6046 FP_CMP_EQ_Q.
6047 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6048 FP_CMP_Q.
6049 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6050 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6051 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6052 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6053 FP_CMP_EQ_Q.
6054 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6055 FP_CMP_Q.
6056 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6057 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6058 FP_CMP_EQ_Q.
6059 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6060 FP_CMP_Q.
6061 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6062 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6063 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6064 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6065 FP_CMP_EQ_Q.
6066
43059f42
JM
6067 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6068 a subnormal result, set the underflow exception if trapping on
6069 underflow is enabled.
6070 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6071 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6072 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6073 redefine to 0.
6074 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6075 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6076 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6077 * soft-fp/extendxftf2.c (__extendxftf2): Use
6078 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6079
2d6a47ba
JM
6080 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6081 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6082 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6083 FP_HANDLE_EXCEPTIONS.
6084 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6085 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6086 FP_HANDLE_EXCEPTIONS.
6087 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6088 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6089 FP_HANDLE_EXCEPTIONS.
6090 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6091 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6092 FP_HANDLE_EXCEPTIONS.
6093
620f462e
JM
60942014-10-08 Joseph Myers <joseph@codesourcery.com>
6095
6096 [BZ #14132]
6097 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6098 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6099 use INTUSE.
6100 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6101 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6102 Remove alias.
6103 (__adjtimex): Define using libc_hidden_ver.
6104 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6105 Remove declaration.
6106 (ntp_gettime): Call __adjtimex directly.
6107 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6108 Remove declaration.
6109 (ntp_gettimex): Call __adjtimex directly.
6110 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6111 __adjtimex_internal alias.
6112
c763c5d2
RM
61132014-10-08 Roland McGrath <roland@hack.frob.com>
6114
6115 [BZ #17460]
6116 * nscd/nscd.c (more_help): Rewrite list of tables collection
6117 using xstrdup and asprintf.
6118
6119 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6120
7b8fb2b8
RM
61212014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6122 Roland McGrath <roland@hack.frob.com>
6123
6124 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6125 (do_lookup_unique): ... local function 'enter' here; update callers.
6126
abb280f7
JM
61272014-10-06 Joseph Myers <joseph@codesourcery.com>
6128
f7b42517
JM
6129 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6130 compat_symbol calls on [SHARED].
6131 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6132 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6133 Remove.
6134 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6135 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6136 (oldsetrlimit): Remove.
6137 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6139 (lchown): New syscall entry.
6140 (oldsetrlimit): Remove.
6141 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6143 (oldsetrlimit): Remove.
6144 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6145
abb280f7
JM
6146 [BZ #14138]
6147 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6148 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6149 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6150 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6151 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6152 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6153 (fchown): Likewise.
6154 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6155 (fchown): Likewise.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6157 Likewise.
6158
47d46237
AZ
61592014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6160
6161 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6162 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6163 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6164 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6165 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6166 Likewise.
6167 (__old_sem_post): Likewise.
6168
61692014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6170
845a7343
CM
6171 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6172 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6173 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6174 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6175 Use INLINE_VSYSCALL macro.
6176 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6177 __vdso_clock_gettime.
6178 * sysdeps/unix/sysv/linux/tile/init-first.c
6179 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6180 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6181 __vdso_clock_gettime.
6182
83d641ef
CM
6183 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6184 to set up frame more cleanly.
6185
d9cd52e6
CM
6186 * sysdeps/tile/memcmp.c: New file.
6187
4b68ea11
CM
6188 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6189
c86f7b80
CM
6190 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6191 * sysdeps/tile/tilegx/strcasestr.c: New file.
6192 * sysdeps/tile/tilegx/strnlen.c: New file.
6193 * sysdeps/tile/tilegx/strstr.c: New file.
6194
1c4c1a6f
CM
6195 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6196
99d86ea3
AS
61972014-10-06 Arjun Shankar <arjun.is@lostca.se>
6198
6199 * nptl/tst-setuid3.c: Write errors to stdout.
6200
06210a44
KS
62012014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6202
6203 * elf/dl-deps.c
6204 (preload): New functions broken out of _dl_map_object_deps.
6205 (_dl_map_object_deps): Remove a nested function. Update call sites.
6206
6268f532
JM
62072014-10-01 Joseph Myers <joseph@codesourcery.com>
6208
6209 [BZ #14138]
6210 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6211 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6212
b925285f
SE
62132014-10-01 Steve Ellcey <sellcey@mips.com>
6214
6215 * sysdeps/mips/strcmp.S: New.
6216
754a15c6
JM
62172014-09-30 Joseph Myers <joseph@codesourcery.com>
6218
6219 [BZ #14138]
6220 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6221 (linkat): Likewise.
6222 (mkdirat): Likewise.
6223 (readlinkat): Likewise.
6224 (renameat): Likewise.
6225 (symlinkat): Likewise.
6226 (unlinkat): Likewise.
6227 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6228 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6229 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6230 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6231 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6232 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6233 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6234
85bb81c9
WN
62352014-09-30 Will Newton <will.newton@linaro.org>
6236
dc6fe23b
WN
6237 * math/math.h: Define long double math functions if
6238 _LIBC_TEST is defined.
6239 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6240
85bb81c9
WN
6241 * localedata/Makefile: Move assignment to tests-special
6242 into an ifdef testing run-built-tests.
6243 * timezone/Makefile: Likewise.
6244
b7e02da4
JM
62452014-09-29 Joseph Myers <joseph@codesourcery.com>
6246
6247 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6248 with $(BASH) not $(SHELL).
6249
62058ce6
CD
62502014-09-29 Carlos O'Donell <carlos@redhat.com>
6251 Matthew LeGendre <legendre1@llnl.gov>
6252
6253 [BZ #17411]
6254 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6255 l_reloc_result.
6256
8e257a29
KS
62572014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6258
6259 * stdio-common/printf_fp.c
6260 (hack_digit): New function, broken out of ...
6261 (__printf_fp): ... local function here. Update call sites.
6262 hack_digit now takes an additional parameter that is a pointer
6263 to a struct of the referenced locals. Those locals moved inside
6264 the struct and references updated.
6265
f4a58f0d
L
62662014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6267
6268 * aclocal.m4: Require autoconf 2.69.
6269 * configure: Regenerated.
6270 * sysdeps/aarch64/configure: Likewise.
6271 * sysdeps/alpha/configure: Likewise.
6272 * sysdeps/arm/armv7/configure: Likewise.
6273 * sysdeps/arm/configure: Likewise.
6274 * sysdeps/ia64/configure: Likewise.
6275 * sysdeps/mach/configure: Likewise.
6276 * sysdeps/mips/configure: Likewise.
6277 * sysdeps/s390/configure: Likewise.
6278 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6280
6281 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6282 file.
6283 * sysdeps/ia64/configure.ac: Likewise.
6284
93ae1eba
JM
62852014-09-26 Joseph Myers <joseph@codesourcery.com>
6286
1810d3ab
JM
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6288 specify symbol version for ld.so. Do not include entry for
6289 libpthread.
6290 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6292 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6293
93ae1eba
JM
6294 [BZ #14171]
6295 * Makeconfig [$(build-shared) = yes]
6296 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6297 makefiles.
6298 [$(build-shared) = yes && $(soversions.mk-done) = t]
6299 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6300 [$(build-shared) = yes && $(soversions.mk-done) = t]
6301 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6302 to Makerules.
6303 [$(build-shared) = yes && $(soversions.mk-done) = t]
6304 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6305 here.
6306 [$(build-shared) = yes && $(soversions.mk-done) = t]
6307 (common-generated): Don't append gnu/lib-names.h and
6308 gnu/lib-names.stmp here.
6309 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6310 (lib-names-h-abi): New variable.
6311 [$(build-shared) = yes && $(soversions.mk-done) = t]
6312 (lib-names-stmp-abi): Likewise.
6313 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6314 abi-variants] (before-compile): Append
6315 $(common-objpfx)$(lib-names-h-abi).
6316 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6317 abi-variants] (common-generated): Append gnu/lib-names.h.
6318 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6319 abi-variants] (install-others-nosubdir): Depend on
6320 $(inst_includedir)/$(lib-names-h-abi).
6321 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6322 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6323 [$(build-shared) = yes && $(soversions.mk-done) = t]
6324 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6325 [$(build-shared) = yes && $(soversions.mk-done) = t]
6326 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6327 [$(build-shared) = yes && $(soversions.mk-done) = t]
6328 (common-generated): Append $(lib-names-h-abi) and
6329 $(lib-names-stmp-abi).
6330 * scripts/lib-names.awk: Do not handle multi being set.
6331 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6332 Remove variable.
6333 (abi-lp64_be-ld-soname): Likewise.
6334 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6335 Likewise.
6336 (abi-hard-ld-soname): Likewise.
6337 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6338 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6339 Remove variable.
6340 (abi-o32_hard-ld-soname): Likewise.
6341 (abi-o32_soft_2008-ld-soname): Likewise.
6342 (abi-o32_hard_2008-ld-soname): Likewise.
6343 (abi-n32_soft-ld-soname): Likewise.
6344 (abi-n32_hard-ld-soname): Likewise.
6345 (abi-n32_soft_2008-ld-soname): Likewise.
6346 (abi-n32_hard_2008-ld-soname): Likewise.
6347 (abi-n64_soft-ld-soname): Likewise.
6348 (abi-n64_hard-ld-soname): Likewise.
6349 (abi-n64_soft_2008-ld-soname): Likewise.
6350 (abi-n64_hard_2008-ld-soname): Likewise.
6351 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6352 Likewise.
6353 (abi-64-v2-ld-soname): Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6355 ld.so entries.
6356 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6357 variable.
6358 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6359 entry.
6360 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6361 variable.
6362 (abi-64-ld-soname): Likewise.
6363 (abi-x32-ld-soname): Likewise.
6364 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6365 entry.
6366 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6367
68870f12
JM
63682014-09-23 Joseph Myers <joseph@codesourcery.com>
6369
6370 [BZ #14138]
6371 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6372 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6373 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6374 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6375 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6376 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6377 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6378 syscall entry for GLIBC_2.2 symbol version.
6379 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6380 Likewise.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6382 (setrlimit): Likewise.
6383 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6384 Likewise.
6385
ea58f202
WN
63862014-09-23 Will Newton <will.newton@linaro.org>
6387
6388 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6389 _LINUX_ARM_SYSDEP_H include guard too.
6390 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6391 define.
6392
69eb9a18
RV
63932014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6394
6395 * sysdeps/unix/sysv/linux/eventfd.c:
6396 Make first argument unsigned.
6397 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6398 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6399
20e5a5f7
OB
64002014-09-20 Ondřej Bílka <neleai@seznam.cz>
6401
6402 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6403 * socket/sys/socket.h: Likewise
6404 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6405
d3c827e7
AK
64062014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6407
6408 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6409
fe1cc35a
AS
64102014-09-17 Arjun Shankar <arjun.is@lostca.se>
6411
6412 * time/tst-ftime.c: New test.
6413 * time/Makefile (tests): Add tst-ftime.
6414
4e8afe69
JM
64152014-09-17 Joseph Myers <joseph@codesourcery.com>
6416
c4fe3ea7
JM
6417 * soft-fp/extended.h: Fix comment formatting.
6418 * soft-fp/op-1.h: Likewise.
6419 * soft-fp/op-2.h: Likewise.
6420 * soft-fp/op-4.h: Likewise.
6421 * soft-fp/op-8.h: Likewise.
6422 * soft-fp/op-common.h: Likewise.
6423 * soft-fp/soft-fp.h: Likewise.
6424
4e8afe69
JM
6425 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6426
af296fcd
JM
64272014-09-16 Joseph Myers <joseph@codesourcery.com>
6428
6429 [BZ #6652]
6430 * Makeconfig (soversions-default-setname): Remove variable.
6431 ($(common-objpfx)soversions.i): Don't pass default_setname to
6432 soversions.awk.
6433 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6434 oldest_abi to abi-versions.awk.
6435 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6436 * config.make.in (oldest-abi): Remove variable.
6437 * configure.ac (--enable-oldest-abi): Remove configure option.
6438 * configure: Regenerated.
6439 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6440 text.
6441 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6442 * scripts/soversions.awk: Do not handle default_setname variable.
6443 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6444 variable.
6445 * sysdeps/mach/hurd/configure: Regenerated.
6446 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6447 variable.
6448 * sysdeps/unix/sysv/linux/configure: Regenerated.
6449
545583d6
SP
64502014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6451
d330b980
SP
6452 * elf/Makefile (CFLAGS-interp.c): Remove.
6453 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6454 path string.
6455 * elf/interp.c: Include generated runtime-linker.h
6456
02657da2
SP
6457 * Makerules (lib%.so): Don't include $(+interp) in
6458 prerequisites.
6459 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6460 * dlfcn/eval.c: Remove file.
6461
653b1080
SP
6462 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6463 macros.
6464
602f80ec
SP
6465 [BZ #17266]
6466 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6467 4.2 and newer.
6468
545583d6
SP
6469 [BZ #17370]
6470 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6471
884ddc50
SP
64722014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6473 Jakub Jelinek <jakub@redhat.com>
6474
6475 [BZ #17266]
6476 * libio/stdio.h: Check definition of __fortify_function
6477 instead of __extern_always_inline to include bits/stdio2.h.
6478 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6479 check if __extern_always_inline is defined.
6480 [__USE_MISC || __USE_XOPEN]: Likewise.
6481 [__USE_ISOC99] Likewise.
6482 * misc/sys/cdefs.h (__fortify_function): Define only if
6483 __extern_always_inline is defined.
6484 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6485 __extern_always_inline and __extern_inline only for g++-4.3
6486 and newer or a compatible gcc.
6487
a7b87268
AS
64882014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6489
6490 [BZ #17371]
6491 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6492 last change to handle zero prefix length.
6493
3f41521d
SP
64942014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6495
61fe374a
SP
6496 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6497 _SC_REGEX_VERSION.
6498
3f41521d
SP
6499 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6500 _POSIX_RAW_SOCKETS.
6501
d8f879ee
AM
65022014-09-13 Allan McRae <allan@archlinux.org>
6503
6504 * po/ru.po: Update Russian translation from translation project.
6505
c079afb7
RM
65062014-09-12 Roland McGrath <roland@hack.frob.com>
6507
a62b3c15
RM
6508 * locale/programs/locale.c (show_locale_vars): Inline local function
6509 into its sole call site. Clean up some style nits.
6510 (print_item): New function, broken out of ...
6511 (show_info): ... local function here. Clean up style nits.
6512
d7e49b19
RM
6513 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6514 out of ...
6515 (set_class_defaults): ... local function set_default here.
6516 Define set_default as a macro locally to pass constant parameters.
6517 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6518 rather than a shared local.
6519
c079afb7
RM
6520 * stdlib/rpmatch.c (try): New function, broken out of ...
6521 (rpmatch): ... local function here. Also, prototypify definition.
6522
0bd72468
JM
65232014-09-12 Joseph Myers <joseph@codesourcery.com>
6524
ba90e050
JM
6525 * scripts/soversions.awk: Do not handle configuration names.
6526 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6527 vendor and os variables to soversions.awk.
6528 * configure.ac: Do not modify gnu-* host_os.
6529 * configure: Regenerated
6530 * shlib-versions: Remove first column with configuration names.
6531 * nptl/shlib-versions: Likewise.
6532 * nptl_db/shlib-versions: Likewise.
6533 * sysdeps/hppa/shlib-versions: Likewise.
6534 * sysdeps/m68k/shlib-versions: Likewise.
6535 * sysdeps/mach/hurd/shlib-versions: Likewise.
6536 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6537 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6538 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6539 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6540 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6541 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6542 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6543 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6545 Likewise.
6546 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6547 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6548 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6550 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6551 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6552 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6554
73a39112
JM
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6556 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6558 Regenerated.
6559 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6561 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6562
c729e7c1
JM
6563 * shlib-versions: Remove OS-specific entries. Moved to files in
6564 sysdeps.
6565 * sysdeps/mach/hurd/shlib-versions: New file.
6566 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6567
dc932a24
JM
6568 * nptl/shlib-versions: Remove architecture-specific entries.
6569 Moved to files in sysdeps.
6570 * shlib-versions: Likewise.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6572 file.
6573 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6574 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6576 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6577
0bd72468
JM
6578 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6579 (UDP_NO_CHECK6_RX): Likewise.
6580
920238e0
SP
65812014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6582
6583 * sysdeps/posix/sysconf.c (__sysconf): Spell
6584 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6585
ba7b4d29
FW
65862014-08-12 Florian Weimer <fweimer@redhat.com>
6587
6588 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6589 loading.
6590 * iconv/Versions (__gconv_transliterate): Export for use from
6591 gconv modules.
6592 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6593 (struct __gconv_trans_data, __gconv_trans_fct,
6594 __gconv_trans_context_fct, __gconv_trans_query_fct,
6595 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6596 definitions.
6597 (struct __gconv_step_data): Remove __trans member.
6598 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6599 longer hidden. Remove unused trans_data argument.
6600 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6601 (__gconv_translit_find): Remove declaration.
6602 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6603 prototype.
6604 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6605 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6606 trans_data argument. Add hidden definition.
6607 (__gconv_translit_find): Remove.
6608 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6609 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6610 * iconv/skeleton.c: Remove transliteration initialization.
6611 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6612 __gconv_step_data initialization.
6613 * libio/iofwide.c (__libio_translit_): Remove.
6614 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6615 * wcsmbs/btowc.c (__btowc): Likewise.
6616 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6617 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6618 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6619 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6620 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6621 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6622 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6623 * wcsmbs/wctob.c (wctob): Likewise.
6624
5379aebd
SP
66252014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6626
6627 [BZ #16194]
6628 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6629 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6630 register usage.
6631 * sysdeps/x86/Makefile: Adjust.
6632
8c0ab919
RM
66332014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6634 Roland McGrath <roland@hack.frob.com>
6635
6636 * locale/weight.h: Add include guard.
6637 (findidx): Make static rather than auto; take new parameters
6638 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6639 * locale/weightwc.h: Likewise.
6640 * posix/fnmatch_loop.c
6641 (FCT): Change type of EXTRA from int32_t to wint_t.
6642 Don't include either header inside the function.
6643 Call FINDIDX rather than findidx, and pass new arguments.
6644 #undef FINDIDX at the end of the file.
6645 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6646 FINDIDX before including fnmatch_loop.c for the non-wide version.
6647 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6648 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6649 for the wide version.
6650 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6651 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6652 Pass new arguments to findidx.
6653 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6654 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6655 Don't #include it inside the function. Pass new arguments to findidx.
6656 * posix/regex_internal.h
6657 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6658 (re_string_elem_size_at): Don't #include it inside the function.
6659 Pass new arguments to findidx.
6660 * string/strcoll_l.c: #include WEIGHT_H at top level.
6661 (get_next_seq): Don't #include it inside the function.
6662 Pass new arguments to findidx.
6663 (get_next_seq_nocache): Likewise.
6664 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6665 (STRXFRM): Don't #include it inside the function.
6666 Pass new arguments to findidx.
6667
52ffbdf2
FW
66682014-09-11 Florian Weimer <fweimer@redhat.com>
6669
6670 [BZ #17344]
6671 * malloc/malloc.c (unlink): Turn asserts into a call to
6672 malloc_printerr.
6673
984c0ea9
TL
66742014-09-11 Tim Lammens <tim.lammens@gmail.com>
6675
6676 [BZ #17370]
6677 * libio/wfileops (do_ftell_wide): Free OUT.
6678
3daee107
CM
66792014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6680
6681 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6682
58b930ae
SP
66832014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6684
6685 [BZ #17363]
6686 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6687 group if the current group is empty.
6688
3b473fec
AZ
66892014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6690
71ae8647
AZ
6691 * benchtests/bench-memset.c (test_main): Add more test from size
6692 from 32 to 512 bytes.
6693 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6694 Add POWER8 memset object.
6695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6696 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6697 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6698 implementation.
6699 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6700 Likewise.
6701 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6702 multiarch POWER8 memset optimization.
6703 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6704 POWER8 memset optimization.
6705
3b473fec
AZ
6706 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6707 Remove bzero multiarch objects.
6708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6711 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6712 Remove define.
6713 [__bzero]: Redefine to specific name.
6714 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6715 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6716 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6717 define.
6718 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6719 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6720
e6fb9587
FW
67212014-09-10 Florian Weimer <fweimer@redhat.com>
6722
6723 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6724 warnings into errors.
6725
6726 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6727 __cxa_thread_atexit_impl prototype.
6728
9d3a350b
SE
67292014-09-09 Steve Ellcey <sellcey@mips.com>
6730
6731 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6732 Fix capitalization of error message.
6733
0febba23
SE
67342014-09-09 Steve Ellcey <sellcey@mips.com>
6735
6736 * sysdeps/mips/preconfigure: Modify ABI tests.
6737
645a0e9c
CD
67382014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6739
6740 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6741
d83f0734
CD
67422014-09-07 Roland McGrath <roland@hack.frob.com>
6743 Carlos O'Donell <carlos@systemhalted.org>
6744
6745 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6746 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6747 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6748 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6749 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6750 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6751 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6752 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6753 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6754 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6755 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6756 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6757 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6758 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6759 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6762 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6764 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6766 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6767 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6768 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6769 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6770 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6771 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6772 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6773 Deconditionalize the code that was previously under [RESET_PID].
6774 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6775 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6776 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6777 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6778 include sysdep.h.
6779
21c83793
AM
67802014-09-08 Allan McRae <allan@archlinux.org>
6781
6782 * version.h (RELEASE): Set to "development".
6783 (VERSION): Set to "2.20.90"
6784
1cd9b65c
AM
67852014-09-07 Allan McRae <allan@archlinux.org
6786
b8079dd0
AM
6787 * version.h (RELEASE): Set to "stable".
6788 (VERSION): Set to "2.20"
6789 * include/features.h (__GLIBC_MINOR__): Set to 20.
6790
c46303ef
AM
6791 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6792 Liebler.
6793
1cd9b65c
AM
6794 * po/ko.po: Update Korean translation from translation project.
6795
8622092d
CM
67962014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6797
6798 [BZ #17354]
6799 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6800 macro for handling signed relocations.
6801
41488498
FW
68022014-09-03 Florian Weimer <fweimer@redhat.com>
6803
6804 [BZ #17325]
6805 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6806 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6807 assert.
6808 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6809 * iconvdata/ibm935.c (BODY): Likewise.
6810 * iconvdata/ibm937.c (BODY): Likewise.
6811 * iconvdata/ibm939.c (BODY): Likewise.
6812 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6813 assert.
6814 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6815 script.
6816 * iconvdata/run-iconv-test.sh: New test loop for checking for
6817 decoder crashers.
6818
a78b712d
KR
68192014-09-02 Khem Raj <raj.khem@gmail.com>
6820
6821 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6822 libm_hidden_ver.
6823
cb08abc6
AM
68242014-09-01 Allan McRae <allan@archlinux.org>
6825
2c31e102
AM
6826 * po/eo.po: Update Esperanto translation from translation project.
6827
cb08abc6
AM
6828 * po/ca.po: Update Catalan translation from translation project.
6829
17a62de1
ST
68302014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6831
6832 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6833 __proc_dostop call.
6834
9570bc53
MW
68352014-08-27 Mark Wielaard <mjw@redhat.com>
6836
6837 [BZ #17319]
6838 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6839 to call set_thread_area instead of hand written asm.
6840 (__NR_set_thread_area): Removed define.
6841 (TLS_FLAG_WRITABLE): Likewise.
6842 (__ASSUME_SET_THREAD_AREA): Remove check.
6843 (TLS_EBX_ARG): Remove define.
6844 (TLS_LOAD_EBX): Likewise.
6845
b0f955c9
ST
68462014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6847
6848 Simplify atomicity of socket creation in bind.
6849
6850 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6851 looking up the name after linking the file.
6852
529bf515
AM
68532014-08-27 Allan McRae <allan@archlinux.org>
6854
6855 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6856
a1a6a401
FW
68572014-08-26 Florian Weimer <fweimer@redhat.com>
6858
6859 [BZ #17187]
6860 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6861 trans_compare, open_translit, __gconv_translit_find):
6862 Remove module loading code.
6863
686ab290
AM
68642014-08-26 Allan McRae <allan@archlinux.org>
6865
e4e7cfd2
AM
6866 * po/vi.po: Update Vietnamese translation from translation project.
6867
6aa09f71
AM
6868 * po/uk.po: Update Ukrainian translation from translation project.
6869
edc0660e
AM
6870 * po/fr.po: Update French translation from translation project.
6871
7eea72ac
AM
6872 * po/ru.po: Update Russian translation from translation project.
6873
93c49eff
AM
6874 * po/pl.po: Update Polish translation from translation project.
6875
46acaf63
AM
6876 * po/cs.po: Update Czech translation from translation project.
6877
a9f5ce98
AM
6878 * po/de.po: Update German translation from translation project.
6879
373f2b78
AM
6880 * po/bg.po: Update Bulgarian translation from translation project.
6881
e7548bd8
AM
6882 * po/sv.po: Update Sweedish translation from translation project.
6883
c526bf4d
AM
6884 * po/nl.po: Update Dutch translation from translation project.
6885
686ab290
AM
6886 * po/es.po: Update Spanish translation from translation project.
6887
eb72478a
SP
68882014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6889
dd763fdb
SP
6890 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6891
318c7a58
SP
6892 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6893 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6894 (CPPFLAGS-iconvconfig): Likewise.
6895 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6896
eb72478a
SP
6897 * include/libc-symbols.h: Remove unnecessary check for
6898 NOT_IN_libc.
6899 * nptl/pthreadP.h: Likewise.
6900 * sysdeps/aarch64/setjmp.S: Likewise.
6901 * sysdeps/alpha/setjmp.S: Likewise.
6902 * sysdeps/arm/sysdep.h: Likewise.
6903 * sysdeps/i386/setjmp.S: Likewise.
6904 * sysdeps/m68k/setjmp.c: Likewise.
6905 * sysdeps/posix/getcwd.c: Likewise.
6906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6908 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6909 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6910 * sysdeps/sh/sh3/setjmp.S: Likewise.
6911 * sysdeps/sh/sh4/setjmp.S: Likewise.
6912 * sysdeps/unix/alpha/sysdep.h: Likewise.
6913 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6915 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6916 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6921 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6924 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6926 * sysdeps/x86_64/setjmp.S: Likewise.
6927
d44a052c
JM
69282014-08-13 Joseph Myers <joseph@codesourcery.com>
6929
6930 [BZ #17263]
6931 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6932 <stdint.h>.
6933 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6934 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6935
508ce3ac
SP
69362014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6937
e44c8b0e
SP
6938 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6939
508ce3ac
SP
6940 [BZ #17262]
6941 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6942 and __x86_64__ when disabling x87 inline functions.
6943
b4acef1f
L
69442014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6945
6946 [BZ #17259]
6947 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6948 asm statement with __cpuid_count.
6949
61b1ef6e
MF
69502014-08-12 Mike Frysinger <vapier@gentoo.org>
6951
6952 * configure.ac: Change __ehdr_start code to dereference the struct.
6953 Run readelf on the output to look for relocations.
6954 * configure: Regenerated.
6955
898c62f4
JM
69562014-08-12 Joseph Myers <joseph@codesourcery.com>
6957
6958 [BZ #17261]
6959 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6960 value to 0.
6961 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6962
9a8a5720
RM
69632014-08-12 Roland McGrath <roland@hack.frob.com>
6964
6965 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6966
4e75751c
BO
69672014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6968
6969 [BZ #16892]
6970 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6971 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6972
bb2ce416
SA
69732014-08-12 Sean Anderson <seanga2@gmail.com>
6974
6975 * malloc/malloc.c: Fix typo in comment.
6976
7950a4ee
AM
69772014-08-09 Allan McRae <allan@archlinux.org>
6978
6979 * Regenerate libc.po.
6980
f469c49f
MF
69812014-08-08 Mike Frysinger <vapier@gentoo.org>
6982
6983 * intl/tst-gettext2.sh: Check every lang file for creation.
6984
656b84c2
WD
69852014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6986
6987 * sysdeps/aarch64/fpu/math_private.h
6988 (libc_feholdsetround_noex_aarch64_ctx): New function.
6989
538e9e45
W
69902014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6991
6992 * sysdeps/arm/armv6/strcpy.S (strcpy):
6993 Fix performance issue in misaligned cases.
6994
d4795e4a
AZ
69952014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6996
6997 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6998 Move definition from termios.h.
6999 (struct termio): Likewise.
7000 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7001 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7002 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7003 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7004 Likewise.
7005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7006 Move definition to ioctl-types.h
7007 (struct termio): Likewise.
7008 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7009 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7010 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7011 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7012 Likewise.
7013
64accb62
RH
70142014-08-05 Richard Henderson <rth@redhat.com>
7015
27bb6dc0
RH
7016 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7017 exceptions.
7018 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7019 Add fraiseexcpt.
7020 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7021 Use __feraiseexcept.
7022 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7023 Protect libm symbols with IS_IN_libm.
7024
64accb62
RH
7025 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7026
e5292691
BO
70272014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7028
7029 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7030
5b4bd2d4
WN
70312014-08-04 Will Newton <will.newton@linaro.org>
7032
7033 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7034 file.
7035
fcadaeef
MF
70362014-08-04 Mike Frysinger <vapier@gentoo.org>
7037
7038 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7039 variants for each function.
7040
43a94c64
RM
70412014-08-04 Roland McGrath <roland@hack.frob.com>
7042
7043 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7044 appended ...
7045 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7046 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7047 appended ...
7048 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7049 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7050 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7051 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7052 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7053 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7054 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7055 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7056 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7057 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7058 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7059 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7060 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7062 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7064 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7065 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7066 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7067 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7068 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7069 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7070 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7072 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7075 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7076 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7080 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7081 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7082 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7083 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7084 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7085 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7086 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7087 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7090 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7091 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7092 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7093 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7094 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7096 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7098 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7099 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7100 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7101 Update #include.
7102 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7103 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7104
8f3c1fa4
RM
71052014-08-04 Roland McGrath <roland@hack.frob.com>
7106
7107 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7108 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7109 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7110 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7111 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7112 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7113
ca08746f
RM
71142014-08-04 Roland McGrath <roland@hack.frob.com>
7115
7116 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7117 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7118 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7119 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7120
9c925ff9
RM
71212014-08-04 Roland McGrath <roland@hack.frob.com>
7122
7123 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7124 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7125 (__libc_vfork): Define function under this name.
7126 (__vfork): Define as an alias.
7127 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7128 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7129
e641054c
RM
71302014-08-04 Roland McGrath <roland@hack.frob.com>
7131
7132 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7133 that was previously under [RESET_PID].
7134 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7135
dacdc867
AS
71362014-08-04 Andreas Schwab <schwab@suse.de>
7137
7138 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7139
41f725ff
MF
71402014-08-03 Mike Frysinger <vapier@gentoo.org>
7141
7142 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7143 (main): Likewise.
7144
277cfb31
RM
71452014-08-01 Roland McGrath <roland@hack.frob.com>
7146
7147 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7148
4896f049
RH
71492014-08-01 Richard Henderon <rth@redhat.com>
7150
7151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7152 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7153 typo in exact zero test.
7154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7157
6f64e7d7
RM
71582014-08-01 Roland McGrath <roland@hack.frob.com>
7159
7160 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7161 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7162 * sysdeps/arm/sysdep.h: ... here.
7163 [!__ASSEMBLER__]: Include <stdint.h>.
7164
3f3dd810
SP
71652014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7166
a476ac4b
SP
7167 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7168 (HAVE_WCTYPE_H): Likewise.
7169 (HAVE_ISWCTYPE): Likewise.
7170 (ENABLE_NLS): Likewise.
7171 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7172 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7173
78dd658a
SP
7174 * posix/regex_internal.c: Check if DEBUG is defined and is
7175 set.
7176
3f3dd810
SP
7177 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7178 (HAVE_MBSRTOWCS): Likewise.
7179 * posix/fnmatch.c: Include string.h unconditionally.
7180
95ee7fb1
SL
71812014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7182
7183 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7184 reversal.
7185
23fe486b
RM
71862014-07-31 Roland McGrath <roland@hack.frob.com>
7187
f61a113f
RM
7188 * sysdeps/generic/safe-fatal.h: New file.
7189 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7190 * nptl/forward.c: Include it.
7191 (__pthread_unwind): Use __safe_fatal as default action, rather
7192 than a bogus use of INTERNAL_SYSCALL that could never work.
7193
9fe7e787
RM
7194 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7195 * configure.ac (libc_cv_builtin_trap): New test.
7196 * configure: Regenerated.
7197 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7198 (ABORT_INSTRUCTION): Define using __builtin_trap.
7199
23fe486b
RM
7200 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7201 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7202 * sysdeps/nptl/nptl-signals.h: New file.
7203 * nptl/pthreadP.h: Include <nptl-signals.h>.
7204
f349489e
SL
72052014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7206
7207 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7208 (ONE_DIRECTION): Define.
7209 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7210 (ONE_DIRECTION): Define.
7211 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7212 (ONE_DIRECTION): Define.
7213
2f438e20
SL
72142014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7215
7216 * sysdeps/s390/Makefile: Delete file.
7217 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7218 * sysdeps/s390/__longjmp.c: Delete file.
7219 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7220 Remove fields __flags and __reserved.
7221 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7222 and add versioning.
7223 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7224 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7225 * sysdeps/s390/rtld-setjmp.S: Likewise.
7226 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7227 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7228 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7229 * sysdeps/s390/s390-32/setjmp.S: ... here.
7230 Add versioning.
7231 (__sigsetjmp): Remove setting __flags field.
7232 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7233 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7234 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7235 * sysdeps/s390/s390-64/setjmp.S: ... here.
7236 Add versioning.
7237 (__sigsetjmp): Remove setting __flags field.
7238 * sysdeps/s390/setjmp.S: Delete file.
7239 * sysdeps/s390/sigjmp.c: Likewise.
7240 * sysdeps/s390/v1-longjmp.c: Likewise.
7241 * sysdeps/s390/v1-setjmp.h: Likewise.
7242 * sysdeps/s390/v1-sigjmp.c: Likewise.
7243 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7244 Remove v1-longjmp_chk.
7245 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7246 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7247 Include debug/longjmp_chk.c and add versioning.
7248 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7249 Include nptl/pt-longjmp.c and add versioning.
7250 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7251 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7252 Include __longjmp.c.
7253 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7254 Move to ...
7255 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7256 (__getcontext): Remove setting __flags field.
7257 Add versioning.
7258 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7259 Don't restore upper high grps.
7260 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7261 Likewise.
7262 (__swapcontext): Remove setting uc_flags field.
7263 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7264 Delete file.
7265 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7266 Include __longjmp.c.
7267 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7268 Move to ...
7269 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7270 (__getcontext): Remove setting __flags field.
7271 Add versioning.
7272 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7273 (__swapcontext): Remove setting uc_flags field.
7274 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7275 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7276 Remove fields uc_high_gprs and __reserved.
7277 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7278 New file with reverted content.
7279 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7280 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7281 Regenerated.
7282 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7283 Regenerated.
7284
6c9578a2
AS
72852014-07-31 Andreas Schwab <schwab@suse.de>
7286
7287 * config.h.in (HAVE_IFUNC): Define to 0.
7288 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7289 definedness.
7290
05f3633d
LM
72912014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7292
7293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7294 memmove-avx-unaligned, memcpy-avx-unaligned and
7295 mempcpy-avx-unaligned.
7296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7297 Add tests for AVX memcpy functions.
7298 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7299 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7300 memcpy_chk.
7301 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7302 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7303 memmove_chk.
7304 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7306 mempcpy_chk.
7307 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7308 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7309 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7310
a53fbd8e
AZ
73112013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7312
7313 [BZ #17213]
7314 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7315 powerpc64le.
7316
0961f7e1
JL
73172014-07-29 Jeff Layton <jlayton@poochiereds.net>
7318
7319 [BZ #16839]
7320 * manual/llio.texi: Add section about open file description locks.
7321 * manual/examples/ofdlocks.c: Example of open file description
7322 lock usage.
7323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7324 F_OFD_SETLK, and F_OFD_SETLKW.
7325
cc5fb300
AM
73262014-07-23 Allan McRae <allan@archlinux.org>
7327
7328 * po/es.po: Update Spanish translation from translation project.
7329
23329dca
AS
73302014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7331
7332 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7333
9c82da17
MR
73342014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7335
7336 [BZ #17078]
7337 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7338 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7339 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7340
29c4f53e
JM
73412014-07-17 Joseph Myers <joseph@codesourcery.com>
7342
831b9896
JM
7343 [BZ #17088]
7344 * math/fesetenv.c (__fesetenv)
7345 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7346 * math/feupdateenv.c (__feupdateenv)
7347 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7348
b21c2d50
JM
7349 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7350 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7351 (__ASSUME_SOCKETCALL): Do not define.
7352
067764ef
JM
7353 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7354 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7355 (__ASSUME_SOCKETCALL): Do not define.
7356 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7357 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7358 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7359 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7360 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7361 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7362 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7363 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7364
642530c1
JM
7365 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7366 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7367 (__ASSUME_SOCKETCALL): Do not define.
7368 (__ASSUME_IPC64): Define unconditionally.
7369 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7370 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7371 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7372 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7373 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7374 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7375 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7376 Likewise.
7377
03f77315
JM
7378 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7379 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7380 (__ASSUME_SOCKETCALL): Do not define.
7381 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7382 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7383 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7384 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7385 (__ASSUME_REQUEUE_PI): Define unconditionally.
7386 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7387 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7388 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7389 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7391 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7392
083b1f7c
JM
7393 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7394 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7395 (__ASSUME_SOCKETCALL): Do not define.
7396 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7397 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7398 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7399 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7400 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7401 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7402
5be44ea6
JM
7403 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7404 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7405 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7406 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7407 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7408 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7409 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7410 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7411 (__ASSUME_GETCPU_SYSCALL): Likewise.
7412
d95ffd4c
JM
7413 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7414 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7415 cases for individual architectures.
7416 * sysdeps/gnu/configure: Regenerated.
7417 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7418 LIBC_SLIBDIR_RTLDDIR.
7419 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7420 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7421 LIBC_SLIBDIR_RTLDDIR.
7422 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7424 LIBC_SLIBDIR_RTLDDIR.
7425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7426 Regenerated.
7427 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7428 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7429 file.
7430 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7432 file.
7433 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7434 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7435 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7436 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7437
29c4f53e
JM
7438 * sysdeps/aarch64/shlib-versions: Move to ...
7439 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7440 * sysdeps/alpha/shlib-versions: Move to ...
7441 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7442 * sysdeps/arm/shlib-versions: Move to ...
7443 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7444 * sysdeps/hppa/shlib-versions: Move all contents except for
7445 libgcc_s entry to ...
7446 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7447 entry from ...
7448 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7449 * sysdeps/ia64/shlib-versions: Move to ...
7450 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7451 entry from ...
7452 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7453 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7454 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7455 * sysdeps/microblaze/shlib-versions: Move to ...
7456 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7457 * sysdeps/mips/shlib-versions: Move to ...
7458 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7459 entry from ...
7460 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7461 * sysdeps/tile/shlib-versions: Move to ...
7462 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7463 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7464 from ...
7465 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7466 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7467 entry from ...
7468 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7469
32bead5b
WN
74702014-07-17 Will Newton <will.newton@linaro.org>
7471
57977c4b
WN
7472 * sysdeps/arm/bits/atomic.h
7473 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7474 (__arch_compare_and_exchange_bool_16_int): Likewise.
7475 (__arch_compare_and_exchange_bool_64_int): Likewise.
7476
32bead5b
WN
7477 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7478 into an #else block.
7479
37fccd41
RM
74802014-07-16 Roland McGrath <roland@hack.frob.com>
7481
7482 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7483 just Linux configurations. Test empirically that the compiler sets
7484 __ARM_EABI__, rather than using the tuple to decide.
7485 * sysdeps/arm/preconfigure: Regenerated.
7486 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7487 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7488 contents appended ...
7489 * sysdeps/arm/configure.ac: ... here.
7490 * sysdeps/arm/configure: Regenerated.
7491
b365f3ec
RM
74922014-07-15 Roland McGrath <roland@hack.frob.com>
7493
8badf496
RM
7494 * nptl/pthread_kill.c: New file.
7495 * nptl/pthread_sigmask.c: New file.
7496 * nptl/pthread_sigqueue.c: New file.
7497
3df6f22e
RM
7498 * sysdeps/nptl/lowlevellock.h: New file.
7499 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7500 * sysdeps/nptl/lowlevellock-futex.h: New file.
7501
b365f3ec
RM
7502 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7503 Remove dead declarations.
7504
f2fef657
L
75052014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7506
7507 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7508 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7509 config-cflags-avx2.
7510 * sysdeps/x86_64/configure.ac: Likewise.
7511 * sysdeps/i386/configure: Regenerated.
7512 * sysdeps/x86_64/configure: Likewise.
7513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7514 memset-avx2 only if config-cflags-avx2 is yes.
7515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7516 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7517 defined.
7518 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7519 only if HAVE_AVX2_SUPPORT is defined.
7520 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7521
f6c44d47
AM
75222014-07-14 Alan Modra <amodra@gmail.com>
7523
7524 [BZ #17153]
7525 * elf/elf.h (DT_PPC64_NUM): Correct value.
7526 * NEWS: Add to fixed bug list.
7527
7ee03f00
JM
75282014-07-13 Jim Meyering <meyering@fb.com>
7529
7530 [BZ 17150]
7531 regex: don't deref NULL upon heap allocation failure
7532 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7533 failure in one more place.
7534 To trigger the segfault, configure grep -with-included-regex,
7535 build it, and run these commands:
7536 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7537
9d39d517
AS
75382014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7539
7540 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7541
a75b89b7
RH
75422014-07-11 Richard Henderson <rth@redhat.com>
7543
7544 * sysdeps/aarch64/libm-test-ulps: Update.
7545
771eb141
FW
75462014-07-10 Florian Weimer <fweimer@redhat.com>
7547
7548 [BZ #17135]
7549 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7550 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7551 (__nptl_setxid): Initialize error member. Call
7552 __nptl_setxid_error.
7553 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7554 * nptl/descr.h (struct xid_command): Add error member.
7555 * nptl/tst-setuid3.c: New file.
7556 * nptl/Makefile (tests): Add it.
7557
bc1da176
AZ
75582014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7559
7560 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7561 New define.
7562 (__lll_trylock): Use __lll_base_trylock.
7563 (__lll_cond_trylock): Likewise.
7564
887865fc
RM
75652014-07-10 Roland McGrath <roland@hack.frob.com>
7566
c0c6bac9
RM
7567 * nptl/pthread_create.c (start_thread): Use atomic_or and
7568 lll_futex_wake directly rather than lll_robust_dead.
7569 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7570 (lll_robust_dead): Macro removed.
6a42be57 7571 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7572 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7573 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7574 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7575 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7576 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7577 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7578 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7579 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7580 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7581 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7582 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7583 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7584 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7585 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7586
887865fc
RM
7587 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7588 Use atomic_compare_and_exchange_val_acq directly rather than
7589 lll_robust_trylock.
7590 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7591 (__lll_robust_trylock, lll_robust_trylock): Removed.
7592 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7593 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7595 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7596 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7597 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7599 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7601 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7603 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7605 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7606
58536726
FW
76072014-07-02 Florian Weimer <fweimer@redhat.com>
7608
7609 * manual/locale.texi (Locale Names): New section documenting
7610 locale name syntax. Adjust menu and node chaining accordingly.
7611 (Choosing Locale): Reference Locale Names, Locale Categories.
7612 Mention setting LC_ALL=C. Reflect that name syntax is now
7613 documented.
7614 (Locale Categories): New section title. Reference Locale Names.
7615 LC_ALL is an environment variable, but not a category.
7616 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7617 description, now in Locale Name. Reference that section. Locale
7618 name syntax is now documented.
7619
4e8f95a0
FW
76202014-07-02 Florian Weimer <fweimer@redhat.com>
7621
7622 [BZ #17137]
7623 * locale/findlocale.c (name_present, valid_locale_name): New
7624 functions.
7625 (_nl_find_locale): Use the loc_name variable to store name
7626 candidates. Call name_present and valid_locale_name to check and
7627 validate locale names. Return an error if the locale is invalid.
7628
d1836456
FW
76292014-07-02 Florian Weimer <fweimer@redhat.com>
7630
7631 * locale/setlocale.c (setlocale): Use strdup for allocating
7632 composite name copy.
7633
d69b7f5a
SP
76342014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7635
888c679b
SP
7636 Sync up with gnulib.
7637 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7638 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7639 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7640 and _GL_ARG_NONNULL.
7641 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7642 [!_LIBC]: Include code for Windows and Cygwin.
7643 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7644 Include prototype for int strerror_r.
7645 [!_LIBC] (is_open): New function.
7646 (flush_stdout): New function.
7647 (print_errno_message): Use it.
7648 (error): Likewise.
7649 (error_at_line): Likewise.
7650 (error_tail) Add function attribute macros. Use
7651 __builtin_expect.
7652
180e0e4b
SP
7653 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7654
d22f1fe2
SP
7655 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7656
12f2254b
SP
7657 * io/ftw.c: Include sys/param.h unconditionally.
7658
c3c7c360
SP
7659 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7660
d62aa75a
SP
7661 [BZ #17125]
7662 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7663 libc_freeres_ptr.
7664 (freecache): New function to free CACHE on exit.
7665
d69b7f5a
SP
7666 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7667 initialization.
7668
5efe06a1
DM
76692014-07-09 David S. Miller <davem@davemloft.net>
7670
7671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7672
7000d82e
DM
7673 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7674 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7675 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7676 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7677 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7678 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7679 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7680 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7681 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7682 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7683 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7684 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7685 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7686
c213442d
AS
76872014-07-09 Andreas Schwab <schwab@suse.de>
7688
4a2552c3
AS
7689 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7690 output.
7691 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7692 (do_test): Likewise.
7693
c213442d
AS
7694 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7695
82374e65
WN
76962014-07-09 Will Newton <will.newton@linaro.org>
7697
7698 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7699 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7700 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7701 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7702 * sysdeps/hppa/start.S (_start): Likewise.
7703
6680738a
SP
77042014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7705
6ee3eab4
SP
7706 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7707
6680738a
SP
7708 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7709 defined.
7710
80b5c505
SP
77112014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7712
e35c53e3
SP
7713 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7714 after checking that it is non-NULL.
7715
80b5c505
SP
7716 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7717
91f4b564
AZ
77182014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7719
27b75f56
AZ
7720 * sysdeps/powerpc/memmove.c: Remove file.
7721 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7722 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7723 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7724 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7725 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7726 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7727 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7728 string memmove instead of removed powerpc one.
7729
e7f95bb5
AZ
7730 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7731 [weak_alias]: Fix compiler warning due trailing data.
7732 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7733 [weak_alias]: Likewise.
7734 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7735 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7736
91f4b564
AZ
7737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7738 (__libc_ifunc_impl_list): Add memmove functions.
7739
7c33f1e5
SP
77402014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7741
7742 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7743 Remove code.
7744 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7745 Likewise
7746 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7747 Likewise
7748 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7749 Likewise
7750 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7751 Likewise
7752 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7753 Likewise
7754 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7755 Likewise
7756 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7757 Likewise
7758 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7759 Likewise
7760 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7761 Likewise
7762 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7763 Likewise
7764 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7765 Likewise
7766 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7767 Likewise
7768 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7769 Likewise
7770 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7771 Likewise
7772 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7773 Likewise
7774 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7775 Likewise
7776
3f17b03b
AZ
77772014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7778
87868c24
AZ
7779 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7780 to avoid alignment traps in non-cacheable memory.
7781 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7782
07aedd78
AZ
7783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7784 multiarch objects.
7785 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7786 file: multiarch power7 memmove.
7787 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7788 multiarch default memmove.
7789 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7790 multiarch memove for powerpc32/power4.
7791
17762f66
AZ
7792 * string/bcopy.c: Use full path to include memmove.c.
7793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7794 multiarch objects.
7795 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7796 bcopy for powerpc64.
7797 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7798 bcopy for powerpc64.
7799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7800 and memmove implementations.
7801 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7802 optimized multiarch memmove for POWER7/powerpc64.
7803 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7804 default multiarch memmove for powerpc64.
7805 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7806 multiarch for powerpc64.
7807 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7808 for POWER7/powerpc64.
7809 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7810 memmove for POWER7/powerpc64.
7811
d6f68bbe
AZ
7812 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7813 glibc default one.
7814
3f17b03b
AZ
7815 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7816 __ELF_NATIVE_CLASS equal to 64.
7817
08192659
RM
78182014-07-07 Roland McGrath <roland@hack.frob.com>
7819
f4c4021b
RM
7820 * sysdeps/nptl/lowlevellock.h: File removed.
7821
f083450f
RM
7822 * NEWS: NPTL is no longer an add-on!
7823 * nptl/internaltypes.h: Moved ...
7824 * sysdeps/nptl/internaltypes.h: ... here.
7825 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7826 * sysdeps/nptl/fork.c: Likewise.
7827 * sysdeps/nptl/gai_misc.h: Likewise.
7828 * sysdeps/nptl/librt-cancellation.c: Likewise.
7829 * sysdeps/nptl/jmp-unwind.c: Likewise.
7830 * sysdeps/nptl/setxid.h: Likewise.
7831 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7832 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7833 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7834 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7835 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7836 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7837 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7838 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7839 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7840 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7841 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7842 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7843 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7844 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7845 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7846 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7847 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7848 * nptl/Makeconfig: Moved ...
7849 * sysdeps/nptl/Makeconfig: ... here.
7850 * nptl/configure: File removed.
7851 * nptl/ANNOUNCE: File removed.
7852 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7853 * sysdeps/unix/sysv/linux/configure: Regenerated.
7854
08192659
RM
7855 * nptl/Makefile (routines): Add libc_pthread_init,
7856 libc_multiple_threads, register-atfork and unregister-atfork.
7857 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7858 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7859 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7860 pthread-pi-defines.sym, structsem.sym.
7861 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7862 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7863 [$(subdir) = nptl] (tests): Add tst-setgetname.
7864 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7865 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7866 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7867 [!LIBC_SIGACTION]: Remove aliases.
7868 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7869 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7870 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7871 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7872 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7873 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7874 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7876 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7877 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7878 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7879 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7880 __libc_allocate_rtsig_private.
7881 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7882 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7883 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7884 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7885 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7886 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7887 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7888 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7889 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7890 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7891 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7892 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7893 * nptl/internaltypes.h: ... here.
7894 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7895 * sysdeps/nptl/jmp-unwind.c: ... here.
7896 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7897 * nptl/libc-lowlevellock.c: ... here.
7898 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7899 * nptl/libc_multiple_threads.c: ... here.
7900 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7901 * nptl/libc_pthread_init.c: ... here.
7902 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7903 * nptl/lowlevelbarrier.sym: ... here.
7904 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7905 * nptl/lowlevelcond.sym: ... here.
7906 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7907 * nptl/lowlevellock.c: ... here.
7908 * nptl/lowlevellock.h: Moved ...
7909 * sysdeps/nptl/lowlevellock.h: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7911 * nptl/lowlevelrobustlock.c: ... here.
7912 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7913 * nptl/lowlevelrobustlock.sym: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7915 * nptl/lowlevelrwlock.sym: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7917 * nptl/pt-fork.c: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7919 * nptl/pthread-pi-defines.sym: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7921 * nptl/pthread_attr_getaffinity.c: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7923 * nptl/pthread_attr_setaffinity.c: ... here.
7924 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7925 * nptl/pthread_mutex_cond_lock.c: ... here.
7926 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7927 Update #include.
7928 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7929 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7930 * nptl/pthread_once.c: ... here, replacing old file.
7931 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7932 * nptl/pthread_yield.c: ... here.
7933 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7934 * nptl/register-atfork.c: ... here.
7935 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7936 * nptl/sem_post.c: ... here.
7937 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7938 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7939 * nptl/sem_timedwait.c: ... here.
7940 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7941 * nptl/sem_trywait.c: ... here.
7942 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7943 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7944 * nptl/sem_wait.c: ... here.
7945 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7946 * nptl/structsem.sym: ... here.
7947 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7948 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7949 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7950 * nptl/unregister-atfork.c: ... here.
7951 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7952 * nptl/unwindbuf.sym: ... here.
7953 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7954 * sysdeps/nptl/fork.c: ... here.
7955 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7956 * sysdeps/nptl/fork.h: ... here.
7957 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7958 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7959 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7960 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7961 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7962 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7963 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7964 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7965 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7966 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7967 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7968 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7969 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7971 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7972 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7973 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7974 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7975 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7976 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7977 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7978 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7979 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7980 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7981 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7982 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7983 * sysdeps/unix/sysv/linux/raise.c: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7985 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7987 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7988 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7989 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7990 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7991 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7993 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7994 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7995 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7996 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7997 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7998 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7999
96baf6ff
SP
80002014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8001
8002 * sysdeps/generic/memcopy.h: Add comment for
8003 MEMCPY_OK_FOR_FWD_MEMMOVE.
8004
6b7b14b2
WN
80052014-07-04 Will Newton <will.newton@linaro.org>
8006
1570a72b
WN
8007 * string/memchr.c: Merge from gnulib.
8008 [_LIBC]: Remove conditionals.
8009 (__ptr_t): Remove define.
8010 (LONG_MAX_32_BITS): Likewise.
8011 (LONG_MAX): Likewise.
8012 (MEMCHR): Use ANSI prototype and optimize algorithm.
8013
6b7b14b2
WN
8014 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8015
38851324
SP
80162014-07-03 Roland McGrath <roland@hack.frob.com>
8017
3d9eb57c
RM
8018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8019 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8020
78b984ae
RM
8021 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8022 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8023 in a bare environment with no <stdlib.h> installed.
8024 * sysdeps/nptl/configure: Regenerated.
8025
2d5976a5
RM
8026 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8027
c1f5acd4
RM
8028 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8029 AC_EGREP_CPP for kernel header checks, so they only succeed if
8030 including <linux/version.h> actually works right.
8031 * sysdeps/unix/sysv/linux/configure: Regenerated.
8032
4d614fe5
RM
8033 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8034 value so it's not diagnosed as unused.
8035
38851324
SP
8036 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8037 thing) with "ifeq ($(subdir),rt)".
8038
b3ec00e5
RH
80392014-07-03 Richard Henderson <rth@redhat.com>
8040
69862e25
RH
8041 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8042 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8043 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8044
d5e16ade
RH
8045 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8046 (math_force_eval): New.
8047
ca7b945c
RH
8048 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8049 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8050
cd1175a3
RH
8051 * sysdeps/alpha/fpu/s_round.c: Remove file.
8052 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8053
b3ec00e5
RH
8054 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8055 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8056 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8057 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8058 (_dl_start, print_statistics): Likewise.
8059 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8060 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8061
8062 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8063 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8064 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8065 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8066 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8067 (HP_SMALL_TIMING_AVAIL): Define.
8068 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8069 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8070 (HP_SMALL_TIMING_AVAIL): Define.
8071 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8072 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8073
8074 * sysdeps/aarch64/hp-timing.h: New file.
8075
8076 * sysdeps/generic/hp-timing.h: Remove dead comment.
8077 * sysdeps/generic/hp-timing-common.h: New file.
8078 * sysdeps/alpha/hp-timing.h: Include it.
8079 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8080 * sysdeps/i386/i686/hp-timing.h: Likewise.
8081 * sysdeps/ia64/hp-timing.h: Likewise.
8082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8083 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8085 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8086 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8087 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8088 (hp_timing_t): New.
8089
8090 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8091 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8092 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8093 * elf/rtld.c (_dl_start_final): Likewise.
8094 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8095 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8096 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8097 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8098 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8099 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8100 (HP_TIMING_DIFF_INIT): Remove.
8101 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8102 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8103 (HP_TIMING_DIFF_INIT): Remove.
8104 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8105 * sysdeps/i386/i686/hp-timing.c: Remove file.
8106 * sysdeps/x86_64/hp-timing.c: Remove file.
8107 * sysdeps/ia64/hp-timing.c: Remove file.
8108 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8109 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8111 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8112
8113 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8114 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8115 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8116 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8118 (HP_TIMING_ACCUM): Remove.
8119 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8120 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8121 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8122
8123 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8124 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8125 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8126 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8128 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8130 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8131
8132 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8133
225f410f
MR
81342014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8135
8136 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8137
3247f285
SP
81382014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8139
8140 Sync up with gettext.
8141 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8142 [_MSC_VER]: Include malloc.h
8143 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8144 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8145 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8146 TEMP_FAILURE_RETRY. Cast return of alloca.
8147 [!_LIBC] Call gl_rwlock_init.
8148 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8149
d12704c7
SP
81502014-07-02 Roland McGrath <roland@hack.frob.com>
8151
8152 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8153 before checking its value.
8154
99f8dc92
SP
81552014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8156
05fdac77
SP
8157 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8158
99f8dc92
SP
8159 * debug/memcpy_chk.c: Don't include pagecopy.h.
8160 * debug/mempcpy_chk.c: Likewise.
8161 * string/memcpy.c: Likewise.
8162 * string/memmove.c: Likewise.
8163 * sysdeps/powerpc/memmove.c: Likewise.
8164 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8165 definition of PAGE_COPY_FWD_MAYBE here...
8166 * sysdeps/generic/pagecopy.h: ... from here.
8167 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8168
bc8ea385
VR
81692014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8170 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8171
8172 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8174 optimizations.
8175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8176 (__libc_ifunc_impl_list): Likewise.
8177 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8178 multiarch strcat for PPC64.
8179 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8180 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8181
fe5f34e4
RM
81822014-07-02 Roland McGrath <roland@hack.frob.com>
8183
8184 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8185
256aa665
SP
81862014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8187
d4eb8195
SP
8188 * intl/loadmsgcat.c: Remove declaration of
8189 get_sysdep_segment_value.
8190 (get_sysdep_segment_value): Use ISO C style.
8191 (_nl_load_domain): Use ISO C style. Get rid of redundant
8192 semicolon. Fix typo and formatting in comment.
8193 (_nl_unload_domain): Use ISO C style.
8194
256aa665
SP
8195 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8196
b100f9aa
WN
81972014-07-02 Will Newton <will.newton@linaro.org>
8198
8199 * malloc/obstack.c: Merge from gnulib master.
8200 [HAVE_CONFIG_H]: Remove conditional code.
8201 [!_LIBC]: Include config.h.
8202 [!ELIDE_CODE]: Don't include inttypes.h, include
8203 stdint.h unconditionally.
8204 (print_and_abort): Mark as _Noreturn.
8205 (_obstack_allocated_p): Mark as __attribute_pure__.
8206 (obstack_free): Rename to __obstack_free.
8207 [!__attribute__]: Remove conditional code.
8208 * malloc/obstack.h: Merge from gnulib master.
8209 [__cplusplus]: Move conditional down.
8210 [!__attribute_pure__]: Define __attribute_pure__ here
8211 if it is not already defined.
8212 (_obstack_memory_used): Mark as __attribute_pure__.
8213 [!__obstack_free]: Define as obstack_free.
8214 [__GNUC__]: Remove check for ancient NeXT gcc.
8215
c4c41244
PE
82162014-07-02 Will Newton <will.newton@linaro.org>
8217 Paul Eggert <eggert@cs.ucla.edu>
8218
8219 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8220
e1e041c4
SP
82212014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8222
8223 * resolv/gethnamaddr.c: Add comment warning that the file is
8224 not maintained.
8225
ccf431ff
CD
82262014-07-01 Carlos O'Donell <carlos@redhat.com>
8227
d34570a6
CD
8228 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8229 entries.
8230
ccf431ff
CD
8231 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8232 entry for aio_cancel and aio_cancel64.
8233 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8234 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8235 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8236 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8237 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8238 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8239 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8240 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8241 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8242 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8243 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8244 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8245 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8246
ca06321d
RM
82472014-07-01 Roland McGrath <roland@hack.frob.com>
8248
8249 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8250 * nptl/pthread_mutex_lock.c: Likewise.
8251 * nptl/pthread_mutex_timedlock.c: Likewise.
8252 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8253
a1ac3184
RH
82542014-07-01 Richard henderson <rth@redhat.com>
8255
631021e0
RH
8256 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8257 (__isnan, __isnanl): Remove.
8258 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8259
a1ac3184
RH
8260 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8261
0c1d731f
SL
82622014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8263
8264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8265
76985d3e
SP
82662014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8267
8268 * resolv/nss_dns/dns-host.c (getanswer_r)
8269 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8270
b0cb3096
JM
82712014-07-01 Joseph Myers <joseph@codesourcery.com>
8272
8273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8274 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8275 undefine.
8276 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8277 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8278
4d76cb39
RM
82792014-07-01 Roland McGrath <roland@hack.frob.com>
8280
8281 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8282 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8283
8284 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8285 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8286
8287 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8288 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8289 ... here.
8290 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8291 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8292
8293 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8294 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8295 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8296 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8297
8298 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8299 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8300 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8301 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8302 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8303 Moved ...
8304 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8305 ... here.
8306 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8307 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8308 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8309 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8310 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8311 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8313 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8315 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8319 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8320 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8321 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8323 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8324 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8325 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8326 ... here.
8327 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8328 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8329 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8330 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8331 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8332 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8333 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8334 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8335
0cdcad17
DH
83362014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8337
8338 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8339 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8340 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8341 Add sysdep.
8342
9b71d0e3
AZ
83432014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8344
8345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8346
665390c2
JM
83472014-06-30 Joseph Myers <joseph@codesourcery.com>
8348
ae05a9d7
JM
8349 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8350 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8351
a7672a2f
JM
8352 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8353
665390c2
JM
8354 * sysdeps/arm/libm-test-ulps: Regenerated.
8355
d7a05d07
MR
83562014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8357 Roland McGrath <roland@hack.frob.com>
8358
8359 * test-skeleton.c (signal_handler): Kill the whole process group
8360 before killing the child individually.
8361 (main): Report any failure on `setpgid'.
8362
46f1d8a6
RM
83632014-06-30 Roland McGrath <roland@hack.frob.com>
8364
8365 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8366 from _TLS_H to _ARM_NPTL_TLS_H.
8367 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8368 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8369
9c37ec0b
JM
83702014-06-30 Joseph Myers <joseph@codesourcery.com>
8371
ce9c5b3e
JM
8372 [BZ #16539]
8373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8374 (__expm1l): Return argument unchanged when small but not
8375 subnormal.
8376
3a6e9887
JM
8377 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8378 include macro name.
8379 (_FP_UNPACK_RAW_1_P): Likewise.
8380 (_FP_PACK_RAW_1): Likewise.
8381 (_FP_PACK_RAW_1_P): Likewise.
8382 (_FP_MUL_MEAT_1_wide): Likewise.
8383 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8384 (_FP_MUL_MEAT_1_hard): Likewise.
8385 (_FP_DIV_MEAT_1_imm): Likewise.
8386 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8387 (_FP_DIV_MEAT_1_udiv): Likewise.
8388 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8389 (_FP_UNPACK_RAW_2): Likewise.
8390 (_FP_UNPACK_RAW_2_P): Likewise.
8391 (_FP_PACK_RAW_2): Likewise.
8392 (_FP_PACK_RAW_2_P): Likewise.
8393 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8394 (_FP_MUL_MEAT_2_wide): Likewise.
8395 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8396 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8397 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8398 (_FP_MUL_MEAT_2_gmp): Likewise.
8399 (_FP_DIV_MEAT_2_udiv): Likewise.
8400 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8401 (_FP_FRAC_SRL_4): Likewise.
8402 (_FP_FRAC_SRST_4): Likewise.
8403 (_FP_FRAC_SRS_4): Likewise.
8404 (_FP_UNPACK_RAW_4): Likewise.
8405 (_FP_UNPACK_RAW_4_P): Likewise.
8406 (_FP_PACK_RAW_4): Likewise.
8407 (_FP_PACK_RAW_4_P): Likewise.
8408 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8409 (_FP_MUL_MEAT_4_wide): Likewise.
8410 (_FP_MUL_MEAT_4_gmp): Likewise.
8411 (umul_ppppmnnn): Likewise.
8412 (_FP_DIV_MEAT_4_udiv): Likewise.
8413 (__FP_FRAC_ADD_4): Likewise.
8414 (__FP_FRAC_SUB_3): Likewise.
8415 (__FP_FRAC_SUB_4): Likewise.
8416 (__FP_FRAC_DEC_3): Likewise.
8417 (__FP_FRAC_DEC_4): Likewise.
8418 (__FP_FRAC_ADDI_4): Likewise.
8419 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8420 (_FP_FRAC_SRL_8): Likewise.
8421 (_FP_FRAC_SRS_8): Likewise.
8422
9c37ec0b
JM
8423 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8424 include macro name.
8425 (FP_UNPACK_RAW_EP): Likewise.
8426 (FP_PACK_RAW_E): Likewise.
8427 (FP_PACK_RAW_EP): Likewise.
8428 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8429 (_FP_ISSIGNAN): Likewise.
8430 (_FP_ADD_INTERNAL): Likewise.
8431 (_FP_FMA): Likewise.
8432 (_FP_CMP): Likewise.
8433 (_FP_SQRT): Likewise.
8434 (_FP_TO_INT): Likewise.
8435 (_FP_FROM_INT): Likewise.
8436 (FP_EXTEND): Likewise.
8437 (_FP_DIV_MEAT_N_loop): Likewise.
8438
2125f674
MR
84392014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8440
8441 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8442 throughout.
8443
edea4028
JM
84442014-06-29 Joseph Myers <joseph@codesourcery.com>
8445
8446 [BZ #17097]
8447 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8448 result with correct sign in case of exponents that produce
8449 overflow except for X very close to 1.
8450
dd0ba018
PE
84512014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8452
8453 mktime: merge #if/#ifdef usage from glibc
8454 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8455 as that works with both Glibc's and Gnulib's style.
8456 See thread starting at Siddhesh Poyarekar's bug report at:
8457 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8458
64df73c2
SP
84592014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8460
8461 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8462 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8463 * sysdeps/tile/tilegx/memmove.c: Remove file.
8464
f1eafb41
JM
84652014-06-27 Joseph Myers <joseph@codesourcery.com>
8466
8467 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8468 abi-name definition.
8469 * scripts/soversions.awk: Do not handle or generate ABI lines.
8470 * shlib-versions: Remove ABI entries.
8471 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8472 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8473
58eb0862
RM
84742014-06-27 Roland McGrath <roland@hack.frob.com>
8475
37caf178
RM
8476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8477 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8478 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8479 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8481 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8483 Moved ...
8484 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8485 ... here.
8486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8487 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8489 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8491 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8493 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8497 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8499 Moved ...
8500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8502 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8506 Moved ...
8507 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8509 Moved ...
8510 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8511 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8512 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8514 Moved ...
8515 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8517 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8519 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8521 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8523 Moved ...
8524 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8526 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8528 Moved ...
8529 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8531 Moved ...
8532 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8534 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8536 Moved ...
8537 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8538 ... here.
8539 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8540 Identical file removed.
8541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8542 Moved ...
8543 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8545 Identical file removed.
8546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8547 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8549 Moved ...
8550 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8552 Identical file removed.
8553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8554 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8556 Identical file removed.
8557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8558 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8560 Identical file removed.
8561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8562 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8564 Identical file removed.
8565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8566 Moved ...
8567 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8569 Identical file removed.
8570 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8571 Moved ...
8572 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8576 Identical file removed.
8577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8578 Moved ...
8579 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8580 ... here.
8581 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8582 Identical file removed.
8583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8584 Moved ...
8585 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8587 Identical file removed.
8588 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8589 Moved ...
8590 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8591 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8592 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8596 Moved ...
8597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8599 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8600
58eb0862
RM
8601 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8602 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8603 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8604 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8605 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8606
6f12d062
AS
86072014-06-27 Arjun Shankar <arjun.is@lostca.se>
8608
8609 [BZ #17092]
8610 * nscd/nscd.c (monitor_child): Return exit status of child
8611 instead of return value from wait syscall.
8612
be254932
JM
86132014-06-27 Joseph Myers <joseph@codesourcery.com>
8614
cb403c34
JM
8615 * configure.ac (libc_commonpagesize): Remove variable.
8616 (libc_relro_required): Likewise.
8617 (libc_cv_z_relro): Remove configure test.
8618 * configure: Regenerated.
8619 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8620 variable.
8621 (libc_relro_required): Likewise.
8622 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8623 (libc_relro_required): Likewise.
8624 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8625 (libc_relro_required): Likewise.
8626 * sysdeps/arm/preconfigure: Regenerated.
8627 * sysdeps/ia64/preconfigure: Remove file.
8628 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8629 variable.
8630 (libc_relro_required): Likewise.
8631
be254932
JM
8632 [BZ #16561]
8633 [BZ #16562]
8634 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8635 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8636 recompute overflowing results in original rounding mode.
8637 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8638 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8639 recompute overflowing results in original rounding mode.
8640 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8641 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8642 recompute overflowing results in original rounding mode.
8643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8644 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8645 recompute overflowing results in original rounding mode.
8646 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8647 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8648 recompute overflowing results in original rounding mode.
8649 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8650 (libc_feholdsetround_ctx): New macro.
8651 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8652 * sysdeps/i386/fpu/libm-test-ulps: Update.
8653 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8654
b351d85a
JM
86552014-06-26 Joseph Myers <joseph@codesourcery.com>
8656
8657 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8658 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8659 corresponding .cpsetup call.
8660
3cb4de47
RM
86612014-06-26 Roland McGrath <roland@hack.frob.com>
8662
8663 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8664 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8665 * sysdeps/arm/Makefile [$(subdir) = csu]
8666 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8667 (static-only-routines): Add aeabi_read_tp here.
8668 (shared-only-routines): Add libc-aeabi_read_tp here.
8669 (CFLAGS-libc-start.c): Add -fexceptions here.
8670 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8671 (sysdep_routines, static-only-routines, shared-only-routines):
8672 Don't add to these here.
8673 (CFLAGS-libc-start.c): Likewise.
8674
8675 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8676 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8677 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8678 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8679 * sysdeps/arm/Makefile [$(subdir) = rt]
8680 (librt-sysdep_routines, librt-shared-only-routines):
8681 Append rt-aeabi_unwind_cpp_pr1 here.
8682 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8683 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8684 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8685 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8686 Append nptl-aeabi_unwind_cpp_pr1 here.
8687 (tests): Filter out tst-cleanupx4 here.
8688 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8689 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8690 Don't do those here.
8691
354426bb
JM
86922014-06-26 Joseph Myers <joseph@codesourcery.com>
8693
8694 * scripts/list-sources.sh: Do not handle ports specially.
8695
28b0a8c9
RM
86962014-06-26 Roland McGrath <roland@hack.frob.com>
8697
a3dd035d
RM
8698 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8699 * sysdeps/arm/feupdateenv.c: Likewise.
8700
28b0a8c9
RM
8701 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8702
e66a8203
JM
87032014-06-26 Joseph Myers <joseph@codesourcery.com>
8704
8705 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8706 trailing whitespace removed.
8707 * scripts/config.guess: Update to version 2014-03-23.
8708 * scripts/config.sub: Update to version 2014-05-01
8709 * scripts/install-sh: Update to version 2013-12-25.23.
8710 * scripts/move-if-change: Update from gnulib.
8711
74171115
SP
87122014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8713
b97c9ce5
SP
8714 * debug/memmove_chk.c: Remove pagecopy.h include.
8715
4000f892
SP
87162014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8717
74171115
SP
8718 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8719 identical to gnulib mktime.
8720
a8779c28
JM
87212014-06-26 Joseph Myers <joseph@codesourcery.com>
8722
e64708de
JM
8723 * configure.ac: Do not test for machine being rs6000. Do not test
8724 for powerpc*-*soft.
8725 * configure: Regenerated.
8726
a8779c28
JM
8727 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8728 test.
8729 * configure: Regenerated.
8730 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8731 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8732 Remove configure test.
8733 * sysdeps/arm/configure: Regenerated.
8734 * sysdeps/nptl/configure.ac: Do not check
8735 libc_cv_asm_cfi_directives.
8736 * sysdeps/nptl/configure: Regenerated.
8737 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8738 * sysdeps/x86_64/nptl/configure: Remove generated file.
8739 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8740 unconditional.
8741 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8742
2aac0a86
SP
87432014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8744
059bf913
SP
8745 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8746 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8747 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8748 it is defined.
8749
4cf5b6d0
SP
8750 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8751 instead of whether it is defined.
8752 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8753 * sysdeps/hppa/dl-machine.h: Likewise.
8754 * sysdeps/ia64/dl-machine.h: Likewise.
8755 * sysdeps/m68k/dl-machine.h: Likewise.
8756 * sysdeps/microblaze/dl-machine.h: Likewise.
8757 * sysdeps/mips/dl-machine.: Likewise.
8758 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8760 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8761 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8762 * sysdeps/sh/dl-machine.h: Likewise.
8763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8764 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8765 * sysdeps/tile/dl-machine.h: Likewise.
8766 * sysdeps/x86_64/dl-machine.h: Likewise.
8767
2aac0a86
SP
8768 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8769 code.
8770 (verify_persistent_db): Likewise.
8771
6ad2df0b
RM
87722014-06-26 Roland McGrath <roland@hack.frob.com>
8773
d8a483f3
RM
8774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8775 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8777 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8779 Moved ...
8780 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8781 ... here.
8782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8785 Identical file removed.
8786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8789 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8791 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8795 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8797 Moved ...
8798 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8800 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8802 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8804 Moved ...
8805 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8807 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8809 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8811 Identical file removed.
8812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8813 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8815 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8817 Moved ...
8818 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8819 ... here.
8820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8821 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8823 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8825 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8827 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8829 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8831 Moved ...
8832 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8834 Moved ...
8835 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8839 Moved ...
8840 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8842 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8843
52ae23b4
RM
8844 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8845 folded into ...
8846 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8847 * sysdeps/unix/sysv/linux/s390/Versions
8848 (libpthread: GLIBC_2.19): New version set.
8849 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8850 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8851 (librt: GLIBC_2.3.3): New version set.
8852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8853 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8854 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8855 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8856 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8857 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8858 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8859 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8860 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8861 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8862 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8863 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8864 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8865 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8866 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8867 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8868 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8869 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8870 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8871 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8872 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8873 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8874 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8876 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8878 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8880 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8882 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8888 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8890 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8892 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8896 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8897
39507e4a
RM
8898 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8899 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8900 (__libc_vfork): Define the function under this name.
8901 [!NOT_IN_libc] (__vfork): Make this an alias.
8902 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8904 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8905 (__libc_vfork): Define the function under this name.
8906 [!NOT_IN_libc] (__vfork): Make this an alias.
8907 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8908 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8912 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8913
e549ee56
RM
8914 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8915 code that was previously under [RESET_PID].
8916 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8917 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8919
6ad2df0b
RM
8920 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8921 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8922 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8923 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8924 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8925 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8926 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8927 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8928 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8929 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8930 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8931 Moved ...
8932 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8933 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8934 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8935 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8936 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8937 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8938 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8939 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8940 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8942 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8944 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8945 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8946 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8947 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8948 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8950 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8956 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8957 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8958 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8960 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8961
7c1c1d8e
RM
89622014-06-25 Roland McGrath <roland@hack.frob.com>
8963
8964 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8965 that was previously under [RESET_PID].
8966 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8967
3e239be6
JM
89682014-06-25 Joseph Myers <joseph@codesourcery.com>
8969
74385da5
JM
8970 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8971 not undefine and redefine.
8972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8973 [O_CLOEXEC]: Make code unconditional.
8974 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8975 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8976 <kernel-features.h>.
8977 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8978 conditional variable definition.
8979 (shm_open) [O_CLOEXEC]: Make code unconditional.
8980 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8981 code.
8982
c2570a0b
JM
8983 * configure.ac (USE_REGPARMS): Don't define here.
8984 * configure: Regenerated.
8985 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8986 * sysdeps/i386/configure: Regenerated.
8987
11b076bb
JM
8988 * nptl/createthread.c: Don't include kernel-features.h.
8989 * nptl/pthread_cancel.c: Likewise.
8990 * nptl/pthread_condattr_setclock.c: Likewise.
8991 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8992 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8993 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8994 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8995 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8996 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8997 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9000 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9001 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9002 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9003 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9004 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9005 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9006 * nscd/gai.c: Likewise.
9007 * nss/nss_db/db-open.c: Likewise.
9008 * sysdeps/generic/ldsodefs.h: Likewise.
9009 * sysdeps/sh/nptl/tls.h: Likewise.
9010 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9011 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9012 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9013 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9014 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9015 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9016 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9017 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9019 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9020 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9021 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9022 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9023 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9024 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9025 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9026 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9027 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9028 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9029 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9030 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9031 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9032 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9033 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9038 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9039 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9040 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9041 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9042 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9043 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9044 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9045 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9046 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9047 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9048 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9049 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9050 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9051 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9052 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9054 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9055 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9056 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9057 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9058 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9059 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9060 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9061 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9062 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9063 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9064 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9065 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9066 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9067 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9090 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9091 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9093 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9094 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9095 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9097 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9098 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9099 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9100 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9102 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9103 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9104 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9105 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9107 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9108 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9109 * sysdeps/unix/sysv/linux/system.c: Likewise.
9110 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9111 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9112 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9113 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9114 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9116 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9117
92072d57
JM
9118 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9119 * configure: Regenerated.
9120 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9121
3e239be6
JM
9122 * configure.ac (base_machine): Do not set specially for particular
9123 machines here.
9124 * configure: Regenerated.
9125 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9126 settings from configure.ac.
9127 * sysdeps/i386/preconfigure: New file.
9128 * sysdeps/s390/preconfigure: Likewise.
9129 * sysdeps/sh/preconfigure: Likewise.
9130 * sysdeps/sparc/preconfigure: Likewise.
9131
06d50baa
RM
91322014-06-25 Roland McGrath <roland@hack.frob.com>
9133
74836003
RM
9134 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9135 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9136 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9137 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9138 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9139 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9140 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9141 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9142 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9143 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9144 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9145 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9146 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9148 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9149 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9151 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9152 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9153
9154 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9155 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9156 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9157 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9158 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9159 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9160 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9161 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9162 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9163 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9164 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9165 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9166 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9167 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9168 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9169 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9170 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9171 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9172 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9173 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9175 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9179 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9183 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9185 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9187 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9189 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9191 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9192
06d50baa
RM
9193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9194 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9196 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9198 Moved ...
9199 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9200 ... here.
9201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9202 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9206 Moved ...
9207 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9209 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9211 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9213 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9215 Moved ...
9216 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9218 Moved ...
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9223 Moved ...
9224 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9226 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9228 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9230 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9232 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9234 Moved ...
9235 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9236 ... here.
9237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9240 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9242 Moved ...
9243 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9245 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9251 Moved ...
9252 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9254 Moved ...
9255 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9259 Moved ...
9260 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9262 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9265
a4ccbc9b
JM
92662014-06-25 Joseph Myers <joseph@codesourcery.com>
9267
0828edbf
JM
9268 * timezone/checktab.awk: Update from tzcode 2014e.
9269 * timezone/private.h: Likewise.
9270 * timezone/tzfile.h: Likewise.
9271 * timezone/zdump.c: Likewise.
9272 * timezone/zic.c: Likewise.
9273
a4ccbc9b
JM
9274 * sysdeps/unix/sysv/linux/kernel-features.h
9275 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9277 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9278 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9279 Remove conditional code.
9280
9aea0cb8
WN
92812014-06-25 Will Newton <will.newton@linaro.org>
9282
9283 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9284 (_dl_arm_cap_flags): Add HWCAP2 values.
9285 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9286 (_DL_HWCAP_COUNT): Increase to 37.
9287 (_DL_HWCAP_LAST): New define.
9288 (_DL_HWCAP2_LAST): New define.
9289 (_dl_procinfo): Add support for printing
9290 AT_HWCAP2 entries.
9291 (_dl_string_hwcap): Use _dl_hwcap_string.
9292
6eaa65ce
AZ
92932014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9294
9295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9296
0f5b7185
JM
92972014-06-25 Joseph Myers <joseph@codesourcery.com>
9298
cfd2ea50
JM
9299 * README: Do not mention ports directory.
9300
cecf2ed4
JM
9301 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9302 Remove macro.
9303 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9304 <kernel-features.h>.
9305 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9306 conditional variable definition.
9307 (__futimes): Update comment.
9308 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9309 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9310
a638de82
JM
9311 [BZ #16560]
9312 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9313 arguments close to 0.
9314 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9315 Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9317 Likewise.
9318 * math/auto-libm-test-in: Add more tests of exp10.
9319 * math/auto-libm-test-out: Regenerated.
9320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9321
0f5b7185
JM
9322 * sysdeps/unix/sysv/linux/kernel-features.h
9323 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9324 * sysdeps/unix/sysv/linux/readv.c: Do not include
9325 <kernel-features.h>.
9326 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9327 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9328 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9329 unconditional.
9330 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9331 conditional code.
9332 * sysdeps/unix/sysv/linux/writev.c: Do not include
9333 <kernel-features.h>.
9334 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9335 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9336 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9337 unconditional.
9338 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9339 conditional code.
9340
c7aec4be
WN
93412014-06-25 Will Newton <will.newton@linaro.org>
9342
9343 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9344 comment changes throughout the file. Remove checks
9345 for HAVE_*_H definitions that are not required.
9346 (__gen_tempname): Call abort if an unknown kind value is
9347 passed.
9348
c5241f95
AS
93492014-06-25 Andreas Schwab <schwab@suse.de>
9350
9351 [BZ #17086]
9352 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9353 scalbln, scalblnf, scalblnl in libc.
9354
911422da
SP
93552014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9356
9357 [BZ #17086]
9358 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9359 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9360 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9361
0d749bbe
RM
93622014-06-24 Roland McGrath <roland@hack.frob.com>
9363
9364 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9365 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9366 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9367 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9368 Update #include.
9369 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9370 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9371 Update #include.
9372 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9373 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9374 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9375 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9376 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9377 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9378 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9379 * sysdeps/x86/bits/semaphore.h: ... here.
9380 * sysdeps/x86/nptl/elide.h: Moved ...
9381 * sysdeps/x86/elide.h: ... here.
9382 * sysdeps/x86_64/nptl/Implies: File removed.
9383 * sysdeps/i386/nptl/Implies: File removed.
9384
0ea5d373
JM
93852014-06-24 Joseph Myers <joseph@codesourcery.com>
9386
4060283d
JM
9387 [BZ #16539]
9388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9389 return the argument for normal arguments with exponent below -64.
9390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9391 Likewise.
9392 * math/auto-libm-test-in: Add another test of expm1.
9393 * math/auto-libm-test-out: Regenerated.
9394
e7dd3c8c
JM
9395 [BZ #16287]
9396 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9397 calling __erfcl for arguments at least 16.
9398 * math/auto-libm-test-in: Add more tests of erf.
9399 * math/auto-libm-test-out: Regenerated.
9400
0ea5d373
JM
9401 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9402 individual architectures.
9403 * sysdeps/unix/sysv/linux/configure: Regenerated.
9404 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9405 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9406 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9407 (ldd_rewrite_script): Define variable.
9408 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9410 file.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9412 generated file.
9413 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9414 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9415 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9416 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9417 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9418 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9419 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9420 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9421
2307e126
SP
94222014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9423
9424 [BZ #17084]
9425 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9426 Rename member __data.d to __data.__elision_data.
9427
c0a4ed77
W
94282014-06-24 Wilco <wdijkstr@arm.com>
9429
9430 * NEWS: Add 16918 to fixed bug list.
9431
b8c00573
W
94322014-06-24 Wilco <wdijkstr@arm.com>
9433
9434 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9435
b5570d92
W
94362014-06-24 Wilco <wdijkstr@arm.com>
9437
9438 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9439 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9440 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9441 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9442 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9443 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9444 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9445 Use _FPU_MASK_RM.
9446
947bdca2
W
94472014-06-24 Wilco <wdijkstr@arm.com>
9448
9449 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9450
00f669ed
W
94512014-06-24 Wilco <wdijkstr@arm.com>
9452
9453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9454 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9455 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9456 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9457
db59bad3
W
94582014-06-24 Wilco <wdijkstr@arm.com>
9459
9460 [BZ #16918]
9461 * sysdeps/arm/feupdateenv.c (feupdateenv):
9462 Rewrite to reduce FPSCR accesses and fix return value.
9463
001f7b77
W
94642014-06-24 Wilco <wdijkstr@arm.com>
9465
9466 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9467 Optimize to avoid unnecessary FPSCR writes.
9468 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9469 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9470 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9471 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9472
4841e6a6
W
94732014-06-24 Wilco <wdijkstr@arm.com>
9474
9475 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9476 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9477 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9478 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9479 Call libc_fetestexcept_vfp.
9480 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9481 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9482 __SOFTFP__ ifdef so that they can be built for softfp.
9483
0813022c
SP
94842014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9485
08e5862f
SP
9486 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9487 argument type signed char.
9488
0813022c
SP
9489 * Makerules (check-abi): Dump diff of symlist if the test
9490 fails.
9491
3fc7236a
RM
94922014-06-23 Roland McGrath <roland@hack.frob.com>
9493
aba8ef95
RM
9494 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9495 using abort.
9496
3fc7236a
RM
9497 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9498 Remove unused variable ST.
9499
4da6db51
JM
95002014-06-23 Joseph Myers <joseph@codesourcery.com>
9501
4648909d
JM
9502 [BZ #16354]
9503 [BZ #17061]
9504 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9505 small arguments before calling __expm1.
9506 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9507 small arguments before calling __expm1f.
9508 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9509 small arguments before calling __expm1l.
9510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9511 Likewise.
9512 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9513 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9514 spurious underflow for some cosh tests.
9515 * math/auto-libm-test-out: Regenerated.
9516 * sysdeps/i386/fpu/libm-test-ulps: Update.
9517
46a3d3c7
JM
9518 [BZ #17050]
9519 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9520 (__ieee754_y1): Set errno if return value overflows.
9521 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9522 (__ieee754_y1f): Set errno if return value overflows.
9523 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9524 (__ieee754_y1l): Set errno if return value overflows.
9525 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9526 (__ieee754_y1l): Set errno if return value overflows.
9527 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9528 * math/auto-libm-test-out: Regenerated.
9529
863893ec
JM
9530 * math/gen-auto-libm-tests.c: Document use of
9531 ignore-zero-inf-sign.
9532 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9533 (input_flags): Add ignore-zero-inf-sign.
9534 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9535 * math/gen-libm-test.pl (generate_testfile): Handle
9536 ignore-zero-inf-sign.
9537 * math/auto-libm-test-in: Mark some cpow tests with
9538 ignore-zero-inf-sign and some with xfail-rounding.
9539 * math/auto-libm-test-out: Regenerated.
9540 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9541 * sysdeps/i386/fpu/libm-test-ulps: Update.
9542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9543
4da6db51
JM
9544 [BZ #16315]
9545 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9546 overflowing or underflowing operations take place with sign of
9547 result.
9548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9550 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9551 (__ieee754_pow): Recompute overflowing and underflowing results in
9552 original rounding mode.
9553 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9554 (__powl_helper): Allow negative argument X and scale negated value
9555 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9556 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9557 overflowing or underflowing operations take place with sign of
9558 result.
9559 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9560 Include <math.h>.
9561 * math/auto-libm-test-in: Add more tests of pow.
9562 * math/auto-libm-test-out: Regenerated.
9563 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9564 (pow_tonearest_test_data): Remove.
9565 (pow_test_tonearest): Likewise.
9566 (pow_towardzero_test_data): Likewise.
9567 (pow_test_towardzero): Likewise.
9568 (pow_downward_test_data): Likewise.
9569 (pow_test_downward): Likewise.
9570 (pow_upward_test_data): Likewise.
9571 (pow_test_upward): Likewise.
9572 (main): Don't call removed functions.
9573 * sysdeps/i386/fpu/libm-test-ulps: Update.
9574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9575
5686b236
RM
95762014-06-23 Roland McGrath <roland@hack.frob.com>
9577
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9579 Moved ...
9580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9582 Moved ...
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9585 Moved ...
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9588 Moved ...
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9591 File removed.
9592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9593 File removed.
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9595 File removed.
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9597 File removed.
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9599 File removed.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9601 File removed.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9603 File removed.
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9605 File removed.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9607 File removed.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9609 File removed.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9611 File removed.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9613 File removed.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9615 Moved ...
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9618 Moved ...
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9620 ... here.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9622 Moved ...
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9625 Moved ...
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9628 Moved ...
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9631 Moved ...
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9634 Moved ...
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9637 Moved ...
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9640 Moved ...
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9644 ... here.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9646 Moved ...
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9649 Moved ...
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9651 ... here.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9653 Moved ...
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9655 ... here.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9657 Moved ...
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9659 ... here.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9661 Moved ...
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9664 Moved ...
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9669 Moved ...
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9671 ... here.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9673 Moved ...
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9675 ... here.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9677 Moved ...
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9680 Moved ...
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9683 Moved ...
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9686 Moved ...
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9689 Moved ...
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9691 ... here.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9693 Moved ...
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9696 Moved ...
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9699 Moved ...
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9702 Moved ...
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9707 Moved ...
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9710 Moved ...
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9713 Moved ...
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9715 ... here.
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9717 Moved ...
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9719 ... here.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9721 Moved ...
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9723 ... here.
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9725 Moved ...
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9728 Moved ...
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9731 Moved ...
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9734 Moved ...
9735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9736 ... here.
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9738 Moved ...
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9740 ... here.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9742 Moved ...
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9744 ... here.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9746 Moved ...
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9749 Moved ...
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9751
e6d90d67
WD
97522014-06-23 Will Newton <will.newton@linaro.org>
9753 Wilco <wdijkstr@arm.com>
9754
9755 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9756 implementation. Include get-rounding-mode.h.
9757 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9758 [!libc_feholdsetround_noex_ctx]: Define
9759 libc_feholdsetround_noex_ctx.
9760 [!libc_feholdsetround_noexf_ctx]: Define
9761 libc_feholdsetround_noexf_ctx.
9762 [!libc_feholdsetround_noexl_ctx]: Define
9763 libc_feholdsetround_noexl_ctx.
9764 (libc_feholdsetround_ctx): New function.
9765 (libc_feresetround_ctx): New function.
9766 (libc_feholdsetround_noex_ctx): New function.
9767 (libc_feresetround_noex_ctx): New function.
9768
d42df555
RM
97692014-06-23 Roland McGrath <roland@hack.frob.com>
9770
88a46474
RM
9771 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9772 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9773 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9774 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9775 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9776 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9777
15bed472
RM
9778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9779 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9780 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9781 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9782 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9783 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9785 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9789 Moved ...
9790 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9791 ... here.
9792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9797 Moved ...
9798 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9800 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9804 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9806 Moved ...
9807 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9809 Moved ...
9810 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9811 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9812 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9813 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9814 Moved ...
9815 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9817 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9818 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9819 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9820 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9821 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9825 Moved ...
9826 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9827 ... here.
9828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9837 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9841 Moved ...
9842 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9844 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9846 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9848 Moved ...
9849 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9853 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9854
d42df555
RM
9855 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9856 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9857 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9883
76e5216e
JM
98842014-06-23 Joseph Myers <joseph@codesourcery.com>
9885
9886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9887 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9888 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9889 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9890 (IPV6_PMTUDISC_INTERFACE): Likewise.
9891 (IPV6_PMTUDISC_OMIT): Likewise.
9892
7a81cbcc
AS
98932014-06-23 Andreas Schwab <schwab@suse.de>
9894
9895 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9896 Remove unused errout label.
9897
db224009
AZ
98982014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9899
9900 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9901 macro: hardware supports Vector Crypto instructions.
9902
f393b4aa
WN
99032014-06-23 Will Newton <will.newton@linaro.org>
9904
cc7d0447
WN
9905 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9906 rather than __builtin_expect.
9907
d6d06225
WN
9908 * elf/dl-lookup.c (undefined_msg): Remove variable.
9909 (_dl_lookup_symbol_x): Replace undefined_msg with string
9910 literal.
9911
f393b4aa
WN
9912 * elf/dl-lookup.c (do_lookup_unique): New function.
9913 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9914 to a separate function.
9915
ac60763e
AS
99162014-06-23 Andreas Schwab <schwab@suse.de>
9917
9918 [BZ #17079]
9919 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9920 before reading the next line.
9921
c5c13355
WN
99222014-06-23 Will Newton <will.newton@linaro.org>
9923
9924 * test-skeleton.c (signal_handler): Use printf and %m
9925 rather than perror. Use printf rather than fprintf to
9926 stderr. Use puts rather than fputs to stderr.
9927 (main): Likewise.
9928
bd3675f9
LC
99292014-06-22 Ludovic Courtès <ludo@gnu.org>
9930
9931 * nscd/nscd.c (thread_info_t): Remove typedef.
9932 (thread_info): Remove variable.
9933
d03efb2f
AM
99342014-06-21 Allan McRae <allan@archlinux.org>
9935
9936 * NEWS: Mention CVE-2014-4043.
9937
bc4a86fa
RM
99382014-06-20 Roland McGrath <roland@hack.frob.com>
9939
dc9a54f8
RM
9940 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9941 * nptl/smp.h: ... here.
9942
bd7022c4
RM
9943 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9944
26ffd5e6
RM
9945 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9946 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9947 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9948 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9949
93a6d082
RM
9950 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9951 * nptl/stack-aliasing.h: New file.
9952 * sysdeps/i386/i686/stack-aliasing.h: New file.
9953 * sysdeps/i386/i686/nptl/Makefile: File removed.
9954 * sysdeps/x86_64/stack-aliasing.h: New file.
9955 * sysdeps/x86_64/nptl/Makefile
9956 (CFLAGS-pthread_create.c): Variable removed.
9957
bc4a86fa
RM
9958 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9959 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9960 old file.
9961 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9962 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9963 old file.
9964
2272ffc1
JM
99652014-06-21 Joseph Myers <joseph@codesourcery.com>
9966
9967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9968 (__ASSUME_SIGFRAME_V2): Remove macro.
9969 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9970 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9971 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9972 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9973 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9974 Declare as function. Remove conditional macro definitions.
9975 (__default_rt_sa_restorer): Likewise.
9976 (__default_sa_restorer_v1): Remove declaration.
9977 (__default_sa_restorer_v2): Likewise.
9978 (__default_rt_sa_restorer_v1): Likewise.
9979 (__default_rt_sa_restorer_v2): Likewise.
9980 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9981 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9982 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9983
4b88139b
RM
99842014-06-20 Roland McGrath <roland@hack.frob.com>
9985
9986 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9987 (libpthread-routines): Add sysdep.
9988 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9989 * sysdeps/unix/sysv/linux/sparc/Versions
9990 (libpthread: GLIBC_2.3.3): New version set.
9991 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9992 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9993 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9994 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9995 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9996 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9997 Moved ...
9998 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9999 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10000 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10001 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10002 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10004 * sysdeps/sparc/nptl/sem_init.c: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10006 * sysdeps/sparc/nptl/sem_post.c: ... here.
10007 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10008 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10009 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10010 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10011 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10012 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10013 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10014 (libpthread-routines): Add cpu_relax.
10015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10016 File removed.
10017 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10018 (librt: GLIBC_2.3.3): New version set.
10019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10020 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10022 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10025 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10027 Moved ...
10028 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10030 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10032 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10034 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10036 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10038 Moved ...
10039 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10040 Update #include.
10041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10042 Moved ...
10043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10044 Update #include.
10045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10046 Moved ...
10047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10048 Update #include.
10049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10050 Moved ...
10051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10052 Update #include.
10053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10054 Moved ...
10055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10056 Update #include.
10057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10058 Moved ...
10059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10060 Update #include.
10061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10062 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10070 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10072 Moved ...
10073 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10075 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10077 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10078
d7109027
JM
100792014-06-20 Joseph Myers <joseph@codesourcery.com>
10080
9bc6103d
JM
10081 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10082 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10083 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10084 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10085 * nscd/nscd.c: Likewise.
10086 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10087 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10088 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10089 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10090
d7109027
JM
10091 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10092 <kernel-features.h>.
10093 (init_mq_netlink): Remove conditional have_sock_cloexec
10094 definitions. Remove code conditional on have_sock_cloexec < 0.
10095 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10096 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10097 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10098 <kernel-features.h>.
10099 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10100 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10101
d92d8f8a
L
101022014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10103
10104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10105 Add tests for memset_chk and memset.
10106
10107 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10108 with AVX2_Usable.
10109
4e6d2347
MR
101102014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10111
257ce712
MR
10112 [BZ #16046]
10113 * elf/tst-dl-iter-static.c: New file.
10114 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10115
4e6d2347
MR
10116 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10117 error.
10118
a2a76afe
JM
101192014-06-20 Joseph Myers <joseph@codesourcery.com>
10120
7fd00f99
JM
10121 * sysdeps/unix/sysv/linux/kernel-features.h
10122 (__ASSUME_F_GETOWN_EX): Remove macro.
10123 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10124 <kernel-features.h>.
10125 (miss_F_GETOWN_EX): Remove variable or macro.
10126 (do_fcntl): Do not check miss_F_GETOWN_EX.
10127 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10128
4a103975
JM
10129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10130 Remove macro.
10131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10132 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10133 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10134
a2a76afe
JM
10135 * sysdeps/unix/sysv/linux/kernel-features.h
10136 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10137 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10138 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10139 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10140
90e5dd48
MR
101412014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10142
10143 [BZ #17075]
10144 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10145 Fix calculation of the symbol's value.
10146 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10147 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10148 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10149 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10150 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10151 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10152 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10153 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10154 (modules-names): Add `tst-armtlsdescmod',
10155 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10156 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10157 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10158 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10159 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10160 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10161 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10162 ($(objpfx)tst-armtlsdescloc): New dependency.
10163 ($(objpfx)tst-armtlsdescextnow): Likewise.
10164 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10165 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10166 TLS scheme support.
10167 * sysdeps/arm/configure: Regenerate.
10168
809fdf0d
JM
101692014-06-20 Joseph Myers <joseph@codesourcery.com>
10170
10171 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10172 (__atfct_seterrno_2): Likewise.
10173 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10174 <kernel-features.h>.
10175 (__ASSUME_ATFCTS): Do not undefine and redefine.
10176 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10177 (__have_atfcts): Remove conditional definition.
10178 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10180 unreachable if [__ASSUME_ATFCTS].
10181 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10182 not undefine and redefine.
10183 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10184 <kernel-features.h>.
10185 (faccessat) [__NR_faccessat]: Make code unconditional.
10186 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10187 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10188 <kernel-features.h>.
10189 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10190 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10191 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10192 <kernel-features.h>.
10193 (fchownat) [__NR_fchownat]: Make code unconditional.
10194 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10195 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10196 <kernel-features.h>.
10197 (futimesat) [__NR_futimesat]: Make code unconditional.
10198 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10199 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10200 <kernel-features.h>.
10201 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10202 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10203 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10204 <kernel-features.h>.
10205 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10206 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10207 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10208 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10209 <kernel-features.h>.
10210 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10211 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10212 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10213 <kernel-features.h>.
10214 (linkat) [__NR_linkat]: Make code unconditional.
10215 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10216 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10217 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10218 <kernel-features.h>.
10219 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10220 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10221 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10222 <kernel-features.h>.
10223 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10224 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10225 * sysdeps/unix/sysv/linux/openat.c: Do not include
10226 <kernel-features.h>.
10227 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10228 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10229 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10230 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10231 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10232 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10233 <kernel-features.h>.
10234 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10235 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10236 result of INLINE_SYSCALL directly, not via int variable.
10237 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10238 <kernel-features.h>.
10239 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10240 (renameat) [__NR_renameat]: Make code unconditional.
10241 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10242 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10243 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10244 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10245 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10246 (__ASSUME_ATFCTS): Do not undefine and redefine.
10247 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10248 <kernel-features.h>.
10249 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10250 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10251 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10252 <kernel-features.h>.
10253 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10254 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10255 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10256 (__ASSUME_ATFCTS): Do not undefine and redefine.
10257 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10258 <kernel-features.h>.
10259 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10260 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10261 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10262 <kernel-features.h>.
10263 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10264 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10265
224c6c51
L
102662014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10267
10268 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10269
aa6ec754
AS
102702014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10271
10272 [BZ #17069]
10273 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10274 constructed tree before returning error.
10275 * posix/bug-regexp36.c: Expand test case.
10276
d8c2869d
SL
102772014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10278
3ef6b850
SL
10279 [BZ #6803]
10280 * math/libm-test.inc (scalbln_test_date):
10281 Add errno expectations.
10282 * math/w_scalblnf.c: New File.
10283 Add wrapper which checks for setting errno to ERANGE.
10284 Add weak_alias for corresponding scalbln function.
10285 * math/w_scalbln.c: Likewise.
10286 * math/w_scalblnl.c: Likewise.
10287 * math/Makefile (libm-calls): Add w_scalbln.
10288 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10289 Remove weak_alias for corresponding scalbln function.
10290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10294 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10295 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10296 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10297 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10298 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10299 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10300 Remove long_double_symbol for scalblnl function in libm, libc.
10301 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10302 Add wrapper which checks for setting errno to ERANGE.
10303 Add long_double_symbol for scalblnl function in libm, libc.
10304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10305 Remove long_double_symbol for scalblnl in libm.
10306 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10307 Add wrapper which checks for setting errno to ERANGE.
10308 Add long_double_symbol for scalblnl function in libm.
10309 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10310 Do not use wrapper because of own implementation.
10311
c8daec5c
L
103122014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10313
10314 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10315 3 bytes for __pad1 for x32.
10316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10317
5c74e47c
LM
103182014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10319 H.J. Lu <hongjiu.lu@intel.com>
10320
10321 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10322 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10325 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10326
4d43ef1e
AS
103272014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10328
10329 [BZ #17069]
10330 * posix/regcomp.c (parse_expression): Deallocate partially
10331 constructed tree before returning error.
10332 * posix/Makefile.c (tests): Add bug-regex36.
10333 (generated): Add bug-regex36.mtrace.
10334 (tests-special): Add $(objpfx)bug-regex36-mem.out
10335 (bug-regex36-ENV): New variable.
10336 ($(objpfx)bug-regex36-mem.out): New rule.
10337 * posix/bug-regex36.c: New file.
10338
51a7380b
WN
103392014-06-19 Will Newton <will.newton@linaro.org>
10340
10341 * malloc/malloc.c (systrim): If extra is zero then return
10342 early.
10343
91b84fe5
SP
103442014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10345
10346 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10347
f940b965
RE
103482014-06-19 Richard Earnshaw <rearnsha@arm.com>
10349
10350 * sysdeps/aarch64/strchr.S: New file.
10351
4ba7a00f
JM
103522014-06-18 Joseph Myers <joseph@codesourcery.com>
10353
10354 [BZ #17022]
10355 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10356 from arguments -2 or below.
10357 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10358 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10359
b3a9f56b
AS
103602014-06-18 Andreas Schwab <schwab@suse.de>
10361
10362 [BZ #17062]
10363 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10364 of a bracket expr not to run off the end of the string.
10365 * posix/Makefile (tests): Add tst-fnmatch3.
10366 * posix/tst-fnmatch3.c: New file.
10367
85d89278
JM
103682014-06-18 Joseph Myers <joseph@codesourcery.com>
10369
10370 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10371 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10372 [$(cross-compiling) = no]: Likewise.
10373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10374 [$(cross-compiling) = no]: Likewise.
10375
754c5a08
RS
103762014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10377
10378 [BZ #17031]
10379 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10380 double, adjusted for any remainder from the high double.
10381 * math/libm-test.inc (nearbyint): Add tests.
10382 (rint): Likewise.
10383
556f529d
AZ
103842014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10385
10386 * nptl/sysdeps/powerpc/Makefile: Moved ...
10387 * sysdeps/powerpc/nptl/Makefile: ... here.
10388 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10389 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10390 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10391 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10392 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10393 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10394 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10395 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10396 * nptl/sysdeps/powerpc/tls.h: Moved ...
10397 * sysdeps/powerpc/nptl/tls.h: ... here.
10398
91c03c53
JM
103992014-06-16 Joseph Myers <joseph@codesourcery.com>
10400
10401 [BZ #16681]
10402 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10403 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10404 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10405 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10406 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10407 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10408 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10409 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10410 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10411
a76e63c5
AS
104122014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10413
10414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10415
f2f6d82f
AS
104162014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10417
ea8a15f6
AS
10418 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10419 defined operator.
10420
f2f6d82f
AS
10421 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10422 $TIMEOUTFACTOR.
10423
a7291117
FW
104242014-06-16 Florian Weimer <fweimer@redhat.com>
10425
10426 [BZ #17058]
10427 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10428 non-executed part of the test.
10429
3d7c00e3
AS
104302014-06-16 Andreas Schwab <schwab@suse.de>
10431
10432 * string/bits/string2.h (strdup, strndup): Update feature guard.
10433
6957fb31
DM
104342014-06-14 David S. Miller <davem@davemloft.net>
10435
10436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10437
11b9e55b
AS
104382014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10439
1d2a0492
AS
10440 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10441 that was previously under [RESET_PID].
10442 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10443
11b9e55b
AS
10444 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10445 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10446 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10447 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10448 (__libc_vfork): New strong alias.
10449 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10450
0f6901d0
AK
104512014-06-14 Andi Kleen <ak@linux.intel.com>
10452
10453 * sysdeps/generic/elide.h: New file.
10454
38bbbb9f
SL
104552014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10456
10457 * Makefile (installed-headers): Adjust path of pthread.h header.
10458
45193bb8
RM
104592014-06-13 Roland McGrath <roland@hack.frob.com>
10460
9a25fd1e
RM
10461 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10462 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10463 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10464 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10465
4004f7e4
RM
10466 * nptl/sysdeps/s390/Makefile: Moved ...
10467 * sysdeps/s390/nptl/Makefile: ... here.
10468 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10469 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10470 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10471 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10472 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10473 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10474 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10475 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10476 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10477 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10478 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10479 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10480 * nptl/sysdeps/s390/tls.h: Moved ...
10481 * sysdeps/s390/nptl/tls.h: ... here.
10482
45193bb8
RM
10483 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10484 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10485
f6fdf533
DM
104862014-06-13 David S. Miller <davem@davemloft.net>
10487
10488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10491 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10495 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10496 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10497 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10498 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10499 Remove RESET_PID cpp guards.
10500 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10501 Remove RESET_PID cpp guards.
10502 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10503
f5d71e14
AS
105042014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10505
10506 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10507 __sp to uintptr_t.
10508
b7aa8caa
AK
105092014-06-13 Andi Kleen <ak@linux.intel.com>
10510
4b266200
AZ
10511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10513 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10514 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10519 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10523 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10524 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10531
10532 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10533 (pthread_rwlock_rdlock): Add elision.
10534 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10535 (pthread_rwlock_wrlock): Add elision.
10536 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10537 (pthread_rwlock_trywrlock): Add elision.
10538 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10539 (pthread_rwlock_tryrdlock): Add elision.
10540 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10541 (pthread_rwlock_tryrdlock): Add elision unlock.
10542 * nptl/sysdeps/pthread/pthread.h:
10543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10544 (PTHREAD_RWLOCK_INITIALIZER,
10545 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10546 Handle new elision field.
10547 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10548 * sysdeps/arm/nptl/bits/pthreadtypes.h
10549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10550 * sysdeps/sh/nptl/bits/pthreadtypes.h
10551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10552 * sysdeps/tile/nptl/bits/pthreadtypes.h
10553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10554 * sysdeps/a/nptl/bits/pthreadtypes.h
10555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10556 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10558 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10560 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10562 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10564 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10566 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10568 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10570 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10572 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10573 (elision_init): Set try_xbegin to zero when no RTM.
10574 * sysdeps/x86/nptl/bits/pthreadtypes.h
10575 (pthread_rwlock_t): Change __pad1 to __rwelision.
10576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10577
a832bdd3
AK
105782014-06-13 Andi Kleen <ak@linux.intel.com>
10579
10580 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10581 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10582 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10583 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10584
995a46bb
MI
105852014-06-13 Meador Inge <meadori@codesourcery.com>
10586
10587 [BZ #16996]
03ed7738 10588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10589 that the cached result has been set before returning it.
10590
45262aee
RM
105912014-06-12 Roland McGrath <roland@hack.frob.com>
10592
febf6cc5
RM
10593 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10594 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10595 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10596 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10597 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10598 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10599
e2682246
RM
10600 * nptl/sysdeps/sparc/Makefile: Moved ...
10601 * sysdeps/sparc/nptl/Makefile: ... here.
10602 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10603 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10604 * nptl/sysdeps/sparc/tls.h: Moved ...
10605 * sysdeps/sparc/nptl/tls.h: ... here.
10606 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10607 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10608 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10609 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10610 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10611 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10612 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10613 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10614 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10615 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10616 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10617 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10618 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10619 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10620 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10621 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10622 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10623 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10624 Update #include.
10625 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10626 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10627 Update #include.
10628 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10629 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10630 Update #include.
10631 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10632 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10633 Update #include.
10634
b0725f43
RM
10635 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10636
b14368b8
RM
10637 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10638 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10639
c5620eb3
RM
10640 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10641 (struct list_links): Type removed.
10642 (struct thread_node, struct timer_node): Replace struct list_links
10643 with struct list_head.
10644 (list_unlink_ip): Likewise.
10645 * sysdeps/pthread/timer_routines.c
10646 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10647 (list_append, list_insbefore): Likewise.
10648 (list_init): Function removed.
10649 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10650 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10651 * sysdeps/pthread/Makefile: ... here, new file.
10652
10653 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10654 * sysdeps/nptl/Implies: ... here.
10655 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10656 * nptl/sysdeps/pthread/list.h: Moved ...
10657 * include/list.h: ... here.
10658 * nptl/sysdeps/pthread/createthread.c: Moved ...
10659 * nptl/createthread.c: ... here.
10660 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10661 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10662 * nptl/pt-longjmp.c: ... here.
10663 * nptl/sysdeps/pthread/Makefile: Moved ...
10664 * sysdeps/nptl/Makefile: ... here.
10665 * nptl/sysdeps/pthread/Subdirs: Moved ...
10666 * sysdeps/nptl/Subdirs: ... here.
10667 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10668 * sysdeps/nptl/aio_misc.h: ... here.
10669 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10670 * sysdeps/nptl/bits/libc-lock.h: ... here.
10671 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10672 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10673 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10674 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10675 * nptl/sysdeps/pthread/configure: Moved ...
10676 * sysdeps/nptl/configure: ... here.
10677 * nptl/sysdeps/pthread/configure.ac: Moved ...
10678 * sysdeps/nptl/configure.ac: ... here.
10679 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10680 * sysdeps/nptl/gai_misc.h: ... here.
10681 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10682 * sysdeps/nptl/librt-cancellation.c: ... here.
10683 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10684 * sysdeps/nptl/malloc-machine.h: ... here.
10685 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10686 * sysdeps/nptl/pthread-functions.h: ... here.
10687 * nptl/sysdeps/pthread/pthread.h: Moved ...
10688 * sysdeps/nptl/pthread.h: ... here.
10689 * nptl/sysdeps/pthread/setxid.h: Moved ...
10690 * sysdeps/nptl/setxid.h: ... here.
10691 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10692 * sysdeps/nptl/sigfillset.c: ... here.
10693 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10694 * sysdeps/nptl/tcb-offsets.h: ... here.
10695 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10696 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10697 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10698 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10699 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10700 * sysdeps/pthread/allocalim.h: ... here.
10701 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10702 * sysdeps/pthread/bits/sigthread.h: ... here.
10703 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10704 * sysdeps/pthread/flockfile.c: ... here.
10705 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10706 * sysdeps/pthread/ftrylockfile.c: ... here.
10707 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10708 * sysdeps/pthread/funlockfile.c: ... here.
10709 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10710 * sysdeps/pthread/posix-timer.h: ... here.
10711 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10712 * sysdeps/pthread/timer_create.c: ... here.
10713 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10714 * sysdeps/pthread/timer_delete.c: ... here.
10715 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10716 * sysdeps/pthread/timer_getoverr.c: ... here.
10717 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10718 * sysdeps/pthread/timer_gettime.c: ... here.
10719 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10720 * sysdeps/pthread/timer_routines.c: ... here.
10721 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10722 * sysdeps/pthread/timer_settime.c: ... here.
10723 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10724 * sysdeps/pthread/tst-timer.c: ... here.
10725 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10726 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10727
e876b090
RM
10728 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10729 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10730
f6b07b3d
RM
10731 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10732 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10733 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10734 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10735 Update #include target.
10736 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10737 * sysdeps/i386/i686/nptl/Makefile: ... here.
10738 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10739 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10740 Update #include target.
10741 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10742 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10743 * nptl/sysdeps/i386/Makefile: Moved ...
10744 * sysdeps/i386/nptl/Makefile: ... here.
10745 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10746 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10747 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10748 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10749 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10750 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10751 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10752 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10753 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10754 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10755 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10756 * nptl/sysdeps/i386/tls.h: Moved ...
10757 * sysdeps/i386/nptl/tls.h: ... here.
10758
45262aee
RM
10759 * sysdeps/sh/Makefile [$(subdir) = csu]
10760 (gen-as-const-headers): Add tcb-offsets.sym.
10761 * nptl/sysdeps/sh/Makefile: File removed.
10762 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10763 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10764 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10765 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10766 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10767 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10768 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10769 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10770 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10771 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10772 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10773 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10774 * nptl/sysdeps/sh/tls.h: Moved ...
10775 * sysdeps/sh/nptl/tls.h: ... here.
10776 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10777 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10778 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10779 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10781 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10782 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10783 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10784 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10785 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10786 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10787 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10789 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10791 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10793 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10795 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10797 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10799 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10801 Moved ...
10802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10804 Moved ...
10805 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10807 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10811 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10813 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10815 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10817 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10818 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10819 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10820 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10821 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10822 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10824
35a5e3e3
SL
108252014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10826
10827 * posix/spawn_faction_addopen.c: Include string.h.
10828
14642b85
RM
108292014-06-11 Roland McGrath <roland@hack.frob.com>
10830
10831 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10832 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10833 * nptl/sysdeps/x86_64/Makefile: Moved ...
10834 * sysdeps/x86_64/nptl/Makefile: ... here.
10835 * nptl/sysdeps/x86_64/configure: Moved ...
10836 * sysdeps/x86_64/nptl/configure: ... here.
10837 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10838 * sysdeps/x86_64/nptl/configure.ac: ... here.
10839 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10840 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10841 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10842 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10843 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10844 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10845 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10846 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10847 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10848 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10849 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10850 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10851 * nptl/sysdeps/x86_64/tls.h: Moved ...
10852 * sysdeps/x86_64/nptl/tls.h: ... here.
10853 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10854 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10855 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10856 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10857
10858 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10859
31c44fea
AZ
108602014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10861
10862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10863
e81a4f9a
JM
108642014-06-11 Joseph Myers <joseph@codesourcery.com>
10865
10866 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10867 type.
10868 [POSIX] (off_t): Likewise.
10869 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10870 [POSIX] (S_ISBLK): Require macro.
10871 [POSIX] (S_ISCHR): Likewise.
10872 [POSIX] (S_ISDIR): Likewise.
10873 [POSIX] (S_ISFIFO): Likewise.
10874 [POSIX] (S_ISREG): Likewise.
10875 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10876 optional-macro.
10877 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10878 type.
10879 [POSIX] (time_t): Likewise.
10880 [POSIX] (timer_t): Likewise.
10881
89e435f3
FW
108822014-06-11 Florian Weimer <fweimer@redhat.com>
10883
10884 [BZ #17048]
10885 * posix/spawn_int.h (struct __spawn_action): Make the path string
10886 non-const to support deallocation.
10887 * posix/spawn_faction_addopen.c
10888 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10889 * posix/spawn_faction_destroy.c
10890 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10891 path in all spawn_do_open actions.
10892 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10893 posix_spawn_file_actions_addopen.
10894
c3a2ebe1
CM
108952014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10896
10897 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10898 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10899 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10900 conditional code always true.
10901 (__libc_vfork): New alias.
10902
9503784a
RM
109032014-06-11 Roland McGrath <roland@hack.frob.com>
10904
c9cab3d2
RM
10905 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10906 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10907
d3996c79
RM
10908 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10909
ba5ec611
RM
10910 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10911 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10912
f12b4814
RM
10913 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10914 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10915
9503784a
RM
10916 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10917 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10918
e23d3d26
VR
109192014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10920
10921 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10922 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10923 multiarch strcmp for PPC64.
10924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10925 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10927 multiarch optimizations.
10928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10929 (__libc_ifunc_impl_list): Likewise.
10930
42b1161e
SP
109312014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10932
10933 * benchtests/scripts/validate_benchout.py: New script.
10934 * benchtests/Makefile (bench-func): Call it.
10935 * benchtests/scripts/benchout.schema.json: New file.
10936
2d0fc4dc
CM
109372014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10938
4a594c34
AZ
10939 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10940 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10941 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10942 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10943 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10944 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10945 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10946 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10947 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10948 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10949 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10950 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10951 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10952 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10953 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10954 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10956 Moved ...
4a594c34 10957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10958 ... here.
4a594c34 10959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10960 Moved ...
4a594c34
AZ
10961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10963 Moved ...
4a594c34 10964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10965 ... here.
4a594c34 10966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10967 Moved ...
4a594c34 10968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10969 ... here.
4a594c34 10970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10971 Moved ...
4a594c34
AZ
10972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10974 Moved ...
4a594c34 10975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10976 ... here.
4a594c34 10977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10978 Moved ...
4a594c34 10979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10980 ... here.
4a594c34 10981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10982 Moved ...
4a594c34
AZ
10983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10985 Moved ...
4a594c34 10986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10987 ... here.
4a594c34 10988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10989 Moved ...
4a594c34 10990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10991 ... here.
4a594c34 10992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10993 Moved ...
4a594c34 10994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10995 ... here.
4a594c34 10996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10997 Moved ...
4a594c34
AZ
10998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11000 Moved ...
4a594c34 11001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11002 ... here.
4a594c34 11003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11004 Moved ...
4a594c34 11005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11006 ... here.
4a594c34 11007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11008 Moved ...
4a594c34 11009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11010 ... here.
4a594c34 11011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11012 Moved ...
4a594c34
AZ
11013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11015 Moved ...
4a594c34 11016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11017 ... here.
4a594c34 11018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11019 Moved ...
4a594c34 11020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11021 ... here.
4a594c34 11022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11023 Moved ...
4a594c34
AZ
11024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11026 Moved ...
4a594c34 11027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11028 ... here.
4a594c34 11029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11030 Moved ...
4a594c34
AZ
11031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11033 Moved ...
4a594c34
AZ
11034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11036 Moved ...
4a594c34 11037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11038 ... here.
4a594c34 11039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11040 Moved ...
4a594c34 11041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11042 ... here.
4a594c34 11043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11044 Moved ...
4a594c34 11045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11046 ... here.
4a594c34 11047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11048 Moved ...
4a594c34
AZ
11049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11051 Moved ...
4a594c34 11052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11053 ... here.
4a594c34 11054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11055 Moved ...
4a594c34 11056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11057 ... here.
4a594c34
AZ
11058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11059 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11061 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11063 Moved ...
4a594c34 11064 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11065 ... here.
4a594c34
AZ
11066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11067 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11071 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11073 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11077 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11079 Moved ...
4a594c34
AZ
11080 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11082 Moved ...
4a594c34
AZ
11083 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11085 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11087 Moved ...
4a594c34
AZ
11088 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11090 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11091 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11092 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11093 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11094 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11095
0570cfed
W
110962014-06-10 Wilco <wdijkstr@arm.com>
11097
11098 * math/test-fenv-return.c: New file.
11099 * math/Makefile: Add new test test-fenv-return.
11100
f8ba1b56
JM
111012014-06-10 Joseph Myers <joseph@codesourcery.com>
11102
11103 [BZ #17042]
11104 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11105 when x - 1 is zero.
11106 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11107 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11108 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11109 0.0L for an argument of 1.0L.
11110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11111 Likewise.
11112 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11113 value when x - 1 is zero.
11114 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11115 * sysdeps/i386/fpu/libm-test-ulps: Update.
11116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11117
2c3520d9
BO
111182014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11119
11120 [BZ #15119]
11121 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11122
acaa4d24
RM
111232014-06-09 Roland McGrath <roland@hack.frob.com>
11124
11125 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11126 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11127
962b744d
RM
111282014-06-09 Roland McGrath <roland@hack.frob.com>
11129
d752f0cc
RM
11130 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11131 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11132
34eda6d1
RM
11133 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11134 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11135
50f0a637
RM
11136 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11137 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11138
08f41f04
RM
11139 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11140 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11141
962b744d
RM
11142 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11143 if not already defined.
11144 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11145 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11146 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11147 (TLS_INIT_TP): Use it.
11148 (TLS_DEFINE_INIT_TP): New macro.
11149 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11150
09f19b05
JM
111512014-06-09 Joseph Myers <joseph@codesourcery.com>
11152
11153 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11154 constant.
11155 [POSIX] (IXANY): Likewise.
11156 [POSIX] (OLCUC): Likewise.
11157 [POSIX || POSIX2008] (CBAUD): Do not allow.
11158 [POSIX || POSIX2008] (DEFECHO): Likewise.
11159 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11160 [POSIX || POSIX2008] (ECHOKE): Likewise.
11161 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11162 [POSIX || POSIX2008] (EXTA): Likewise.
11163 [POSIX || POSIX2008] (EXTB): Likewise.
11164 [POSIX || POSIX2008] (FLUSHO): Likewise.
11165 [POSIX || POSIX2008] (LOBLK): Likewise.
11166 [POSIX || POSIX2008] (PENDIN): Likewise.
11167 [POSIX || POSIX2008] (SWTCH): Likewise.
11168 [POSIX || POSIX2008] (VDISCARD): Likewise.
11169 [POSIX || POSIX2008] (VDSUSP): Likewise.
11170 [POSIX || POSIX2008] (VLNEXT): Likewise.
11171 [POSIX || POSIX2008] (VREPRINT): Likewise.
11172 [POSIX || POSIX2008] (VSTATUS): Likewise.
11173 [POSIX || POSIX2008] (VWERASE): Likewise.
11174 (B*): Change to B[0123456789]*.
11175 * conform/data/time.h-data [POSIX || UNIX98]
11176 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11177 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11178 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11179 [POSIX] (tm_*): Do not allow.
11180
686554bf
JM
111812014-06-07 Joseph Myers <joseph@codesourcery.com>
11182
11183 * Makefile (install): Don't set LANGUAGE.
11184 * Makefile.in (install): Likewise.
11185 * assert/Makefile (test-assert-ENV): Remove variable.
11186 (test-assert-perr-ENV): Likewise.
11187 * elf/Makefile (neededtest4-ENV): Likewise.
11188 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11189 [$(cross-compiling) = no]: Don't set LANGUAGE.
11190 * io/ftwtest-sh (LANG): Remove variable.
11191 * libio/Makefile (tst-widetext-ENV): Likewise.
11192 * manual/install.texi (Running make install): Don't refer to
11193 environment settings for make install.
11194 * INSTALL: Regenerated.
11195 * nptl/tst-tls6.sh: Don't set LANG.
11196 * posix/globtest.sh (LANG): Remove variable.
11197 * string/Makefile (tester-ENV): Likewise.
11198 (inl-tester-ENV): Likewise.
11199 (noinl-tester-ENV): Likewise.
11200 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11201 [$(cross-compiling) = no]: Don't set LANGUAGE.
11202 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11203 without explicit environment settings.
11204
68e6b6b1
RM
112052014-06-06 Roland McGrath <roland@hack.frob.com>
11206
11207 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11208 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11209 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11210 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11211
4d3ae034
CM
112122014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11213
11214 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11215 other files in the crypt directory.
11216 * crypt/crypt.c: Remove duplicate includes.
11217 * crypt/crypt-entry.c: Likewise.
11218 * crypt/crypt_util.c: Likewise.
11219
8540f6d2
JM
112202014-06-06 Joseph Myers <joseph@codesourcery.com>
11221
11222 * Makeconfig (run-program-env): New variable.
11223 (run-program-prefix-before-env): Likewise.
11224 (run-program-prefix-after-env): Likewise.
11225 (run-program-prefix): Define in terms of new variables.
11226 (built-program-cmd-before-env): New variable.
11227 (built-program-cmd-after-env): Likewise.
11228 (built-program-cmd): Define in terms of new variables.
11229 (test-program-prefix-before-env): New variable.
11230 (test-program-prefix-after-env): Likewise.
11231 (test-program-prefix): Define in terms of new variables.
11232 (test-program-cmd-before-env): New variable.
11233 (test-program-cmd-after-env): Likewise.
11234 (test-program-cmd): Define in terms of new variables.
11235 * Rules (make-test-out): Use $(run-program-env).
11236 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11237 (help): Do not mention environment variables. Mention
11238 --timeoutfactor option.
11239 (timeoutfactor): New variable.
11240 (blacklist_exports): Remove function.
11241 (exports): Remove variable.
11242 (command): Do not include ${exports}.
11243 * manual/install.texi (Configuring and compiling): Do not mention
11244 test wrappers preserving environment variables. Mention that last
11245 assignment to a variable must take precedence.
11246 * INSTALL: Regenerated.
11247 * benchtests/Makefile (run-bench): Use $(run-program-env).
11248 * catgets/Makefile ($(objpfx)test1.cat): Use
11249 $(built-program-cmd-before-env), $(run-program-env) and
11250 $(built-program-cmd-after-env).
11251 ($(objpfx)test2.cat): Do not specify environment variables
11252 explicitly.
11253 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11254 $(run-program-env) and $(built-program-cmd-after-env).
11255 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11256 $(run-program-env) and $(test-program-cmd-after-env).
11257 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11258 explicitly.
11259 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11260 run_program_env and test_program_cmd_after_env arguments.
11261 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11262 * elf/tst-pathopt.sh: Use run_program_env argument.
11263 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11264 $(test-wrapper-env) and $(run-program-env).
11265 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11266 run_program_env arguments.
11267 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11268 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11269 $(test-program-prefix-before-env), $(run-program-env) and
11270 $(test-program-prefix-after-env).
11271 ($(objpfx)tst-gettext2.out): Likewise.
11272 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11273 run_program_env and test_program_prefix_after_env arguments.
11274 * intl/tst-gettext2.sh: Likewise.
11275 * intl/tst-gettext4.sh: Do not set environment variables
11276 explicitly.
11277 * intl/tst-gettext6.sh: Likewise.
11278 * intl/tst-translit.sh: Likewise.
11279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11280 $(test-program-prefix-before-env), $(run-program-env) and
11281 $(test-program-prefix-after-env).
11282 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11283 run_program_env and test_program_prefix_after_env arguments.
11284 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11285 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11286 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11287 explicitly with each use of ${test_wrapper_env}.
11288 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11289 $(test-program-prefix-before-env), $(run-program-env) and
11290 $(test-program-prefix-after-env).
11291 * posix/tst-getconf.sh: Do not set environment variables
11292 explicitly.
11293 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11294 run_program_env and test_program_prefix_after_env arguments.
11295 * stdio-common/tst-printf.sh: Do not set environment variables
11296 explicitly.
11297 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11298 $(test-program-prefix-before-env), $(run-program-env) and
11299 $(test-program-prefix-after-env).
11300 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11301 run_program_env and test_program_prefix_after_env arguments.
11302 Split $test calls into $test_pre and $test.
11303 * timezone/Makefile (build-testdata): Use
11304 $(built-program-cmd-before-env), $(run-program-env) and
11305 $(built-program-cmd-after-env).
11306
ed36bfa1
AZ
113072014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11308
11309 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11310 strlen for non SHARED builds.
11311
fc75bf46
SP
113122014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11313
11314 * nptl/allocatestack.c (check_list): Inlined function...
11315 (__reclaim_stacks): ... here.
11316
d89b3d80
OB
113172014-06-05 Ondřej Bílka <neleai@seznam.cz>
11318
11319 [BZ #15698]
11320 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11321 memory overrun.
11322
2bf18041
JM
113232014-06-05 Joseph Myers <joseph@codesourcery.com>
11324
11325 * Rules (make-test-out): Include
11326 LOCPATH=$(common-objpfx)localedata in default environment.
11327 * debug/Makefile (tst-chk1-ENV): Remove variable.
11328 (tst-chk2-ENV): Likewise.
11329 (tst-chk3-ENV): Likewise.
11330 (tst-chk4-ENV): Likewise.
11331 (tst-chk5-ENV): Likewise.
11332 (tst-chk6-ENV): Likewise.
11333 (tst-lfschk1-ENV): Likewise.
11334 (tst-lfschk2-ENV): Likewise.
11335 (tst-lfschk3-ENV): Likewise.
11336 (tst-lfschk4-ENV): Likewise.
11337 (tst-lfschk5-ENV): Likewise.
11338 (tst-lfschk6-ENV): Likewise.
11339 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11340 (tst-iconv7-ENV): Likewise.
11341 * intl/Makefile (LOCPATH-ENV): Likewise.
11342 (tst-codeset-ENV): Likewise.
11343 (tst-gettext3-ENV): Likewise.
11344 (tst-gettext5-ENV): Likewise.
11345 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11346 (tst-fopenloc-ENV): Likewise.
11347 (tst-fgetws-ENV): Remove variable.
11348 (tst-ungetwc1-ENV): Likewise.
11349 (tst-ungetwc2-ENV): Likewise.
11350 (bug-ungetwc2-ENV): Likewise.
11351 (tst-swscanf-ENV): Likewise.
11352 (bug-ftell-ENV): Likewise.
11353 (tst-fgetwc-ENV): Likewise.
11354 (tst-fseek-ENV): Likewise.
11355 (tst-ftell-partial-wide-ENV): Likewise.
11356 (tst-ftell-active-handler-ENV): Likewise.
11357 (tst-ftell-append-ENV): Likewise.
11358 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11359 (tst-regexloc-ENV): Likewise.
11360 (bug-regex1-ENV): Likewise.
11361 (tst-regex-ENV): Likewise.
11362 (tst-regex2-ENV): Likewise.
11363 (bug-regex5-ENV): Likewise.
11364 (bug-regex6-ENV): Likewise.
11365 (bug-regex17-ENV): Likewise.
11366 (bug-regex18-ENV): Likewise.
11367 (bug-regex19-ENV): Likewise.
11368 (bug-regex20-ENV): Likewise.
11369 (bug-regex22-ENV): Likewise.
11370 (bug-regex23-ENV): Likewise.
11371 (bug-regex25-ENV): Likewise.
11372 (bug-regex26-ENV): Likewise.
11373 (bug-regex30-ENV): Likewise.
11374 (bug-regex32-ENV): Likewise.
11375 (bug-regex33-ENV): Likewise.
11376 (bug-regex34-ENV): Likewise.
11377 (bug-regex35-ENV): Likewise.
11378 (tst-rxspencer-ENV): Likewise.
11379 (tst-rxspencer-no-utf8-ENV): Likewise.
11380 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11381 (tst-sscanf-ENV): Likewise.
11382 (tst-swprintf-ENV): Likewise.
11383 (tst-swscanf-ENV): Likewise.
11384 (test-vfprintf-ENV): Likewise.
11385 (scanf13-ENV): Likewise.
11386 (bug14-ENV): Likewise.
11387 (tst-grouping-ENV): Likewise.
11388 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11389 (tst-strtod3-ENV): Likewise.
11390 (tst-strtod4-ENV): Likewise.
11391 (tst-strtod5-ENV): Likewise.
11392 (testmb2-ENV): Likewise./
11393 * string/Makefile (tst-strxfrm-ENV): Likewise.
11394 (tst-strxfrm2-ENV): Likewise.
11395 (bug-strcoll1-ENV): Likewise.
11396 (test-strcasecmp-ENV): Likewise.
11397 (test-strncasecmp-ENV): Likewise.
11398 * time/Makefile (tst-strptime-ENV): Likewise.
11399 (tst-ftime_l-ENV): Likewise.
11400 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11401 (tst-mbrtowc-ENV): Likewise.
11402 (tst-wcrtomb-ENV): Likewise.
11403 (tst-mbrtowc2-ENV): Likewise.
11404 (tst-c16c32-1-ENV): Likewise.
11405 (tst-mbsnrtowcs-ENV): Likewise.
11406
cd1fb604
OB
114072014-06-05 Ondřej Bílka <neleai@seznam.cz>
11408
11409 * manual/resource.texi (How to get information about the memory
11410 subsystem?): Fix typo.
11411 Reported by Peon de la Parra Ivan <peon@keba.com>
11412
b42eca7d
GY
114132014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11414
11415 [BZ #16882]
11416 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11417 (pthread_spin_lock): Branch out of spin loop to proper location.
11418 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11419 (pthread_spin_lock): Likewise.
11420
902b71f9
DM
11421 * nptl/tst-spin4.c: New test.
11422 * nptl/Makefile (tests): Add tst-spin4.
11423
f9d2d032
AS
114242014-06-03 Andreas Schwab <schwab@suse.de>
11425
11426 [BZ #15946]
11427 * resolv/res_send.c (send_dg): Reload file descriptor after
11428 calling reopen.
11429
cf7bfd28
SL
114302014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11431
11432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11433
111cc714
RH
114342014-06-03 Richard Henderson <rth@redhat.com>
11435
89b4bd6b
RH
11436 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11437 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11438 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11439 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11440 in the SAVE_PID block.
11441 (__libc_vfork): New alias.
71840409 11442 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11443
111cc714
RH
11444 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11445 child in registers, not on the stack. Remove RESET_PID conditionals.
11446 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11447
ccc39911
MS
114482014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11449
11450 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11451
693096cc
W
114522014-06-03 Wilco <wdijkstr@arm.com>
11453
11454 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11455 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11456 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11457 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11458 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11459 Likewise.
11460
0b4366bc
W
114612014-06-03 Wilco <wdijkstr@arm.com>
11462
11463 * sysdeps/aarch64/fpu/math_private.h
11464 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11465 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11466 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11467 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11468 Fix declarations.
11469
8747cd03
KS
114702014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11471
11472 * crypt/crypt-private.h: Include ufc-crypt.h.
11473 (__b64_from_24bit): Declare extern.
11474 * crypt/crypt_util.c(__b64_from_24bit): New function.
11475 (b64t): New static const variable.
11476 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11477 (b64t): Remove variable.
11478 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11479 * crypt/sha256-crypt.c: Include crypt-private.h.
11480 (b64t): Remove variable.
11481 (__sha256_crypt_r): Remove b64_from_24bit and replace
11482 with __b64_from_24bit.
11483 * crypt/sha512-crypt.c: Likewise.
11484
d936d379
RM
114852014-06-02 Roland McGrath <roland@hack.frob.com>
11486
11487 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11488 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11489 Label the code __libc_vfork rather than __vfork.
11490 [!NOT_IN_libc] (vfork): Define as weak alias.
11491 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11492 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11493 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11494
9fa76613
SP
114952014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11496
11497 * malloc/malloc.c (malloc_info): Fix format specifier for
11498 n_mmaps.
11499
a88dadbe
W
115002014-06-02 Wilco <wdijkstr@arm.com>
11501
11502 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11503 FPCR write.
11504
c95b3011
W
115052014-06-02 Wilco <wdijkstr@arm.com>
11506
11507 [BZ #17009]
11508 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11509 Rewrite to reduce FPCR/FPSR accesses.
11510
6b4d7a90
DM
115112014-06-01 David S. Miller <davem@davemloft.net>
11512
11513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11514
30f3d07c
DM
115152014-05-31 David S. Miller <davem@davemloft.net>
11516
11517 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11518 to occur in round to nearest mode when |x| >= 2.0
11519
74f31c18
RH
115202014-05-30 Richard Henderson <rth@twiddle.net>
11521
f0712b54
RH
11522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11523 (PSEUDO_RET_NOERRNO): Remove.
11524 (ret): Don't redefine.
11525 (ret_NOERRNO): Define in terms of ret.
11526 (ret_ERRVAL): Likewise.
11527
74f31c18
RH
11528 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11529 use of PSEUDO_RET; perform the error check directly.
11530
30477995
MM
115312014-05-30 Marko Myllynen <myllynen@redhat.com>
11532
11533 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11534 with __int128_t.
11535
62a58816
SP
115362014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11537
11538 * malloc/malloc (malloc_info): Fix formatting.
11539
4d653a59
SP
115402014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11541 Roland McGrath <roland@hack.frob.com>
11542
11543 * malloc/malloc (malloc_info): Also print mmapped statistics.
11544
5190c17f
RM
115452014-05-30 Roland McGrath <roland@hack.frob.com>
11546
11547 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11548 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11549
987c0269
OB
115502014-05-30 Ondřej Bílka <neleai@seznam.cz>
11551
11552 * malloc/malloc.c (malloc_info): Inline mi_arena.
11553
af4e8ef9
RH
115542014-05-29 Richard Henderson <rth@twiddle.net>
11555
1670e207
RH
11556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11557 Remove comma before expanding ASM_ARGS_##nr.
11558 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11559 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11560 of ASM_ARGS_##nr.
11561 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11562 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11563 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11564 (ASM_ARGS_1): Add leading comma.
11565
11a28aee
RH
11566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11567 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11568 to __errno_location.
11569 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11570 Remove the expected plt for __errno_location.
11571
a17e5ffb 11572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11573 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11574 call to __read_tp.
11575
b5be4597
RH
11576 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11577 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11578 it and break it down.
11579 (DOCARGS_0, DOCARGS_1): Do nothing.
11580 (DOCARGS_2): Update to store into the new stack frame.
11581 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11582 (UNDOCARGS_1): Update to restore from the new stack frame.
11583 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11584 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11585
645d44ab
RH
11586 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11587 (SINGLE_THREAD_P): New parameter for result regno.
11588 (PSEUDO): Update to match; use cbz instead of beq.
11589
a8b4f04a
RH
11590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11591 Use ENTRY to define the _nocancel entry point. Share the syscall
11592 and syscall error check paths with the cancel path.
11593 (PSEUDO_END): New.
11594
af4e8ef9
RH
11595 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11596 whitespace; tabs before and after asm mnemonics.
11597
26b0d2e1
EW
115982014-05-29 Eric Wong <normalperson@yhbt.net>
11599
11600 [BZ #15132]
11601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11602 Call fstat64 or stat64 internally, depending on arguments passed.
11603 Replace stat buffer argument with file descriptor argument.
11604 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11605 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11606 Pass fd to __internal_statvfs instead of calling fstat64.
11607 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11608 Pass fd to __internal_statvfs64 instead of calling fstat64.
11609 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11610 Pass -1 to __internal_statvfs instead of calling stat64.
11611 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11612 Pass -1 to __internal_statvfs64 instead of calling stat64.
11613
1efe2bd9
RM
116142014-05-28 Roland McGrath <roland@hack.frob.com>
11615
0d3b7a19
RM
11616 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11617 that was previously under [RESET_PID].
11618 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11619
1efe2bd9
RM
11620 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11621 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11622
a6bea3ca
RM
116232014-05-27 Roland McGrath <roland@hack.frob.com>
11624
30b6629e
RM
11625 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11626
a6bea3ca
RM
11627 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11628 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11629
3dfb9a5c
OB
116302014-05-27 Ondřej Bílka <neleai@seznam.cz>
11631
11632 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11633
774f9285
AS
116342014-05-27 Andreas Schwab <schwab@suse.de>
11635
11636 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11637 TLS_INIT_TP macro.
11638 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11639 * elf/rtld.c (init_tls, dl_main): Likewise.
11640 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11641 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11642 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11643 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11644 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11645 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11646 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11647 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11648 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11649 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11650 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11651 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11652 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11653 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11654 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11655 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11656 * sysdeps/generic/tls.h: Update description.
11657
36ffe739
WN
116582014-05-27 Will Newton <will.newton@linaro.org>
11659
11660 [BZ #16990]
11661 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11662 and restore r2 rather than just restoring.
11663
2482ae43
SP
116642014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11665
11666 [BZ #16724]
11667 * libio/tst-ftell-append.c: New test case.
11668 * libio/Makefile (tests): Add test case.
11669 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11670 append mode.
11671 * libio/wfileops.c (do_ftell_wide): Likewise.
11672
3d1024e8
AZ
116732014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11674
bab90016
AZ
11675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11676
c7a8d667
AZ
11677 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11678 ...
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11681 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11682 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11684 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11685 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11686 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11688 Moved ...
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11691 Moved ...
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11693 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11694 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11695 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11696 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11697 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11698 ...
11699 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11700 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11701 Moved ...
11702 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11703 here.
11704 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11705 ...
11706 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11707 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11708 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11709
daee7851
AZ
11710 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11711 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11713 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11714
50a40819
AZ
11715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11716 merge into ...
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11719 ...
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11722 ...
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11725 Moved ...
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11727 here.
11728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11729 Moved ...
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11732 Moved ...
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11734
8464c2a1
AZ
11735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11736 conditional [RESET_PID].
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11739 removed.
11740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11741 removed.
11742
3d1024e8
AZ
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11744 <tcb-offsets.h>.
11745 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11746 (__libc_vfork): New strong alias.
11747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11748 removed.
11749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11750 Removed.
11751
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11753 <tcb-offsets.h>.
11754 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11755 (__libc_vfork): New strong alias.
11756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11757 removed.
11758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11759 removed.
11760
fdfd175d
CD
117612014-05-26 Carlos O'Donell <carlos@redhat.com>
11762
11763 * malloc/malloc.c (mi_arena): New function.
11764 (malloc_info): Remove nested function mi_arena. Call non-nosted
11765 function mi_arena.
11766
d298c416
AZ
117672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11768
11769 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11770 by insrwi.
11771 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11772 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11773 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11774 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11775 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11776 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11777 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11778
b60ea6ff
AS
117792014-05-26 Andreas Schwab <schwab@suse.de>
11780
11781 [BZ #16984]
11782 * locale/programs/repertoire.c (repertoire_read): Add slash
11783 between I18NPATH element and file name.
11784 * locale/programs/locfile.c (locfile_read): Likewise.
11785
67365926
SL
117862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11787
11788 * nptl/pthread_mutexattr_settype.c
11789 (__pthread_mutexattr_settype):
11790 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11791
f8bdf1f0
SL
117922014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11793
11794 * nptl/tst-mutex5 (do_test):
11795 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11796
15eaf6ff
SP
117972014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11798
11799 * benchtests/README: Document 'init' directive.
11800 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11801 BENCH_INIT.
11802 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11803 (parse_file): Recognize 'init' directive.
11804
75f11331
KM
118052014-05-26 Kyle McMartin <kyle@redhat.com>
11806
11807 [BZ #16796]
11808 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11809 alignment of struct pthread.
11810
c3ec475c
SP
118112014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11812
11813 [BZ #16878]
11814 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11815 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11816 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11817 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11818
82aab97c
RH
118192014-05-25 Richard Henderson <rth@twiddle.net>
11820
aa2f176d
RH
11821 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11822 (SINGLE_THREAD_P_PIC): Remove.
11823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11824 (SINGLE_THREAD_P_PIC): Remove.
11825
ca3cfa40
RH
11826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11827 branch to syscall error ...
11828 (PSEUDO): ... here.
11829 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11830 from __local_syscall_error to .Lsyscall_error.
11831 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11832 (SYSCALL_ERROR): Update label name.
11833
6e6c2d01
RH
11834 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11835 Do not use DOARGS/UNDOARGS.
11836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11837 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11838 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11839 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11840 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11841
c69abcee
RH
11842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11843 block comment.
11844
82aab97c
RH
11845 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11846 define if !NOT_IN_libc.
11847 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11848 define with non-default symbol versions.
11849
8820e3ac
RH
118502014-05-23 Richard Henderson <rth@twiddle.net>
11851
900e445f
RH
11852 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11853 (vfork, __vfork): Define via compat_symbol.
11854
8820e3ac
RH
11855 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11856 [!HAVE_IFUNC] (vfork_compat): Remove.
11857 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11858
e59252a5
JM
118592014-05-23 Joseph Myers <joseph@codesourcery.com>
11860
11861 [BZ #16978]
11862 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11863 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11864 variable.
11865
132c7f5f
RH
118662014-05-23 Richard Henderson <rth@twiddle.net>
11867
bc89e962
RH
11868 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11869 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11870 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11871 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11872
11873 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11874 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11875 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11876 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11877 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11878 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11879 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11880 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11881 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11882 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11883 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11884 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11885 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11886 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11887 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11888 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11889 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11890 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11892 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11893 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11894 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11895 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11896 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11898 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11899 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11900 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11901 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11902 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11904 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11908 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11909 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11910 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11912 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11913 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11914 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11915 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11916 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11917 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11918 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11920 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11922 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11924 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11926 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11928 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11929
e2fa4bc2
RH
11930 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11931 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11932 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11933 before exiting on error.
11934 (__libc_vfork): New strong alias.
11935 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11936 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11937
279b24e2
RH
11938 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11939 that was previously under [RESET_PID].
11940 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11941
132c7f5f
RH
11942 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11943
b72592e7
JM
119442014-05-23 Joseph Myers <joseph@codesourcery.com>
11945
11946 [BZ #16977]
11947 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11948 value when x - 1 is zero.
11949 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11950 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11951 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11952 0.0L for an argument of 1.0L.
11953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11954 Likewise.
11955 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11956 value when x - 1 is zero.
11957 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11958 * sysdeps/i386/fpu/libm-test-ulps: Update.
11959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11960
2302d679
RV
119612014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11962
11963 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11964 alphasort and versionsort.
11965
32999d63
AZ
119662014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11967
11968 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11969 macro.
11970 [copysignf]: Likewise.
11971
019324d0
SP
119722014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11973
11974 * crypt/md5-crypt.c: Fix formatting.
11975
34fff5c2
KS
119762014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11977
11978 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11979 (b64_from_24bit): New function.
11980
3d2badac
AZ
119812014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11982
11983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11984 libc_hidden_builtin_def to ifunc.
11985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11986 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11987
f7bb179f 119882014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11989
11990 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11991 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11992
4134b50d
JM
119932014-05-21 Joseph Myers <joseph@codesourcery.com>
11994
bb7d0337
JM
11995 * nscd/Depend (linuxthreads): Remove.
11996 (nptl): Add.
11997 * resolv/Depend (linuxthreads): Remove.
11998 * rt/Depend (linuxthreads): Remove.
11999
4134b50d
JM
12000 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12001 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12002 $(common-objpfx)elf/.
12003 (link-libc-before-gnulib): Likewise.
12004 (elfobjdir): Remove variable.
12005 * Makefile (install): Use $(elf-objpfx) instead of
12006 $(common-objpfx)elf/.
12007 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12008 $(elfobjdir)/.
12009 (link-libc-deps): Likewise.
12010 ($(common-objpfx)libc.so): Likewise.
12011 ($(common-objpfx)linkobj/libc.so): Likewise.
12012 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12013 instead of $(common-objpfx)elf/.
12014 (symbolic-link-list): Likewise.
12015 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12016 [$(cross-compiling) = no]: Likewise.
12017 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12018 $(elfobjdir)/.
12019 (static-gnulib-arch): Likewise.
12020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12021 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12022 $(common-objpfx)elf/.
12023
3612eb8f
RH
120242014-05-21 Richard Henderson <rth@redhat.com>
12025
a6b3657b
RH
12026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12027 (SINGLE_THREAD_P): Use the correct width load. Fold
12028 into the ldr offset.
12029
3612eb8f
RH
12030 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12031 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12032
175cef41
JM
120332014-05-20 Joseph Myers <joseph@codesourcery.com>
12034
12035 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12036 (libgcc_s_resume): Use __attribute_used__.
12037 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12038 Likewise.
12039
e13bccd3
AZ
120402014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12041
12042 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12043 optimization when used with float constants.
12044
7c112a38
AZ
12045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12046
ae75a883
AJ
120472014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12048
12049 [BZ #16915]
12050 * locale/nl_langinfo_l.c: Make direct reference to every
12051 _nl_current_CATEGORY symbol.
12052 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12053 (tests-static): Add tst-langinfo-static.
12054 (tests-special): Add tst-langinfo-static.out.
12055 ($(objpfx)tst-langinfo.out): Redirect output.
12056 ($(objpfx)tst-langinfo-static.out): New.
12057 * localedata/tst-langinfo.sh: Send output to stdout.
12058 * localedata/tst-langinfo-static.c: New file.
12059
4406c41c
AJ
12060 [BZ #16965]
12061 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12062 when the shift amount is modulo the limb size.
12063
4c0a1e63
RH
120642014-05-20 Richard Henderson <rth@redhat.com>
12065
de9d8f20
RH
12066 [BZ #16967]
12067 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12068 Change type of sa_flags from unsigned int to int.
12069
4c0a1e63
RH
12070 [BZ #16966]
12071 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12072
12073 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12074
a60339aa
WN
120752014-05-20 Will Newton <will.newton@linaro.org>
12076
12077 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12078 Test the return value of the system call in the nocancel case.
12079
7d05a816
YR
120802014-05-20 Will Newton <will.newton@linaro.org>
12081 Yvan Roux <yvan.roux@linaro.org>
12082
12083 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12084 #include of asm/ptrace.h.
12085 (PTRACE_GET_THREAD_AREA): Remove #undef.
12086 (PTRACE_GETHBPREGS): Likewise.
12087 (PTRACE_SETHBPREGS): Likewise.
12088 (struct user_regs_struct): New structure.
12089 (struct user_fpsimd_struct): New structure.
12090 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12091 #include of asm/ptrace.h and second #include of sys/user.h.
12092 (PTRACE_GET_THREAD_AREA): Remove #undef.
12093 (PTRACE_GETHBPREGS): Likewise.
12094 (PTRACE_SETHBPREGS): Likewise.
12095 (ELF_NGREG): Use new struct user_regs_struct.
12096 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12097
af121e37
AZ
120982014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12099
12100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12102
834caf06
JM
121032014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12104
12105 [BZ #16958]
12106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12107 membar to avoid block loads/stores to overlap previous stores.
12108
e184a918
RH
121092014-05-17 Richard Henderson <rth@redhat.com>
12110
12111 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12112 Create the __##syscall_name##_nocancel entry point.
12113 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12114 Remove; let the sysdep-cancel.h code create it.
12115
f56c7a6a
DM
121162014-05-17 David S. Miller <davem@davemloft.net>
12117
12118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12119 Protect with __USE_GNU.
12120 (TIOCSET_TEMPT): Likewise.
12121 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12122 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12123 these are already provided in bits/ioctl-types.h
12124
f75616b2
RM
121252014-05-16 Roland McGrath <roland@hack.frob.com>
12126
3edeca86
RM
12127 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12128 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12129
f75616b2
RM
12130 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12131 Use wait4 regardless of [__NR_waitpid].
12132
deb0f7f6
MR
121332014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12134
12135 PR libgcc/60166
12136 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12137 (_FP_NANSIGN_Q): Set the quiet bit.
12138
79520f4b
JM
121392014-05-16 Joseph Myers <joseph@codesourcery.com>
12140
12141 * benchtests/Makefile
12142 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12143 not $(common-objpfx)math/libm.so.
12144 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12145 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12146 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12147 $(common-objpfx)dlfcn/libdl.so.
12148 ($(objpfx)tst-audit8): Depend on $(libm), not
12149 $(common-objpfx)math/libm.so.
12150 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12151 not $(common-objpfx)dlfcn/libdl.so.
12152 * math/Makefile
12153 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12154 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12155 [$(build-shared) = yes].
12156 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12157 $(common-objpfx)nptl/libpthread.so.
12158 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12159 $(common-objpfx)math/libm.so$(libm.so-version) or
12160 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12161 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12162 $(common-objpfx)dlfcn/libdl.so.
12163 * setjmp/Makefile (link-libm): Remove variable.
12164 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12165 * stdio-common/Makefile (link-libm): Remove variable.
12166 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12167 * stdlib/Makefile (link-libm): Remove variable.
12168 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12169 ($(objpfx)tst-strtod-round): Likewise.
12170 ($(objpfx)tst-tininess): Likewise.
12171 ($(objpfx)tst-strtod-underflow): Likewise.
12172 ($(objpfx)tst-strtod6): Likewise.
12173 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12174 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12175 $(common-objpfx)dlfcn/libdl.so.
12176
026b0fe4
AZ
121772014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12178
12179 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12180 BSD terminal modes definitions.
12181
def4bcb2
RM
121822014-05-16 Roland McGrath <roland@hack.frob.com>
12183
fe39b021
RM
12184 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12185 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12186
1d1fc46e 12187 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12188 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12189 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12190 Don't do #include_next.
12191 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12192 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12193 Don't do #include_next.
12194 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12195 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12196 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12197 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12198
c72399fb
AM
121992014-05-16 Allan McRae <allan@archlinux.org>
12200
d51d659d
AM
12201 * po/sv.po: Update Swedish translation from translation project.
12202
c72399fb
AM
12203 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12204 in sed expression.
12205
d0583c40
AJ
122062014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12207
12208 [BZ #16917]
12209 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12210 errno if the TIOCGPTN ioctl fails with an error different than
12211 EINVAL.
12212 * login/tst-ptsname.c: New file.
12213 * login/Makefile (tests): Add tst-ptsname.
12214
d16e6ec7
AJ
12215 [BZ #16943]
12216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12217 and prlimit64.
12218
cf26a0cb
SP
122192014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12220
12221 [BZ #16849]
12222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12223 herrno to return EAI_AGAIN.
12224
5675da1e
RM
122252014-05-14 Roland McGrath <roland@hack.frob.com>
12226
a5d87b3d
RM
12227 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12228 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12229 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12230 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12231 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12232 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12233 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12234 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12236 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12237 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12238 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12239 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12240 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12241 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12242 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12243 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12244 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12245 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12246 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12247 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12248 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12249 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12250 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12251 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12252 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12253 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12256 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12258 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12262 Moved ...
12263 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12265 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12269 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12271 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12275 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12277 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12279 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12287 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12291 Moved ...
12292 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12294 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12296 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12298 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12300 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12304 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12306 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12308 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12310 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12312 Moved ...
12313 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12315 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12316
039890a6
RM
12317 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12318 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12319 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12320 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12321 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12322 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12323 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12324 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12325 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12326 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12327 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12328 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12329 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12330 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12331 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12332 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12333 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12334 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12335 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12336 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12337 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12339 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12341 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12343 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12348
65c89320
RM
12349 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12350 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12351
348f8e8c
RM
12352 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12353 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12354 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12355 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12356 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12358 Moved ...
12359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12361 Moved ...
12362 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12364 Moved ...
12365 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12367 Moved ...
12368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12369 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12370 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12372 Moved ...
12373 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12374 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12375 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12377 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12379 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12381 Moved ...
12382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12384 Moved ...
12385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12386 ... here.
12387 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12388 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12389 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12390 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12392 Moved ...
12393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12394 ... here.
12395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12396 Moved ...
12397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12398 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12399 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12401 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12403 Moved ...
12404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12406 Moved ...
12407 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12409 Moved ...
12410 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12412 Moved ...
12413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12415 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12417 Moved ...
12418 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12419 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12420 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12422 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12424 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12426 Moved ...
12427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12429 Moved ...
12430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12431 ... here.
12432 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12433 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12435 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12437 Moved ...
12438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12439 ... here.
12440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12441 Moved ...
12442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12443 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12444 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12445 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12446 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12448 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12450 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12452 Moved ...
12453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12455 Moved ...
12456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12458 Moved ...
12459 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12460 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12461 Moved ...
12462 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12463 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12464 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12465 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12466 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12468 Moved ...
12469 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12471 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12472 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12475 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12477 Moved ...
12478 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12480 Moved ...
12481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12482 ... here.
12483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12484 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12485 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12486 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12488 Moved ...
12489 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12490 ... here.
12491 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12492 Moved ...
12493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12495 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12496 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12497 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12499 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12500 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12501 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12503 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12504
5085af05
RM
12505 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12506 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12507
708f0813
RM
12508 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12509 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12510
c96067bc
RM
12511 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12512 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12513 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12515 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12517 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12519 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12525 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12527 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12529 Moved ...
12530 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12531 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12532 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12534 Moved ...
12535 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12537 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12539 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12543 Moved ...
12544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12546 Moved ...
12547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12551 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12553 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12555 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12556 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12557 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12559 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12561 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12563 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12564
ec136444
RM
12565 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12566 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12567 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12568 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12569 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12570
2fbdf533
RM
12571 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12572 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12573 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12574 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12575 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12576 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12577 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12578 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12579 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12580 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12581
4c68138b
RM
12582 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12584
4eaae765
RM
12585 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12586 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12587 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12588 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12589 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12590 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12591 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12592 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12593 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12594 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12596 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12597 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12598 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12600 Update #include.
12601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12602 Likewise.
12603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12604 Likewise.
12605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12606 Likewise.
12607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12608 Likewise.
12609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12610 Likewise.
12611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12612 Likewise.
12613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12614 Likewise.
12615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12616 Likewise.
12617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12618 Likewise.
4ef6befa
RM
12619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12624 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12632 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12634
941d7dfd
RM
12635 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12636 that was previously under [RESET_PID].
12637 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12638 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12639 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12640
1b731c35
RM
12641 * sysdeps/i386/nptl/Implies: New file.
12642 * sysdeps/x86_64/nptl/Implies: New file.
12643 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12644 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12645 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12646 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12647
e2787137
RM
12648 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12649 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12650 (__libc_vfork): New strong alias.
12651 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12652 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12653
12654 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12655 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12656 (__libc_vfork): New strong alias.
12657 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12658 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12659
5675da1e
RM
12660 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12661 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12662 (__libc_vfork): New strong alias.
12663 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12664 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12665 * nptl/pt-vfork.c: New file.
12666 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12667 (libpthread: GLIBC_2.20): New version set (empty).
12668
4f02e2b8
WN
126692014-05-14 Will Newton <will.newton@linaro.org>
12670
12671 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12672 rather than #if.
12673
0bf061d3
JM
126742014-05-14 Joseph Myers <joseph@codesourcery.com>
12675
1a84c3d6
JM
12676 [BZ #16564]
12677 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12678 arguments with exponent 65 or above.
12679 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12680 arguments 0x1p113L or above.
12681 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12682 to arguments 0x1p107L or above.
12683 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12684 positive arguments with exponent 65 or above.
12685 * math/auto-libm-test-in: Add more tests of log1p.
12686 * math/auto-libm-test-out: Regenerated.
12687
01dbacd2
JM
12688 [BZ #16928]
12689 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12690 non-finite arguments is +0.
12691 * math/s_cacosf.c (__cacosf): Likewise.
12692 * math/s_cacosl.c (__cacosl): Likewise.
12693 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12694 * sysdeps/i386/fpu/libm-test-ulps: Update.
12695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12696
913d03c8
JM
12697 [BZ #16927]
12698 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12699 value.
12700 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12701 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12702 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12703 for explicit high bit of mantissa when testing for argument equal
12704 to 1.
12705 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12706 * sysdeps/i386/fpu/libm-test-ulps: Update.
12707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12708
0bf061d3
JM
12709 [BZ #16516]
12710 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12711 (__erf): Scale by 16 instead of 8 in potentially underflowing
12712 case. Ensure exception if result actually underflows.
12713 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12714 (__erff): Scale by 16 instead of 8 in potentially underflowing
12715 case. Ensure exception if result actually underflows.
12716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12717 (efx8): Remove variable.
12718 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12719 case. Ensure exception if result actually underflows.
12720 * sysdeps/ieee754/ldbl-128ibm/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-96/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 * math/auto-libm-test-in: Add more tests of erf.
12729 * math/auto-libm-test-out: Regenerated.
12730
73ba67cb
AS
127312014-05-14 Andreas Schwab <schwab@suse.de>
12732
3d8c8bff
AS
12733 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12734 Remove code conditionalized on USE___THREAD.
12735
73ba67cb
AS
12736 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12737 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12738 not definedness.
12739
5c521ecd
JM
127402014-05-14 Joseph Myers <joseph@codesourcery.com>
12741
5e7698c6
JM
12742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12743 Define unconditionally.
12744 (__ASSUME_O_CLOEXEC): Likewise.
12745 (__ASSUME_SOCK_CLOEXEC): Likewise.
12746 (__ASSUME_IN_NONBLOCK): Likewise.
12747 (__ASSUME_PIPE2): Likewise.
12748 (__ASSUME_EVENTFD2): Likewise.
12749 (__ASSUME_SIGNALFD4): Likewise.
12750 (__ASSUME_DUP3): Likewise.
12751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12752 (__ASSUME_DUP3): Do not define.
12753 (__ASSUME_EVENTFD2): Likewise.
12754 (__ASSUME_IN_NONBLOCK): Likewise.
12755 (__ASSUME_O_CLOEXEC): Likewise.
12756 (__ASSUME_PIPE2): Likewise.
12757 (__ASSUME_SIGNALFD4): Likewise.
12758 (__ASSUME_SOCK_CLOEXEC): Likewise.
12759 (__ASSUME_UTIMES): Undefine.
12760 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12761 (__ASSUME_UTIMES): Do not define.
12762 (__ASSUME_O_CLOEXEC): Likewise.
12763 (__ASSUME_SOCK_CLOEXEC): Likewise.
12764 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12765 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12766 0x020621].
12767 (__ASSUME_PIPE2): Likewise.
12768 (__ASSUME_EVENTFD2): Likewise.
12769 (__ASSUME_SIGNALFD4): Likewise.
12770 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12771 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12772 Do not define.
12773 (__ASSUME_EVENTFD2): Likewise.
12774 (__ASSUME_SIGNALFD4): Likewise.
12775 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12776 (__ASSUME_32BITUIDS): Likewise.
12777 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12778 (__ASSUME_IPC64): Likewise.
12779 (__ASSUME_ST_INO_64_BIT): Likewise.
12780 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12781 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12783 (__ASSUME_UTIMES): Do not define.
12784 (__ASSUME_PSELECT): Likewise.
12785 (__ASSUME_PPOLL): Likewise.
12786 (__ASSUME_O_CLOEXEC): Likewise.
12787 (__ASSUME_SOCK_CLOEXEC): Likewise.
12788 (__ASSUME_IN_NONBLOCK): Likewise.
12789 (__ASSUME_PIPE2): Likewise.
12790 (__ASSUME_EVENTFD2): Likewise.
12791 (__ASSUME_SIGNALFD4): Likewise.
12792 (__ASSUME_DUP3): Likewise.
12793 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12794 (__ASSUME_UTIMES): Likewise.
12795 (__ASSUME_O_CLOEXEC): Likewise.
12796 (__ASSUME_SOCK_CLOEXEC): Likewise.
12797 (__ASSUME_IN_NONBLOCK): Likewise.
12798 (__ASSUME_PIPE2): Likewise.
12799 (__ASSUME_EVENTFD2): Likewise.
12800 (__ASSUME_SIGNALFD4): Likewise.
12801 (__ASSUME_DUP3): Likewise.
12802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12803 (__ASSUME_UTIMES): Likewise.
12804 (__ASSUME_O_CLOEXEC): Likewise.
12805 (__ASSUME_SOCK_CLOEXEC): Likewise.
12806 (__ASSUME_IN_NONBLOCK): Likewise.
12807 (__ASSUME_PIPE2): Likewise.
12808 (__ASSUME_EVENTFD2): Likewise.
12809 (__ASSUME_SIGNALFD4): Likewise.
12810 (__ASSUME_DUP3): Likewise.
12811 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12812 Likewise.
12813 (__ASSUME_UTIMES): Likewise.
12814 (__ASSUME_EVENTFD2): Likewise.
12815 (__ASSUME_SIGNALFD4): Likewise.
12816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12817 (__ASSUME_O_CLOEXEC): Likewise.
12818 (__ASSUME_SOCK_CLOEXEC): Likewise.
12819 (__ASSUME_IN_NONBLOCK): Likewise.
12820 (__ASSUME_PIPE2): Likewise.
12821 (__ASSUME_EVENTFD2): Likewise.
12822 (__ASSUME_SIGNALFD4): Likewise.
12823 (__ASSUME_DUP3): Likewise.
12824 (__ASSUME_UTIMES): Undefine.
12825
5c521ecd
JM
12826 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12827 feclearexcept. Remove symbol versioning code.
12828 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12829 symbol versioning code.
12830 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12831 symbol versioning code.
12832 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12833 feupdateenv. Remove symbol versioning code.
12834 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12835 fegetexceptflag. Remove symbol versioning code.
12836 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12837 fesetexceptflag. Remove symbol versioning code.
12838 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12839 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12840 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12841 (__posix_fadvise64_l32): Remove prototype.
12842 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12843 code.
12844
5da9dfad
RM
128452014-05-13 Roland McGrath <roland@hack.frob.com>
12846
12847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12848 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12849 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12850 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12851
893b4f37
SK
128522014-05-13 Sami Kerola <kerolasa@iki.fi>
12853
12854 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12855 current working directory
12856
e0db6517
RM
128572014-05-13 Roland McGrath <roland@hack.frob.com>
12858
58aa195d
RM
12859 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12860 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12861 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12862 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12863 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12864 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12865 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12866 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12867 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12868 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12869 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12870 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12871 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12872 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12873 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12874 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12875 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12876 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12877 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12878 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12879 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12880 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12881 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12882 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12883 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12884 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12885 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12886 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12887 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12888 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12890 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12891 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12892 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12893 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12894 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12895 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12896 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12897 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12898 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12899 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12900 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12901
8c6d01f0
RM
12902 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12903 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12904
12905 * sysdeps/unix/sysv/linux/arm/Makefile
12906 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12907 Add rt-aeabi_unwind_cpp_pr1.
12908 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12909 Add nptl-aeabi_unwind_cpp_pr1.
12910 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12911 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12912 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12913 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12914 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12915 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12916
12917 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12918 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12919 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12920 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12921
bba6da4e
RM
12922 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12923 Deconditionalize the code that was previously under [RESET_PID].
12924 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12925
e0db6517
RM
12926 * sysdeps/generic/exit-thread.h: New file.
12927 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12928 * include/unistd.h (__exit_thread): Remove declaration.
12929 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12930 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12931 * csu/libc-start.c: Include <exit-thread.h>.
12932 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12933 * nptl/pthread_create.c: Include <exit-thread.h>.
12934 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12935 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12936 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12937 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12938 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12939 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12940 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12941 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12942 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12943 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12944 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12945 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12946 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12947 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12948 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12949 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12950 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12951
01eb16fd
AS
129522014-05-13 Andreas Schwab <schwab@suse.de>
12953
12954 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12955
637461d9
JM
129562014-05-12 Joseph Myers <joseph@codesourcery.com>
12957
12958 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12959 (__ASSUME_UTIMES): Do not condition on kernel version.
12960 (__ASSUME_PSELECT): Define unconditionally.
12961 (__ASSUME_PPOLL): Likewise.
12962 (__ASSUME_ATFCTS): Likewise.
12963 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12964 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12965 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12966 (__ASSUME_UTIMENSAT): Define unconditionally.
12967 (__ASSUME_PRIVATE_FUTEX): Likewise.
12968 (__ASSUME_FALLOCATE): Likewise.
12969 (__ASSUME_O_CLOEXEC): Likewise.
12970 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12971 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12972 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12973 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12974 (__ASSUME_IN_NONBLOCK): Likewise.
12975 (__ASSUME_PIPE2): Likewise.
12976 (__ASSUME_EVENTFD2): Likewise.
12977 (__ASSUME_SIGNALFD4): Likewise.
12978 (__ASSUME_DUP3): Likewise.
12979 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12980 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12981 (__ASSUME_AT_RANDOM): Likewise.
12982 (__ASSUME_PREADV): Likewise.
12983 (__ASSUME_PWRITEV): Likewise.
12984 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12985 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12986 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12987 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12988 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12990 (__ASSUME_O_CLOEXEC): Define unconditionally.
12991 (__ASSUME_PSELECT): Do not undefine conditionally.
12992 (__ASSUME_PPOLL): Likewise.
12993 (__ASSUME_ATFCTS): Likewise.
12994 (__ASSUME_SET_ROBUST_LIST): Likewise.
12995 (__ASSUME_UTIMENSAT): Likewise.
12996 (__ASSUME_FDATASYNC): Define unconditionally.
12997 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12998 (__ASSUME_SIGFRAME_V2): Likewise.
12999 )__ASSUME_EVENTFD2): Likewise.
13000 (__ASSUME_SIGNALFD4): Likewise.
13001 (__ASSUME_PSELECT): Do not undefine conditionally.
13002 (__ASSUME_PPOLL): Likewise.
13003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13004 (__ASSUME_PSELECT): Define unconditionally.
13005 (__ASSUME_PPOLL): Likewise.
13006 (__ASSUME_O_CLOEXEC): Likewise.
13007 (__ASSUME_SOCK_CLOEXEC): Likewise.
13008 (__ASSUME_IN_NONBLOCK): Likewise.
13009 (__ASSUME_PIPE2): Likewise.
13010 (__ASSUME_EVENTFD2): Likewise.
13011 (__ASSUME_SIGNALFD4): Likewise.
13012 (__ASSUME_DUP3): Likewise.
13013 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13014 (__ASSUME_O_CLOEXEC): Likewise.
13015 (__ASSUME_SOCK_CLOEXEC): Likewise.
13016 (__ASSUME_IN_NONBLOCK): Likewise.
13017 (__ASSUME_PIPE2): Likewise.
13018 (__ASSUME_EVENTFD2): Likewise.
13019 (__ASSUME_SIGNALFD4): Likewise.
13020 (__ASSUME_DUP3): Likewise.
13021 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13022 (__ASSUME_EVENTFD2): Likewise.
13023 (__ASSUME_SIGNALFD4): Likewise.
13024 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13025
315eb1d8
AS
130262014-05-12 Andreas Schwab <schwab@suse.de>
13027
13028 [BZ #16932]
13029 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13030 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13031 than maximum RPC packet size.
13032 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13033 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13034 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13035 (_nss_nis_getservbyport_r): Likewise.
13036
91df99f7
WN
130372014-05-12 Will Newton <will.newton@linaro.org>
13038
13039 * malloc/Makefile (tests): Add tst-mallopt.
13040 * malloc/tst-mallopt.c: New file.
13041
0a982a29
RM
130422014-05-09 Roland McGrath <roland@hack.frob.com>
13043
13044 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13045 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13046
0ded08a5
AZ
130472014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13048
13049 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13050 (tst-tlsmod6.so): Likewise.
13051
55d4d550
RM
130522014-05-09 Roland McGrath <roland@hack.frob.com>
13053
13054 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13055
77d08aca
JM
130562014-05-09 Joseph Myers <joseph@codesourcery.com>
13057
13058 [BZ #16064]
13059 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13060 and <dl-procinfo.h>.
13061 (__fegetenv): Save SSE state in envp->__eip if supported.
13062 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13063 envp->__eip if supported.
13064 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13065 and <dl-procinfo.h>.
13066 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13067 __data_offset and __data_selector in environment to 0. Set SSE
13068 state if supported.
13069 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13070 test-fenv-sse.
13071 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13072 -mfpmath=sse.
13073 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13074
28162f4d
WN
130752014-05-09 Will Newton <will.newton@linaro.org>
13076
13077 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13078 and libc_relro_required for ARM.
13079 * sysdeps/arm/preconfigure: Regenerate.
13080
5a414ff7
DV
130812014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13082 Stefan Liebler <stli@linux.vnet.ibm.com>
13083
13084 * config.make.in (enable-lock-elision): New Makefile variable.
13085 * configure.ac: Likewise.
13086 * configure: Regenerate.
13087 * sysdeps/s390/configure.ac:
13088 Add check for gcc transactions support.
13089 * sysdeps/s390/configure: Regenerate.
13090 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13091 Build elision files if enabled.
13092 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13093 Add lock elision support for s390.
13094 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13095 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13096 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13097 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13098 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13099 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13100 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13101 Likewise.
13102 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13103 Likewise.
13104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13105 Likewise.
13106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13107 Likewise.
13108 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13109 (__lll_timedlock_elision, __lll_lock_elision)
13110 (__lll_unlock_elision, __lll_trylock_elision)
13111 (lll_timedlock_elision, lll_lock_elision)
13112 (lll_unlock_elision, lll_trylock_elision): Add.
13113 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13114 (pthread_mutex_t): Add lock elision support for s390.
13115
1a2f40e5
W
131162014-05-14 Wilco <wdijkstr@arm.com>
13117
13118 * sysdeps/arm/fclrexcpt.c: Cleanup.
13119 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13120 * sysdeps/arm/feenablxcpt.c: Cleanup.
13121 * sysdeps/arm/fegetenv.c: Cleanup.
13122 * sysdeps/arm/fegetexcept.c: Cleanup.
13123 * sysdeps/arm/fegetround.c: Cleanup.
13124 * sysdeps/arm/feholdexcpt.c: Cleanup.
13125 * sysdeps/arm/fesetenv.c: Cleanup.
13126 * sysdeps/arm/fesetround.c: Cleanup.
13127 * sysdeps/arm/feupdateenv.c: Cleanup.
13128 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13129 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13130 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13131 * sysdeps/arm/ftestexcept.c: Cleanup.
13132 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13133 * sysdeps/arm/setfpucw.c: Cleanup.
13134
f63c86fe
WN
131352014-05-09 Will Newton <will.newton@linaro.org>
13136
13137 * sysdeps/arm/armv7/strcmp.S: New file.
13138 * NEWS: Mention addition of ARMv7 optimized strcmp.
13139
7a1a51b5
RM
131402014-05-08 Roland McGrath <roland@hack.frob.com>
13141
95afbbe5
RM
13142 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13143 look for %.ac rather than %.in.
13144
13145 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13146 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13147 * sysdeps/mach/hurd/configure: Regenerated.
13148 * sysdeps/unix/sysv/linux/configure: Regenerated.
13149
7a1a51b5
RM
13150 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13151
5057ad3b
SE
131522014-05-07 Steve Ellcey <sellcey@mips.com>
13153
13154 [BZ# 16922]
13155 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13156 (LONG_SUB): Ditto.
13157 (PTR_SUB): Ditto.
13158
8dc97517
AS
131592014-05-07 Andreas Schwab <schwab@suse.de>
13160
13161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13162 when skipping over non-matching result from nscd.
13163
ce0c5b8f
OB
131642014-05-07 Ondřej Bílka <neleai@seznam.cz>
13165
13166 [BZ #16876]
13167 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13168
a1189263
OB
13169 [BZ #16877]
13170 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13171 nscd security class.
ce0c5b8f 13172
0f58d252
RM
131732014-05-06 Roland McGrath <roland@hack.frob.com>
13174
13175 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13176 * sysdeps/arm/unwind.h: ... here.
13177
83df9ad0
AJ
131782014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13179
ce0c5b8f
OB
13180 [BZ# 16916]
13181 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13182 Define.
83df9ad0 13183
f360f94a
VR
131842014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13185
13186 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13187 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13188 multiarch strncpy for PPC64.
13189 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13190 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13192 multiarch optimizations.
13193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13194 (__libc_ifunc_impl_list): Likewise.
13195 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13196 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13197 multiarch stpncpy for PPC64.
13198 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13199 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13200
978a41c3
AS
132012014-05-06 Andreas Schwab <schwab@suse.de>
13202
13203 [BZ #16912]
13204 * gmon/mcount.c (_MCOUNT_DECL): Use
13205 atomic_compare_and_exchange_bool_acq instead of
13206 catomic_compare_and_exchange_bool_acq.
13207
eb1ed03d
RM
132082014-05-05 Roland McGrath <roland@hack.frob.com>
13209
fe658845
RM
13210 * elf/Makefile (others, install-bin): Remove pldd.
13211 (pldd-modules): Variable removed.
13212 ($(objpfx)pldd): Target removed.
13213 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13214 (others, install-bin): Append pldd here.
13215 ($(objpfx)pldd): New target.
13216
eb1ed03d
RM
13217 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13218 to 0, so the first #if test emitted later doesn't see it undefined.
13219 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13220 * sysdeps/gnu/errlist.c: Regenerated.
13221
19c4bec0
AZ
132222014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13223
13224 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13225 [libc_hidden_builtin_def]: Define to empty value.
13226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13227 [libc_hidden_builtin_def]: Likewise.
13228 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13229 [libc_hidden_builtin_def]: Likewise.
13230 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13231 [libc_hidden_builtin_def]: Likewise.
13232 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13233 __redirect_memcpy and define ifunc as default hidden symbol.
13234 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13235 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13236
7776e669
AC
132372014-05-04 Adam Conrad <adconrad@0c3.net>
13238
13239 * locale/iso-4217.def: Reintroduce XDR currency.
13240
d69aeb12
AM
132412014-05-04 Allan McRae <allan@archlinux.org>
13242
13243 * po/eo.po: Update Esperanto translation from translation project.
13244
8f1df5cf
CD
132452014-05-02 Carlos O'Donell <carlos@redhat.com>
13246
13247 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13248 and FEATURE_INDEX_MAX to 1.
13249 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13250
13e402e7
SE
132512014-05-01 Steve Ellcey <sellcey@mips.com>
13252
13253 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13254 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13255 * iconvdata/big5.c (ONE_DIRECTION): Define.
13256 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13257 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13258 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13259 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13260 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13261 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13262 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13263 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13264 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13265 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13266 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13267 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13268 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13269 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13270 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13271 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13272 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13273 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13274 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13275 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13276 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13277 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13278 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13279 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13280 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13281 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13282 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13283 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13284 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13285 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13286 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13287 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13288 * iconvdata/johab.c (ONE_DIRECTION): Define.
13289 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13290 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13291 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13292 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13293 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13294 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13295 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13296 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13297 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13298 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13299
c727f032
RM
133002014-05-01 Roland McGrath <roland@hack.frob.com>
13301
8f2f08d0
RM
13302 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13303 (_IO_JUMPS_OFFSET): Define to 0.
13304
c727f032
RM
13305 * nptl/sysdeps/pthread/bits/libc-lock.h
13306 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13307 (__libc_lock_define_initialized_recursive): Always define using
13308 initializer. Modern compilers treat uninitialized (implicit zero) and
13309 explicit zero initializers the same (i.e. put the datum in bss).
13310
a849e800
AS
133112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13312
13313 * nscd/nscd-client.h: Include <string.h>.
13314
5331255b
DM
133152014-05-01 David S. Miller <davem@davemloft.net>
13316
13317 [BZ #16885]
13318 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13319 multiple zero bytes exist at the end of a string.
13320 Reported by Aurelien Jarno <aurelien@aurel32.net>
13321
13322 * string/test-strcmp.c (check): Add explicit test for situations where
13323 there are multiple zero bytes after the first.
13324
4fdfe821
AS
133252014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13326
13327 [BZ #16890]
13328 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13329 when compiling wprintf.
13330 * stdio-common/tstdiomisc.c (t3): New function.
13331 (main): Call it.
13332
0cdddc25
SE
133332014-05-01 Steve Ellcey <sellcey@mips.com>
13334
13335 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13336 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13337 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13338 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13339
6426d77e
SE
133402014-05-01 Steve Ellcey <sellcey@mips.com>
13341
13342 * stdlib/longlong.h: Updated from GCC.
13343
6d96f5e4
WN
133442014-05-01 Will Newton <will.newton@linaro.org>
13345 Bernard Ogden <bernie.ogden@linaro.org>
13346
7470db0c
WN
13347 * NEWS: Update fixed bug list.
13348
6d96f5e4
WN
13349 [BZ #15119]
13350 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13351
211d653c
DM
133522014-04-30 David S. Miller <davem@davemloft.net>
13353
4fa262fa
DM
13354 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13355 (libc_feholdexcept_setround_sparc_ctx): New function.
13356 (libc_fesetenv_sparc_ctx): Likewise.
13357 (libc_feupdateenv_sparc_ctx): Likewise.
13358 (libc_feholdsetround_sparc_ctx): Likewise.
13359 (libc_feholdexcept_setround_ctx): Define.
13360 (libc_feholdexcept_setroundf_ctx): Likewise.
13361 (libc_feholdexcept_setroundl_ctx): Likewise.
13362 (libc_fesetenv_ctx): Likewise.
13363 (libc_fesetenvf_ctx): Likewise.
13364 (libc_fesetenvl_ctx): Likewise.
13365 (libc_feupdateenv_ctx): Likewise.
13366 (libc_feupdateenvf_ctx): Likewise.
13367 (libc_feupdateenvl_ctx): Likewise.
13368 (libc_feresetround_ctx): Likewise.
13369 (libc_feresetroundf_ctx): Likewise.
13370 (libc_feresetroundl_ctx): Likewise.
13371 (libc_feholdsetround_ctx): Likewise.
13372 (libc_feholdsetroundf_ctx): Likewise.
13373 (libc_feholdsetroundl_ctx): Likewise.
13374
1d3d93ef
DM
13375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13376 with __USE_GNU instead of XOPEN cpp guards.
13377
8aa583c3
DM
13378 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13379 0.
13380
211d653c
DM
13381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13382 with XOPEN cpp guards.
13383
60c8f1f6
JB
133842014-04-30 Julian Brown <julian@codesourcery.com>
13385
13386 [BZ #16888]
13387 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13388 handling.
13389
9a461d46
JM
133902014-04-30 Joseph Myers <joseph@codesourcery.com>
13391
d0f5b3f8
JM
13392 [BZ #9894]
13393 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13394 Change to 2.6.32.
13395 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13396 * sysdeps/unix/sysv/linux/configure: Regenerated.
13397 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13398 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13399 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13400 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13401 * README: Update reference to required Linux kernel version.
13402 * manual/install.texi (Linux): Update reference to required Linux
13403 kernel headers version.
13404 * INSTALL: Regenerated.
13405
9a461d46
JM
13406 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13407 header inclusion.
13408 [POSIX] (limits.h): Likewise.
13409 [POSIX] (math.h): Likewise.
13410 [POSIX] (sys/wait.h): Likewise.
13411 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13412 function.
13413 [POSIX] (stddef.h): Do not allow header inclusion.
13414
1775babf
AZ
134152014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13416
57f41c40 13417 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13418
8f630cca
YY
134192014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13420
13421 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13422 Return immediately after lll_futex_wake.
13423
1cdeb237
SP
134242014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13425
bc8f194c
SP
13426 [BZ #16791]
13427 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13428 structure.
13429 (datahead_init_pos): Call datahead_init_common early.
13430 (datahead_init_neg): Likewise.
13431
1cdeb237
SP
13432 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13433 datahead_init_neg): New functions.
13434 * nscd/aicache.c (addhstaiX): Use them.
13435 * nscd/grpcache.c (cache_addgr): Likewise.
13436 * nscd/hstcache.c (cache_addhst): Likewise.
13437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13438 * nscd/netgroupcache.c (do_notfound): Likewise.
13439 (addgetnetgrentX): Likewise.
13440 (addinnetgrX): Likewise.
13441 * nscd/pwdcache.c (cache_addpw): Likewise.
13442 * nscd/servicescache.c (cache_addserv): Likewise.
13443
16b293a7
SP
134442014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13445 Atsushi Onoe <atsushi@onoe.org>
13446
13447 [BZ #14308]
13448 [BZ #12994]
13449 [BZ #13651]
13450 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13451 one response is valid.
13452 * resolv/res_send.c (send_dg): Check for validity of other
13453 response if the current response is a referral.
13454
a28a9b94
SE
134552014-04-29 Steve Ellcey <sellcey@mips.com>
13456
13457 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13458
2ca180e9
SL
134592014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13460
13461 [BZ #16823]
13462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13463 Always divide by positive zero when computing -Inf result.
13464 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13465 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13466
18f2945a
AZ
134672014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13468
13469 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13470 FPSCR if value do not change.
13471 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13472 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13473 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13474 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13475 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13476 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13477 function.
13478
5abebba4
CD
134792014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13480
13481 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13482 * sysdeps/unix/sysv/linux/hppa: Move directory from
13483 ports/systeps/unix/sysv/linux/hppa.
13484 * README: Update listing for hppa-*-linux-gnu.
13485
f7ed60c2
OB
134862014-04-28 Ondřej Bílka <neleai@seznam.cz>
13487
fff763a5
OB
13488 [BZ #16754]
13489 * manual/stdio.texi (Hook functions): Fix types of stream hook
13490 functions.
f7ed60c2
OB
13491 [BZ #16854]
13492 * socket/sys/socket.h: Fix typo in comment.
13493
df639d73
WD
134942014-04-28 Wilco <wdijkstr@arm.com>
13495
f7ed60c2 13496 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13497 * sysdeps/arm/math_private.h: New file.
13498 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13499
48332d82
L
135002014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13501
13502 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13503 with __int128_t.
13504 (La_x86_64_retval): Likewise.
13505
e5e0d9a4
IB
135062014-04-24 Ian Bolton <ian.bolton@arm.com>
13507
13508 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13509 fpsr if value didn't change.
13510 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13511 to fpcr if value didn't change.
13512 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13513 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13514 fpsr or fpcr if value didn't change.
13515 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13516 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13517 fpcr if value didn't change.
13518 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13519 to fpsr if value didn't change.
13520
bacc75f7
SP
135212014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13522
13523 * nptl/tst-sem3.c: Use test-skeleton.c
13524 (main): Rename to do_test. Use return instead of
13525 exit.
13526 * nptl/tst-sem4.c: Use test-skeleton.c
13527 (main): Rename to do_test.
13528
a059d359
DM
135292014-04-22 David S. Miller <davem@davemloft.net>
13530
13531 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13532 (struct sigaction): New struct member __glibc_reserved0, change
13533 type of sa_flags to int.
13534
ea6c92f3
YZ
135352014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13536
13537 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13538 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13539
766c4a36
SP
135402014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13541
13542 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13543 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13544
140cc7ab
VK
135452014-04-22 Will Newton <will.newton@linaro.org>
13546 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13547
13548 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13549 (__longjmp): Add longjmp and longjmp_target SystemTap
13550 probes.
13551 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13552 (__sigsetjmp): Add setjmp SystemTap probe.
13553
c54e5cf7
CD
135542014-04-17 Carlos O'Donell <carlos@redhat.com>
13555
13556 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13557 match manual order.
13558
75ffb047
AZ
135592014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13560
13561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13562
2cd925f7
AZ
13563 * sysdeps/powerpc/fpu/fenv_private.h
13564 (libc_feholdexcept_setroundl_ctx): Define to
13565 libc_feholdexcept_setround_ppc_ctx.
13566 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13567 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13568 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13569 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13570
39e6cd8d
IB
135712014-04-17 Ian Bolton <ian.bolton@arm.com>
13572
13573 * sysdeps/aarch64/math-tests.h: New file.
13574
f9281df9
SY
135752014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13576
13577 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13578 New.
13579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13580 Check and set bit_AVX2_Usable.
13581 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13582 macro.
13583 (bit_AVX2): Likewise.
13584 (index_AVX2_Usable): Likewise.
13585 (CPUID_AVX2): Likewise.
13586 (HAS_AVX2): Likewise.
13587
37d35007
WN
135882014-04-17 Will Newton <will.newton@linaro.org>
13589
7c677662
WN
13590 * manual/setjmp.texi (System V contexts): Add note that
13591 calling setcontext on a context created by a call to a
13592 signal handler is undefined. Update text to note that
13593 setcontext from a signal handler is possible but not
13594 recommended.
13595
37d35007 13596 [BZ #16629]
e04a4e9d
WN
13597 * stdlib/tst-setcontext.c: Include signal.h.
13598 (main): Check that the signal stack before and
13599 after swapcontext is the same.
13600
37d35007
WN
13601 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13602 Re-implement to restore registers in user code and avoid
13603 rt_sigreturn system call.
13604
423a7160
W
136052014-04-17 Wilco <wdijkstr@arm.com>
13606
13607 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13608 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13609 * math/test-fenv.c: Skip exception trap tests on targets which only
13610 support non-stop mode.
13611
bc93ab29
IB
136122014-04-17 Ian Bolton <ian.bolton@arm.com>
13613 Wilco Dijkstra <wilco.dijkstra@arm.com>
13614
13615 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13616 (libc_feholdsetround_aarch64_ctx)
13617 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13618 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13619 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13620 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13621 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13622 (libc_feresetround_noexl_ctx): Define.
13623
95fc5fa3
RH
136242014-04-16 Richard Henderson <rth@redhat.com>
13625
ddb04724
RH
13626 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13627
d77c0899
RH
13628 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13629 unwind tables.
13630
a3df56fc
RH
13631 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13632 const from the non-libc, non-ldso copy.
13633
95fc5fa3
RH
13634 * sysdeps/alpha/libm-test-ulps: Regenerate.
13635
7e0b6763
IB
136362014-04-16 Ian Bolton <ian.bolton@arm.com>
13637 Wilco Dijkstra <wilco.dijkstra@arm.com>
13638
13639 * sysdeps/aarch64/fpu/math_private.h: New file.
13640
a9ea2e0c
MS
136412014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13642
13643 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13644
ea8ba7cd
IZ
136452014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13646
7e54fd04 13647 [BZ #16275]
ea8ba7cd
IZ
13648 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13649 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13651 Intel MPX bound registers before _dl_profile_fixup.
13652 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13653 registers after _dl_profile_fixup. Save and restore bound
13654 registers bnd0/bnd1 when calling _dl_call_pltexit.
13655 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13656 (LR_BND_OFFSET): Likewise.
13657 (LRV_BND0_OFFSET): Likewise.
13658 (LRV_BND1_OFFSET): Likewise.
13659
9f2a4fbc
ST
136602014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13661
13662 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13663 to...
13664 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13665 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13666 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13667 fields.
9f2a4fbc 13668
fd15a59b
ST
136692014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13670
13671 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13672
f19dfa0a
SL
136732014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13674
13675 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13676
4fa8bc3b
SL
136772014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13678
13679 [BZ #14770]
13680 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13681 * sysdeps/s390/configure: Regenerate.
13682
8ea587db
SL
13683 [BZ #16824]
13684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13685 Set round-to-nearest internally to reduce error accumulation.
13686
aa5f0ff1
AM
136872014-04-16 Alan Modra <amodra@gmail.com>
13688
13689 [BZ #16740]
13690 [BZ #16619]
13691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13692 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13693 * NEWS: Update fixed bug list.
aa5f0ff1 13694
bb9c256f
SP
136952014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13696
13697 * benchtests/Makefile: Depend on libraries in build directory.
13698 (bench-math): Separate out math tests.
13699 (bench-pthread): Separate out pthread tests.
13700 (bench): Include math and pthread tests.
13701
f737dfd0
CD
137022014-04-14 Carlos O'Donell <carlos@redhat.com>
13703
13704 [BZ #16831]
13705 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13706 _dl_debug_initialize.
13707
0699f766
CD
13708 * configure.ac: Remove SELinux header check.
13709 * configure: Regenerate.
13710 * nscd/selinux.c (perms): Array of const char* to permission names.
13711 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13712 default policy. Call string_to_security_class and string_to_av_perm to
13713 translate strings. Enforce default policy and call avs_has_perm with
13714 results of translated strings.
13715
809bd45f
DM
137162014-04-13 David S. Miller <davem@davemloft.net>
13717
13718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13719
89e691f2
AM
137202014-04-12 Allan McRae <allan@archlinux.org>
13721
13722 [BZ #16838]
13723 * manual/string.texi (Collation Functions): Fix qsort argument
13724 order in example.
13725 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13726
9c9daaeb
CM
137272014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13728
13729 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13730 Make the test a no-op if there are no exceptions defined.
13731
95561fb9
PP
137322014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13733
fe8d072c 13734 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13735 enable-hardcoded-path-in-tests
13736
970c602a
WN
137372014-04-11 Will Newton <will.newton@linaro.org>
13738
13739 * benchtests/Makefile (extra-objs): Add json-lib.o.
13740 (bench-func): Tidy up JSON output.
13741 * benchtests/bench-skeleton.c: Include json-lib.h.
13742 (main): Use JSON library functions to do output of
13743 benchmark results.
13744 * benchtests/bench-timing-type.c (main): Output the
13745 timing type simply, leaving formatting to the user.
13746 * benchtests/json-lib.c: New file.
13747 * benchtests/json-lib.h: Likewise.
13748
36875b06
TR
137492014-04-11 Torvald Riegel <triegel@redhat.com>
13750
13751 [BZ #15215]
13752 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13753 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13754 memory barriers. Add comments.
13755 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13756 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13757 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13758 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13759 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13760 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13761
579db35a
SL
137622014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13763
13764 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13765 * sysdeps/s390/s390-64/configure.ac: ... this ...
13766 * sysdeps/s390/configure.ac: ... to here.
13767 * sysdeps/s390/s390-32/configure: Delete file.
13768 * sysdeps/s390/s390-64/configure: Delete file.
13769 * sysdeps/s390/configure: Regenerate.
13770
c12e9f37
JAPH
137712014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13772
13773 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13774
439bda32
WN
137752014-04-11 Will Newton <will.newton@linaro.org>
13776
13777 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13778 to zero if it is not defined elsewhere. (mtrim): Test
13779 the value of MALLOC_DEBUG with #if rather than #ifdef.
13780
6a5d6ea1
TR
137812014-04-10 Torvald Riegel <triegel@redhat.com>
13782
13783 * benchtests/pthread_once-inputs: New file.
13784 * benchtests/pthread_once-source.c: New file.
13785 * benchtests/README: Update documentation.
13786
a4c75cfd
IZ
137872014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13788 H.J. Lu <hongjiu.lu@intel.com>
13789
7e54fd04 13790 [BZ #16275]
a4c75cfd
IZ
13791 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13792 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13793 * sysdeps/x86_64/configure: Regenerated.
13794 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13795 macro.
13796 (REGISTER_SAVE_RAX): Likewise.
13797 (REGISTER_SAVE_RCX): Likewise.
13798 (REGISTER_SAVE_RDX): Likewise.
13799 (REGISTER_SAVE_RSI): Likewise.
13800 (REGISTER_SAVE_RDI): Likewise.
13801 (REGISTER_SAVE_R8): Likewise.
13802 (REGISTER_SAVE_R9): Likewise.
13803 (REGISTER_SAVE_BND0): Likewise.
13804 (REGISTER_SAVE_BND1): Likewise.
13805 (REGISTER_SAVE_BND2): Likewise.
13806 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13807 bound registers when calling _dl_fixup.
13808
27822ce6
AZ
138092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13810
13811 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13812 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13813 of its definition.
27822ce6
AZ
13814 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13815 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13816 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13817 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13818 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13819 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13820 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13821
a88ddc90
PTB
138222014-04-09 Peter Brett <peter@peter-b.co.uk>
13823
13824 [BZ #15514]
13825 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13826 pathconf(_PC_NAME_MAX).
13827
01f8eac2
AZ
138282014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13829
13830 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13831 Remove macro usage.
13832 (__PTHREAD_SPINS): Move definition to ...
13833 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13834 (__PTHREAD_SPINS): ... here.
13835 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13836 (__PTHREAD_SPIN): Likewise.
13837 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13838 (__PTHREAD_SPIN): Likewise.
13839 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13840 (__PTHREAD_SPIN): Likewise.
13841 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13842 (__PTHREAD_SPIN): Likewise.
13843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13844 (__PTHREAD_SPIN): Likewise.
13845 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13846 (__PTHREAD_SPIN): Likewise.
13847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13848 (__PTHREAD_SPIN): Likewise.
13849 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13850 (__PTHREAD_SPIN): Likewise.
13851 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13852 (__PTHREAD_SPIN): Likewise.
13853 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13854 (__PTHREAD_SPIN): Likewise.
13855 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13856 (__PTHREAD_SPIN): Likewise.
13857 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13858 (__PTHREAD_SPIN): Likewise.
13859
de21c33c
AZ
13860 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13861 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13862 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13863 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13864 imply folder.
13865 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13866 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13867 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13868 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13869 correct imply path.
13870 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13871 strlen symbol for non multi-arch builds.
13872 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13873 missing hidden_def and weak_alias.
13874
862c472e
CD
138752014-04-08 Carlos O'Donell <carlos@redhat.com>
13876
13877 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13878
8667f90e
WN
138792014-04-07 Will Newton <will.newton@linaro.org>
13880
13881 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13882 and contents. [!_LIBC] Remove #ifndef and contents.
13883 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13884 * string/memccpy.c (__memccpy): Use ANSI prototype.
13885 * string/memfrob.c (memfrob): Likewise.
13886 * string/strcoll.c (STRCOLL): Likewise.
13887 * string/strlen.c (strlen): Likewise.
13888 * string/strtok.c (STRTOK): Likewise.
13889 * string/strcat.c: Remove unused #include of memcopy.h.
13890 (strcat): Use ANSI prototype.
13891 * string/strchr.c: Remove unused #include of memcopy.h.
13892 (strchr): Use ANSI prototype.
13893 * string/strcmp.c: Remove unused #include of memcopy.h.
13894 (strcmp): Use ANSI prototype.
13895 * string/strcpy.c: Remove unused #include of memcopy.h.
13896 (strcpy): Use ANSI prototype.
13897
7ffa9423
AZ
138982014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13899
13900 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13901 * config.make.in (config-extra-cppflags): Set it from
13902 libc_extra_cppflags.
13903 * configure.ac (libc_extra_cflags): Make it accumulate over
13904 configure fragments.
13905 (libc_extra_cppflags): New flag.
13906 * configure. Regenerate.
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13908 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13909 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13911
8bd70862
AZ
13912 [BZ #16815]
13913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13914 result for FE_DOWNWARD rounding mode.
13915 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13916 Likewise.
13917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13918
d42f3448
CM
139192014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13920
13921 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13922 in function argument name.
13923
1c21d115
DS
139242014-04-03 David Svoboda <svoboda@cert.org>
13925
13926 [BZ #5666]
13927 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13928 explicitly.
13929
fcccd512
RM
139302014-04-03 Roland McGrath <roland@hack.frob.com>
13931
13932 * elf/dl-unmap-segments.h: New file.
13933 * sysdeps/generic/ldsodefs.h
13934 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13935 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13936 * elf/dl-fptr.c: Likewise.
13937 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13938 * sysdeps/aarch64/tlsdesc.c: Likewise.
13939 * sysdeps/arm/tlsdesc.c: Likewise.
13940 * sysdeps/i386/tlsdesc.c: Likewise.
13941 * sysdeps/tile/dl-runtime.c: Likewise.
13942 * sysdeps/x86_64/tlsdesc.c: Likewise.
13943 * elf/dl-load.h: New file.
13944 * elf/dl-load.c: Include it.
13945 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13946 Macros moved to dl-load.h.
13947 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13948 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13949 Use _dl_unmap_segments in place of __munmap.
13950 Break out segment-mapping loop into ...
13951 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13952
f6488e2b
WN
139532014-04-03 Will Newton <will.newton@linaro.org>
13954
13955 * elf/dl-lookup.c (do_lookup_x): Remove comment
13956 referring to nested function and move variable
13957 declarations down to before first use.
13958
6f05bafe
JM
139592014-04-02 Joseph Myers <joseph@codesourcery.com>
13960
a84e78c8
JM
13961 [BZ #16799]
13962 [BZ #16800]
13963 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13964 with 0 numerator.
13965 * math/s_catanf.c (__catanf): Likewise.
13966 * math/s_catanh.c (__catanh): Likewise.
13967 * math/s_catanhf.c (__catanhf): Likewise.
13968 * math/s_catanhl.c (__catanhl): Likewise.
13969 * math/s_catanl.c (__catanl): Likewise.
13970 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13971 by positive zero when computing -Inf result.
13972 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13973 (catanh_test): Likewise.
13974 * sysdeps/i386/fpu/libm-test-ulps: Update.
13975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13976
6f05bafe
JM
13977 [BZ #16789]
13978 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13979 instead of using underflowing value in computing result.
13980 * math/s_clog10.c (__clog10): Likewise.
13981 * math/s_clog10f.c (__clog10f): Likewise.
13982 * math/s_clog10l.c (__clog10l): Likewise.
13983 * math/s_clogf.c (__clogf): Likewise.
13984 * math/s_clogl.c (__clogl): Likewise.
13985 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13986 (clog10_test): Likewise.
13987 * sysdeps/i386/fpu/libm-test-ulps: Update.
13988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13989
b0abbc21
AM
139902014-04-02 Alan Modra <amodra@gmail.com>
13991
13992 [BZ #16739]
13993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13994 output when value is near a power of two. Use int64_t for lx and
13995 remove casts. Use decimal rather than hex exponent constants.
13996 Don't use long double multiplication when double will suffice.
13997 * math/libm-test.inc (nextafter_test_data): Add tests.
13998 * NEWS: Add 16739 and 16786 to bug list.
13999
af6b1797
AM
14000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14001
483818d7
AM
14002 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14003
f6c55796
WN
140042014-04-01 Will Newton <will.newton@linaro.org>
14005
14006 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14007 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14008
13f7fe35
FW
140092014-04-01 Florian Weimer <fweimer@redhat.com>
14010
14011 [BZ #13347]
14012 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14013 * nptl/tst-setuid2.c: New file.
14014 * nptl/Makefile (xtests): Add tst-setuid2.
14015
c859b32e
AM
140162014-04-01 Alan Modra <amodra@gmail.com>
14017
14018 [BZ #16786]
14019 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14020
54fa2475
JM
140212014-03-31 Joseph Myers <joseph@codesourcery.com>
14022
8795b4a4
JM
14023 [BZ #6803]
14024 [BZ #6804]
14025 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14026 set errno as appropriate.
14027 * math/w_scalbf.c (__scalbf): Likewise.
14028 * math/w_scalbl.c (__scalbl): Likewise.
14029 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14030 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14031 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14032 Add more NaN tests.
14033
54fa2475
JM
14034 [BZ #16349]
14035 * math/w_atan2.c: Include <errno.h>.
14036 (__atan2): Set errno for result underflowing to zero.
14037 * math/w_atan2f.c: Include <errno.h>.
14038 (__atan2f): Set errno for result underflowing to zero.
14039 * math/w_atan2l.c: Include <errno.h>.
14040 (__atan2l): Set errno for result underflowing to zero.
14041 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14042 tests.
14043 * math/auto-libm-test-out: Regenerated.
14044
757d9dd5
AZ
140452014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14046
14047 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14048 Encode instruction correctly in little endian.
14049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14050 Likewise.
14051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14052 Likewise.
14053 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14054 Likewise.
14055 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14056 Likewise.
14057
d7a68734
JM
140582014-03-31 Joseph Myers <joseph@codesourcery.com>
14059
47c5adeb
JM
14060 [BZ #9894]
14061 * sysdeps/unix/sysv/linux/kernel-features.h
14062 [__sparc__ && !__arch64__ && !__sparc_v9__]
14063 (__ASSUME_SET_ROBUST_LIST): Do not define.
14064 [__sparc__ && !__arch64__ && !__sparc_v9__]
14065 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14066 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14067 Likewise.
14068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14069 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14070 (__ASSUME_REQUEUE_PI): Likewise.
14071 (__ASSUME_SET_ROBUST_LIST): Likewise.
14072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14073 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14074 Undefine.
14075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14076 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14077 Likewise.
14078 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14079 Likewise.
14080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14081 Likewise.
14082 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14083 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14084 Undefine.
14085 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14086 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14087 Likewise.
14088
d7a68734
JM
14089 [BZ #16648]
14090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14091 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14092 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14093
c760f5c2
WN
140942014-03-31 Will Newton <will.newton@linaro.org>
14095
14096 * benchtests/Makefile (bench): Add ffs and ffsll to list
14097 of tests.
14098 * benchtests/ffs-inputs: New file.
14099 * benchtests/ffsll-inputs: Likewise.
14100
ea6029b1
JM
141012014-03-29 Joseph Myers <joseph@codesourcery.com>
14102
14103 [BZ #16770]
14104 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14105 too large before casting to int.
14106 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14107 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14108 * math/libm-test.inc (scalb_test_data): Add more tests.
14109
cf806aff
SP
141102014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14111
56737508
SP
14112 * benchtests/Makefile (DETAILED_OPT): New make option.
14113 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14114 set.
14115 * benchtests/bench-skeleton.c: Include stdbool.h.
14116 (main): Store and print timings per input.
14117 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14118 member to each argument value.
14119 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14120 (_print_arg_data): Initialize per-input timing to 0.
14121
cb5e4aad
SP
14122 * benchtests/Makefile (timing-type): New binary.
14123 (bench-clean): Also remove bench-timing-type.
14124 (bench): New target for timing-type.
14125 (bench-func): Print output in JSON format.
14126 * benchtests/bench-skeleton.c (main): Print output in JSON
14127 format.
14128 * benchtests/bench-timing-type.c: New file.
14129 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14130 (TIMING_PRINT_STATS): Remove.
14131 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14132 name separately.
14133
cf806aff
SP
14134 * benchtests/bench-modf.c: Remove.
14135 * benchtests/modf-inputs: New inputs file.
14136
289e0779
JM
141372014-03-28 Joseph Myers <joseph@codesourcery.com>
14138
14139 [BZ #16362]
14140 * math/s_clog10.c (M_PI_LOG10E): New macro.
14141 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14142 imaginary parts are 0.
14143 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14144 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14145 imaginary parts are 0.
14146 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14147 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14148 imaginary parts are 0.
14149 * math/libm-test.inc (clog10_test_data): Update expected results
14150 for when real and imaginary parts are 0.
14151
277ae3f1
PP
141522014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14153
14154 * elf/dl-load.c: Finish conversion of __builtin_expect into
14155 __glibc_{un}likely.
14156
03a7091f
JM
141572014-03-27 Joseph Myers <joseph@codesourcery.com>
14158
14159 [BZ #16348]
14160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14161 1+x for argument with exponent below -67.
14162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14163 Likewise.
14164 * math/auto-libm-test-in: Add more tests of exp.
14165 * math/auto-libm-test-out: Regenerated.
14166
ea7d8b95
SP
141672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14168
dd3022d7
SP
14169 [BZ #16759]
14170 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14171 (nscd_getnetgrent): Use it.
14172
ea7d8b95
SP
14173 [BZ #16760]
14174 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14175 of stpcpy.
14176
df5b85da
AK
141772014-03-27 Andi Kleen <ak@linux.intel.com>
14178
57f41c40
AS
14179 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14180 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14181 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14182 (lll_robust_unlock): Remove out of line section. Use cfi
14183 intrinsics.
df5b85da 14184 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14185 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14186 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14187 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14188 (lll_robust_unlock): Remove out of line section. Use cfi
14189 intrinsics.
df5b85da
AK
14190 (LLL_STUB_UNWIND_INFO*): Remove.
14191
fbd6b5a4
SP
141922014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14193
14194 [BZ #16758]
14195 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14196 blank values.
14197
1b26b855
PP
141982014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14199
14200 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14201
9be36fb8
JM
142022014-03-26 Joseph Myers <joseph@codesourcery.com>
14203
14204 [BZ #16198]
14205 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14206 fnstenv.
14207 * math/test-fenv-preserve.c: New file.
14208 * math/Makefile (tests): Add test-fenv-preserve.
14209
60a2f3c1
WN
142102014-03-26 Will Newton <will.newton@linaro.org>
14211
14212 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14213
a5e5f1e2
RM
142142014-03-25 Roland McGrath <roland@hack.frob.com>
14215
14216 * scripts/versionlist.awk: Partition the version sets and emit all
14217 GLIBC_* (sorted) before all others (sorted).
14218
00f4012a
JM
142192014-03-25 Joseph Myers <joseph@codesourcery.com>
14220
14221 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14222 GLIBC_2.2.5 version.
14223
7bc5a741
AZ
142242014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14225
14226 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14227 calls.
14228
7578473b
AZ
14229 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14230 previous change.
14231
f3f1dab3
AZ
14232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14233
6da36183
AS
142342014-03-25 Andreas Schwab <schwab@suse.de>
14235
14236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14237 label to be used after in6ailist is initialized.
14238
f3f1dab3 142392014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14240
7578473b 14241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14242 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14243
046651c1
JM
142442014-03-25 Joseph Myers <joseph@codesourcery.com>
14245
14246 [BZ #16357]
14247 [BZ #16599]
14248 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14249 min_plus_half.
14250 (fp_formats): Update initializers.
14251 (init_fp_formats): Initialize new field.
14252 (output_for_one_input_case): Allow underflow for results up to
14253 min_plus_half.
14254 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14255 * math/auto-libm-test-in: Don't mark some underflows from asin and
14256 atanh as spurious.
14257 * math/auto-libm-test-out: Regenerated.
14258 * sysdeps/i386/fpu/libm-test-ulps: Update.
14259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14260
003e49ed
AS
142612014-03-25 Andreas Schwab <schwab@suse.de>
14262
14263 * libio/Makefile (tst-ftell-partial-wide-ENV)
14264 (tst-ftell-active-handler-ENV): Define.
14265
de031874
SL
142662014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14267
14268 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14269
55a81e3b
PP
142702014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14271
14272 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14273
f3426898
JM
142742014-03-24 Joseph Myers <joseph@codesourcery.com>
14275
14276 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14277 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14278 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14279
a42faf59
PP
142802014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14281
14282 [BZ #16634]
a42faf59 14283 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14284 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14285 (open_path): Change from boolean 'secure' to complete flag 'mode'
14286 (_dl_map_object): Adjust.
a42faf59
PP
14287 * elf/Makefile (tests): Add tst-dlopen-aout.
14288 * elf/tst-dlopen-aout.c: New test.
14289
50936127
SL
142902014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14291
14292 [BZ #16714]
14293 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14294 (struct stat): Rename member pad0 to __glibc_reserved0.
14295
26011b5c
SL
14296 [BZ #16712]
14297 * sysdeps/s390/s390-32/bits/wordsize.h
14298 (__WORDSIZE32_SIZE_ULONG): New define.
14299 * sysdeps/s390/s390-64/bits/wordsize.h
14300 (__WORDSIZE32_SIZE_ULONG): Likewise.
14301 * sysdeps/generic/stdint.h (SIZE_MAX):
14302 Define as UL if __WORDSIZE32_SIZE_ULONG.
14303
a2d86bf1
SL
14304 [BZ #16713]
14305 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14306 (__glibc_reserved0): New variable.
14307 (sa_flags): Change type to int.
14308
78b6eebc
SL
14309 * posix/Makefile (before-compile): Use += before-compile instead
14310 of a :=.
14311
f1399b5a
SL
14312 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14313 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14314
a071766e
AS
143152014-03-20 Andreas Schwab <schwab@suse.de>
14316
14317 [BZ #16743]
14318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14319 non-matching result from nscd.
14320
27c673b8
SP
143212014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14322
14323 * scripts/bench.py: Moved to ...
14324 * benchtests/scripts/bench.py: ... here.
14325 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14326
44152e4b
AS
143272014-03-24 Andreas Schwab <schwab@suse.de>
14328
14329 [BZ #16002]
14330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14331 alloca_account and account alloca use for struct in6ailist.
14332
b376a11a
JM
143332014-03-24 Joseph Myers <joseph@codesourcery.com>
14334
14335 [BZ #16284]
14336 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14337 rounding mode to recompute results that overflow to infinity or
14338 underflow to zero.
14339 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14340 bug 16284.
14341 * math/auto-libm-test-out: Regenerated.
14342 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14343 (ccosh_test): Likewise.
14344 (csin_test_data): Use plus_oflow.
14345 (csin_test): Use ALL_RM_TEST.
14346 (csinh_test_data): Use plus_oflow.
14347 (csinh_test): Use ALL_RM_TEST.
14348 * sysdeps/i386/fpu/libm-test-ulps: Update.
14349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14350
f7be7376
JM
143512014-03-21 Joseph Myers <joseph@codesourcery.com>
14352
1ca2d03e
JM
14353 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14354 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14355 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14356
f7be7376
JM
14357 [BZ #16731]
14358 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14359 when x - 1 is zero.
14360 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14361 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14362 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14364 argument is 1.
14365 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14366 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14367 zero.
14368 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14369 * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371
fdf4534d
SP
143722014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14373
df26ea53
SP
14374 * scripts/bench.pl: Remove file.
14375 * scripts/bench.py: New benchmark script.
14376 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14377 * benchtests/README: Mention python dependency.
14378 * scripts/pylintrc: New file.
14379 * scripts/pylint: New file.
14380
fdf4534d
SP
14381 * bits/mathdef.h: Use #ifdef instead of #if.
14382 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14383 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14384 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14385 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14386 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14387 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14388
6f23d093
AZ
143892014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14391
14392 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14394 and strpbrk-ppc64 objects.
14395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14396 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14397 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14398 multiarch strpbrk for POWER7.
14399 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14400 multiarch strpbrk for PPC64.
14401 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14402 ifunc selector.
14403 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14404 strpbrk for POWER7.
14405
8c92dfff
JM
144062014-03-20 Joseph Myers <joseph@codesourcery.com>
14407
14408 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14409 (atan_test): Likewise.
14410 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14411 (atanh_test): Use ALL_RM_TEST.
14412 (atan2_test_data): Likewise.
14413 (cabs_test): Likewise.
14414 (cacosh_test): Likewise.
14415 (carg_test): Likewise.
14416 (casin_test): Likewise.
14417 (casinh_test): Likewise.
14418 (cbrt_test): Likewise.
14419 (csqrt_test): Likewise.
14420 (erf_test): Likewise.
14421 (erfc_test): Likewise.
14422 (pow10_test): Likewise.
14423 (exp2_test): Likewise.
14424 (hypot_test): Likewise.
14425 (j0_test): Likewise.
14426 (j1_test): Likewise.
14427 (lgamma_test): Likewise.
14428 (gamma_test): Likewise.
14429 (sincos_test): Likewise.
14430 (tanh_test): Likewise.
14431 (y0_test): Likewise.
14432 (y1_test): Likewise.
14433 * sysdeps/i386/fpu/libm-test-ulps: Update.
14434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14435
6eaf95cb
AZ
144362014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14437
a387428c
SP
14438 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14440 and strcspn-ppc64 objects.
14441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14442 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14443 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14444 multiarch strcspn for POWER7.
14445 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14446 multiarch strcspn for PPC64.
14447 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14448 ifunc selector.
14449 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14450 strcspn for POWER7.
14451
ae3a5dff
JM
144522014-03-20 Joseph Myers <joseph@codesourcery.com>
14453
14454 * math/gen-libm-test.pl (generate_testfile): Expect only function
14455 name as argument to AUTO_TESTS_* and pass results for all rounding
14456 modes to parse_args.
14457 (parse_auto_input): Separate inputs of automatic tests from
14458 outputs before storing in %auto_tests.
14459 * math/libm-test.inc (acos_test_data): Update call to
14460 AUTO_TESTS_f_f.
14461 (acos_test): Use ALL_RM_TEST.
14462 (acos_tonearest_test_data): Remove.
14463 (acos_test_tonearest): Likewise.
14464 (acos_towardzero_test_data): Likewise.
14465 (acos_test_towardzero): Likewise.
14466 (acos_downward_test_data): Likewise.
14467 (acos_test_downward): Likewise.
14468 (acos_upward_test_data): Likewise.
14469 (acos_test_upward): Likewise.
14470 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14471 (asin_test_data): Likewise.
14472 (asin_test): Use ALL_RM_TEST.
14473 (asin_tonearest_test_data): Remove.
14474 (asin_test_tonearest): Likewise.
14475 (asin_towardzero_test_data): Likewise.
14476 (asin_test_towardzero): Likewise.
14477 (asin_downward_test_data): Likewise.
14478 (asin_test_downward): Likewise.
14479 (asin_upward_test_data): Likewise.
14480 (asin_test_upward): Likewise.
14481 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14482 (atan_test_data): Likewise.
14483 (atanh_test_data): Likewise.
14484 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14485 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14486 (carg_test_data): Likewise.
14487 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14488 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14489 (ccosh_test_data): Likewise.
14490 (cexp_test_data): Likewise.
14491 (clog_test_data): Likewise.
14492 (clog10_test_data): Likewise.
14493 (cos_test_data): Update call to AUTO_TESTS_f_f.
14494 (cos_test): Use ALL_RM_TEST.
14495 (cos_tonearest_test_data): Remove.
14496 (cos_test_tonearest): Likewise.
14497 (cos_towardzero_test_data): Likewise.
14498 (cos_test_towardzero): Likewise.
14499 (cos_downward_test_data): Likewise.
14500 (cos_test_downward): Likewise.
14501 (cos_upward_test_data): Likewise.
14502 (cos_test_upward): Likewise.
14503 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14504 (cosh_test): Use ALL_RM_TEST.
14505 (cosh_tonearest_test_data): Remove.
14506 (cosh_test_tonearest): Likewise.
14507 (cosh_towardzero_test_data): Likewise.
14508 (cosh_test_towardzero): Likewise.
14509 (cosh_downward_test_data): Likewise.
14510 (cosh_test_downward): Likewise.
14511 (cosh_upward_test_data): Likewise.
14512 (cosh_test_upward): Likewise.
14513 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14514 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14515 (ctan_test_data): Likewise.
14516 (ctan_test): Use ALL_RM_TEST.
14517 (ctan_tonearest_test_data): Remove.
14518 (ctan_test_tonearest): Likewise.
14519 (ctan_towardzero_test_data): Likewise.
14520 (ctan_test_towardzero): Likewise.
14521 (ctan_downward_test_data): Likewise.
14522 (ctan_test_downward): Likewise.
14523 (ctan_upward_test_data): Likewise.
14524 (ctan_test_upward): Likewise.
14525 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14526 (ctanh_test): Use ALL_RM_TEST.
14527 (ctanh_tonearest_test_data): Remove.
14528 (ctanh_test_tonearest): Likewise.
14529 (ctanh_towardzero_test_data): Likewise.
14530 (ctanh_test_towardzero): Likewise.
14531 (ctanh_downward_test_data): Likewise.
14532 (ctanh_test_downward): Likewise.
14533 (ctanh_upward_test_data): Likewise.
14534 (ctanh_test_upward): Likewise.
14535 (erf_test_data): Update call to AUTO_TESTS_f_f.
14536 (erfc_test_data): Likewise.
14537 (exp_test_data): Likewise.
14538 (exp_test): Use ALL_RM_TEST.
14539 (exp_tonearest_test_data): Remove.
14540 (exp_test_tonearest): Likewise.
14541 (exp_towardzero_test_data): Likewise.
14542 (exp_test_towardzero): Likewise.
14543 (exp_downward_test_data): Likewise.
14544 (exp_test_downward): Likewise.
14545 (exp_upward_test_data): Likewise.
14546 (exp_test_upward): Likewise.
14547 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14548 (exp10_test): Use ALL_RM_TEST.
14549 (exp10_tonearest_test_data): Remove.
14550 (exp10_test_tonearest): Likewise.
14551 (exp10_towardzero_test_data): Likewise.
14552 (exp10_test_towardzero): Likewise.
14553 (exp10_downward_test_data): Likewise.
14554 (exp10_test_downward): Likewise.
14555 (exp10_upward_test_data): Likewise.
14556 (exp10_test_upward): Likewise.
14557 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14558 (expm1_test_data): Likewise.
14559 (expm1_test): Use ALL_RM_TEST.
14560 (expm1_tonearest_test_data): Remove.
14561 (expm1_test_tonearest): Likewise.
14562 (expm1_towardzero_test_data): Likewise.
14563 (expm1_test_towardzero): Likewise.
14564 (expm1_downward_test_data): Likewise.
14565 (expm1_test_downward): Likewise.
14566 (expm1_upward_test_data): Likewise.
14567 (expm1_test_upward): Likewise.
14568 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14569 (fma_test): Use ALL_RM_TEST.
14570 (fma_towardzero_test_data): Remove.
14571 (fma_test_towardzero): Likewise.
14572 (fma_downward_test_data): Likewise.
14573 (fma_test_downward): Likewise.
14574 (fma_upward_test_data): Likewise.
14575 (fma_test_upward): Likewise.
14576 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14577 (j0_test_data): Update call to AUTO_TESTS_f_f.
14578 (j1_test_data): Likewise.
14579 (jn_test_data): Update call to AUTO_TESTS_if_f.
14580 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14581 (log_test_data): Update call to AUTO_TESTS_f_f.
14582 (log10_test_data): Likewise.
14583 (log1p_test_data): Likewise.
14584 (log2_test_data): Likewise.
14585 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14586 (pow_tonearest_test_data): Likewise.
14587 (sin_test_data): Update call to AUTO_TESTS_f_f.
14588 (sin_test): Use ALL_RM_TEST.
14589 (sin_tonearest_test_data): Remove.
14590 (sin_test_tonearest): Likewise.
14591 (sin_towardzero_test_data): Likewise.
14592 (sin_test_towardzero): Likewise.
14593 (sin_downward_test_data): Likewise.
14594 (sin_test_downward): Likewise.
14595 (sin_upward_test_data): Likewise.
14596 (sin_test_upward): Likewise.
14597 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14598 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14599 (sinh_test): Use ALL_RM_TEST.
14600 (sinh_tonearest_test_data): Remove.
14601 (sinh_test_tonearest): Likewise.
14602 (sinh_towardzero_test_data): Likewise.
14603 (sinh_test_towardzero): Likewise.
14604 (sinh_downward_test_data): Likewise.
14605 (sinh_test_downward): Likewise.
14606 (sinh_upward_test_data): Likewise.
14607 (sinh_test_upward): Likewise.
14608 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14609 (sqrt_test): Use ALL_RM_TEST.
14610 (sqrt_tonearest_test_data): Remove.
14611 (sqrt_test_tonearest): Likewise.
14612 (sqrt_towardzero_test_data): Likewise.
14613 (sqrt_test_towardzero): Likewise.
14614 (sqrt_downward_test_data): Likewise.
14615 (sqrt_test_downward): Likewise.
14616 (sqrt_upward_test_data): Likewise.
14617 (sqrt_test_upward): Likewise.
14618 (tan_test_data): Update call to AUTO_TESTS_f_f.
14619 (tan_test): Use ALL_RM_TEST.
14620 (tan_tonearest_test_data): Remove.
14621 (tan_test_tonearest): Likewise.
14622 (tan_towardzero_test_data): Likewise.
14623 (tan_test_towardzero): Likewise.
14624 (tan_downward_test_data): Likewise.
14625 (tan_test_downward): Likewise.
14626 (tan_upward_test_data): Likewise.
14627 (tan_test_upward): Likewise.
14628 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14629 (tgamma_test_data): Likewise.
14630 (y0_test_data): Likewise.
14631 (y1_test_data): Likewise.
14632 (yn_test_data): Update call to AUTO_TESTS_if_f.
14633 (main): Do not call removed functions.
14634
d71aeee8
JM
146352014-03-19 Joseph Myers <joseph@codesourcery.com>
14636
14637 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14638 (ldexp_test_data): Remove.
14639 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14640 scalbn_test_data.
14641 (scalb_test): Use ALL_RM_TEST.
14642
baaf1ded
AS
146432014-03-19 Andreas Schwab <schwab@suse.de>
14644
14645 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14646
b1115e91
JM
146472014-03-19 Joseph Myers <joseph@codesourcery.com>
14648
14649 [BZ #16649]
14650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14651 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14654 (__ASSUME_PREADV): Undefine.
14655 (__ASSUME_PWRITEV): Likewise.
14656
0283ecca
RM
146572014-03-18 Roland McGrath <roland@hack.frob.com>
14658
7d375303
RM
14659 * bits/mman-linux.h: Add comment about non-Linux use.
14660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14661 bits/mman-linux.h resting place.
14662
0283ecca
RM
14663 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14664 * bits/mman-linux.h: ... here.
14665
aebe1003
AZ
146662014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14667
14668 * conform/conformtest.pl: Add standard definition when calling C
14669 preprocessor on data files.
14670 (checknamespace): Remove unused variable.
14671
b29b6bb8
JM
146722014-03-18 Joseph Myers <joseph@codesourcery.com>
14673
14674 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14675 minus_oflow, plus_uflow and minus_uflow in expected results.
14676 * math/libm-test.inc (scalbn_test_data): Add more tests of
14677 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14678 minus_uflow.
14679 (scalbn_test): Use ALL_RM_TEST.
14680 (scalbln_test_data): Add more tests of negative arguments. Use
14681 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14682 (scalbln_test): Use ALL_RM_TEST.
14683
c8f8fa15
RM
146842014-03-18 Roland McGrath <roland@hack.frob.com>
14685
14686 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14687
fede7a5f
WN
146882014-03-18 Will Newton <will.newton@linaro.org>
14689
14690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14691 inaccurate comment.
14692
80cf0a58
JM
146932014-03-18 Joseph Myers <joseph@codesourcery.com>
14694
14695 * Makerules [!subdir] (check-abi): Exit with error status if a
14696 test failed.
14697
b3620862
JM
146982014-03-17 Joseph Myers <joseph@codesourcery.com>
14699
14700 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14701 for rint. Include results for all rounding modes.
14702 (nearbyint_test): Use ALL_RM_TEST.
14703 (rint_test_data): Include all tests used for nearbyint.
14704
788bba36
WN
147052014-03-17 Will Newton <will.newton@linaro.org>
14706
04ec140a
WN
14707 * nptl/sysdeps/pthread/pthread.h: Revert previous
14708 change.
14709
7579d8d5
WN
14710 * sysdeps/generic/ldsodefs.h: Revert previous
14711 change.
14712
c15cf13a
WN
14713 * libio/genops.c: Revert previous change.
14714 * libio/libioP.h: Likewise.
14715 * stdio-common/vfprintf.c: Likewise.
14716
d0ac1324
WN
14717 * sysdeps/generic/math_private.h: Revert previous
14718 change.
14719
9290130a
WN
14720 * sysdeps/generic/math_private.h: Check whether
14721 HAVE_RM_CTX is defined with #ifdef rather
14722 than #if.
14723
afb466fc
WN
14724 * argp/argp-fmtstream.h: Check whether
14725 __STRICT_ANSI__ is defined with #ifdef rather
14726 than #if.
14727 * argp/argp.h: Likewise.
14728
f7efd7c3
WN
14729 * libio/genops.c: Check whether
14730 _IO_JUMPS_OFFSET is defined with #ifdef rather
14731 than #if.
14732 * libio/libioP.h: Likewise.
14733 * stdio-common/vfprintf.c: Likewise.
14734
53f1bed3
WN
14735 * sysdeps/generic/ldsodefs.h: Check whether
14736 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14737 than #if.
14738
788bba36
WN
14739 * nptl/sysdeps/pthread/pthread.h: Check
14740 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14741 its value.
14742
fcd89ebe
SP
147432014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14744
ae42bbc5
SP
14745 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14746 setting O_APPEND.
14747 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14748 test case.
14749
ea33158c
SP
14750 [BZ #16680]
14751 * libio/fileops.c (_IO_file_open): Seek to end of file but
14752 don't cache the offset.
14753 (get_file_offset): Remove function.
14754 (do_ftell): Use cached offset when available.
14755 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14756 don't cache the offset.
14757 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14758 case.
14759 (do_one_test): Call it.
14760 (do_ftell_test): Fix up expected old offset for a+ mode.
14761 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14762 available.
14763
b1dbb426
SP
14764 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14765 up test status with function return status.
14766 (do_write_test): Likewise.
14767 (do_append_test): Likewise.
14768
fcd89ebe
SP
14769 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14770 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14771 Remove.
14772
9962a2d3
JM
147732014-03-17 Joseph Myers <joseph@codesourcery.com>
14774
14775 * math/gen-libm-test.pl (parse_args): Handle results specified for
14776 each rounding mode separately.
14777 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14778 tests and results from lrint_tonearest_test_data,
14779 lrint_towardzero_test_data, lrint_downward_test_data and
14780 lrint_upward_test_data.
14781 (lrint_test): Use ALL_RM_TEST.
14782 (lrint_tonearest_test_data): Remove.
14783 (lrint_test_tonearest): Likewise.
14784 (lrint_towardzero_test_data): Likewise.
14785 (lrint_test_towardzero): Likewise.
14786 (lrint_downward_test_data): Likewise.
14787 (lrint_test_downward): Likewise.
14788 (lrint_upward_test_data): Likewise.
14789 (lrint_test_upward): Likewise.
14790 (llrint_test_data): Merge in per-rounding-mode tests and results
14791 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14792 llrint_downward_test_data and llrint_upward_test_data.
14793 (llrint_test): Use ALL_RM_TEST.
14794 (llrint_tonearest_test_data): Remove.
14795 (llrint_test_tonearest): Likewise.
14796 (llrint_towardzero_test_data): Likewise.
14797 (llrint_test_towardzero): Likewise.
14798 (llrint_downward_test_data): Likewise.
14799 (llrint_test_downward): Likewise.
14800 (llrint_upward_test_data): Likewise.
14801 (llrint_test_upward): Likewise.
14802 (rint_test_data): Merge in per-rounding-mode tests and results
14803 from rint_tonearest_test_data, rint_towardzero_test_data,
14804 rint_downward_test_data and rint_upward_test_data. Add
14805 per-rounding-mode results for tests not in those arrays.
14806 (rint_test): Use ALL_RM_TEST.
14807 (rint_tonearest_test_data): Remove.
14808 (rint_test_tonearest): Likewise.
14809 (rint_towardzero_test_data): Likewise.
14810 (rint_test_towardzero): Likewise.
14811 (rint_downward_test_data): Likewise.
14812 (rint_test_downward): Likewise.
14813 (rint_upward_test_data): Likewise.
14814 (rint_test_upward): Likewise.
14815 (main): Don't call removed functions.
14816
5006148e
RM
148172014-03-14 Roland McGrath <roland@hack.frob.com>
14818
14819 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14820 "Compiled on ..." crapola. It is anti-useful.
14821
d6fe5e58
JM
148222014-03-14 Joseph Myers <joseph@codesourcery.com>
14823
14824 * scripts/evaluate-test.sh: Handle fourth argument to determine
14825 whether test run should stop on failure.
14826 * Makeconfig (stop-on-test-failure): New variable.
14827 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14828 $(stop-on-test-failure).
14829 * Makefile (tests): Give a summary of results from testing and
14830 exit with failure status if they include an ERROR or FAIL.
14831 (xtests): Likewise.
14832 * manual/install.texi (Configuring and compiling): Mention
14833 stop-on-test-failure=y.
14834 * INSTALL: Regenerated.
14835
498a2233
RM
148362014-03-14 Roland McGrath <roland@hack.frob.com>
14837
22dbc19d
RM
14838 * scripts/versionlist.awk: New file.
14839 * Makerules [$(build-shared) = yes]
14840 (postclean-generated): Add Versions.def, not Versions.def.v and
14841 Versions.def.v.i.
14842 ($(common-objpfx)Versions.def.v.i): Target removed.
14843 ($(common-objpfx)Versions.def): New target.
14844 ($(common-objpfx)Versions.all): Depend on that rather that
14845 $(common-objpfx)Versions.def.v.
14846 * Versions.def: File removed.
14847
498a2233
RM
14848 * Makeconfig (+gccwarn): Add -Wundef.
14849 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14850 a dl-sysdep.h breaking its contract.
14851 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14852 * include/stackinfo.h: New file.
14853 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14854 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14855 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14856 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14857 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14858 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14859 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14860 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14861 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14862 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14863 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14864 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14865 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14866 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14867 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14868
c7de5025
AZ
148692014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14870
14871 [BZ #16707]
14872 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14873 implementation.
14874 * math/libm-test.inc (round_test_data): Add more tests.
14875
98fb27a3
AZ
14876 [BZ #16706]
14877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14878 implementation.
14879 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14880
374f7f61
AZ
14881 [BZ #16701]
14882 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14883 implementation.
14884 * math/libm-test.inc (ceil_test_data): Add more tests.
14885
4655c291
AZ
14886 * math/libm-test.inc (trunc_test_data): Add more tests related to
14887 BZ#16414.
14888
d7329d4b
RM
148892014-03-14 Roland McGrath <roland@hack.frob.com>
14890
14891 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14892 with #if rather than #ifdef.
14893 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14894
aa4de9ce
L
148952014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14896
14897 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14898 first. Disable AVX-512 GCC support if assembler doesn't support
14899 it.
14900 * sysdeps/x86_64/configure: Regenerated.
14901
2e03fae7
CD
149022014-03-13 Carlos O'Donell <carlos@redhat.com>
14903
14904 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14905 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14906 (__old_pthread_attr_setstack): Likewise.
14907 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14908 [!_STACK_GROWS_DOWN]: Likewise.
14909
43ca83ec
MF
149102014-03-13 Mike Frysinger <vapier@gentoo.org>
14911
14912 * config.make.in (have-bash2): Delete.
14913 * configure.ac (libc_cv_have_bash2): Delete.
14914 * configure: Regenerate.
14915 * elf/Makefile (common-ldd-rewrite): Rename to ...
14916 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14917 (sh-ldd-rewrite): Delete.
14918 (bash-ldd-rewrite): Delete.
14919 (have-bash2): Delete checks.
57f41c40
AS
14920 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14921 ldd-rewrite.
c66e48b4
MF
14922
14923 * config.make.in (have-ksh): Delete.
14924 (KSH): Delete.
14925 * configure.ac (libc_cv_have_ksh): Delete.
14926 * configure: Regenerate.
14927
b93834ef
MF
14928 * elf/Makefile: Delete $(have-ksh) check.
14929 ($(objpfx)sotruss): Change KSH to BASH.
14930 * elf/sotruss.ksh: Rename to ...
14931 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14932 function style to match POSIX. Drop ksh vim mode setting.
14933
f3a4632a
MF
14934 * manual/time.texi (Specifying the Time Zone with TZ): Change
14935 Tuesday to Thursday.
14936
5896c8bd
MF
14937 * debug/tst-longjmp_chk2.c: Update header comment.
14938 (stackoverflow_handler): Add comment. Call assert on pass value.
14939
2d63a517
IZ
149402014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14941
7e54fd04 14942 [BZ #16194]
2d63a517
IZ
14943 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14944 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14945 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14946 (La_x86_64_vector): Add zmm.
14947 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14948 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14949 ($(objpfx)tst-audit10): New target.
14950 ($(objpfx)tst-audit10.out): Likewise.
14951 (tst-audit10-ENV): New.
14952 (AVX512-CFLAGS): Likewise.
14953 (CFLAGS-tst-audit10.c): Likewise.
14954 (CFLAGS-tst-auditmod10a.c): Likewise.
14955 (CFLAGS-tst-auditmod10b.c): Likewise.
14956 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14957 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14958 * sysdeps/x86_64/configure: Regenerated.
14959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14960 AVX-512 zmm register support.
14961 (_dl_x86_64_save_sse): Likewise.
14962 (_dl_x86_64_restore_sse): Likewise.
14963 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14964 size vector registers.
14965 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14966 (ZMM_SIZE): Likewise.
14967 * sysdeps/x86_64/tst-audit10.c: New file.
14968 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14969 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14970
44c4e5d5
RM
149712014-03-13 Roland McGrath <roland@hack.frob.com>
14972
14973 * configure.ac (HAVE_EHDR_START): New check.
14974 * configure: Regenerated.
14975 * config.h.in (HAVE_EHDR_START): New #undef.
14976 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14977 assuming the lowest-addressed segment maps the start of the file.
14978
acd6e389
JM
149792014-03-13 Joseph Myers <joseph@codesourcery.com>
14980
14981 * INSTALL: Regenerated.
14982
6f918f36
WN
149832014-03-13 Will Newton <will.newton@linaro.org>
14984
14985 * manual/setjmp.texi (System V contexts): Improve
14986 clarity and grammar of documentation.
14987
798212a0
PP
149882014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14989
14990 [BZ #16381]
798212a0 14991 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14992 (tests-pie): Add tst-pie2.
798212a0
PP
14993 * elf/tst-pie2.c: New file.
14994 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14995 for ET_EXEC.
14996 * elf/rtld.c (map_doit): Load executable as lt_executable.
14997 (dl_main): Likewise.
14998
abe6d90c
JM
149992014-03-12 Joseph Myers <joseph@codesourcery.com>
15000
15001 [BZ #16642]
15002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15003 (__ASSUME_PSELECT): Undefine.
15004
dd3946c6
AZ
150052014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15006
15007 [BZ #16689]
15008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15009 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15010 static build.
15011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15012 selector for static builds.
15013
c44496df
SP
150142014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15015
15016 [BZ #16695]
15017 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15018 key in the buffer.
15019
27c7220a
AZ
150202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15021
57f41c40
AS
15022 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15023 IFUNC selector for static builds.
27c7220a 15024
600fa361
JM
150252014-03-11 Joseph Myers <joseph@codesourcery.com>
15026
76c96cf7
JM
15027 * sysdeps/mips/math_private.h [__mips_hard_float]
15028 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15029 libc_feresetround_mips_ctx.
15030 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15031 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15032 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15033
600fa361
JM
15034 [BZ #16677]
15035 * math/s_nextafter.c (__nextafter): Do not return value from
15036 overflowing computation.
15037 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15038 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15039 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15040 Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15042 Likewise.
15043 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15044 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15045
d7706c32
RM
150462014-03-11 Roland McGrath <roland@hack.frob.com>
15047
15048 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15049 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15050 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15051 the new mov targetting sp.
15052
4facea47
AZ
150532014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15054
15055 [BZ #16683]
15056 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15057 Define it for static builds as well.
15058 (NO_BZERO_IMPL): Likewise.
15059
e65caf1f
VR
150602014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15061
15062 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15063 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15064 multiarch strspn for PPC64.
15065 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15066 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15068 (__libc_ifunc_impl_list): Likewise.
15069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15070 multiarch optimizations
15071 * string/strspn.c (strspn): Using macro to redefine symbol name.
15072
ba9cc071
AZ
150732014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15075
15076 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15077 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15078 multiarch strncat for PPC64.
15079 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15080 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15082 (__libc_ifunc_impl_list): Likewise.
15083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15084 multiarch optimizations
15085
8b4ff974
SP
150862014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15087
15088 [BZ #16639]
15089 * nscd/nscd.service: Make service type forking.
15090
54b46a4b
AZ
150912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15092
15093 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15094 sign in non default rounding modes.
15095 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15096
e9996ef7
JM
150972014-03-08 Joseph Myers <joseph@codesourcery.com>
15098
15099 * math/libm-test.inc (ALL_RM_TEST): New macro.
15100 (ceil_test): Use ALL_RM_TEST.
15101 (cimag_test): Likewise.
15102 (conj_test): Likewise.
15103 (copysign_test): Likewise.
15104 (cproj_test): Likewise.
15105 (creal_test): Likewise.
15106 (fabs_test): Likewise.
15107 (floor_test): Likewise.
15108 (fmax_test): Likewise.
15109 (fmin_test): Likewise.
15110 (fmod_test): Likewise.
15111 (fpclassify_test): Likewise.
15112 (frexp_test): Likewise.
15113 (ilogb_test): Likewise.
15114 (isfinite_test): Likewise.
15115 (finite_test): Likewise.
15116 (isgreater_test): Likewise.
15117 (isgreaterequal_test): Likewise.
15118 (isinf_test): Likewise.
15119 (isless_test): Likewise.
15120 (islessequal_test): Likewise.
15121 (islessgreater_test): Likewise.
15122 (isnan_test): Likewise.
15123 (isnormal_test): Likewise.
15124 (issignaling_test): Likewise.
15125 (isunordered_test): Likewise.
15126 (logb_test): Likewise.
15127 (logb_downward_test_data): Remove.
15128 (logb_test_downward): Likewise.
15129 (lround_test): Use ALL_RM_TEST.
15130 (llround_test): Likewise.
15131 (modf_test): Likewise.
15132 (nexttoward_test): Likewise.
15133 (remainder_test): Likewise.
15134 (drem_test): Likewise.
15135 (remainder_tonearest_test_data): Likewise.
15136 (remainder_test_tonearest): Likewise.
15137 (drem_test_tonearest): Likewise.
15138 (remainder_towardzero_test_data): Likewise.
15139 (remainder_test_towardzero): Likewise.
15140 (drem_test_towardzero): Likewise.
15141 (remainder_downward_test_data): Likewise.
15142 (remainder_test_downward): Likewise.
15143 (drem_test_downward): Likewise.
15144 (remainder_upward_test_data): Likewise.
15145 (remainder_test_upward): Likewise.
15146 (drem_test_upward): Likewise.
15147 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15148 (round_test): Use ALL_RM_TEST.
15149 (signbit_test): Likewise.
15150 (trunc_test): Likewise.
15151 (significand_test): Likewise.
15152 (main): Don't call removed functions.
15153
bc61d27c
JM
151542014-03-07 Joseph Myers <joseph@codesourcery.com>
15155
5c780849
JM
15156 [BZ #16674]
15157 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15158 || __USE_XOPEN2K8].
15159 (ILL_ILLOPN): Likewise.
15160 (ILL_ILLADR): Likewise.
15161 (ILL_ILLTRP): Likewise.
15162 (ILL_PRVOPC): Likewise.
15163 (ILL_PRVREG): Likewise.
15164 (ILL_COPROC): Likewise.
15165 (ILL_BADSTK): Likewise.
15166 (FPE_INTDIV): Likewise.
15167 (FPE_INTOVF): Likewise.
15168 (FPE_FLTDIV): Likewise.
15169 (FPE_FLTOVF): Likewise.
15170 (FPE_FLTUND): Likewise.
15171 (FPE_FLTRES): Likewise.
15172 (FPE_FLTINV): Likewise.
15173 (FPE_FLTSUB): Likewise.
15174 (SEGV_MAPERR): Likewise.
15175 (SEGV_ACCERR): Likewise.
15176 (BUS_ADRALN): Likewise.
15177 (BUS_ADRERR): Likewise.
15178 (BUS_OBJERR): Likewise.
15179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15180 (TRAP_TRACE): Likewise.
15181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15182 __USE_XOPEN2K8].
15183 (CLD_KILLED): Likewise.
15184 (CLD_DUMPED): Likewise.
15185 (CLD_TRAPPED): Likewise.
15186 (CLD_STOPPED): Likewise.
15187 (CLD_CONTINUED): Likewise.
15188 (POLL_IN): Likewise.
15189 (POLL_OUT): Likewise.
15190 (POLL_MSG): Likewise.
15191 (POLL_ERR): Likewise.
15192 (POLL_PRI): Likewise.
15193 (POLL_HUP): Likewise.
15194 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15195 Likewise.
15196 (ILL_ILLOPN): Likewise.
15197 (ILL_ILLADR): Likewise.
15198 (ILL_ILLTRP): Likewise.
15199 (ILL_PRVOPC): Likewise.
15200 (ILL_PRVREG): Likewise.
15201 (ILL_COPROC): Likewise.
15202 (ILL_BADSTK): Likewise.
15203 (FPE_INTDIV): Likewise.
15204 (FPE_INTOVF): Likewise.
15205 (FPE_FLTDIV): Likewise.
15206 (FPE_FLTOVF): Likewise.
15207 (FPE_FLTUND): Likewise.
15208 (FPE_FLTRES): Likewise.
15209 (FPE_FLTINV): Likewise.
15210 (FPE_FLTSUB): Likewise.
15211 (SEGV_MAPERR): Likewise.
15212 (SEGV_ACCERR): Likewise.
15213 (BUS_ADRALN): Likewise.
15214 (BUS_ADRERR): Likewise.
15215 (BUS_OBJERR): Likewise.
15216 (BUS_MCEERR_AR): Likewise.
15217 (BUS_MCEERR_AO): Likewise.
15218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15219 (TRAP_TRACE): Likewise.
15220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15221 __USE_XOPEN2K8].
15222 (CLD_KILLED): Likewise.
15223 (CLD_DUMPED): Likewise.
15224 (CLD_TRAPPED): Likewise.
15225 (CLD_STOPPED): Likewise.
15226 (CLD_CONTINUED): Likewise.
15227 (POLL_IN): Likewise.
15228 (POLL_OUT): Likewise.
15229 (POLL_MSG): Likewise.
15230 (POLL_ERR): Likewise.
15231 (POLL_PRI): Likewise.
15232 (POLL_HUP): Likewise.
15233 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15234 (ILL_ILLOPN): Likewise.
15235 (ILL_ILLADR): Likewise.
15236 (ILL_ILLTRP): Likewise.
15237 (ILL_PRVOPC): Likewise.
15238 (ILL_PRVREG): Likewise.
15239 (ILL_COPROC): Likewise.
15240 (ILL_BADSTK): Likewise.
15241 (FPE_INTDIV): Likewise.
15242 (FPE_INTOVF): Likewise.
15243 (FPE_FLTDIV): Likewise.
15244 (FPE_FLTOVF): Likewise.
15245 (FPE_FLTUND): Likewise.
15246 (FPE_FLTRES): Likewise.
15247 (FPE_FLTINV): Likewise.
15248 (FPE_FLTSUB): Likewise.
15249 (SEGV_MAPERR): Likewise.
15250 (SEGV_ACCERR): Likewise.
15251 (BUS_ADRALN): Likewise.
15252 (BUS_ADRERR): Likewise.
15253 (BUS_OBJERR): Likewise.
15254 (BUS_MCEERR_AR): Likewise.
15255 (BUS_MCEERR_AO): Likewise.
15256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15257 (TRAP_TRACE): Likewise.
15258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15259 __USE_XOPEN2K8].
15260 (CLD_KILLED): Likewise.
15261 (CLD_DUMPED): Likewise.
15262 (CLD_TRAPPED): Likewise.
15263 (CLD_STOPPED): Likewise.
15264 (CLD_CONTINUED): Likewise.
15265 (POLL_IN): Likewise.
15266 (POLL_OUT): Likewise.
15267 (POLL_MSG): Likewise.
15268 (POLL_ERR): Likewise.
15269 (POLL_PRI): Likewise.
15270 (POLL_HUP): Likewise.
15271 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15272 Likewise.
15273 (ILL_ILLOPN): Likewise.
15274 (ILL_ILLADR): Likewise.
15275 (ILL_ILLTRP): Likewise.
15276 (ILL_PRVOPC): Likewise.
15277 (ILL_PRVREG): Likewise.
15278 (ILL_COPROC): Likewise.
15279 (ILL_BADSTK): Likewise.
15280 (ILL_BADIADDR): Likewise.
15281 (ILL_BREAK): Likewise.
15282 (FPE_INTDIV): Likewise.
15283 (FPE_INTOVF): Likewise.
15284 (FPE_FLTDIV): Likewise.
15285 (FPE_FLTOVF): Likewise.
15286 (FPE_FLTUND): Likewise.
15287 (FPE_FLTRES): Likewise.
15288 (FPE_FLTINV): Likewise.
15289 (FPE_FLTSUB): Likewise.
15290 (FPE_DECOVF): Likewise.
15291 (FPE_DECDIV): Likewise.
15292 (FPE_DECERR): Likewise.
15293 (FPE_INVASC): Likewise.
15294 (FPE_INVDEC): Likewise.
15295 (SEGV_MAPERR): Likewise.
15296 (SEGV_ACCERR): Likewise.
15297 (SEGV_PSTKOVF): Likewise.
15298 (BUS_ADRALN): Likewise.
15299 (BUS_ADRERR): Likewise.
15300 (BUS_OBJERR): Likewise.
15301 (BUS_MCEERR_AR): Likewise.
15302 (BUS_MCEERR_AO): Likewise.
15303 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15304 (TRAP_TRACE): Likewise.
15305 (TRAP_BRANCH): Likewise.
15306 (TRAP_HWBKPT): Likewise.
15307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15308 __USE_XOPEN2K8].
15309 (CLD_KILLED): Likewise.
15310 (CLD_DUMPED): Likewise.
15311 (CLD_TRAPPED): Likewise.
15312 (CLD_STOPPED): Likewise.
15313 (CLD_CONTINUED): Likewise.
15314 (POLL_IN): Likewise.
15315 (POLL_OUT): Likewise.
15316 (POLL_MSG): Likewise.
15317 (POLL_ERR): Likewise.
15318 (POLL_PRI): Likewise.
15319 (POLL_HUP): Likewise.
15320 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15321 (ILL_ILLOPN): Likewise.
15322 (ILL_ILLADR): Likewise.
15323 (ILL_ILLTRP): Likewise.
15324 (ILL_PRVOPC): Likewise.
15325 (ILL_PRVREG): Likewise.
15326 (ILL_COPROC): Likewise.
15327 (ILL_BADSTK): Likewise.
15328 (FPE_INTDIV): Likewise.
15329 (FPE_INTOVF): Likewise.
15330 (FPE_FLTDIV): Likewise.
15331 (FPE_FLTOVF): Likewise.
15332 (FPE_FLTUND): Likewise.
15333 (FPE_FLTRES): Likewise.
15334 (FPE_FLTINV): Likewise.
15335 (FPE_FLTSUB): Likewise.
15336 (SEGV_MAPERR): Likewise.
15337 (SEGV_ACCERR): Likewise.
15338 (BUS_ADRALN): Likewise.
15339 (BUS_ADRERR): Likewise.
15340 (BUS_OBJERR): Likewise.
15341 (BUS_MCEERR_AR): Likewise.
15342 (BUS_MCEERR_AO): Likewise.
15343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15344 (TRAP_TRACE): Likewise.
15345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15346 __USE_XOPEN2K8].
15347 (CLD_KILLED): Likewise.
15348 (CLD_DUMPED): Likewise.
15349 (CLD_TRAPPED): Likewise.
15350 (CLD_STOPPED): Likewise.
15351 (CLD_CONTINUED): Likewise.
15352 (POLL_IN): Likewise.
15353 (POLL_OUT): Likewise.
15354 (POLL_MSG): Likewise.
15355 (POLL_ERR): Likewise.
15356 (POLL_PRI): Likewise.
15357 (POLL_HUP): Likewise.
15358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15359 (ILL_ILLOPN): Likewise.
15360 (ILL_ILLADR): Likewise.
15361 (ILL_ILLTRP): Likewise.
15362 (ILL_PRVOPC): Likewise.
15363 (ILL_PRVREG): Likewise.
15364 (ILL_COPROC): Likewise.
15365 (ILL_BADSTK): Likewise.
15366 (FPE_INTDIV): Likewise.
15367 (FPE_INTOVF): Likewise.
15368 (FPE_FLTDIV): Likewise.
15369 (FPE_FLTOVF): Likewise.
15370 (FPE_FLTUND): Likewise.
15371 (FPE_FLTRES): Likewise.
15372 (FPE_FLTINV): Likewise.
15373 (FPE_FLTSUB): Likewise.
15374 (SEGV_MAPERR): Likewise.
15375 (SEGV_ACCERR): Likewise.
15376 (BUS_ADRALN): Likewise.
15377 (BUS_ADRERR): Likewise.
15378 (BUS_OBJERR): Likewise.
15379 (BUS_MCEERR_AR): Likewise.
15380 (BUS_MCEERR_AO): Likewise.
15381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15382 (TRAP_TRACE): Likewise.
15383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15384 __USE_XOPEN2K8].
15385 (CLD_KILLED): Likewise.
15386 (CLD_DUMPED): Likewise.
15387 (CLD_TRAPPED): Likewise.
15388 (CLD_STOPPED): Likewise.
15389 (CLD_CONTINUED): Likewise.
15390 (POLL_IN): Likewise.
15391 (POLL_OUT): Likewise.
15392 (POLL_MSG): Likewise.
15393 (POLL_ERR): Likewise.
15394 (POLL_PRI): Likewise.
15395 (POLL_HUP): Likewise.
15396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15397 (ILL_ILLOPN): Likewise.
15398 (ILL_ILLADR): Likewise.
15399 (ILL_ILLTRP): Likewise.
15400 (ILL_PRVOPC): Likewise.
15401 (ILL_PRVREG): Likewise.
15402 (ILL_COPROC): Likewise.
15403 (ILL_BADSTK): Likewise.
15404 (FPE_INTDIV): Likewise.
15405 (FPE_INTOVF): Likewise.
15406 (FPE_FLTDIV): Likewise.
15407 (FPE_FLTOVF): Likewise.
15408 (FPE_FLTUND): Likewise.
15409 (FPE_FLTRES): Likewise.
15410 (FPE_FLTINV): Likewise.
15411 (FPE_FLTSUB): Likewise.
15412 (SEGV_MAPERR): Likewise.
15413 (SEGV_ACCERR): Likewise.
15414 (BUS_ADRALN): Likewise.
15415 (BUS_ADRERR): Likewise.
15416 (BUS_OBJERR): Likewise.
15417 (BUS_MCEERR_AR): Likewise.
15418 (BUS_MCEERR_AO): Likewise.
15419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15420 (TRAP_TRACE): Likewise.
15421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15422 __USE_XOPEN2K8].
15423 (CLD_KILLED): Likewise.
15424 (CLD_DUMPED): Likewise.
15425 (CLD_TRAPPED): Likewise.
15426 (CLD_STOPPED): Likewise.
15427 (CLD_CONTINUED): Likewise.
15428 (POLL_IN): Likewise.
15429 (POLL_OUT): Likewise.
15430 (POLL_MSG): Likewise.
15431 (POLL_ERR): Likewise.
15432 (POLL_PRI): Likewise.
15433 (POLL_HUP): Likewise.
15434 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15435 (ILL_ILLOPN): Likewise.
15436 (ILL_ILLADR): Likewise.
15437 (ILL_ILLTRP): Likewise.
15438 (ILL_PRVOPC): Likewise.
15439 (ILL_PRVREG): Likewise.
15440 (ILL_COPROC): Likewise.
15441 (ILL_BADSTK): Likewise.
15442 (ILL_DBLFLT): Likewise.
15443 (ILL_HARDWALL): Likewise.
15444 (FPE_INTDIV): Likewise.
15445 (FPE_INTOVF): Likewise.
15446 (FPE_FLTDIV): Likewise.
15447 (FPE_FLTOVF): Likewise.
15448 (FPE_FLTUND): Likewise.
15449 (FPE_FLTRES): Likewise.
15450 (FPE_FLTINV): Likewise.
15451 (FPE_FLTSUB): Likewise.
15452 (SEGV_MAPERR): Likewise.
15453 (SEGV_ACCERR): Likewise.
15454 (BUS_ADRALN): Likewise.
15455 (BUS_ADRERR): Likewise.
15456 (BUS_OBJERR): Likewise.
15457 (BUS_MCEERR_AR): Likewise.
15458 (BUS_MCEERR_AO): Likewise.
15459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15460 (TRAP_TRACE): Likewise.
15461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15462 __USE_XOPEN2K8].
15463 (CLD_KILLED): Likewise.
15464 (CLD_DUMPED): Likewise.
15465 (CLD_TRAPPED): Likewise.
15466 (CLD_STOPPED): Likewise.
15467 (CLD_CONTINUED): Likewise.
15468 (POLL_IN): Likewise.
15469 (POLL_OUT): Likewise.
15470 (POLL_MSG): Likewise.
15471 (POLL_ERR): Likewise.
15472 (POLL_PRI): Likewise.
15473 (POLL_HUP): Likewise.
15474 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15475 (ILL_ILLOPN): Likewise.
15476 (ILL_ILLADR): Likewise.
15477 (ILL_ILLTRP): Likewise.
15478 (ILL_PRVOPC): Likewise.
15479 (ILL_PRVREG): Likewise.
15480 (ILL_COPROC): Likewise.
15481 (ILL_BADSTK): Likewise.
15482 (FPE_INTDIV): Likewise.
15483 (FPE_INTOVF): Likewise.
15484 (FPE_FLTDIV): Likewise.
15485 (FPE_FLTOVF): Likewise.
15486 (FPE_FLTUND): Likewise.
15487 (FPE_FLTRES): Likewise.
15488 (FPE_FLTINV): Likewise.
15489 (FPE_FLTSUB): Likewise.
15490 (SEGV_MAPERR): Likewise.
15491 (SEGV_ACCERR): Likewise.
15492 (BUS_ADRALN): Likewise.
15493 (BUS_ADRERR): Likewise.
15494 (BUS_OBJERR): Likewise.
15495 (BUS_MCEERR_AR): Likewise.
15496 (BUS_MCEERR_AO): Likewise.
15497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15498 (TRAP_TRACE): Likewise.
15499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15500 __USE_XOPEN2K8].
15501 (CLD_KILLED): Likewise.
15502 (CLD_DUMPED): Likewise.
15503 (CLD_TRAPPED): Likewise.
15504 (CLD_STOPPED): Likewise.
15505 (CLD_CONTINUED): Likewise.
15506 (POLL_IN): Likewise.
15507 (POLL_OUT): Likewise.
15508 (POLL_MSG): Likewise.
15509 (POLL_ERR): Likewise.
15510 (POLL_PRI): Likewise.
15511 (POLL_HUP): Likewise.
15512 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15513 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15514
bc61d27c
JM
15515 [BZ #16670]
15516 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15517 before #include of <time.h>.
15518 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15519 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15520 (test-xfail-UNIX98/sched.h/conform): Likewise.
15521
302949e2
MS
155222014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15523
15524 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15525 error absence of trapping exception support.
15526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15527
a00f522a
JM
155282014-03-07 Joseph Myers <joseph@codesourcery.com>
15529
6f99f280
JM
15530 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15531 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15532 * timezone/Makefile (testdata): Move definition above include of
15533 Rules.
15534 (test-zones): New variable.
15535 (tests-special): Add zone files.
15536 (build-testdata): Use $(evaluate-test).
15537
0b20a9e8
JM
15538 * elf/Makefile (tests-special): Rename tests to end with .out.
15539 ($(objpfx)noload-mem): Likewise.
15540 ($(objpfx)tst-leaks1-mem): Likewise.
15541 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15542 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15543 $(objpfx)test-iconvconfig.out.
15544 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15545 set -e inside subshell and redirect output to file.
15546 * iconvdata/Makefile (generated): Rename tests to end with .out.
15547 Correct type.
15548 (tests-special): Rename tests to end with .out.
15549 ($(objpfx)mtrace-tst-loading): Likewise.
15550 * intl/Makefile (generated): Likewise.
15551 (tests-special): Likewise.
15552 ($(objpfx)mtrace-tst-gettext): Likewise.
15553 * misc/Makefile (generated): Likewise.
15554 (tests-special): Likewise.
15555 ($(objpfx)tst-error1-mem): Likewise.
15556 * nptl/Makefile (tests-special): Likewise.
15557 ($(objpfx)tst-stack3-mem): Likewise.
15558 (generated): Likewise.
15559 * posix/Makefile (generated): Likewise.
15560 (tests-special): Likewise.
15561 (xtests-special): Likewise.
15562 ($(objpfx)tst-fnmatch-mem): Likewise.
15563 ($(objpfx)bug-regex2-mem): Likewise.
15564 ($(objpfx)bug-regex14-mem): Likewise.
15565 ($(objpfx)bug-regex21-mem): Likewise.
15566 ($(objpfx)bug-regex31-mem): Likewise.
15567 ($(objpfx)tst-vfork3-mem): Likewise.
15568 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15569 ($(objpfx)tst-pcre-mem): Likewise.
15570 ($(objpfx)tst-boost-mem): Likewise.
15571 ($(objpfx)bug-ga2-mem): Likewise.
15572 ($(objpfx)bug-glob2-mem): Likewise.
15573 * resolv/Makefile (generate): Likewise.
15574 (tests-special): Likewise.
15575 (xtests-special): Likewise.
15576 (generated): Likewise.
15577 ($(objpfx)mtrace-tst-leaks): Likewise.
15578 ($(objpfx)mtrace-tst-leaks2): Likewise.
15579
265d52ab
JM
15580 * scripts/merge-test-results.sh: New file.
15581 * Makefile (tests-special-notdir): New variable.
15582 (tests): Run merge-test-results.sh.
15583 (xtests): Likewise.
15584 * Rules (tests-special-notdir): New variable.
15585 (xtests-special-notdir): Likewise.
15586 (tests): Run merge-test-results.sh
15587 (xtests): Likewise.
15588
54ee292d
JM
15589 * Makeconfig (test-xfail-name): New variable.
15590 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15591 compute variable name for expected failures.
15592 * conform/Makefile (conformtest-headers-data): New variable.
15593 (conformtest-standards): Likewise.
15594 (conformtest-headers-ISO): Likewise.
15595 (conformtest-headers-ISO99): Likewise.
15596 (conformtest-headers-ISO11): Likewise.
15597 (conformtest-headers-POSIX): Likewise.
15598 (conformtest-headers-XPG3): Likewise.
15599 (conformtest-headers-XPG4): Likewise.
15600 (conformtest-headers-UNIX98): Likewise.
15601 (conformtest-headers-XOPEN2K): Likewise.
15602 (conformtest-headers-POSIX2008): Likewise.
15603 (conformtest-headers-XOPEN2K8): Likewise.
15604 (conformtest-header-list-base): Likewise.
15605 (conformtest-header-list-tests): Likewise.
15606 (conformtest-header-base): Likewise.
15607 (conformtest-header-tests): Likewise.
15608 (tests-special): Add $(conformtest-header-list-tests). If
15609 [$(fast-check) && !$(cross-compiling)], add
15610 $(conformtest-header-tests) instead of
15611 $(objpfx)run-conformtest.out.
15612 (generated): Add $(conformtest-header-list-base). If
15613 [$(fast-check) && !$(cross-compiling)], add
15614 $(conformtest-header-base). Remove previous setting.
15615 ($(conformtest-header-list-tests)): New target.
15616 (test-xfail-run-conformtest): Remove variable.
15617 ($(objpfx)run-conformtest.out): Remove target.
15618 (test-xfail-ISO11/complex.h/conform): New variable.
15619 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15620 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15621 (test-xfail-XPG3/varargs.h/conform): Likewise.
15622 (test-xfail-XPG4/varargs.h/conform): Likewise.
15623 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15624 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15625 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15626 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15627 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15628 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15629 (test-xfail-XPG3/ftw.h/conform): Likewise.
15630 (test-xfail-XPG3/grp.h/conform): Likewise.
15631 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15632 (test-xfail-XPG3/limits.h/conform): Likewise.
15633 (test-xfail-XPG3/pwd.h/conform): Likewise.
15634 (test-xfail-XPG3/search.h/conform): Likewise.
15635 (test-xfail-XPG3/signal.h/conform): Likewise.
15636 (test-xfail-XPG3/stdio.h/conform): Likewise.
15637 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15638 (test-xfail-XPG3/string.h/conform): Likewise.
15639 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15640 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15641 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15642 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15643 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15644 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15645 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15646 (test-xfail-XPG3/termios.h/conform): Likewise.
15647 (test-xfail-XPG3/time.h/conform): Likewise.
15648 (test-xfail-XPG3/unistd.h/conform): Likewise.
15649 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15650 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15651 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15652 (test-xfail-XPG4/netdb.h/conform): Likewise.
15653 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15654 (test-xfail-XPG4/signal.h/conform): Likewise.
15655 (test-xfail-XPG4/stdio.h/conform): Likewise.
15656 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15657 (test-xfail-XPG4/stropts.h/conform): Likewise.
15658 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15659 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15660 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15661 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15662 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15663 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15664 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15665 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15666 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15667 (test-xfail-XPG4/termios.h/conform): Likewise.
15668 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15669 (test-xfail-XPG4/unistd.h/conform): Likewise.
15670 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15671 (test-xfail-POSIX/sched.h/conform): Likewise.
15672 (test-xfail-POSIX/signal.h/conform): Likewise.
15673 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15674 (test-xfail-POSIX/tar.h/conform): Likewise.
15675 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15676 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15677 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15678 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15679 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15680 (test-xfail-UNIX98/sched.h/conform): Likewise.
15681 (test-xfail-UNIX98/signal.h/conform): Likewise.
15682 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15683 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15684 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15685 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15686 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15687 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15688 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15689 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15690 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15691 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15692 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15693 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15694 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15695 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15696 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15697 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15698 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15699 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15700 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15701 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15702 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15703 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15704 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15705 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15706 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15707 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15708 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15709 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15710 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15711 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15712 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15713 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15714 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15715 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15716 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15717 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15718 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15719 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15720 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15721 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15722 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15723 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15724 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15725 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15726 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15727 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15728 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15729 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15730 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15731 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15732 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15733 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15734 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15735 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15736 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15737 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15738 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15739 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15740 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15741 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15742 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15743 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15744 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15745 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15746 (conformtest-cc-flags): Likewise.
15747 ($(conformtest-header-tests): New target.
15748 * conform/check-header-lists.sh: New file.
15749 * conform/run-conformtest.sh: Remove.
15750
a00f522a
JM
15751 * conform/conformtest.pl: Allow ' and \ in values given for
15752 constants.
15753 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15754 inclusion.
15755 [POSIX] (sys/types.h): Likewise.
15756 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15757 inclusion.
15758 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15759 inclusion.
15760 * conform/data/signal.h-data (SIGIO): Remove expectation.
15761 [XPG3] (SIGBUS): Do not expect.
15762 [POSIX || XPG3] (SIGPOLL): Likewise.
15763 [POSIX || XPG3] (SIGPROF): Likewise.
15764 [POSIX || XPG3] (SIGSYS): Likewise.
15765 [XPG3] (SIGTRAP): Likewise.
15766 [POSIX || XPG3] (SIGURG): Likewise.
15767 [POSIX || XPG3] (SIGVTALRM): Likewise.
15768 [POSIX || XPG3] (SIGXCPU): Likewise.
15769 [POSIX || XPG3] (SIGXFSZ): Likewise.
15770 [POSIX] (SA_SIGINFO): Expect.
15771 [XPG3] (siginfo_t): Do not expect type or contents.
15772 [POSIX] (si_pid): Do not expect element.
15773 [POSIX] (si_uid): Likewise.
15774 [POSIX] (si_addr): Likewise.
15775 [POSIX] (si_status): Likewise.
15776 [POSIX] (si_band): Likewise.
15777 [XPG4] (si_value): Likewise.
15778 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15779 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15780 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15781 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15782 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15783 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15784 [POSIX || XPG3] (ILL_COPROC): Likewise.
15785 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15786 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15787 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15788 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15789 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15790 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15791 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15792 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15793 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15794 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15795 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15796 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15797 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15798 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15799 [POSIX || XPG3] (CLD_EXITED): Likewise.
15800 [POSIX || XPG3] (CLD_KILLED): Likewise.
15801 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15802 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15803 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15804 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15805 [POSIX || XPG3] (POLL_IN): Likewise.
15806 [POSIX || XPG3] (POLL_OUT): Likewise.
15807 [POSIX || XPG3] (POLL_MSG): Likewise.
15808 [POSIX || XPG3] (POLL_ERR): Likewise.
15809 [POSIX || XPG3] (POLL_PRI): Likewise.
15810 [POSIX || XPG3] (POLL_HUP): Likewise.
15811 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15812 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15813 (SIG*): Do not allow.
15814 [XPG3] (si_*): Likewise.
15815 [XPG3] (SI_*): Likewise.
15816 [XPG3 || XPG4] (sigev_*): Likewise.
15817 [XPG3 || XPG4] (SIGEV_*): Likewise.
15818 [XPG3 || XPG4] (sival_*): Likewise.
15819 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15820 [POSIX || XPG3] (BUS_*): Likewise.
15821 [POSIX || XPG3] (CLD_*): Likewise.
15822 [POSIX || XPG3] (FPE_*): Likewise.
15823 [POSIX || XPG3] (ILL_*): Likewise.
15824 [POSIX || XPG3] (POLL_*): Likewise.
15825 [POSIX || XPG3] (SEGV_*): Likewise.
15826 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15827 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15828 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15829 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15830 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15831 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15832 Specify type and value.
15833 (TVERSLEN): Likewise.
15834 (REGTYPE): Likewise.
15835 (AREGTYPE): Likewise.
15836 (LNKTYPE): Likewise.
15837 (SYMTYPE): Likewise.
15838 (CHRTYPE): Likewise.
15839 (BLKTYPE): Likewise.
15840 (DIRTYPE): Likewise.
15841 (FIFOTYPE): Likewise.
15842 (CONTTYPE): Likewise.
15843 (TSUID): Likewise.
15844 (TSGID): Likewise.
15845 (TSVTX): Likewise.
15846 (TUREAD): Likewise.
15847 (TUWRITE): Likewise.
15848 (TUEXEC): Likewise.
15849 (TGREAD): Likewise.
15850 (TGWRITE): Likewise.
15851 (TGEXEC): Likewise.
15852 (TOREAD): Likewise.
15853 (TOWRITE): Likewise.
15854 (TOEXEC): Likewise.
15855 [POSIX] (TSVTX): Expect constant.
15856
aa97dee1
JM
158572014-03-06 Joseph Myers <joseph@codesourcery.com>
15858
f214606a
JM
15859 * Makefile (tests): Change dependencies to ....
15860 (tests-special): ... additions to this variable.
15861 (tests): Depend on $(tests-special).
15862 * Makerules (check-abi-list): New variable.
15863 (check-abi): Depend on $(check-abi-list).
15864 [$(subdir) = elf] (tests-special): Add
15865 $(objpfx)check-abi-libc.out.
15866 [$(build-shared) = yes && subdir] (tests-special): Add
15867 $(check-abi-list).
15868 [$(build-shared) = yes && subdir] (tests): Do not depend on
15869 check-abi.
15870 * Rules (tests): Depend on $(tests-special).
15871 (xtests): Depend on $(xtests-special).
15872 * catgets/Makefile (tests): Change dependencies to ....
15873 (tests-special): ... additions to this variable.
15874 * conform/Makefile (tests): Change dependencies to ....
15875 (tests-special): ... additions to this variable.
15876 * elf/Makefile (tests): Change dependencies to ....
15877 (tests-special): ... additions to this variable.
15878 * grp/Makefile (tests): Change dependencies to ....
15879 (tests-special): ... additions to this variable.
15880 * iconv/Makefile (xtests): Change dependencies to ....
15881 (xtests-special): ... additions to this variable.
15882 * iconvdata/Makefile (tests): Change dependencies to ....
15883 (tests-special): ... additions to this variable.
15884 * intl/Makefile (tests): Change dependencies to ....
15885 (tests-special): ... additions to this variable. Also add
15886 $(objpfx)tst-gettext.out.
15887 * io/Makefile (tests): Change dependencies to ....
15888 (tests-special): ... additions to this variable.
15889 * libio/Makefile (tests): Change dependencies to ....
15890 (tests-special): ... additions to this variable.
15891 * malloc/Makefile (tests): Change dependencies to ....
15892 (tests-special): ... additions to this variable.
15893 * misc/Makefile (tests): Change dependencies to ....
15894 (tests-special): ... additions to this variable.
15895 * nptl/Makefile (tests): Change dependencies to ....
15896 (tests-special): ... additions to this variable.
15897 * nptl_db/Makefile (tests): Change dependencies to ....
15898 (tests-special): ... additions to this variable.
15899 * posix/Makefile (tests): Change dependencies to ....
15900 (tests-special): ... additions to this variable.
15901 (xtests): Change dependencies to ....
15902 (xtests-special): ... additions to this variable.
15903 * resolv/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 * stdio-common/Makefile (tests): Change dependencies to ....
15908 (tests-special): ... additions to this variable.
15909 (do-tst-unbputc): Remove target.
15910 (do-tst-printf): Likewise.
15911 * stdlib/Makefile (tests): Change dependencies to ....
15912 (tests-special): ... additions to this variable.
15913 * string/Makefile (tests): Change dependencies to ....
15914 (tests-special): ... additions to this variable.
15915 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15916 (tests-special): ... additions to this variable.
15917
81700b53
JM
15918 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15919 whole file.
15920 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15921 whole file.
15922 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15923 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15924
2ea18461
JM
15925 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15926 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15927 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15928 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15929 * conform/data/libgen.h-data [XPG3]: Likewise.
15930 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15931 * conform/data/ndbm.h-data [XPG3]: Likewise.
15932 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15933 * conform/data/netdb.h-data [XPG3]: Likewise.
15934 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15935 * conform/data/poll.h-data [XPG3]: Likewise.
15936 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15937 * conform/data/strings.h-data [XPG3]: Likewise.
15938 * conform/data/stropts.h-data [XPG3]: Likewise.
15939 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15940 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15941 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15942 Likewise.
15943 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15944 * conform/data/sys/time.h-data [XPG3]: Likewise.
15945 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15946 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15947 * conform/data/sys/un.h-data [XPG3]: Likewise.
15948 * conform/data/syslog.h-data [XPG3]: Likewise.
15949 * conform/data/ucontext.h-data [XPG3]: Likewise.
15950 * conform/data/utmpx.h-data [XPG3]: Likewise.
15951 * conform/data/varargs.h-data [UNIX98]: Enable file.
15952
355bc986
JM
15953 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15954
215db402
JM
15955 * math/libm-test.inc (struct test_f_f_data): Move expected results
15956 into structure for each rounding mode.
15957 (struct test_ff_f_data): Likewise.
15958 (struct test_ff_f_data_nexttoward): Likewise.
15959 (struct test_fi_f_data): Likewise.
15960 (struct test_fl_f_data): Likewise.
15961 (struct test_if_f_data): Likewise.
15962 (struct test_fff_f_data): Likewise.
15963 (struct test_c_f_data): Likewise.
15964 (struct test_f_f1_data): Likewise.
15965 (struct test_fF_f1_data): Likewise.
15966 (struct test_ffI_f1_data): Likewise.
15967 (struct test_c_c_data): Likewise.
15968 (struct test_cc_c_data): Likewise.
15969 (struct test_f_i_data): Likewise.
15970 (struct test_ff_i_data): Likewise.
15971 (struct test_f_l_data): Likewise.
15972 (struct test_f_L_data): Likewise.
15973 (struct test_fFF_11_data): Likewise.
15974 (RM_): New macro.
15975 (RM_FE_DOWNWARD): Likewise.
15976 (RM_FE_TONEAREST): Likewise.
15977 (RM_FE_TOWARDZERO): Likewise.
15978 (RM_FE_UPWARD): Likewise.
15979 (RUN_TEST_LOOP_f_f): Update references to expected results.
15980 (RUN_TEST_LOOP_2_f): Likewise.
15981 (RUN_TEST_LOOP_fff_f): Likewise.
15982 (RUN_TEST_LOOP_c_f): Likewise.
15983 (RUN_TEST_LOOP_f_f1): Likewise.
15984 (RUN_TEST_LOOP_fF_f1): Likewise.
15985 (RUN_TEST_LOOP_fI_f1): Likewise.
15986 (RUN_TEST_LOOP_ffI_f1): Likewise.
15987 (RUN_TEST_LOOP_c_c): Likewise.
15988 (RUN_TEST_LOOP_cc_c): Likewise.
15989 (RUN_TEST_LOOP_f_i): Likewise.
15990 (RUN_TEST_LOOP_f_i_tg): Likewise.
15991 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15992 (RUN_TEST_LOOP_f_b): Likewise.
15993 (RUN_TEST_LOOP_f_b_tg): Likewise.
15994 (RUN_TEST_LOOP_f_l): Likewise.
15995 (RUN_TEST_LOOP_f_L): Likewise.
15996 (RUN_TEST_LOOP_fFF_11): Likewise.
15997 * math/gen-libm-test.pl (parse_args): Output four copies of
15998 expected results for each test.
15999
67737b8f
JM
16000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16001 (__ASSUME_UTIMES): Remove.
16002 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16003 (__ASSUME_UTIMES): Likewise.
16004
aa97dee1
JM
16005 * math/gen-auto-libm-tests.c: Update comment on output format.
16006 (output_for_one_input_case): Generate before-rounding and
16007 after-rounding information as conditions on output flags not
16008 floating-point format.
16009 * math/auto-libm-test-out: Regenerated.
16010 * math/gen-libm-test.pl (cond_value): New function.
16011 (or_cond_value): Use cond_value.
16012 (generate_testfile): Handle conditional exceptions.
16013
e6b6a857
JM
160142014-03-05 Joseph Myers <joseph@codesourcery.com>
16015
2f0a0f44
JM
16016 * math/libm-test.inc (max_valid_error): New variable.
16017 (init_max_error): Take new argument specifying whether function
16018 results are exactly determined. Set max_valid_error and bound
16019 other variables for errors based on this argument.
16020 (set_max_error): Do not record results above max_valid_error.
16021 (check_float_internal): Only accept errors of up to 0.5ulps if
16022 also at most max_valid_error.
16023 (START): Take new argument EXACT and pass it to init_max_error.
16024 (acos_test): Update call to START.
16025 (acos_test_tonearest): Likewise.
16026 (acos_test_towardzero): Likewise.
16027 (acos_test_downward): Likewise.
16028 (acos_test_upward): Likewise.
16029 (acosh_test): Likewise.
16030 (asin_test): Likewise.
16031 (asin_test_tonearest): Likewise.
16032 (asin_test_towardzero): Likewise.
16033 (asin_test_downward): Likewise.
16034 (asin_test_upward): Likewise.
16035 (asinh_test): Likewise.
16036 (atan_test): Likewise.
16037 (atanh_test): Likewise.
16038 (atan2_test): Likewise.
16039 (cabs_test): Likewise.
16040 (cacos_test): Likewise.
16041 (cacosh_test): Likewise.
16042 (carg_test): Likewise.
16043 (casin_test): Likewise.
16044 (casinh_test): Likewise.
16045 (catan_test): Likewise.
16046 (catanh_test): Likewise.
16047 (cbrt_test): Likewise.
16048 (ccos_test): Likewise.
16049 (ccosh_test): Likewise.
16050 (ceil_test): Likewise.
16051 (cexp_test): Likewise.
16052 (cimag_test): Likewise.
16053 (clog_test): Likewise.
16054 (clog10_test): Likewise.
16055 (conj_test): Likewise.
16056 (copysign_test): Likewise.
16057 (cos_test): Likewise.
16058 (cos_test_tonearest): Likewise.
16059 (cos_test_towardzero): Likewise.
16060 (cos_test_downward): Likewise.
16061 (cos_test_upward): Likewise.
16062 (cosh_test): Likewise.
16063 (cosh_test_tonearest): Likewise.
16064 (cosh_test_towardzero): Likewise.
16065 (cosh_test_downward): Likewise.
16066 (cosh_test_upward): Likewise.
16067 (cpow_test): Likewise.
16068 (cproj_test): Likewise.
16069 (creal_test): Likewise.
16070 (csin_test): Likewise.
16071 (csinh_test): Likewise.
16072 (csqrt_test): Likewise.
16073 (ctan_test): Likewise.
16074 (ctan_test_tonearest): Likewise.
16075 (ctan_test_towardzero): Likewise.
16076 (ctan_test_downward): Likewise.
16077 (ctan_test_upward): Likewise.
16078 (ctanh_test): Likewise.
16079 (ctanh_test_tonearest): Likewise.
16080 (ctanh_test_towardzero): Likewise.
16081 (ctanh_test_downward): Likewise.
16082 (ctanh_test_upward): Likewise.
16083 (erf_test): Likewise.
16084 (erfc_test): Likewise.
16085 (exp_test): Likewise.
16086 (exp_test_tonearest): Likewise.
16087 (exp_test_towardzero): Likewise.
16088 (exp_test_downward): Likewise.
16089 (exp_test_upward): Likewise.
16090 (exp10_test): Likewise.
16091 (exp10_test_tonearest): Likewise.
16092 (exp10_test_towardzero): Likewise.
16093 (exp10_test_downward): Likewise.
16094 (exp10_test_upward): Likewise.
16095 (pow10_test): Likewise.
16096 (exp2_test): Likewise.
16097 (expm1_test): Likewise.
16098 (expm1_test_tonearest): Likewise.
16099 (expm1_test_towardzero): Likewise.
16100 (expm1_test_downward): Likewise.
16101 (expm1_test_upward): Likewise.
16102 (fabs_test): Likewise.
16103 (fdim_test): Likewise.
16104 (floor_test): Likewise.
16105 (fma_test): Likewise.
16106 (fma_test_towardzero): Likewise.
16107 (fma_test_downward): Likewise.
16108 (fma_test_upward): Likewise.
16109 (fmax_test): Likewise.
16110 (fmin_test): Likewise.
16111 (fmod_test): Likewise.
16112 (fpclassify_test): Likewise.
16113 (frexp_test): Likewise.
16114 (hypot_test): Likewise.
16115 (ilogb_test): Likewise.
16116 (isfinite_test): Likewise.
16117 (finite_test): Likewise.
16118 (isgreater_test): Likewise.
16119 (isgreaterequal_test): Likewise.
16120 (isinf_test): Likewise.
16121 (isless_test): Likewise.
16122 (islessequal_test): Likewise.
16123 (islessgreater_test): Likewise.
16124 (isnan_test): Likewise.
16125 (isnormal_test): Likewise.
16126 (issignaling_test): Likewise.
16127 (isunordered_test): Likewise.
16128 (j0_test): Likewise.
16129 (j1_test): Likewise.
16130 (jn_test): Likewise.
16131 (ldexp_test): Likewise.
16132 (lgamma_test): Likewise.
16133 (gamma_test): Likewise.
16134 (lrint_test): Likewise.
16135 (lrint_test_tonearest): Likewise.
16136 (lrint_test_towardzero): Likewise.
16137 (lrint_test_downward): Likewise.
16138 (lrint_test_upward): Likewise.
16139 (llrint_test): Likewise.
16140 (llrint_test_tonearest): Likewise.
16141 (llrint_test_towardzero): Likewise.
16142 (llrint_test_downward): Likewise.
16143 (llrint_test_upward): Likewise.
16144 (log_test): Likewise.
16145 (log10_test): Likewise.
16146 (log1p_test): Likewise.
16147 (log2_test): Likewise.
16148 (logb_test): Likewise.
16149 (logb_test_downward): Likewise.
16150 (lround_test): Likewise.
16151 (llround_test): Likewise.
16152 (modf_test): Likewise.
16153 (nearbyint_test): Likewise.
16154 (nextafter_test): Likewise.
16155 (nexttoward_test): Likewise.
16156 (pow_test): Likewise.
16157 (pow_test_tonearest): Likewise.
16158 (pow_test_towardzero): Likewise.
16159 (pow_test_downward): Likewise.
16160 (pow_test_upward): Likewise.
16161 (remainder_test): Likewise.
16162 (drem_test): Likewise.
16163 (remainder_test_tonearest): Likewise.
16164 (drem_test_tonearest): Likewise.
16165 (remainder_test_towardzero): Likewise.
16166 (drem_test_towardzero): Likewise.
16167 (remainder_test_downward): Likewise.
16168 (drem_test_downward): Likewise.
16169 (remainder_test_upward): Likewise.
16170 (drem_test_upward): Likewise.
16171 (remquo_test): Likewise.
16172 (rint_test): Likewise.
16173 (rint_test_tonearest): Likewise.
16174 (rint_test_towardzero): Likewise.
16175 (rint_test_downward): Likewise.
16176 (rint_test_upward): Likewise.
16177 (round_test): Likewise.
16178 (scalb_test): Likewise.
16179 (scalbn_test): Likewise.
16180 (scalbln_test): Likewise.
16181 (signbit_test): Likewise.
16182 (sin_test): Likewise.
16183 (sin_test_tonearest): Likewise.
16184 (sin_test_towardzero): Likewise.
16185 (sin_test_downward): Likewise.
16186 (sin_test_upward): Likewise.
16187 (sincos_test): Likewise.
16188 (sinh_test): Likewise.
16189 (sinh_test_tonearest): Likewise.
16190 (sinh_test_towardzero): Likewise.
16191 (sinh_test_downward): Likewise.
16192 (sinh_test_upward): Likewise.
16193 (sqrt_test): Likewise.
16194 (sqrt_test_tonearest): Likewise.
16195 (sqrt_test_towardzero): Likewise.
16196 (sqrt_test_downward): Likewise.
16197 (sqrt_test_upward): Likewise.
16198 (tan_test): Likewise.
16199 (tan_test_tonearest): Likewise.
16200 (tan_test_towardzero): Likewise.
16201 (tan_test_downward): Likewise.
16202 (tan_test_upward): Likewise.
16203 (tanh_test): Likewise.
16204 (tgamma_test): Likewise.
16205 (trunc_test): Likewise.
16206 (y0_test): Likewise.
16207 (y1_test): Likewise.
16208 (yn_test): Likewise.
16209 (significand_test): Likewise.
16210
e6b6a857
JM
16211 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16212 individual tests in comment.
16213 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16214 (prev_max_error): New variable.
16215 (prev_real_max_error): Likewise.
16216 (prev_imag_max_error): Likewise.
16217 (compare_ulp_data): Don't refer to test names in comment.
16218 (find_test_ulps): Remove function.
16219 (find_function_ulps): Likewise.
16220 (find_complex_function_ulps): Likewise.
16221 (init_max_error): Take function name as argument. Look up ulps
16222 for that function.
16223 (print_ulps): Remove function.
16224 (print_max_error): Use prev_max_error instead of calling
16225 find_function_ulps.
16226 (print_complex_max_error): Use prev_real_max_error and
16227 prev_imag_max_error instead of calling find_complex_function_ulps.
16228 (check_float_internal): Take max_ulp parameter instead of calling
16229 find_test_ulps. Don't call print_ulps.
16230 (check_float): Update call to check_float_internal.
16231 (check_complex): Update calls to check_float_internal.
16232 (START): Pass argument to init_max_error.
16233 * math/gen-libm-test.pl (%results): Don't include "kind"
16234 information.
16235 (parse_ulps): Don't handle ulps of individual tests.
16236 (print_ulps_file): Likewise.
16237 (output_ulps): Likewise.
16238 * math/README.libm-test: Update.
16239 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16240 individual tests.
16241 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16242 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16243 * sysdeps/arm/libm-test-ulps: Likewise.
16244 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16245 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16246 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16247 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16248 * sysdeps/microblaze/libm-test-ulps: Likewise.
16249 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16250 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16252 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16254 * sysdeps/sh/libm-test-ulps: Likewise.
16255 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16256 * sysdeps/tile/libm-test-ulps: Likewise.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16258
45adef3c
JM
162592014-03-04 Joseph Myers <joseph@codesourcery.com>
16260
16261 * math/libm-test.inc (print_complex_max_error): Check separately
16262 whether real and imaginary errors are within allowed range and
16263 pass 0 to print_complex_function_ulps instead of value within
16264 allowed range.
16265
000232b9
SP
162662014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16267
d4b17258
SP
16268 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16269 formatting.
16270 (get_handles_fopen): Likewise.
16271 (do_write_test): Likewise.
16272
091eff71
SP
16273 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16274
fa3cd248
SP
16275 * libio/fileops.c (do_ftell): Use cached offset when
16276 available.
16277 * libio/iofwide.c (do_ftell_wide): Likewise.
16278 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16279 _IO_file_attach.
16280 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16281
000232b9
SP
16282 [BZ #16532]
16283 * libio/libioP.h (get_file_offset): New function.
16284 * libio/fileops.c (get_file_offset): Likewise.
16285 (do_ftell): Likewise.
16286 (_IO_new_file_seekoff): Split out ftell logic.
16287 * libio/wfileops.c (do_ftell_wide): Likewise.
16288 (_IO_wfile_seekoff): Split out ftell logic.
16289 * libio/tst-ftell-active-handler.c: New test case.
16290 * libio/Makefile (tests): Add it.
16291
116f4d1a
RM
162922014-03-03 Roland McGrath <roland@hack.frob.com>
16293
16294 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16295 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16296
532a6035
SP
162972014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16298
16299 [BZ #16639]
16300 * nscd/connections.c (nscd_init): Call do_exit.
16301 (start_threads): Call do_exit and notify_parent.
16302 (begin_drop_privileges): Call do_exit.
16303 (finish_drop_privileges): Likewise.
16304 * nscd/selinux.c (preserve_capabilities): Likewise.
16305 (install_real_capabilities): Likewise.
16306 (nscd_selinux_enabled): Likewise.
16307 (avc_create_thread): Likewise.
16308 (avc_alloc_lock): Likewise.
16309 (nscd_avc_init): Likewise.
16310 * nscd/nscd.c (parent_fd): New static variable.
16311 (main): Create a pipe between parent and child processes.
16312 Skip closing parent_fd.
16313 (monitor_child): New function.
16314 (do_exit): Likewise.
16315 (notify_parent): Likewise.
16316 * nscd/nscd.h (notify_parent): Likewise.
16317 (do_exit): Likewise.
16318
d6285c9f
CD
163192014-03-03 Carlos O'Donell <carlos@redhat.com>
16320
16321 * malloc/malloc.c (__libc_calloc): Revert last change.
16322
2b85d2a0
AZ
163232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16324
16325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16326
c7debbdf
RS
163272014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16328
16329 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16331 implementation.
16332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16333 (__libc_ifunc_impl_list): Likewise.
16334 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16335 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16336 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16337 * string/strrchr.c: Define STRRCHR.
16338
235eed86
OB
163392014-02-28 Ondřej Bílka <neleai@seznam.cz>
16340
16341 * benchtest/bench-strtok.c (simple_strtok): Delete.
16342 (strtok_string): Use as benchmark.
16343 * string/strtok (STRTOK): New macro.
16344
8e25d1e7
CD
163452014-02-28 Carlos O'Donell <carlos@redhat.com>
16346
ef563f92
CD
16347 * manual/threads.texi: Add header and standard comments to all
16348 functions.
16349
8e25d1e7
CD
16350 * elf/dl-lookup.c (check_match): New function.
16351 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16352 (do_lookup_x): Remove nested function check_match. Use non-nested
16353 function check_match.
16354
ff71cc37
RM
163552014-02-28 Roland McGrath <roland@hack.frob.com>
16356
f08e9a26
RM
16357 * csu/Makefile (generated, before-compile): Use += rather than =.
16358 * catgets/Makefile (generated, generated-dirs): Likewise.
16359 * debug/Makefile (generated): Likewise.
16360 * dlfcn/Makefile (generated): Likewise.
16361 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16362 * iconvdata/Makefile (before-compile, generated): Likewise.
16363 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16364 * libio/Makefile (generated): Likewise.
16365 * malloc/Makefile (generated): Likewise.
16366 * manual/Makefile (generated, generated-dirs): Likewise.
16367 * misc/Makefile (generated): Likewise.
16368 * posix/Makefile (generated): Likewise.
16369 * resolv/Makefile (generated): Likewise.
16370 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16371 * timezone/Makefile (generated, generated-dirs): Likewise.
16372
ff71cc37
RM
16373 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16374
fe13a20c
AZ
163752014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16376
57f41c40
AS
16377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16378 power8 implementation.
16379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16380 file: POWER8 llround ifunc implementation.
16381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16382 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16384 POWER8 llround implementation.
16385
57f41c40
AS
16386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16387 power8 implementation.
16388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16389 file: POWER8 llrint ifunc implementation.
16390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16391 Add POWER8 implementation.
1ad8950a
AZ
16392 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16393 POWER8 llrint implementation.
16394
57f41c40
AS
16395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16396 power8 implementation.
16397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16398 file: POWER8 finite ifunc implementation.
16399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16400 Add POWER8 implementation.
cac626d6
AZ
16401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16402 Likewise.
16403 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16404 POWER8 finite implementation.
16405 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16406
57f41c40
AS
16407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16408 power8 implementation.
16409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16410 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16412 POWER8 implementation.
16413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16414 Likewise.
57f41c40
AS
16415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16416 isinf implementation.
4393fc11
AZ
16417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16418
57f41c40
AS
16419 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16420 (INIT_ARCH): Add hwcap2 initialization.
16421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16422 power8 implementation.
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16424 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16426 POWER8 implementation.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16428 Likewise.
57f41c40
AS
16429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16430 isnan implementation.
487972ae
AZ
16431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16432
7d92b787
JY
164332014-02-27 Joey Ye <joey.ye@arm.com>
16434
16435 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16436 (_FP_NANFRAC_Q): Set to zero.
16437
1cadc858
SP
164382014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16439
16440 [BZ #16623]
16441 * math/auto-libm-test-in: New test inputs.
16442 * math/auto-libm-test-out: Regenerate.
16443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16444 and DA.
16445 (__cos): Likewise.
16446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16447
f8c17e79
JM
164482014-02-27 Joseph Myers <joseph@codesourcery.com>
16449
16450 * scripts/evaluate-test.sh: Take new argument indicating whether
16451 failure is expected.
16452 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16453 indicating whether failure is expected.
16454 * conform/Makefile (test-xfail-run-conformtest): New variable.
16455 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16456 level.
16457 * posix/Makefile (test-xfail-annexc): New variable.
16458 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16459
a5f891ac
JM
164602014-02-26 Joseph Myers <joseph@codesourcery.com>
16461
16462 * argp/Makefile: Include Makeconfig immediately after defining
16463 subdir.
16464 * assert/Makefile: Likewise.
16465 * benchtests/Makefile: Likewise.
16466 * catgets/Makefile: Likewise.
16467 * conform/Makefile: Likewise.
16468 * crypt/Makefile: Likewise.
16469 * csu/Makefile: Likewise.
16470 (all): Remove target.
16471 * ctype/Makefile: Include Makeconfig immediately after defining
16472 subdir.
16473 * debug/Makefile: Likewise.
16474 * dirent/Makefile: Likewise.
16475 * dlfcn/Makefile: Likewise.
16476 * gmon/Makefile: Likewise.
16477 * gnulib/Makefile: Likewise.
16478 * grp/Makefile: Likewise.
16479 * gshadow/Makefile: Likewise.
16480 * hesiod/Makefile: Likewise.
16481 * hurd/Makefile: Likewise.
16482 (all): Remove target.
16483 * iconvdata/Makefile: Include Makeconfig immediately after
16484 defining subdir.
16485 * inet/Makefile: Likewise.
16486 * intl/Makefile: Likewise.
16487 * io/Makefile: Likewise.
16488 * libio/Makefile: Likewise.
16489 (all): Remove target.
16490 * locale/Makefile: Include Makeconfig immediately after defining
16491 subdir.
16492 * login/Makefile: Likewise.
16493 * mach/Makefile: Likewise.
16494 (all): Remove target.
16495 * malloc/Makefile: Include Makeconfig immediately after defining
16496 subdir.
16497 (all): Remove target.
16498 * manual/Makefile: Include Makeconfig immediately after defining
16499 subdir.
16500 * math/Makefile: Likewise.
16501 * misc/Makefile: Likewise.
16502 * nis/Makefile: Likewise.
16503 * nss/Makefile: Likewise.
16504 * po/Makefile: Likewise.
16505 (all): Remove target.
16506 * posix/Makefile: Include Makeconfig immediately after defining
16507 subdir.
16508 * pwd/Makefile: Likewise.
16509 * resolv/Makefile: Likewise.
16510 * resource/Makefile: Likewise.
16511 * rt/Makefile: Likewise.
16512 * setjmp/Makefile: Likewise.
16513 * shadow/Makefile: Likewise.
16514 * signal/Makefile: Likewise.
16515 * socket/Makefile: Likewise.
16516 * soft-fp/Makefile: Likewise.
16517 * stdio-common/Makefile: Likewise.
16518 * stdlib/Makefile: Likewise.
16519 * streams/Makefile: Likewise.
16520 * string/Makefile: Likewise.
16521 * sunrpc/Makefile: Likewise.
16522 (all): Remove target.
16523 * sysvipc/Makefile: Include Makeconfig immediately after defining
16524 subdir.
16525 * termios/Makefile: Likewise.
16526 * time/Makefile: Likewise.
16527 * timezone/Makefile: Likewise.
16528 (all): Remove target.
16529 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16530 subdir.
16531 * wctype/Makefile: Likewise.
16532
5b456e9d
SE
165332014-02-26 Steve Ellcey <sellcey@mips.com>
16534
16535 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16536 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16537 (libc_feholdexcept_setround_mips): Ditto.
16538 (libc_feholdsetround): New.
16539 (libc_feholdsetroundf): New.
16540 (libc_feholdsetroundl): New.
16541 (libc_feupdateenv_test_mips): New.
16542 (libc_feupdateenv_test): New.
16543 (libc_feupdateenv_testf): New.
16544 (libc_feupdateenv_testl): New.
16545 (libc_feresetround): New.
16546 (libc_feresetroundf): New.
16547 (libc_feresetroundl): New.
16548 (libc_fetestexcept_mips): New.
16549 (libc_fetestexcept): New.
16550 (libc_fetestexceptf): New.
16551 (libc_fetestexceptl): New.
16552 (HAVE_RM_CTX): New.
16553 (libc_feholdexcept_setround_mips_ctx): New.
16554 (libc_feholdexcept_setround_ctx): New.
16555 (libc_feholdexcept_setroundf_ctx): New.
16556 (libc_feholdexcept_setroundl_ctx): New.
16557 (libc_fesetenv_mips_ctx): New.
16558 (libc_fesetenv_ctx): New.
16559 (libc_fesetenv_ctxf): New.
16560 (libc_fesetenv_ctxl): New.
16561 (libc_feupdateenv_mips_ctx): New.
16562 (libc_feupdateenv_ctx): New.
16563 (libc_feupdateenvf_ctx): New.
16564 (libc_feupdateenvl_ctx): New.
16565 (libc_feholdsetround_mips_ctx): New.
16566 (libc_feholdsetround_ctx): New.
16567 (libc_feholdsetroundf_ctx): New.
16568 (libc_feholdsetroundl_ctx): New.
16569 (libc_feresetround_mips_ctx): New.
16570 (libc_feresetround_ctx): New.
16571 (libc_feresetroundf_ctx): New.
16572 (libc_feresetroundl_ctx): New.
16573
085d0e35
CD
165742014-02-26 Carlos O'Donell <carlos@redhat.com>
16575
f067bf1f
CD
16576 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16577
085d0e35
CD
16578 * manual/ipc.texi: New file.
16579 * manual/Makefile (chapters): Add ipc.
16580 * manual/job.texi: Add "Inter-Process Communication" to next.
16581 * manual/process.texi: Add "Inter-Process Communication" to prev.
16582
86e58c08
AZ
165832014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16584
16585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16586
4248f0da
OB
165872014-02-26 Ondřej Bílka <neleai@seznam.cz>
16588
16589 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16590
cf822e3c
OB
16591 * manual/arith.texi: Fix spaces after sentences.
16592 * manual/charset.texi: Likewise.
16593 * manual/errno.texi: Likewise.
16594 * manual/install.texi: Likewise.
16595 * manual/llio.texi: Likewise.
16596 * manual/locale.texi: Likewise.
16597 * manual/maint.texi: Likewise.
16598 * manual/math.texi: Likewise.
16599 * manual/memory.texi: Likewise.
16600 * manual/message.texi: Likewise.
16601 * manual/probes.texi: Likewise.
16602 * manual/resource.texi: Likewise.
16603 * manual/signal.texi: Likewise.
16604 * manual/socket.texi: Likewise.
16605 * manual/stdio.texi: Likewise.
16606 * manual/string.texi: Likewise.
16607 * manual/time.texi: Likewise.
16608 * manual/users.texi: Likewise.
16609
ade40b10
CD
166102014-02-25 Carlos O'Donell <carlos@redhat.com>
16611
16612 [BZ #16632]
16613 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16614 _DEFAULT_SOURCE is defined.
16615
d0503676
CD
166162014-02-25 Ulrich Drepper <drepper@gmail.com>
16617 Carlos O'Donell <carlos@redhat.com>
16618
16619 [BZ #16613]
16620 * elf/dl-tls.c (_dl_count_modids): New function.
16621 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16622 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16623 audit library and increment generation counter.
16624 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16625 * elf/tst-audit9.c: New file.
16626 * elf/tst-auditmod9a.c: New file.
16627 * elf/tst-auditmod9b.c: New file.
16628 * elf/Makefile: Add rules to build and run tst-audit9.
16629
4cbf380c
FW
166302014-02-25 Florian Weimer <fweimer@redhat.com>
16631
16632 [BZ #15347]
16633 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16634
80a56cc3
WN
166352014-02-25 Will Newton <will.newton@linaro.org>
16636
16637 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16638 (__longjmp): Restore sp and lr before restoring callee
16639 saved registers. Add longjmp and longjmp_target
16640 SystemTap probe point.
16641 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16642 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16643 Define to zero to match jmpbuf layout.
16644 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16645 (__sigsetjmp): Save sp and lr before saving callee
16646 saved registers. Add setjmp SystemTap probe point.
16647
3ea0f74e
SL
166482014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16649
16650 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16651
b04acb26
AS
166522014-02-24 Andreas Schwab <schwab@suse.de>
16653
16654 [BZ #15804]
16655 * elf/pldd.c (wait_for_ptrace_stop): New function.
16656 (main): Call it after attaching.
16657
098ad55c
RM
166582014-02-22 Roland McGrath <roland@hack.frob.com>
16659
d4ec6ae1
RM
16660 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16661 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16662 Versions files is now verboten.
16663 * hurd/Versions (libc: GLIBC_2.0):
16664 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16665 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16666 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16667 * mach/Versions: Likewise.
16668
098ad55c
RM
16669 * csu/Versions: Remove unused %include.
16670 * resolv/Versions: Likewise.
16671
acd7f096
JM
166722014-02-21 Joseph Myers <joseph@codesourcery.com>
16673
f0881698
JM
16674 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16675 ($(objpfx)check-local-headers.out): Likewise.
16676 ($(objpfx)begin-end-check.out): Likewise.
16677 * Makerules (check-abi-%.out): Likewise.
16678 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16679 ($(objpfx)test2.cat): Likewise.
16680 ($(objpfx)de/libc.cat): Likewise.
16681 ($(objpfx)test-gencat.out): Likewise.
16682 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16683 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16684 ($(objpfx)noload-mem): Likewise.
16685 ($(objpfx)tst-pathopt.out): Likewise.
16686 ($(objpfx)tst-rtld-load-self.out): Likewise.
16687 ($(objpfx)tst-array1-cmp.out): Likewise.
16688 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16689 ($(objpfx)tst-array2-cmp.out): Likewise.
16690 ($(objpfx)tst-array3-cmp.out): Likewise.
16691 ($(objpfx)tst-array4-cmp.out): Likewise.
16692 ($(objpfx)tst-array5-cmp.out): Likewise.
16693 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16694 ($(objpfx)check-textrel.out): Likewise.
16695 ($(objpfx)check-execstack.out): Likewise.
16696 ($(objpfx)check-localplt.out): Likewise.
16697 ($(objpfx)order2-cmp.out): Likewise.
16698 ($(objpfx)tst-leaks1-mem): Likewise.
16699 ($(objpfx)tst-leaks1-static-mem): Likewise.
16700 ($(objpfx)tst-initorder-cmp.out): Likewise.
16701 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16702 ($(objpfx)tst-unused-dep.out): Likewise.
16703 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16705 * iconv/Makefile (test-iconvconfig): Likewise.
16706 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16707 ($(objpfx)iconv-test.out): Likewise.
16708 ($(objpfx)tst-tables.out): Likewise.
16709 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16710 ($(objpfx)tst-gettext.out): Likewise.
16711 ($(objpfx)tst-translit.out): Likewise.
16712 ($(objpfx)tst-gettext2.out): Likewise.
16713 ($(objpfx)tst-gettext4.out): Likewise.
16714 ($(objpfx)tst-gettext6.out): Likewise.
16715 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16716 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16717 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16718 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16719 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16720 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16721 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16722 ($(objpfx)wordexp-tst.out): Likewise.
16723 ($(objpfx)annexc.out): Likewise.
16724 ($(objpfx)tst-fnmatch-mem): Likewise.
16725 ($(objpfx)bug-regex2-mem): Likewise.
16726 ($(objpfx)bug-regex14-mem): Likewise.
16727 ($(objpfx)bug-regex21-mem): Likewise.
16728 ($(objpfx)bug-regex31-mem): Likewise.
16729 ($(objpfx)tst-vfork3-mem): Likewise.
16730 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16731 ($(objpfx)tst-pcre-mem): Likewise.
16732 ($(objpfx)tst-boost-mem): Likewise.
16733 ($(objpfx)tst-getconf.out): Likewise.
16734 ($(objpfx)bug-ga2-mem): Likewise.
16735 ($(objpfx)bug-glob2-mem): Likewise.
16736 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16737 ($(objpfx)mtrace-tst-leaks2): Likewise.
16738 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16739 ($(objpfx)tst-printf.out): Likewise.
16740 ($(objpfx)tst-setvbuf1.out): Likewise.
16741 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16742 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16743 ($(objpfx)tst-fmtmsg.out): Likewise.
16744 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16745 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16746
acd7f096
JM
16747 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16748 * bits/sigaction.h [__USE_MISC]: Likewise.
16749 * bits/waitstatus.h: Update #endif comments.
16750 * ctype/ctype.h: Likewise.
16751 * dirent/dirent.h: Likewise.
16752 [__USE_MISC]: Remove redundant conditionals.
16753 * grp/grp.h: Update #endif comments.
16754 [__USE_GNU]: Remove redundant conditionals.
16755 [__USE_MISC]: Likewise.
16756 * inet/netinet/in.h [__USE_GNU]: Likewise.
16757 * io/sys/stat.h [__USE_MISC]: Likewise.
16758 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16759 * libio/bits/stdio.h: Update #endif comments.
16760 [__USE_MISC]: Remove redundant conditionals.
16761 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16762 * libio/stdio.h: Update #endif comments.
16763 [__USE_MISC]: Remove redundant conditionals.
16764 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16765 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16766 * math/math.h: Update #else and #endif comments.
16767 [__USE_MISC]: Remove redundant conditionals.
16768 * misc/sys/uio.h: Update #endif comments.
16769 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16770 * posix/glob.h [__USE_MISC]: Likewise.
16771 * posix/sys/types.h: Update #endif comments.
16772 [__USE_MISC]: Remove redundant conditionals.
16773 * posix/sys/wait.h: Update #endif comments.
16774 [__USE_MISC]: Remove redundant conditionals.
16775 * posix/unistd.h: Update #endif comments.
16776 [__USE_MISC]: Remove redundant conditionals.
16777 * pwd/pwd.h [__USE_GNU]: Likewise.
16778 [__USE_MISC]: Likewise.
16779 * resolv/netdb.h [__USE_GNU]: Likewise.
16780 * signal/signal.h: Update #endif comments.
16781 [__USE_MISC]: Remove redundant conditionals.
16782 * stdlib/stdlib.h: Update #else and #endif comments.
16783 [__USE_MISC]: Remove redundant conditionals.
16784 [__USE_GNU]: Likewise.
16785 * string/bits/string2.h [__USE_MISC]: Likewise.
16786 * string/string.h: Update #endif comments.
16787 [__USE_MISC]: Remove redundant conditionals.
16788 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16789 Likewise.
16790 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16791 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16792 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16793 Likewise.
16794 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16795 Likewise.
16796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16797 comments.
16798 [__USE_MISC]: Remove redundant conditionals.
16799 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16800 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16801 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16802 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16803 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16804 Likewise.
16805 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16806 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16807 Likewise.
16808 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16809 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16810 Likewise.
16811 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16812 Likewise.
16813 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16814 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16815 Likewise.
16816 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16817 Likewise.
16818 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16819 * sysdeps/x86/bits/string.h: Update #endif comments.
16820 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16821 conditionals.
16822 * time/sys/time.h: Update #endif comments.
16823 * time/time.h: Likewise.
16824 [__USE_MISC]: Remove redundant conditionals.
16825
a5d82e4e
YG
168262014-02-21 Yury Gribov <y.gribov@samsung.com>
16827
16828 [BZ #16600]
16829 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16830
9a80491d
AS
168312014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16832
16833 * Versions.def (librt): Add GLIBC_2.17.
16834
105fa381
AC
168352014-02-21 Adam Conrad <adconrad@0c3.net>
16836
16837 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16838 synonym for _SYS_AUXV_H to allow direct inclusion.
16839 * sysdeps/sparc/bits/hwcap.h: Likewise.
16840 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16841 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16842 * sysdeps/sparc/sysdep.h: Likewise.
16843
b8cd1c4e
SP
168442014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16845
16846 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16847
bd939d23
RS
168482014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16849
16850 * benchtests/bench-strrchr.c: Print length instead of position.
16851
5d7b57ca
JM
168522014-02-20 Joseph Myers <joseph@codesourcery.com>
16853
bc688c10
JM
16854 [BZ #16611]
16855 * sysdeps/unix/sysv/linux/kernel-features.h
16856 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16857 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16858 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16859 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16860 Likewise.
16861 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16862 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16863 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16864 (__ASSUME_SENDMMSG): Define instead of using previous
16865 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16867 (__ASSUME_SENDMMSG_SYSCALL): Define.
16868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16869 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16870 Likewise.
16871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16872 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16873 Likewise.
16874 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16875 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16876 Likewise.
16877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16878 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16879 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16880 [__ASSUME_SENDMMSG]: Change conditionals to
16881 [__ASSUME_SENDMMSG_SOCKETCALL].
16882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16883 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16884 Define.
16885 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16886 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16887 Likewise.
16888 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16889 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16890 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16891 [!__ASSUME_SENDMMSG]: Change conditional to
16892 [!__ASSUME_SENDMMSG_SOCKETCALL].
16893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16894 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16895 Define.
16896
0e31b18c
JM
16897 [BZ #16610]
16898 * sysdeps/unix/sysv/linux/kernel-features.h
16899 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16900 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16901 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16902 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16903 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16904 [__i386__ || __sparc__]
16905 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16906 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16907 (__ASSUME_RECVMMSG): Define instead of using previous
16908 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16909 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16910 (__ASSUME_RECVMMSG_SYSCALL): Define.
16911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16912 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16913 Likewise.
16914 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16916 Likewise.
16917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16918 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16919 Likewise.
16920 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16921 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16922 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16923 [__ASSUME_RECVMMSG]: Change condition to
16924 [__ASSUME_RECVMMSG_SOCKETCALL].
16925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16927 Define.
16928 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16929 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16931 Likewise.
16932 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16933 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16934 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16935 [!__ASSUME_RECVMMSG]: Change condition to
16936 [!__ASSUME_RECVMMSG_SOCKETCALL].
16937 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16938 (__ASSUME_RECVMMSG_SYSCALL): Define.
16939
dd481ccf
JM
16940 [BZ #16609]
16941 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16942 __powerpc__ || __s390__ || __sh__ || __sparc__]
16943 (__ASSUME_SOCKETCALL): Define.
16944 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16945 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16946 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16947 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16948 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16949 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16950 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16951 (__ASSUME_ACCEPT4): Define instead of using previous
16952 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16953 __powerpc__ || __sparc__ || __s390__)] condition.
16954 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16955 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16956 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16957 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16958 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16959 [!__ASSUME_ACCEPT4]: Change condition to
16960 [!__ASSUME_ACCEPT4_SOCKETCALL].
16961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16962 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16963 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16965 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16966 __ASSUME_ACCEPT4_SYSCALL.
16967 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16968 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16970 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16971 __ASSUME_ACCEPT4_SYSCALL.
16972 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16973 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16974 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16975 [__ASSUME_ACCEPT4]: Change condition to
16976 [__ASSUME_ACCEPT4_SOCKETCALL].
16977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16978 (__ASSUME_SOCKETCALL): Define.
16979 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16981 (__ASSUME_SOCKETCALL): Define.
16982 (__ASSUME_ACCEPT4): Remove.
16983 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16984 Define.
16985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16986 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16987 Likewise.
16988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16989 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16990
5d7b57ca
JM
16991 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16992 macro.
16993 (HWCAP_ARM_LPAE): Likewise.
16994 (HWCAP_ARM_EVTSTRM): Likewise.
16995 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16996 Add vpfd32, lpae and evtstrm.
16997 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16998 Increase to 22.
16999
63689d61
JM
170002014-02-19 Joseph Myers <joseph@codesourcery.com>
17001
17002 * math/auto-libm-test-in: Add tests of clog10.
17003 * math/auto-libm-test-out: Regenerated.
17004 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17005 * sysdeps/i386/fpu/libm-test-ulps: Update.
17006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17007
ab09bf61
AS
170082014-02-18 Andreas Schwab <schwab@suse.de>
17009
17010 [BZ #16574]
17011 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17012 Store non-zero if the second buffer was newly allocated.
17013 (send_dg): Likewise.
17014 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17015 to send_vc and send_dg.
17016 (res_nsend): Pass NULL for ansp2_malloced.
17017 * resolv/res_query.c (__libc_res_nquery): Add parameter
17018 answerp2_malloced and pass it down to __libc_res_nsend.
17019 (res_nquery): Pass additional NULL to __libc_res_nquery.
17020 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17021 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17022 second answer buffer if answerp2_malloced was set.
17023 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17024 (__libc_res_nquerydomain): Add parameter
17025 answerp2_malloced and pass it down to __libc_res_nquery.
17026 (res_nquerydomain): Pass additional NULL to
17027 __libc_res_nquerydomain.
17028 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17029 additional NULL to __libc_res_nsend and __libc_res_nquery.
17030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17031 additional NULL to __libc_res_nsearch.
17032 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17033 parameter of __libc_res_nsearch to check for separately allocated
17034 second buffer.
17035 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17036 __libc_res_nquery.
17037 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17038 additional NULL to __libc_res_nquery.
17039 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17040 __libc_res_nsearch.
17041 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17042 * include/resolv.h: Update prototypes of __libc_res_nquery,
17043 __libc_res_nsearch, __libc_res_nsend.
17044
a4fb7861
JM
170452014-02-18 Joseph Myers <joseph@codesourcery.com>
17046
c6af2d89
JM
17047 * math/auto-libm-test-in: Add tests of fma.
17048 * math/auto-libm-test-out: Regenerated.
17049 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17050 (fma_towardzero_test_data): Likewise.
17051 (fma_downward_test_data): Likewise.
17052 (fma_upward_test_data): Likewise.
17053 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17054 mpc_mode.
17055 (rounding_modes): Add values for new field.
17056 (func_calc_method): Add value mpfr_fff_f.
17057 (func_calc_desc): Add mpfr_fff_f union field.
17058 (test_function): Add field exact_args.
17059 (FUNC): Add macro argument EXACT_ARGS.
17060 (FUNC_mpfr_f_f): Update call to FUNC.
17061 (FUNC_mpfr_f_f): Likewise.
17062 (FUNC_mpfr_ff_f): Likewise.
17063 (FUNC_mpfr_if_f): Likewise.
17064 (FUNC_mpc_c_f): Likewise.
17065 (FUNC_mpc_c_c): Likewise.
17066 (test_functions): Add fma. Update calls to FUNC.
17067 (handle_input_arg): Add argument exact_args.
17068 (add_test): Update call to handle_input_arg.
17069 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17070 (output_for_one_input_case): Update call to calc_generic_results.
17071 Recalculate exact zero results in each rounding mode.
17072
a4fb7861
JM
17073 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17074 non-negative before setting low bit.
17075 * math/auto-libm-test-in: Mark one asin test possibly having
17076 spurious underflow.
17077 * math/auto-libm-test-out: Regenerated.
17078 * sysdeps/i386/fpu/libm-test-ulps: Update.
17079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17080
ef114eaf
DH
170812014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17082
2b7f4f2c
SP
17083 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17084 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17085 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17086 * README: Add missing listing for microblaze*-*-linux-gnu.
17087
8125aedc
AM
170882014-02-16 Ondřej Bílka <neleai@seznam.cz>
17089
17090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17091 duplicate code
17092
c70a4b1d
MF
170932014-02-16 Mike Frysinger <vapier@gentoo.org>
17094
17095 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17096 * sysdeps/unix/sysv/linux/ia64: Move directory from
17097 ports/sysdeps/unix/sysv/linux/ia64.
17098 * README: Update listing for ia64-*-linux-gnu.
17099
591aeaf7
TD
171002014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17101 Joseph Myers <joseph@codesourcery.com>
17102
17103 * Makeconfig (test-name): New variable.
17104 (evaluate-test): Likewise.
17105 * Makerules (do-test-clean): Remove .test-result files.
17106 (common-mostlyclean): Likewise.
17107 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17108 * scripts/evaluate-test.sh: New file.
17109
6e89caf1
JM
171102014-02-14 Joseph Myers <joseph@codesourcery.com>
17111
7f98f180
JM
17112 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17113 separate $(objpfx)tst-fopenloc-cmp.out and
17114 $(objpfx)tst-fopenloc-mem.out targets.
17115 (tests): Update dependencies.
17116 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17117 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17118 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17119 (tst-rxspencer-no-utf8-ARGS): New variable.
17120 (tst-rxspencer-no-utf8-ENV): Likewise.
17121 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17122 instead of $(objpfx)tst-rxspencer-mem.
17123 ($(objpfx)tst-rxspencer-mem): Change target to
17124 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17125 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17126 * posix/tst-rxspencer-no-utf8.c: New file.
17127
6e89caf1
JM
17128 * elf/Makefile ($(objpfx)order.out): Remove rule.
17129 [$(run-built-tests) = yes] (tests): Depend on
17130 $(objpfx)order-cmp.out.
17131 ($(objpfx)order-cmp.out): New rule.
17132 [$(run-built-tests) = yes] (tests): Depend on
17133 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17134 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17135 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17136 $(objpfx)tst-array5-static-cmp.out.
17137 ($(objpfx)tst-array1.out): Remove rule.
17138 ($(objpfx)tst-array1-cmp.out): New rule.
17139 ($(objpfx)tst-array1-static.out): Remove rule.
17140 ($(objpfx)tst-array1-static-cmp.out): New rule.
17141 ($(objpfx)tst-array2.out): Remove rule.
17142 ($(objpfx)tst-array2-cmp.out): New rule.
17143 ($(objpfx)tst-array3.out): Remove rule.
17144 ($(objpfx)tst-array3-cmp.out): New rule.
17145 ($(objpfx)tst-array4.out): Remove rule.
17146 ($(objpfx)tst-array4-cmp.out): New rule.
17147 ($(objpfx)tst-array5.out): Remove rule.
17148 ($(objpfx)tst-array5-cmp.out): New rule.
17149 ($(objpfx)tst-array5-static.out): Remove rule.
17150 ($(objpfx)tst-array5-static-cmp.out): New rule.
17151 [$(run-built-tests) = yes] (tests): Depend on
17152 $(objpfx)order2-cmp.out.
17153 ($(objpfx)order2.out): Remove rule.
17154 ($(objpfx)order2-cmp.out): New rule.
17155 ($(objpfx)tst-initorder.out): Remove rule.
17156 [$(run-built-tests) = yes] (tests): Depend on
17157 $(objpfx)tst-initorder-cmp.out.
17158 ($(objpfx)tst-initorder-cmp.out): New rule.
17159 ($(objpfx)tst-initorder2.out): Remove rule.
17160 [$(run-built-tests) = yes] (tests): Depend on
17161 $(objpfx)tst-initorder2-cmp.out.
17162 ($(objpfx)tst-initorder2-cmp.out): New rule.
17163 [$(run-built-tests) = yes] (tests): Depend on
17164 $(objpfx)tst-unused-dep-cmp.out.
17165 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17166 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17167 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17168 on $(objpfx)tst-setvbuf1-cmp.out.
17169 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17170 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17171 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17172 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17173 ($(objpfx)tst-svc.out): Remove rule.
17174 ($(objpfx)tst-svc-cmp.out): New rule.
17175
ed9a38e2
JM
171762014-02-13 Joseph Myers <joseph@codesourcery.com>
17177
17178 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17179 * ctype/ctype.h [__USE_MISC]: Likewise.
17180 * dirent/dirent.h [__USE_MISC]: Likewise.
17181 * grp/grp.h [__USE_MISC]: Likewise.
17182 * io/fcntl.h [__USE_MISC]: Likewise.
17183 * io/sys/stat.h [__USE_MISC]: Likewise.
17184 * libio/stdio.h [__USE_MISC]: Likewise.
17185 * posix/unistd.h [__USE_MISC]: Likewise.
17186 * pwd/pwd.h [__USE_MISC]: Likewise.
17187 * stdlib.h [__USE_MISC]: Likewise.
17188 * string/bits/string2.h [__USE_MISC]: Likewise.
17189 * string/string.h [__USE_MISC]: Likewise.
17190 * time/time.h [__USE_MISC]: Likewise.
17191
d6680619
AS
171922014-02-13 Andreas Schwab <schwab@suse.de>
17193
17194 [BZ #16574]
17195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17196 second answer buffer if it was separately allocated.
17197
ace614b8
JM
171982014-02-12 Joseph Myers <joseph@codesourcery.com>
17199
743151ae
JM
17200 * sysdeps/mips/math-tests.h: Include <features.h>.
17201 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17202 (ROUNDING_TESTS_long_double): Do not define.
17203 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17204 (EXCEPTION_TESTS_long_double): Likewise.
17205 * sysdeps/mips/mips64/libm-test-ulps: Update.
17206
498afc54
JM
17207 * include/features.h (__USE_BSD): Remove macro definitions.
17208 (__USE_SVID): Likewise.
17209 (_BSD_SOURCE): Likewise.
17210 (_SVID_SOURCE): Likewise.
17211 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17212 from definition of _DEFAULT_SOURCE.
17213 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17214 [_DEFAULT_SOURCE].
17215 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17216 * bits/mman.h [__USE_BSD]: Likewise.
17217 * bits/termios.h [__USE_BSD]: Likewise.
17218 * bits/waitstatus.h [__USE_BSD]: Likewise.
17219 * ctype/ctype.h [__USE_SVID]: Likewise.
17220 * dirent/dirent.h [__USE_BSD]: Likewise.
17221 * grp/grp.h [__USE_SVID]: Likewise.
17222 [__USE_BSD]: Likewise.
17223 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17224 * io/fcntl.h [__USE_BSD]: Likewise.
17225 * io/ftw.h [__USE_BSD]: Likewise.
17226 * io/sys/stat.h [__USE_BSD]: Likewise.
17227 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17228 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17229 * libio/stdio.h [__USE_SVID]: Likewise.
17230 [__USE_BSD]: Likewise.
17231 * math/math.h [__USE_SVID]: Likewise.
17232 [__USE_BSD]: Likewise.
17233 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17234 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17235 * misc/search.h [__USE_SVID]: Likewise.
17236 * misc/sys/mman.h [__USE_BSD]: Likewise.
17237 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17238 * misc/sys/uio.h [__USE_BSD]: Likewise.
17239 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17240 * posix/glob.h [__USE_BSD]: Likewise.
17241 * posix/regex.h [__USE_BSD]: Likewise.
17242 * posix/sys/types.h [__USE_BSD]: Likewise.
17243 [__USE_SVID]: Likewise.
17244 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17245 * posix/sys/wait.h [__USE_BSD]: Likewise.
17246 [__USE_SVID]: Likewise.
17247 * posix/unistd.h [__USE_BSD]: Likewise.
17248 [__USE_SVID]: Likewise.
17249 * pwd/pwd.h [__USE_SVID]: Likewise.
17250 * resolv/netdb.h [__USE_BSD]: Likewise.
17251 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17252 * signal/signal.h [__USE_BSD]: Likewise.
17253 [__USE_SVID]: Likewise.
17254 * socket/sys/socket.h [__USE_BSD]: Likewise.
17255 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17256 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17257 [__USE_SVID]: Likewise.
17258 * string/bits/string2.h [__USE_BSD]: Likewise.
17259 [__USE_SVID]: Likewise.
17260 * string/bits/string3.h [__USE_BSD]: Likewise.
17261 * string/endian.h [__USE_BSD]: Likewise.
17262 * string/string.h [__USE_SVID]: Likewise.
17263 [__USE_BSD]: Likewise.
17264 * string/strings.h [__USE_BSD]: Likewise.
17265 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17266 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17267 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17268 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17269 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17270 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17271 Likewise.
17272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17273 Likewise.
17274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17275 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17276 Likewise.
17277 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17278 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17279 Likewise.
17280 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17281 Likewise.
17282 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17283 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17285 Likewise.
17286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17287 Likewise.
17288 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17289 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17290 * termios/termios.h [__USE_BSD]: Likewise.
17291 * time/sys/time.h [__USE_BSD]: Likewise.
17292 * time/time.h [__USE_BSD]: Likewise.
17293 [__USE_SVID]: Likewise.
17294
dd7b064c
JM
17295 * Makefile (subdir_targets): Remove subdir_lint.out.
17296
a2c4c199
JM
17297 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17298 (do-tst-printf): Likewise.
17299 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17300 $(objpfx)tst-printf.out.
17301
8756f740
JM
17302 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17303
1b6dd3f1
JM
17304 * Makerules (check-abi-%): Change target to
17305 $(objpfx)check-abi-%.out.
17306 (check-abi target): Update dependencies.
17307 (check-abi-pattern variable): Redirect output of diff to $@.
17308 (check-abi variable): Likewise.
17309 * elf/Makefile (check-abi): Update dependencies.
17310
ace614b8
JM
17311 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17312 unused.
17313 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17314 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17315 subnormal range.
17316 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17317 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17318 value has largest subnormal exponent.
17319 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17320 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17321 * sysdeps/aarch64/soft-fp/sfp-machine.h
17322 (_FP_TININESS_AFTER_ROUNDING): New macro.
17323 * sysdeps/alpha/soft-fp/sfp-machine.h
17324 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17325 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17326 Likewise.
17327 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17329 * sysdeps/mips/soft-fp/sfp-machine.h
17330 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17331 * sysdeps/powerpc/soft-fp/sfp-machine.h
17332 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17333 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17334 Likewise.
17335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17338 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17339 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17340 Likewise.
17341
fbfdf9cb
DAS
173422014-02-12 Dylan Alex Simon <dylan@dylex.net>
17343
17344 [BZ #16545]
17345 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17346 model 1.
17347
68b7efaa
RH
173482014-02-12 Richard Henderson <rth@redhat.com>
17349
c70a4b1d 17350 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17351 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17352 * sysdeps/unix/sysv/linux/alpha: Move directory from
17353 ports/sysdeps/unix/sysv/linux/alpha.
17354 * README: Update listing for alpha-*-linux-gnu.
17355
cb4a2928
JM
173562014-02-11 Joseph Myers <joseph@codesourcery.com>
17357
c941736c
JM
17358 * include/features.h: Update comment documenting feature test
17359 macros.
17360 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17361 _DEFAULT_SOURCE.
17362 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17363 (_SVID_SOURCE): Likewise.
17364 (_DEFAULT_SOURCE): Update description of default features.
17365 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17366 with _GNU_SOURCE.
17367 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17368 (S_ISVTX): Likewise.
17369 * manual/math.texi (Mathematical Constants): Likewise.
17370 * manual/signal.texi (Interrupted Primitives): Likewise.
17371 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17372 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17373 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17374 Don't refer to _SVID_SOURCE in warning text.
17375
e8d8d7ec
JM
17376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17377
cb4a2928
JM
17378 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17379 already defined.
17380 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17381 * sysdeps/mips/dl-lookup.c: Remove.
17382 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17383
7e6424e3
AK
173842014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17385
17386 [BZ #16447]
17387 * math/auto-libm-test-in: Add testcase for expl.
17388 * math/auto-libm-test-out: Regenerate.
17389 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17390 calculation of unsafe.
17391 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17392
75eff3fe
MS
173932014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17394
17395 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17396 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17397 ports/sysdeps/unix/sysv/linux/aarch64.
17398 * README: Update listing for aarch64*-*-linux-gnu.
17399
d35f1e80
WN
174002014-02-11 Will Newton <will.newton@linaro.org>
17401
17402 * manual/probes.texi (Mathematical Function Probes): Use
17403 "triggered" instead of "hit".
17404
7b3436d4
WN
17405 * manual/probes.texi (Internal Probes): Add documentation
17406 of setjmp, longjmp and longjmp_target probes.
17407
b4f12ca3
WN
17408 * include/stap-probe.h: Add comment about probe argument
17409 format.
17410
c13a72b7
WN
17411 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17412 definition. (tr_where, tr_freehook, tr_mallochook,
17413 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17414
195b8165
DM
174152014-02-11 David S. Miller <davem@davemloft.net>
17416
17417 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17418 processing int_tests.
17419
2ad7600b
JM
174202014-02-10 Joseph Myers <joseph@codesourcery.com>
17421
17422 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17423 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17424 * sysdeps/unix/sysv/linux/mips: Move directory from
17425 ports/sysdeps/unix/sysv/linux/mips.
17426 * README: Update listing for mips-*-linux-gnu and
17427 mips64-*-linux-gnu.
17428
73588a72
AS
174292014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17430
17431 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17432 * sysdeps/unix/sysv/linux/m68k: Move directory from
17433 ports/sysdeps/unix/sysv/linux/m68k.
17434 * README: Update listing for m68k-*-linux-gnu.
17435
4372980f
CM
174362014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17437
17438 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17439 * sysdeps/unix/sysv/linux/generic: Move directory from
17440 ports/sysdeps/unix/sysv/linux/generic.
17441 * sysdeps/unix/sysv/linux/tile: Move directory from
17442 ports/sysdeps/unix/sysv/linux/tile.
17443 * README: Update listing for tile*-*-linux-gnu.
17444
a1ffb40e
OB
174452014-02-10 Ondřej Bílka <neleai@seznam.cz>
17446
57f41c40
AS
17447 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17448 __builtin_expect.
a1ffb40e
OB
17449 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17450 * catgets/open_catalog.c (__open_catalog): Likewise.
17451 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17452 * debug/confstr_chk.c: Likewise.
17453 * debug/fread_chk.c (__fread_chk): Likewise.
17454 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17455 * debug/getgroups_chk.c: Likewise.
17456 * debug/mbsnrtowcs_chk.c: Likewise.
17457 * debug/mbsrtowcs_chk.c: Likewise.
17458 * debug/mbstowcs_chk.c: Likewise.
17459 * debug/memcpy_chk.c: Likewise.
17460 * debug/memmove_chk.c: Likewise.
17461 * debug/mempcpy_chk.c: Likewise.
17462 * debug/memset_chk.c: Likewise.
17463 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17464 * debug/strcat_chk.c (__strcat_chk): Likewise.
17465 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17466 * debug/strncat_chk.c (__strncat_chk): Likewise.
17467 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17468 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17469 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17470 * debug/wcpncpy_chk.c: Likewise.
17471 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17472 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17473 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17474 * debug/wcsncpy_chk.c: Likewise.
17475 * debug/wcsnrtombs_chk.c: Likewise.
17476 * debug/wcsrtombs_chk.c: Likewise.
17477 * debug/wcstombs_chk.c: Likewise.
17478 * debug/wmemcpy_chk.c: Likewise.
17479 * debug/wmemmove_chk.c: Likewise.
17480 * debug/wmempcpy_chk.c: Likewise.
17481 * debug/wmemset_chk.c: Likewise.
17482 * dirent/scandirat.c (SCANDIRAT): Likewise.
17483 * dlfcn/dladdr1.c (dladdr1): Likewise.
17484 * dlfcn/dladdr.c (dladdr): Likewise.
17485 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17486 * dlfcn/dlerror.c (__dlerror): Likewise.
17487 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17488 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17489 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17490 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17491 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17492 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17493 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17494 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17495 Likewise.
17496 * elf/dl-conflict.c: Likewise.
17497 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17498 * elf/dl-dst.h: Likewise.
17499 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17500 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17501 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17502 * elf/dl-init.c (call_init, _dl_init): Likewise.
17503 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17504 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17505 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17506 Likewise.
a1ffb40e
OB
17507 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17508 Likewise.
17509 * elf/dl-minimal.c (__libc_memalign): Likewise.
17510 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17511 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17512 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17513 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17514 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17515 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17516 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17517 * elf/dl-writev.h (_dl_writev): Likewise.
17518 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17519 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17520 (dl_main): Likewise.
a1ffb40e
OB
17521 * elf/setup-vdso.h (setup_vdso): Likewise.
17522 * grp/compat-initgroups.c (compat_call): Likewise.
17523 * grp/fgetgrent.c (fgetgrent): Likewise.
17524 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17525 * grp/putgrent.c (putgrent): Likewise.
17526 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17527 Likewise.
17528 * hurd/hurdinit.c: Likewise.
17529 * iconvdata/8bit-gap.c (struct): Likewise.
17530 * iconvdata/ansi_x3.110.c : Likewise.
17531 * iconvdata/big5.c : Likewise.
17532 * iconvdata/big5hkscs.c : Likewise.
17533 * iconvdata/cp1255.c: Likewise.
17534 * iconvdata/cp1258.c : Likewise.
17535 * iconvdata/cp932.c : Likewise.
17536 * iconvdata/euc-cn.c: Likewise.
17537 * iconvdata/euc-jisx0213.c : Likewise.
17538 * iconvdata/euc-jp.c: Likewise.
17539 * iconvdata/euc-jp-ms.c : Likewise.
17540 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17541 * iconvdata/gb18030.c : Likewise.
17542 * iconvdata/gbbig5.c (const): Likewise.
17543 * iconvdata/gbgbk.c: Likewise.
17544 * iconvdata/gbk.c : Likewise.
17545 * iconvdata/ibm1364.c : Likewise.
17546 * iconvdata/ibm930.c : Likewise.
17547 * iconvdata/ibm932.c: Likewise.
17548 * iconvdata/ibm933.c : Likewise.
17549 * iconvdata/ibm935.c : Likewise.
17550 * iconvdata/ibm937.c : Likewise.
17551 * iconvdata/ibm939.c : Likewise.
17552 * iconvdata/ibm943.c: Likewise.
17553 * iconvdata/iso_11548-1.c: Likewise.
17554 * iconvdata/iso-2022-cn.c : Likewise.
17555 * iconvdata/iso-2022-cn-ext.c : Likewise.
17556 * iconvdata/iso-2022-jp-3.c: Likewise.
17557 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17558 * iconvdata/iso-2022-kr.c : Likewise.
17559 * iconvdata/iso646.c (gconv_end): Likewise.
17560 * iconvdata/iso_6937-2.c : Likewise.
17561 * iconvdata/iso_6937.c : Likewise.
17562 * iconvdata/iso8859-1.c: Likewise.
17563 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17564 * iconvdata/shift_jisx0213.c : Likewise.
17565 * iconvdata/sjis.c : Likewise.
17566 * iconvdata/t.61.c : Likewise.
17567 * iconvdata/tcvn5712-1.c : Likewise.
17568 * iconvdata/tscii.c: Likewise.
17569 * iconvdata/uhc.c : Likewise.
17570 * iconvdata/unicode.c (gconv_end): Likewise.
17571 * iconvdata/utf-16.c (gconv_end): Likewise.
17572 * iconvdata/utf-32.c (gconv_end): Likewise.
17573 * iconvdata/utf-7.c (base64): Likewise.
17574 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17575 * iconv/gconv_close.c (__gconv_close): Likewise.
17576 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17577 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17578 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17579 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17580 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17581 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17582 * iconv/iconv.c (iconv): Likewise.
17583 * iconv/iconv_close.c: Likewise.
17584 * iconv/loop.c (SINGLE): Likewise.
17585 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17586 * include/atomic.h: Likewise.
17587 * inet/inet6_option.c (option_alloc): Likewise.
17588 * intl/bindtextdom.c (set_binding_values): Likewise.
17589 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17590 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17591 * intl/localealias.c (read_alias_file): Likewise.
17592 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17593 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17594 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17595 * libio/fmemopen.c (fmemopen): Likewise.
17596 * libio/iofgets.c (_IO_fgets): Likewise.
17597 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17598 * libio/iofgetws.c (fgetws): Likewise.
17599 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17600 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17601 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17602 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17603 * locale/findlocale.c (_nl_find_locale): Likewise.
17604 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17605 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17606 Likewise.
17607 * locale/setlocale.c (setlocale): Likewise.
17608 * login/programs/pt_chown.c (main): Likewise.
17609 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17610 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17611 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17612 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17613 * math/e_exp2l.c: Likewise.
17614 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17615 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17616 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17617 * math/s_catan.c (__catan): Likewise.
17618 * math/s_catanf.c (__catanf): Likewise.
17619 * math/s_catanh.c (__catanh): Likewise.
17620 * math/s_catanhf.c (__catanhf): Likewise.
17621 * math/s_catanhl.c (__catanhl): Likewise.
17622 * math/s_catanl.c (__catanl): Likewise.
17623 * math/s_ccosh.c (__ccosh): Likewise.
17624 * math/s_ccoshf.c (__ccoshf): Likewise.
17625 * math/s_ccoshl.c (__ccoshl): Likewise.
17626 * math/s_cexp.c (__cexp): Likewise.
17627 * math/s_cexpf.c (__cexpf): Likewise.
17628 * math/s_cexpl.c (__cexpl): Likewise.
17629 * math/s_clog10.c (__clog10): Likewise.
17630 * math/s_clog10f.c (__clog10f): Likewise.
17631 * math/s_clog10l.c (__clog10l): Likewise.
17632 * math/s_clog.c (__clog): Likewise.
17633 * math/s_clogf.c (__clogf): Likewise.
17634 * math/s_clogl.c (__clogl): Likewise.
17635 * math/s_csin.c (__csin): Likewise.
17636 * math/s_csinf.c (__csinf): Likewise.
17637 * math/s_csinh.c (__csinh): Likewise.
17638 * math/s_csinhf.c (__csinhf): Likewise.
17639 * math/s_csinhl.c (__csinhl): Likewise.
17640 * math/s_csinl.c (__csinl): Likewise.
17641 * math/s_csqrt.c (__csqrt): Likewise.
17642 * math/s_csqrtf.c (__csqrtf): Likewise.
17643 * math/s_csqrtl.c (__csqrtl): Likewise.
17644 * math/s_ctan.c (__ctan): Likewise.
17645 * math/s_ctanf.c (__ctanf): Likewise.
17646 * math/s_ctanh.c (__ctanh): Likewise.
17647 * math/s_ctanhf.c (__ctanhf): Likewise.
17648 * math/s_ctanhl.c (__ctanhl): Likewise.
17649 * math/s_ctanl.c (__ctanl): Likewise.
17650 * math/w_pow.c: Likewise.
17651 * math/w_powf.c: Likewise.
17652 * math/w_powl.c: Likewise.
17653 * math/w_scalb.c (sysv_scalb): Likewise.
17654 * math/w_scalbf.c (sysv_scalbf): Likewise.
17655 * math/w_scalbl.c (sysv_scalbl): Likewise.
17656 * misc/error.c (error_tail): Likewise.
17657 * misc/pselect.c (__pselect): Likewise.
17658 * nis/nis_callback.c (__nis_create_callback): Likewise.
17659 * nis/nis_call.c (__nisfind_server): Likewise.
17660 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17661 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17663 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17664 * nis/nis_lookup.c (nis_lookup): Likewise.
17665 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17666 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17667 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17668 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17669 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17670 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17671 * nis/nss_compat/compat-initgroups.c (add_group)
17672 (internal_getgrent_r): Likewise.
17673 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17674 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17675 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17676 (internal_getspnam_r): Likewise.
17677 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17678 (_nss_nis_getaliasbyname_r): Likewise.
17679 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17680 (_nss_nis_getntohost_r): Likewise.
17681 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17682 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17683 (_nss_nis_getgrgid_r): Likewise.
17684 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17685 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17686 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17687 (_nss_nis_gethostbyname4_r): Likewise.
17688 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17689 (initgroups_netid): Likewise.
a1ffb40e 17690 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17691 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17692 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17693 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17694 (_nss_nis_getprotobynumber_r): Likewise.
17695 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17696 (_nss_nis_getsecretkey): Likewise.
17697 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17698 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17699 (_nss_nis_getpwuid_r): Likewise.
17700 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17701 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17702 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17703 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17704 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17705 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17706 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17707 Likewise.
57f41c40
AS
17708 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17709 (_nss_nisplus_getntohost_r): Likewise.
17710 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17711 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17712 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17713 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17714 Likewise.
57f41c40
AS
17715 * nis/nss_nisplus/nisplus-initgroups.c
17716 (_nss_nisplus_initgroups_dyn): Likewise.
17717 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17718 (_nss_nisplus_getnetbyaddr_r): Likewise.
17719 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17720 (_nss_nisplus_getprotobynumber_r): Likewise.
17721 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17722 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17723 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17724 Likewise.
57f41c40
AS
17725 * nis/nss_nisplus/nisplus-service.c
17726 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17727 (_nss_nisplus_getservbyport_r): Likewise.
17728 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17729 (_nss_nisplus_getspnam_r): Likewise.
17730 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17731 Likewise.
a1ffb40e
OB
17732 * nscd/aicache.c (addhstaiX): Likewise.
17733 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17734 * nscd/connections.c (register_traced_file, send_ro_fd)
17735 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17736 (main_loop_epoll): Likewise.
a1ffb40e
OB
17737 * nscd/grpcache.c (addgrbyX): Likewise.
17738 * nscd/hstcache.c (addhstbyX): Likewise.
17739 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17740 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17741 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17742 (addinnetgrX): Likewise.
17743 * nscd/nscd-client.h (__nscd_acquire_maplock)
17744 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17745 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17746 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17747 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17748 Likewise.
17749 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17750 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17751 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17752 (__nscd_get_map_ref): Likewise.
a1ffb40e 17753 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17754 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17755 Likewise.
a1ffb40e
OB
17756 * nscd/pwdcache.c (addpwbyX): Likewise.
17757 * nscd/selinux.c (preserve_capabilities): Likewise.
17758 * nscd/servicescache.c (addservbyX): Likewise.
17759 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17760 * posix/fnmatch.c (fnmatch): Likewise.
17761 * posix/getopt.c (_getopt_internal_r): Likewise.
17762 * posix/glob.c (glob, glob_in_dir): Likewise.
17763 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17764 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17765 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17766 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17767 * resolv/res_init.c: Likewise.
17768 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17769 * resolv/res_query.c (__libc_res_nquery): Likewise.
17770 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17771 Likewise.
17772 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17773 * stdio-common/perror.c (perror): Likewise.
17774 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17775 * stdio-common/tmpnam.c (tmpnam): Likewise.
17776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17777 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17778 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17779 Likewise.
a1ffb40e
OB
17780 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17781 * stdlib/putenv.c (putenv): Likewise.
17782 * stdlib/setenv.c (__add_to_environ): Likewise.
17783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17784 * stdlib/strtol_l.c (INTERNAL): Likewise.
17785 * string/memmem.c (memmem): Likewise.
17786 * string/strerror.c (strerror): Likewise.
17787 * string/strnlen.c (__strnlen): Likewise.
17788 * string/test-memmem.c (simple_memmem): Likewise.
17789 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17790 * sunrpc/pm_getport.c (__get_socket): Likewise.
17791 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17792 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17793 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17794 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17795 Likewise.
17796 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17797 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17798 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17799 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17800 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17801 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17802 Likewise.
17803 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17804 Likewise.
a1ffb40e
OB
17805 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17806 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17808 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17809 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17811 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17813 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17814 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17815 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17816 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17817 Likewise.
17818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17819 Likewise.
17820 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17821 Likewise.
17822 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17824 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17826 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17828 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17838 Likewise.
a1ffb40e
OB
17839 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17840 Likewise.
17841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17842 Likewise.
17843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17844 Likewise.
17845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17847 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17848 Likewise.
17849 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17850 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17851 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17852 * sysdeps/posix/sleep.c: Likewise.
17853 * sysdeps/posix/tempname.c: Likewise.
17854 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17855 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17856 Likewise.
57f41c40
AS
17857 * sysdeps/powerpc/powerpc32/dl-machine.h
17858 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17859 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17861 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17862 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17863 Likewise.
17864 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17865 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17866 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17867 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17868 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17869 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17870 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17871 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17873 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17875 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17876 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17878 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17879 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17880 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17881 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17882 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17883 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17884 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17885 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17887 Likewise.
17888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17889 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17890 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17891 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17892 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17893 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17894 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17895 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17897 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17898 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17899 Likewise.
17900 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17901 (__posix_fallocate64_l64): Likewise.
17902 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17903 (posix_fallocate): Likewise.
57f41c40
AS
17904 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17905 Likewise.
a1ffb40e 17906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17907 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17908 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17909 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17910 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17911 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17913 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17914 (__posix_fallocate64_l64): Likewise.
17915 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17916 Likewise.
17917 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17918 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17919 (__get_clockfreq): Likewise.
a1ffb40e
OB
17920 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17921 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17922 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17925 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17926 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17927 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17928 Likewise.
17929 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17930 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17931 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17932 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17933 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17934 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17936 Likewise.
17937 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17938 (posix_fallocate): Likewise.
17939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17940 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17941 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17942 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17943 (elf_machine_rela, elf_machine_rela_relative)
17944 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17945 * time/asctime.c (asctime_internal): Likewise.
17946 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17947 * time/tzset.c (__tzset_parse_tz): Likewise.
17948 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17949 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17950 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17951 * wcsmbs/wcsmbsload.h: Likewise.
17952
f3d338c9
OB
17953 [BZ #15894]
17954 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17955
57f41c40
AS
17956 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17957 (arena_get2): Remove THREAD_STATS conditionals.
17958 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17959 (__malloc_stats, int): Likewise.
bdfe308a 17960
d674667c
MF
179612014-02-08 Mike Frysinger <vapier@gentoo.org>
17962
17963 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17964 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17965
6349768c
MF
17966 * manual/setjmp.texi: Fix typos/grammar errors.
17967
0b7c7473
MF
17968 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17969 Only return early when n is <= 0. Delete unused return statement.
17970
ac8cc9e3
MF
17971 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17972 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17973 * debug/tst-longjmp_chk3.c: New file.
17974
c5bb8e23
MF
17975 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17976 (test_main): Replace code with set_fortify_handler call.
17977 * debug/test-strcpy_chk.c: Likewise.
17978 * debug/tst-chk1.c: Likewise.
17979 * debug/tst-longjmp_chk.c: Likewise.
17980 * test-skeleton.c: Include fcntl.h & paths.h
17981 (set_fortify_handler): Define.
17982
10444e42
MF
17983 * debug/tst-longjmp_chk.c: Add header comment and include
17984 ../test-skeleton.c.
17985 (do_test): Mark static.
17986 (TEST_FUNCTION): Define.
17987
1e805e8d
MF
17988 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17989 (IP_PMTUDISC_INTERFACE): Likewise.
17990 (IP_MULTICAST_IF): Likewise.
17991 (IP_MULTICAST_TTL): Likewise.
17992 (IP_MULTICAST_LOOP): Likewise.
17993 (IP_ADD_MEMBERSHIP): Likewise.
17994 (IP_DROP_MEMBERSHIP): Likewise.
17995 (IP_UNBLOCK_SOURCE): Likewise.
17996 (IP_BLOCK_SOURCE): Likewise.
17997 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17998 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17999 (IP_MSFILTER): Likewise.
18000 (MCAST_JOIN_GROUP): Likewise.
18001 (MCAST_BLOCK_SOURCE): Likewise.
18002 (MCAST_UNBLOCK_SOURCE): Likewise.
18003 (MCAST_LEAVE_GROUP): Likewise.
18004 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18005 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18006 (MCAST_MSFILTER): Likewise.
18007 (IP_MULTICAST_ALL): Likewise.
18008 (IP_UNICAST_IF): Likewise.
18009
73f79bb7
MF
18010 * timezone/Makefile: Delete $(have-ksh) check.
18011 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18012 * timezone/tzselect.ksh: Add +x mode bits.
18013
8da79b60
MF
18014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18015 (ANON_INODE_FS_MAGIC): Likewise.
18016 (BDEVFS_MAGIC): Likewise.
18017 (BINFMTFS_MAGIC): Likewise.
18018 (BTRFS_TEST_MAGIC): Likewise.
18019 (CRAMFS_MAGIC_WEND): Likewise.
18020 (DEBUGFS_MAGIC): Likewise.
18021 (ECRYPTFS_SUPER_MAGIC): Likewise.
18022 (EXT3_SUPER_MAGIC): Likewise.
18023 (EXT4_SUPER_MAGIC): Likewise.
18024 (FUTEXFS_SUPER_MAGIC): Likewise.
18025 (HOSTFS_SUPER_MAGIC): Likewise.
18026 (HUGETLBFS_MAGIC): Likewise.
18027 (MINIX3_SUPER_MAGIC): Likewise.
18028 (MTD_INODE_FS_MAGIC): Likewise.
18029 (NILFS_SUPER_MAGIC): Likewise.
18030 (OPENPROM_SUPER_MAGIC): Likewise.
18031 (PIPEFS_MAGIC): Likewise.
18032 (PSTOREFS_MAGIC): Likewise.
18033 (QNX6_SUPER_MAGIC): Likewise.
18034 (RAMFS_MAGIC): Likewise.
18035 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18036 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18037 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18038 (SECURITYFS_MAGIC): Likewise.
18039 (SELINUX_MAGIC): Likewise.
18040 (SMACK_MAGIC): Likewise.
18041 (SOCKFS_MAGIC): Likewise.
18042 (SQUASHFS_MAGIC): Likewise.
18043 (STACK_END_MAGIC): Likewise.
18044 (TMPFS_MAGIC): Likewise.
18045 (USBDEVICE_SUPER_MAGIC): Likewise.
18046 (V9FS_MAGIC): Likewise.
18047 (XENFS_SUPER_MAGIC): Likewise.
18048 (CRAMFS_MAGIC): Fix typo in comment.
18049 (EXT2_SUPER_MAGIC): Update comment.
18050 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18051
464263cc
JM
180522014-02-08 Joseph Myers <joseph@codesourcery.com>
18053
c6bfe5c4
JM
18054 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18055 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18056 * sysdeps/unix/sysv/linux/arm: Move directory from
18057 ports/sysdeps/unix/sysv/linux/arm.
18058 * README: Update listing for arm-*-linux-gnueabi.
18059
464263cc
JM
18060 * README: Remove mention of am33.
18061
32749f6c
RM
180622014-02-07 Roland McGrath <roland@hack.frob.com>
18063
18064 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18065 than the comma operator, to avoid "rhs of comma has no effect"
18066 compiler warnings.
18067 (__sigfillset, __sigandset, __sigorset): Likewise.
18068 * include/signal.h (__sigemptyset): Likewise.
18069 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18070
d5b396c1
AM
180712014-02-07 Allan McRae <allan@archlinux.org>
18072
18073 * version.h (RELEASE): Set to "development".
18074 (VERSION): Set to "2.19.90"
18075 * NEWS: Add 2.20 section.
18076
3bfff2ed
CD
180772014-02-06 Carlos O'Donell <carlos@redhat.com>
18078
18079 [BZ #16529]
18080 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18081
ee7cc385
SP
180822014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18083
18084 * manual/contrib.texi: Update entry for Carlos O'Donell,
18085 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18086
f877c4f2
CD
180872014-02-05 Carlos O'Donell <carlos@rehdat.com>
18088
27e839f6
CD
18089 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18090
f877c4f2
CD
18091 * sysdeps/unix/sysv/linux/kernel-features.h
18092 [__LINUX_KERNEL_VERSION >= 0x020621]
18093 (__ASSUME_PROC_PID_TASK_COMM): Define.
18094
68159946
SP
180952014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18096
ba17cdbd
SP
18097 [BZ #16398]
18098 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18099 conversion when destination buffer does not have enough space.
18100 * libio/tst-ftell-partial-wide.c: New test case.
18101 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18102
68159946
SP
18103 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18104 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18105 Leonard and Allan McRae.
18106
2b528732
DM
181072014-02-04 David S. Miller <davem@davemloft.net>
18108
18109 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18110 32-bit.
18111
0ff82463
AZ
181122014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18113
57f41c40
AS
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18115 New file
c01603f7
AZ
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18117 New file
57f41c40
AS
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18119 New file.
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18121 New file.
c01603f7
AZ
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18123 New file.
57f41c40
AS
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18125 New file.
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18127 New file.
c01603f7
AZ
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18129 New file.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18131 New file.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18133 New file.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18135 New file.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18137 New file.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18139 New file.
18140
181412014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18142
0ff82463
AZ
18143 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18144 * shlib-versions: Likewise.
18145
1695c773
AZ
181462014-02-04 Roland McGrath <roland@hack.frob.com>
18147 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18148
18149 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18150 (abilist-pattern): New variable, set to %-le.abilist.
18151
18152 * Makerules (abilist-pattern): New variable.
18153 (vpath): Use $(abilist-pattern) in place of %.abilist.
18154 (check-abi-% pattern rule): Likewise.
18155 (check-abi, update-abi): Likewise.
18156
6c0ce4b4
EW
181572014-02-04 Eric Wong <normalperson@yhbt.net>
18158
18159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18160
481e3524
CD
181612014-02-03 Carlos O'Donell <carlos@redhat.com>
18162
18163 * manual/startup.texi: Add next, previous, and top entries for
18164 the `Program Arguments' and `Environment Variables' nodes.
18165
375592d3
AO
181662014-02-03 Alexandre Oliva <aoliva@redhat.com>
18167
18168 * manual/macros.texi: Add comments before MTASC-safety macros.
18169
f54838ba
AO
18170 * manual/users.texi: Document MTASC-safety properties.
18171
57f41c40
AS
18172 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18173 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18174 @deftypefun, and add @safety note.
18175 * manual/signal.texi: Move comments that analyze the above
18176 functions to their home place.
18177
fd3daba4
AM
181782014-02-03 Allan McRae <allan@archlinux.org>
18179
18180 * po/sl.po: Update Slovenian translation from translation project.
18181
597636d7
AO
181822014-02-02 Alexandre Oliva <aoliva@redhat.com>
18183
18184 * manual/time.texi (timegm): Add missing blank after @c.
18185 Reported by Joseph Myers <joseph@codesourcery.com>.
18186
ee196e3c
AO
181872014-02-01 Alexandre Oliva <aoliva@redhat.com>
18188
18189 * manual/check-safety.sh: New.
18190 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18191
f8d529d5
AO
18192 * manual/terminal.texi: Document MTASC-safety properties.
18193
de55fdf4
AO
18194 * manual/filesys.texi: Document MTASC-safety properties.
18195
c3299c08
AO
18196 * manual/errno.texi: Document MTASC-safety properties.
18197
06e90b14
AO
18198 * manual/intro.texi: Document safety identifiers and
18199 conditionals.
18200
1acd4371
AO
18201 * manual/string.texi (wcstok): Fix prototype.
18202 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18203
23e5b8cb
AO
18204 * manual/time.texi: Document MTASC-safety properties.
18205
11087373
AO
18206 * manual/string.texi: Document MTASC-safety properties.
18207
5da2c93d
AO
18208 * manual/threads.texi: Document MTASC-safety properties.
18209
171e9210
AO
18210 * manual/stdio.texi: Document MTASC-safety properties.
18211
d9e02532
AO
18212 * manual/syslog.texi: Document MTASC-safety properties.
18213
6af8bab7
AO
18214 * manual/sysinfo.texi: Document MTASC-safety properties.
18215
663b02d7
AO
18216 * manual/startup.texi: Document MTASC-safety properties.
18217
973f180b
AO
18218 * manual/socket.texi: Document MTASC-safety properties.
18219
8f3c25c8
AO
18220 * manual/signal.texi: Document MTASC-safety properties.
18221
542210fb
AO
182222014-01-31 Alexandre Oliva <aoliva@redhat.com>
18223
18224 * manual/setjmp.texi: Document MTASC-safety properties.
18225
433c45a2
AO
18226 * manual/search.texi: Document MTASC-safety properties.
18227
c8ce789c
AO
18228 * manual/resource.texi: Document MTASC-safety properties.
18229
19f5d29c
AO
18230 * manual/process.texi: Document MTASC-safety properties.
18231
e2dfb7f4
AO
18232 * manual/platform.texi: Document MTASC-safety properties.
18233
8c1413f5
AO
18234 * manual/pipe.texi: Document MTASC-safety properties.
18235
03483ada
AO
18236 * manual/pattern.texi: Document MTASC-safety properties.
18237
29e7e2df
AO
18238 * manual/message.texi: Document MTASC-safety properties.
18239
9f529d7c
AO
18240 [BZ #12751]
18241 * manual/memory.texi: Document MTASC-safety properties.
18242
27aaa791
AO
18243 * manual/math.texi: Document MTASC-safety properties.
18244
f2d58726
AO
18245 * manual/locale.texi: Document MTASC-safety properties.
18246
2cc3615c
AO
18247 * manual/llio.texi: Document MTASC-safety properties.
18248
d9f0ec97
AO
18249 * manual/libdl.texi: New.
18250
e7c4409a
AO
18251 * manual/lang.texi: Document MTASC-safety properties.
18252
27bdc63c
AO
18253 * manual/job.texi: Document MTASC-safety properties.
18254
a7b90ea9
AO
18255 * manual/getopt.texi: Document MTASC-safety properties.
18256
c49130e3
AO
18257 * manual/ctype.texi: Document MTASC-safety properties.
18258
0d23a5c1
MR
182592014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18260
18261 [BZ #16046]
18262 * csu/libc-tls.c (static_map): Remove variable.
18263 (__libc_setup_tls): Use main executable's link map for TLS data.
18264 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18265 casing for LM_ID_BASE and GL(dl_nns).
18266 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18267 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18268 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18269 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18270 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18271 member.
18272 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18273 l_phnum members.
18274
0037bb60
AO
182752014-01-30 Alexandre Oliva <aoliva@redhat.com>
18276
18277 * manual/debug.texi: Document MTASC-safety properties.
18278
409e00bd
L
182792014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18280
18281 [BZ #16510]
18282 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18283 of __x86_64__ when disabling x87 inline functions.
18284
86e60666
AO
182852014-01-29 Alexandre Oliva <aoliva@redhat.com>
18286
18287 * manual/charset.texi: Document MTASC-safety properties.
18288
76167637
AO
18289 * manual/crypt.texi: Document MTASC-safety properties.
18290
e567f2a0
AO
18291 * manual/conf.texi: Document MTASC-safety properties.
18292
b719dafd
AO
18293 * manual/arith.texi: Document MTASC-safety properties.
18294
4a16c662
AO
18295 * manual/argp.texi: Document MTASC-safety properties.
18296
0a57b83e
AO
18297 * manual/macros.texi: Introduce macros to document multi
18298 thread, asynchronous signal and asynchronous cancellation
18299 safety properties.
18300 * manual/intro.texi: Introduce the properties themselves.
18301
feab2397
KK
183022014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18303
18304 * sysdeps/sh/sh4/Makefile: New file.
18305
1c0d11bc
AS
183062014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18307
18308 * math/gen-libm-test.pl ($srcdir): New variable.
18309 ($auto_input): Use it.
18310
af37a8a3
SP
183112014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18312
d7b00f98
SP
18313 [BZ #16506]
18314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18315 access beyond array bounds when parsing netgroups file.
18316
af37a8a3
SP
18317 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18318 the old buffer before realloc.
18319
0c00f062
AM
183202014-01-27 Allan McRae <allan@archlinux.org>
18321
18322 * po/fr.po: Update French translation from translation project.
18323
7d69a1b0
KK
183242014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18325
18326 * sysdeps/sh/libm-test-ulps: Regenerate.
18327
6e697ff7
DM
183282014-01-24 David S. Miller <davem@davemloft.net>
18329
18330 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18331
9cadb35c
KK
183322014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18333
18334 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18335 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18336
5d41dadf
SP
183372013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18338
18339 [BZ #16474]
18340 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18341 string pointers after reallocation.
18342
0bad441c
KK
183432014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18344
18345 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18346 __SH4A__ instead of __SH_FPU_ANY__.
18347
7007c661
KK
183482014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18349
18350 * sysdeps/sh/fpu_control.h: New file.
18351 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18352 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18353 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18354 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18355 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18356 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18357 * sysdeps/sh/sys/ucontext.h: Remove.
18358 * sysdeps/sh/sys: Remove directory.
18359
0f0c35e4
AK
183602014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18361
18362 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18363 s390/sys/ucontext.h.
18364 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18365 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18366
4959e284
L
183672014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18368
18369 [BZ #15605]
18370 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18371
d98720e0
AZ
183722014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18373
18374 [BZ#16431]
18375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18376 Adjust the vDSO correctly for internal calls.
18377 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18378
91cbd0bc
AM
183792014-01-20 Allan McRae <allan@archlinux.org>
18380
18381 * po/ca.po: Update Catalan translation from translation project.
18382
7a02cfad
MF
183832014-01-16 Mike Frysinger <vapier@gentoo.org>
18384
18385 * sysdeps/s390/sotruss-lib.c: New file.
18386
736c304a
AZ
183872014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18388
18389 [BZ#16430]
6e077ee5 18390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18391 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18392 local calls issues by not having a PLT stub required for IFUNC calls.
18393 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18394
94d0cea0
JM
183952014-01-16 Joseph Myers <joseph@codesourcery.com>
18396
18397 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18398 * math/test-fpucw-static.c: Likewise.
18399
980cb518
SP
184002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18401
18402 [BZ #16453]
18403 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18404
2393fc01
AZ
184052014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18406
18407 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18408 implementation for powerpc.
18409
d359bcc2
OB
184102014-01-15 Ondřej Bílka <neleai@seznam.cz>
18411
18412 [BZ #14782]
18413 * sysdeps/posix/system.c (__libc_system): Do not enable
18414 asynchronous cancellation.
18415
7beb48cb
AK
184162014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18417
18418 [BZ #16427]
18419 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18420 handling only for numbers special also in the IEEE case.
18421
c20d5bf5
AK
184222014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18423
18424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18425
e83bd4ee
AM
184262014-01-11 Allan McRae <allan@archlinux.org>
18427
76d0ea69
AM
18428 * po/bg.po: Update Bulgarian translation from translation project.
18429
e83bd4ee
AM
18430 * po/de.po: Update German translation from translation project.
18431
bc2ba20a
RM
184322014-01-10 Roland McGrath <roland@hack.frob.com>
18433
18434 * sysdeps/generic/gcc-compat.h: New file.
18435
649ecea2
SP
184362014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18437
18438 * benchtests/asin-inputs: Correct slow inputs.
18439 * benchtests/acos-inputs: Likewise.
18440
1b19c006
AM
184412014-01-10 Allan McRae <allan@archlinux.org>
18442
a46dab08
AM
18443 * po:sv.po: Update Swedish translation from translation project.
18444
421df74a
AM
18445 * po/vi.po: Update Vietnamese translation from translation project.
18446
d61c51a7
AM
18447 * po/eo.po: Update Esperanto translation from translation project.
18448
0339a319
AM
18449 * po/cs.po: Update Czech translation from translation project.
18450
94ad3e99
AM
18451 * po/nl.po: Update Dutch translation from translation project.
18452
e349ca71
AM
18453 * po/pl.po: Update Polish translation from translation project.
18454
ddf930c1
AM
18455 * po/ru.po: Update Russian translation from translation project.
18456
1b19c006
AM
18457 * po/uk.po: Update Ukrainian translation from translation project.
18458
9f236c49
BM
184592014-01-08 Brooks Moses <bmoses@google.com>
18460
18461 * elf/dl-load.c: Fix comment typo.
18462
cd6701cf
CD
184632014-01-08 Carlos O'Donell <carlos@redhat.com>
18464
18465 * po/header.pot: Rename to...
18466 * po/pot.header: ... this.
18467 * po/Makefile: Use pot.header.
18468
66671c84
YK
184692014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18470 Maxim Kuvyrkov <maxim@kugelworks.com>
18471
18472 [BZ #16394]
cd6701cf
CD
18473 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18474 SRC and DEST against LEN.
66671c84 18475
38f34581
AZ
184762014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18477
18478 [BZ #16414]
18479 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18480 implementation.
18481 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18482
184832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18484
18485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18486
4c327f2a
JM
184872014-01-08 Joseph Myers <joseph@codesourcery.com>
18488
18489 [BZ #16408]
18490 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18491 for large positive arguments.
18492
b821f414
JM
184932014-01-07 Joseph Myers <joseph@codesourcery.com>
18494
1f0f2067
JM
18495 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18496
a5a326f6
JM
18497 * math/auto-libm-test-in: Mark various tests with
18498 xfail-rounding:ldbl-128ibm.
18499 * math/auto-libm-test-out: Regenerated.
18500
b821f414
JM
18501 [BZ #16407]
18502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18503 Increase overflow threshold.
18504
94c8a4bc
OB
185052014-01-07 Ondřej Bílka <neleai@seznam.cz>
18506
18507 [BZ #14286]
18508 * stdio-common/vfprintf.c: Check for integer overflow.
18509
87ded0c3
AK
185102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18511
18512 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18513 the first argument and return value of __tls_get_addr_internal.
18514
c5eebdd0
AK
185152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18516
18517 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18518 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18519
05d138ef
AK
185202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18521
18522 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18523 * sysdeps/s390/rtld-global-offsets.sym: New file.
18524 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18525 GLIBC_2.19 symbol.
18526 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18527 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18529 ... this.
18530 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18531 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18532 ... this.
18533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18534 Regenerate.
18535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18536 Regenerate.
18537 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18538 halfs of GPRs for high_gprs contexts.
18539 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18540 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18541 field.
18542 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18543 uc_flags field.
18544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18545 64 bit versions:
18546 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18547 for high GPRs (uc_high_gprs) and for future extensions
18548 (__reserved).
18549 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18550 for future extensions (__reserved).
18551 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18552 64 bit versions:
18553 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18554 SC_HIGHGPRS offset definition.
18555 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18556 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18557
93a45ff1
AK
18558 * Versions.def: Add GLIBC_2.19 for libpthread.
18559 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18560 siglongjmp for libpthread with GLIBC_2.19 symver.
18561 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18562 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18563 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18564 * sysdeps/s390/__longjmp.c: New file.
18565 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18566 * sysdeps/s390/longjmp.c: New file.
18567 * sysdeps/s390/setjmp.S: New file.
18568 * sysdeps/s390/sigjmp.S: New file.
18569 * sysdeps/s390/v1-longjmp.c: New file.
18570 * sysdeps/s390/v1-setjmp.h: New file.
18571 * sysdeps/s390/v1-sigjmp.c: New file.
18572 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18573 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18574 GLIBC_2.19 version.
18575 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18576 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18577 versioned symbols for ____longjmp_chk.
18578 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18579 Likewise.
18580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18581 Regenerate.
18582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18583 Regenerate.
18584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18585 Regenerate.
18586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18587 Regenerate.
18588 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18589 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18590 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18591 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18592 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18593 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18594 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18595 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18596 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18597 * sysdeps/s390/rtld-__longjmp.c: New file.
18598 * sysdeps/s390/rtld-setjmp.S: New file.
18599
eb3fc44b
JM
186002014-01-06 Joseph Myers <joseph@codesourcery.com>
18601
18602 [BZ #16400]
18603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18604 Return -__logl (x) for small positive arguments without evaluating
18605 a polynomial.
18606
9341dde4
MF
186072014-01-06 Mike Frysinger <vapier@gentoo.org>
18608
18609 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18610 Rename to ...
18611 (__ptrace_peeksiginfo_args): ... this.
18612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18613 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18615
4cff0293
AM
186162014-01-06 Allan McRae <allan@archlinux.org>
18617
18618 * inet/netinet/in.h: Fix typo in comment.
18619
75595dcf
AJ
186202014-01-05 Andreas Jaeger <aj@suse.de>
18621
18622 * sysdeps/i386/fpu/libm-test-ulps: Update.
18623
79c1e109
AM
186242014-01-05 Allan McRae <allan@archlinux.org>
18625
dd804818
AM
18626 * po/libc.pot: Regenerated.
18627
79c1e109
AM
18628 * malloc/memusagestat.c: Fix gettext call formatting.
18629
0c813d1f
SK
186302014-01-04 Sami Kerola <kerolasa@iki.fi>
18631
18632 * nscd/nscd.c: Improve usage() output.
18633
20f4a8d9
MF
186342014-01-04 Mike Frysinger <vapier@gentoo.org>
18635
18636 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18637 * sysdeps/unix/sysv/linux/configure: Regenerated.
18638 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18639 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18640
22562bb2
JM
186412014-01-03 Joseph Myers <joseph@codesourcery.com>
18642
18643 [BZ #16390]
18644 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18645 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18646
d7ad2d9b
AZ
186472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18648
18649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18650 extra tokens at end of #undef directive.
18651 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18654
7dd009d8
JM
186552014-01-03 Joseph Myers <joseph@codesourcery.com>
18656
24db925a
JM
18657 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18658
7dd009d8
JM
18659 * math/auto-libm-test-in: Mark various tests with
18660 xfail-rounding:ldbl-128ibm.
18661 * math/auto-libm-test-out: Regenerated.
18662
396e3ecf
JM
186632014-01-02 Joseph Myers <joseph@codesourcery.com>
18664
819e5d50
JM
18665 [BZ #16386]
18666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18667 numbers with subnormal high part when calculating exponent.
18668
90b6a1e5
JM
18669 [BZ #16385]
18670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18671 fabs.
18672
396e3ecf
JM
18673 [BZ #16384]
18674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18675 M_LN2l.
18676 (__ieee754_acoshl): Use __log1pl not __log1p.
18677
6c8dbf00
OB
186782013-01-02 Ondřej Bílka <neleai@seznam.cz>
18679
57f41c40
AS
18680 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18681 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18682 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18683 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18684 (reused_arena, arena_get2): Convert to GNU style.
18685 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18686 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18687 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18688 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18689 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18690 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18691 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18692 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18693 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18694 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18695 * malloc/malloc.h: Likewise.
57f41c40
AS
18696 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18697 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18698 * malloc/mcheck.h: Likewise.
57f41c40
AS
18699 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18700 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18701 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18702 * malloc/morecore.c (__default_morecore): Likewise.
18703 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18704 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18705 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18706 (print_and_abort): Likewise.
6c8dbf00
OB
18707 * malloc/obstack.h: Likewise.
18708 * malloc/set-freeres.c (__libc_freeres): Likewise.
18709 * malloc/tst-mallocstate.c (main): Likewise.
18710 * malloc/tst-mtrace.c (main): Likewise.
18711 * malloc/tst-realloc.c (do_test): Likewise.
18712
d4124212
SP
187132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18714
9a3c6a6f
SP
18715 [BZ #16366]
18716 * nscd/netgroupcache.c (do_notfound): New function.
18717 (addgetnetgrentX): Use it.
18718
d4124212
SP
18719 [BZ # 16365]
18720 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18721 NSS_STATUS_NOTFOUND.
18722
97b9a009
JM
187232014-01-01 Joseph Myers <joseph@codesourcery.com>
18724
18725 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18727
d4697bc9
AM
187282014-01-01 Allan McRae <allan@archlinux.org>
18729
ddb3687f
AM
18730 * scripts/update-copyrights: Update configure input file suffix.
18731
88726d48
AM
18732 * NEWS: Update copyright year.
18733 * catgets/gencat.c: Likewise.
18734 * csu/version.c: Likewise.
18735 * debug/catchsegv.sh: Likewise.
18736 * debug/pcprofiledump.c: Likewise.
18737 * debug/xtrace.sh: Likewise.
18738 * elf/ldconfig.c: Likewise.
18739 * elf/ldd.bash.in: Likewise.
18740 * elf/pldd.c: Likewise.
18741 * elf/sotruss.ksh: Likewise.
18742 * elf/sprof.c: Likewise.
18743 * iconv/iconv_prog.c: Likewise.
18744 * iconv/iconvconfig.c: Likewise.
18745 * locale/programs/locale.c: Likewise.
18746 * locale/programs/localedef.c: Likewise.
18747 * login/programs/pt_chown.c: Likewise.
18748 * malloc/memusage.sh: Likewise.
18749 * malloc/memusagestat.c: Likewise.
18750 * malloc/mtrace.pl: Likewise.
18751 * manual/libc.texinfo: Likewise.
18752 * nscd/nscd.c: Likewise.
18753 * nss/getent.c: Likewise.
18754 * nss/makedb.c: Likewise.
18755 * posix/getconf.c: Likewise.
18756 * scripts/test-installation.pl: Likewise.
18757
d4697bc9
AM
18758 * All files with FSF copyright notices: Update copyright dates
18759 using scripts/update-copyrights.
18760 * intl/plural.c: Regenerated.
18761 * locale/programs/charmap-kw.h: Likewise.
18762 * locale/programs/locfile-kw.h: Likewise.
18763
c8590f9d
MF
187642013-12-31 Mike Frysinger <vapier@gentoo.org>
18765
18766 * sysdeps/unix/sysv/linux/configure: Regenerated.
18767 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18768 the linux/fanotify.h header.
18769 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18770 HAVE_LINUX_FANOTIFY_H is defined.
18771
b19221b9
SP
187722013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18773
dd1d85e5
SP
18774 * benchtests/cos-inputs: New inputs.
18775 * benchtests/sin-inputs: Likewise.
18776
1acbb90f
SP
18777 * benchtests/atan-inputs: New inputs. Fix name of multiple
18778 precision fallback inputs.
18779
4c012ed3
SP
18780 * benchtests/atanh-inputs: New inputs.
18781 * benchtests/tanh-inputs: Likewise.
18782
eff98324
SP
18783 * benchtests/acosh-inputs: New inputs.
18784 * benchtests/asinh-inputs: Likewise.
18785
ce641152
SP
18786 * benchtests/cosh-inputs: New inputs.
18787 * benchtests/sinh-inputs: Likewise.
18788
b19221b9
SP
18789 * benchtests/acos-inputs: Add more inputs.
18790 * benchtests/asin-inputs: Likewise.
18791
030a4976 187922013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18793
030a4976 18794 [BZ #16375]
9dcc8f11
VS
18795 * manual/arith.texi: Fix spelling.
18796 * manual/charset.texi: Likewise.
18797 * manual/errno.texi: Likewise.
18798 * manual/filesys.texi: Likewise.
18799 * manual/lang.texi: Likewise.
18800 * manual/llio.texi: Likewise.
18801 * manual/locale.texi: Likewise.
18802 * manual/message.texi: Likewise.
18803 * manual/resource.texi: Likewise.
18804 * manual/search.texi: Likewise.
18805 * manual/setjmp.texi: Likewise.
18806 * manual/stdio.texi: Likewise.
18807 * manual/string.texi: Likewise.
18808 * manual/sysinfo.texi: Likewise.
18809 * manual/time.texi: Likewise.
18810
11520a57
CD
188112013-12-27 Carlos O'Donell <carlos@redhat.com>
18812
18813 * po/sl.po: New file.
18814
471103ae
MF
188152013-12-27 Mike Frysinger <vapier@gentoo.org>
18816
18817 * .gitignore: Add core/.gdbinit/.gdb_history.
18818
6c9642ed
AM
188192013-12-27 Allan McRae <allan@archlinux.org>
18820
18821 [BZ #16369]
18822 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18823 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18824
3f637079
BM
188252013-12-24 Brooks Moses <bmoses@google.com>
18826
18827 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18828 all compilers that claim C++98 compliance, not just GCC.
18829 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18830 Likewise.
18831
abc26e99
MK
188322013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18833
18834 * NEWS: Restore accidentally deleted bug-fix entries.
18835
362b47fe
MK
188362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18837 Ondřej Bílka <neleai@seznam.cz>
18838
18839 [BZ #15073]
18840 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18841 have_lock.
362b47fe 18842
b9bcbbcb
OB
188432013-12-23 Ondřej Bílka <neleai@seznam.cz>
18844
18845 [BZ #12986]
18846 * manual/stdio.texi (String Input Conversions): Clarify that character
18847 classes are not supported.
18848
fb55fcd2
AZ
188492013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18850
18851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18852
ef7344f0
JM
188532013-12-22 Joseph Myers <joseph@codesourcery.com>
18854
4f40e4b3
JM
18855 [BZ #16337]
18856 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18857 Calculate results for small negative arguments directly rather
18858 than using reflection formula with special underflow handling.
18859
ef7344f0
JM
18860 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18861 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18862 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18863 (fchflags): Likewise.
18864 (revoke): Likewise.
18865 (setlogin): Likewise.
18866 (sigaltstack): Likewise.
18867 (wait4): Likewise.
18868 (sigblock): Remove.
18869 (sigsetmask): Likewise.
18870 (wait3): Likewise.
18871 (waitpid): Likewise.
18872 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18873 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18874 file.
18875 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18876 * sysdeps/unix/bsd/Makefile: ... here.
18877 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18878 * sysdeps/unix/bsd/Versions: ... here.
18879 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18880 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18881 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18882 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18883 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18884 * sysdeps/unix/bsd/sigblock.c: ... here.
18885 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18886 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18887 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18888 * sysdeps/unix/bsd/sigvec.c: ... here.
18889 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18890 * sysdeps/unix/bsd/tcdrain.c: ... here.
18891 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18892 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18893 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18894 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18895 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18896 * sysdeps/unix/bsd/wait.c: ... here.
18897 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18898 * sysdeps/unix/bsd/wait3.c: ... here.
18899 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18900 * sysdeps/unix/bsd/waitpid.c: ... here.
18901
5b0626b9
JM
189022013-12-21 Joseph Myers <joseph@codesourcery.com>
18903
18904 [BZ #16356]
18905 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18906 round-to-nearest for [!USE_AS_EXPM1L].
18907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18908 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18909 more tests of exp and exp10. Expect some exp10 tests to miss
18910 exceptions or fail in directed rounding modes.
18911 * math/auto-libm-test-out: Regenerated.
18912 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18913 (exp10_test_tonearest): New function.
18914 (exp10_towardzero_test_data): New array.
18915 (exp10_test_towardzero): New function.
18916 (exp10_downward_test_data): New array.
18917 (exp10_test_downward): New function.
18918 (exp10_upward_test_data): New array.
18919 (exp10_test_upward): New function.
18920 (main): Call the new functions.
18921 * sysdeps/i386/fpu/libm-test-ulps: Update.
18922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18923
7fda5682
JM
189242013-12-20 Joseph Myers <joseph@codesourcery.com>
18925
31e3a405
JM
18926 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18927 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18928 * math/auto-libm-test-out: Regenerated.
18929 * math/libm-test.inc (acosh_test_data): Add more tests.
18930 (atanh_test_data): Likewise.
18931 (ceil_test_data): Likewise.
18932 (copysign_test_data): Likewise.
18933 * sysdeps/i386/fpu/libm-test-ulps: Update.
18934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18935
85bff96a
JM
18936 * timezone/checktab.awk: Update from tzcode 2013i.
18937 * timezone/private.h: Likewise.
18938 * timezone/scheck.c: Likewise.
18939 * timezone/tzfile.h: Likewise.
18940 * timezone/tzselect.ksh: Likewise.
18941 * timezone/zdump.c: Likewise.
18942 * timezone/zic.c: Likewise.
18943
b7867a3b
JM
18944 * math/auto-libm-test-in: Add tests of cpow.
18945 * math/auto-libm-test-out: Regenerated.
18946 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18947 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18948 mpc_cc_c.
18949 (func_calc_desc): Add mpc_cc_c union field.
18950 (test_functions): Add cpow.
18951 (special_fill_2pi): New function.
18952 (special_real_inputs): Add 2pi.
18953 (calc_generic_results): Handle mpc_cc_c.
18954 * sysdeps/i386/fpu/libm-test-ulps: Update.
18955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18956
7fda5682
JM
18957 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18958 csqrt, ctan and ctanh.
18959 * math/auto-libm-test-out: Regenerated.
18960 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18961 (TEST_COND_x86): Likewise.
18962 (ccos_test_data): Use AUTO_TESTS_c_c.
18963 (ccosh_test_data): Likewise.
18964 (cexp_test_data): Likewise.
18965 (clog_test_data): Likewise.
18966 (csqrt_test_data): Likewise.
18967 (ctan_test_data): Likewise.
18968 (ctan_tonearest_test_data): Likewise.
18969 (ctan_towardzero_test_data): Likewise.
18970 (ctan_downward_test_data): Likewise.
18971 (ctan_upward_test_data): Likewise.
18972 (ctanh_test_data): Likewise.
18973 (ctanh_tonearest_test_data): Likewise.
18974 (ctanh_towardzero_test_data): Likewise.
18975 (ctanh_downward_test_data): Likewise.
18976 (ctanh_upward_test_data): Likewise.
18977 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18978 mpc_c_c.
18979 (func_calc_desc): Add mpc_c_c union field.
18980 (FUNC_mpc_c_c): New macro.
18981 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18982 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18983 ctanh.
18984 (special_fill_min_subnorm_p120): New function.
18985 (special_real_inputs): Add min_subnorm_p120.
18986 (calc_generic_results): Handle mpc_c_c.
18987 * sysdeps/i386/fpu/libm-test-ulps: Update.
18988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18989
5ff8d60e
SP
189902013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18991
57f41c40
AS
18992 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18993 (do_sin_slow): New functions.
18994 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18995 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18996
84ba214c
SP
18997 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18998 Use M to change sign of result instead of X. Assume X is
18999 positive.
19000 (csloww1): Likewise.
19001 (__sin): Adjust.
19002 (__cos): Adjust.
19003
975195e4
SP
19004 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19005 arguments A and DA.
19006 (__sin): Adjust.
19007 (__cos): Likewise.
19008
5ff8d60e
SP
19009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19010 (__cos): Likewise.
19011 (sloww1): Don't adjust sign of DX.
19012 (csloww1): Likewise.
19013 (sloww2): Use X directly and don't adjust sign of DX.
19014 (csloww2): Likewise.
19015
eb983568
JM
190162013-12-19 Joseph Myers <joseph@codesourcery.com>
19017
64a17f1a
JM
19018 * math/auto-libm-test-in: Add tests of cabs and carg.
19019 * math/auto-libm-test-out: Regenerated.
19020 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19021 (carg_test_data): Likewise.
19022 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19023 mpc_c_f.
19024 (func_calc_desc): Add mpc_c_f union field.
19025 (test_functions): Add cabs and carg.
19026 (calc_generic_results): Handle mpc_c_f.
19027
eb983568
JM
19028 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19029 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19030 as a macro and a compat symbol.
19031 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19032 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19033 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19034 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19035 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19036 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19037 not use .hidden.
19038 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19039 Likewise.
19040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19041 Likewise.
19042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19043 Likewise.
19044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19045 Likewise.
19046 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19047 Likewise.
19048 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19049 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19050 from GLIBC_2.3.2.
19051
6eeb678a
AZ
190522013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19053
19054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19055
6f6fc482
JM
190562013-12-19 Joseph Myers <joseph@codesourcery.com>
19057
21fea2e2
JM
19058 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19059 trailing whitespace removed.
19060 * scripts/config.guess: Update to version 2013-11-29.
19061 * scripts/config.sub: Update to version 2013-10-01.
19062
6f6fc482
JM
19063 * math/auto-libm-test-in: Add tests of sincos.
19064 * math/auto-libm-test-out: Regenerated.
19065 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19066 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19067 mpfr_f_11.
19068 (func_calc_desc): Add mpfr_f_11 union field.
19069 (test_functions): Add sincos.
19070 (calc_generic_results): Handle mpfr_f_11.
19071 * sysdeps/i386/fpu/libm-test-ulps: Update.
19072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19073
83f5c32d
AS
190742013-12-19 Andreas Schwab <schwab@suse.de>
19075
19076 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19077 CALL_MCOUNT.
19078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19079 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19080 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19081
c688b419
JM
190822013-12-19 Joseph Myers <joseph@codesourcery.com>
19083
335ee092
JM
19084 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19085 * sysdeps/i386/fpu/libm-test-ulps: Update.
19086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19087
f88acd39
JM
19088 [BZ #16293]
19089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19090 round-to-nearest mode when using frndint.
19091 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19092 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19093 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19094 Likewise.
19095 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19096 sinh test to fail.
19097 * math/auto-libm-test-out: Regenerated.
19098 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19099 (TEST_COND_x86): Likewise.
19100 (expm1_tonearest_test_data): New array.
19101 (expm1_test_tonearest): New function.
19102 (expm1_towardzero_test_data): New array.
19103 (expm1_test_towardzero): New function.
19104 (expm1_downward_test_data): New array.
19105 (expm1_test_downward): New function.
19106 (expm1_upward_test_data): New array.
19107 (expm1_test_upward): New function.
19108 (main): Run the new test functions.
19109 * sysdeps/i386/fpu/libm-test-ulps: Update.
19110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19111
c688b419
JM
19112 * include/features.h: Update comment documenting feature test
19113 macros. Mention _DEFAULT_SOURCE in comment.
19114 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19115 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19116 _BSD_SOURCE and _SVID_SOURCE.
19117 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19118 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19119 !_SVID_SOURCE]: Likewise.
19120 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19121 (__USE_POSIX_IMPLICITLY): Define.
19122 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19123 (_POSIX_SOURCE): Undefine and redefine.
19124 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19125 (_POSIX_C_SOURCE): Likewise.
19126 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19127 (Feature Test Macros): Update documentation of default features.
19128
9f6e964c
RS
191292013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19130
19131 * benchtests/Makefile: Add bench-strtok.
19132 * benchtests/bench-strtok.c: New file: strtok benchtest.
19133
ee0a148a
AM
191342013-12-19 Allan McRae <allan@archlinux.org>
19135
19136 * manual/install.texi: Suppress menu for plain text output.
19137 * INSTALL: Regenerated.
19138
b9ab448f
BM
191392013-12-18 Brooks Moses <bmoses@google.com>
19140
19141 [BZ #15846]
19142 * misc/getauxval.c: Include errno.h.
19143 (__getauxval): Set errno to ENOENT if the requested type is not
19144 found.
19145 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19146 don't declare with __attribute_const__.
19147 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19148 * manual/startup.texi: Document that getauxval sets errno.
19149
23776487
JM
191502013-12-18 Joseph Myers <joseph@codesourcery.com>
19151
f889953b
JM
19152 * math/auto-libm-test-in: Add tests of jn and yn.
19153 * math/auto-libm-test-out: Regenerated.
19154 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19155 (yn_test_data): Likewise.
19156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19157 mpfr_if_f.
19158 (func_calc_desc): Add mpfr_if_f union field.
19159 (FUNC_mpfr_if_f): New macro.
19160 (test_functions): Add jn and yn.
19161 (calc_generic_results): Assert type of second input for
19162 mpfr_ff_f. Handle mpfr_if_f.
19163 (output_for_one_input_case): Disable all checking for arguments
19164 fitting floating-point types in case of an integer argument.
19165 * sysdeps/i386/fpu/libm-test-ulps: Update.
19166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167
23776487
JM
19168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19169 Don't expect fegetround reference in libm.so.
19170
cb756c6d
MS
191712013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19172
19173 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19174 $(config-cflags-nofma).
19175
2dec468f
JM
191762013-12-18 Joseph Myers <joseph@codesourcery.com>
19177
5953eb3a
JM
19178 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19179 * math/auto-libm-test-out: Regenerated.
19180
2dec468f
JM
19181 [BZ #16338]
19182 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19183 to determine exponent and adjust argument to have exponent of -1.
19184 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19185 log2.
19186 * math/auto-libm-test-out: Regenerated.
19187 * sysdeps/i386/fpu/libm-test-ulps: Update.
19188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19189
4d84e6ad
OB
191902013-12-18 Ondřej Bílka <neleai@seznam.cz>
19191
19192 * manual/probes.texi: Remove cases when per-thread arenas are
19193 disabled.
19194
1818483b
AS
191952013-12-18 Andreas Schwab <schwab@suse.de>
19196
19197 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19198 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19199 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19200 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19201 * sysdeps/i386/i686/multiarch/Makefile: Update.
19202 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19203
25de95bf
JM
192042013-12-17 Joseph Myers <joseph@codesourcery.com>
19205
19206 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19207 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19208
674762d9
PE
192092013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19210
ed27ed83 19211 [BZ #15968]
0748546f
PE
19212 Support TZ transition times < 00:00:00.
19213 This is needed for version-3 tz-format files; it supports time
19214 stamps past 2037 for America/Godthab (the only entry in the tz
19215 database for which this change is relevant).
19216 * manual/time.texi (TZ Variable): Document transition times
19217 from -167:59:59 through -00:00:01.
19218 * time/tzset.c (tz_rule): Time of day is now signed.
19219 (__tzset_parse_tz): Parse negative time of day.
19220
4480e934
PE
19221 Document TZ transition times >= 25:00:00.
19222 * manual/time.texi (TZ Variable): Document transition times from
19223 25:00:00 through 167:59:59. These are already supported, and this
19224 support will help with version-3 tz-format files.
19225
69947401
PE
19226 * manual/time.texi (TZ Variable): Modernize North America example
19227 to reflect current (i.e., 2007-and-later) daylight saving rules.
19228
674762d9
PE
19229 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19230
7011c262
JM
192312013-12-17 Joseph Myers <joseph@codesourcery.com>
19232
2fc6557e
JM
19233 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19234 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19235 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19237 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19238 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19239 * sysdeps/unix/bsd/clock.c: Likewise.
19240 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19241 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19242 * sysdeps/unix/bsd/init-posix.c: Likewise.
19243 * sysdeps/unix/bsd/poll.c: Likewise.
19244 * sysdeps/unix/bsd/ptsname.c: Likewise.
19245 * sysdeps/unix/bsd/seekdir.c: Likewise.
19246 * sysdeps/unix/bsd/setegid.c: Likewise.
19247 * sysdeps/unix/bsd/seteuid.c: Likewise.
19248 * sysdeps/unix/bsd/setgid.c: Likewise.
19249 * sysdeps/unix/bsd/setrgid.c: Likewise.
19250 * sysdeps/unix/bsd/setruid.c: Likewise.
19251 * sysdeps/unix/bsd/setsid.c: Likewise.
19252 * sysdeps/unix/bsd/setuid.c: Likewise.
19253 * sysdeps/unix/bsd/sigaction.c: Likewise.
19254 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19255 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19256 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19257 * sysdeps/unix/bsd/telldir.c: Likewise.
19258 * sysdeps/unix/bsd/times.c: Likewise.
19259 * sysdeps/unix/bsd/usleep.c: Likewise.
19260
029c7b25
JM
19261 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19262 ($(objpfx)libbsd-compat.a): Remove rule.
19263
7011c262
JM
19264 * include/features.h (__FAVOR_BSD): Do not define.
19265 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19266 features conflicting with POSIX.
19267 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19268 (_BSD_SOURCE): Remove description of not being a subset of other
19269 feature test macros.
19270 * manual/job.texi (getpgrp): Do not document BSD version.
19271 (getpgid): Do not document by reference to BSD getpgrp.
19272 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19273 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19274 * signal/signal.h [__FAVOR_BSD]: Likewise.
19275 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19276 instead of making contents conditional on [__FAVOR_BSD].
19277 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19278
affb6f78
AZ
192792013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19280
19281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19282
c88769dd
JM
192832013-12-17 Joseph Myers <joseph@codesourcery.com>
19284
6432a540
JM
19285 [BZ #16314]
19286 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19287 values below 2**-450, not 2**-500.
19288 * math/auto-libm-test-in: Don't allow spurious underflow from
19289 hypot.
19290 * math/auto-libm-test-out: Regenerated.
19291
c88769dd
JM
19292 [BZ #16316]
19293 [BZ #16330]
19294 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19295 values of ha and hb and sort them after adjusting subnormal
19296 arguments.
19297 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19298 Likewise.
19299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19300 values of ea and eb and sort them after adjusting subnormal
19301 arguments.
19302 * math/auto-libm-test-in: Do not expect some hypot tests of
19303 subnormals to fail. Add more hypot tests.
19304 * math/auto-libm-test-out: Regenerated.
19305
29618f6b
KK
193062013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19307
19308 [BZ #13304]
19309 * sysdeps/sh/s_fma.c: New file.
19310 * sysdeps/sh/s_fmaf.c: New file.
19311 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19312 version.
19313 * sysdeps/sh/Implies: Add sh/soft-fp.
19314
eacfdfbf
RM
193152013-12-16 Roland McGrath <roland@hack.frob.com>
19316
19317 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19318 level of indirection to members `objname', `errstring', `malloced'.
19319 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19320 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19321 it as the __longjmp argument (just pass 1 instead).
19322 (_dl_catch_error): Initialize C with argument pointers and address of
19323 volatile local ERRCODE rather than copying values out of C at return.
19324
ff362e5b
JM
193252013-12-16 Joseph Myers <joseph@codesourcery.com>
19326
19327 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19328 * math/auto-libm-test-out: Regenerated.
19329 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19330 (hypot_test_data): Likewise.
19331 (pow_test_data): Likewise.
19332 (pow_tonearest_test_data): Likewise.
19333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19334 mpfr_ff_f.
19335 (func_calc_desc): Add mpfr_ff_f union field.
19336 (FUNC_mpfr_ff_f): New macro.
19337 (test_functions): Add atan2, hypot and pow.
19338 (special_fill_min): New function.
19339 (special_fill_minus_min): Likewise.
19340 (special_fill_min_subnorm): Likewise.
19341 (special_fill_minus_min_subnorm): Likewise.
19342 (special_real_inputs): Add min, -min, min_subnorm and
19343 -min_subnorm.
19344 (calc_generic_results): Handle mpfr_ff_f.
19345 * sysdeps/i386/fpu/libm-test-ulps: Update.
19346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19347
5764c27f
WN
193482013-12-16 Will Newton <will.newton@linaro.org>
19349
19350 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19351 (Aligned Memory Blocks): Add documentation for aligned_alloc
19352 and suggest it as an alternative to posix_memalign.
19353 (Hooks for Malloc): Document __memalign_hook is also called
19354 for aligned_alloc. (Summary of Malloc): Add summary for
19355 aligned alloc. Document __memalign_hook is also called
19356 for aligned_alloc.
19357
0a096e44
WN
193582013-12-16 Will Newton <will.newton@linaro.org>
19359
19360 * manual/memory.texi (Malloc Examples): Clarify default
19361 alignment documentation. Suggest posix_memalign rather
19362 than memalign or valloc.
19363 (Aligned Memory Blocks): Remove suggestion to use memalign
19364 or valloc. Remove obsolete comment about BSD.
19365 Document memalign errno values and mark the function obsolete.
19366 Document posix_memalign returned error codes. Mark valloc
19367 as obsolete. (Hooks for Malloc): __memalign_hook is also
19368 called for posix_memalign and valloc.
19369 (Summary of Malloc): Add posix_memalign to function summary.
19370 __memalign_hook is also called for posix_memalign and valloc.
19371
8d561986
SP
193722013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19373
19374 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19375 TAYLOR_SIN.
19376 (__sin): Adjust.
19377 (__cos): Likewise.
19378 (sloww): Use mynumber union. Expand ternary operator into
19379 if-else statements.
19380 (cslow): use mynumber union.
19381
73616a74
AM
193822013-12-16 Allan McRae <allan@archlinux.org>
19383
9e8ac24b
AM
19384 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19385 * configure: Regenerated.
19386
6f8e37eb
AM
19387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19388
8894bad3
AM
19389 [BZ #14120]
19390 * configure.ac: Added --enable-maintainer-mode. Check for
19391 autoconf when enabled.
19392 * configure: Regenerated.
19393
73616a74
AM
19394 * nscd/nscd.service: New file.
19395 * nscd/nscd.tmpfiles: New file.
19396
584b18eb
OB
193972013-12-14 Ondřej Bílka <neleai@seznam.cz>
19398
19399 [BZ #12100]
19400 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19401 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19402 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19403 (strstr): Add __strstr_sse2_unaligned ifunc.
19404 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19405 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19406 (strcasestr): Remove __strcasestr_sse42 ifunc.
19407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19410
8a5c7897
KK
194112013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19412
19413 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19414 * sysdeps/sh/bits/fenv.h: ... here.
19415 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19416
fd712ef3
AZ
194172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19418
19419 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19420
42fcb46c
AZ
19421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19422 hypotf multiarch implementations.
19423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19426 multiarch hypot for PPC64.
19427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19430 multiarch hypotf for PPC64.
19431
83efded4
AZ
19432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19433 modff multiarch implementations.
19434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19437 multiarch modf for PPC64.
19438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19441 multiarch modff for PPC64.
19442
43e246d2
AZ
19443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19444 and logl multiarch implementations.
19445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19448 multiarch logb for PPC64.
19449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19452 multiarch logb for PPC64.
19453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19456 multiarch logb for PPC64.
19457
8fdad123
AZ
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19459 isinff multiarch implementation.
19460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19461 file.
19462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19464 multiarch isinf for PPC64.
19465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19466 file.
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19468 multiarch isinff for PPC64.
19469
1481d706
AZ
19470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19471 finitef multiarch implementation.
19472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19473 file.
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19476 multiarch finite for PPC64.
19477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19478 file.
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19480 multiarch finitef for PPC64.
19481
5ccd5fc8
AZ
19482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19483 lrint multiarch implementation.
19484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19485 file.
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19488 multiarch llrint for PPC64.
19489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19490 multiarch lrint for PPC64.
19491
2568f3fa
AZ
19492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19493 copysignf multiarch implementation.
19494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19495 file.
19496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19497 file.
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19499 multiarch copysign for PPC64.
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19501 multiarch copysignf for PPC64.
19502
1cb341fd
AZ
19503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19504 multiarch implementation.
19505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19506 file.
19507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19508 file.
19509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19510 file.
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19512 file.
19513 multiarch llround for PPC64.
19514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19515 multiarch trunc for PPC64.
19516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19517 multiarch truncf for PPC64.
19518
59a3e194
AZ
19519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19520 multiarch implementation.
19521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19522 file.
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19524 file.
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19526 file.
19527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19528 file.
19529 multiarch llround for PPC64.
19530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19531 multiarch round for PPC64.
19532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19533 multiarch roundf for PPC64.
19534
357fd3b4
AZ
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19536 multiarch implementation.
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19538 file.
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19540 file.
19541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19542 file.
19543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19544 file.
19545 multiarch llround for PPC64.
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19547 multiarch floor for PPC64.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19549 multiarch floorf for PPC64.
19550
96770f12
AZ
19551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19552 multiarch implementation.
19553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19554 file.
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19556 file.
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19558 file.
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19560 file.
19561 multiarch llround for PPC64.
19562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19563 multiarch ceil for PPC64.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19565 multiarch ceilf for PPC64.
19566
c3627f6e
AZ
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19568 multiarch implementation.
19569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19570 file.
19571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19572 file.
19573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19574 file.
19575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19576 multiarch llround for PPC64.
19577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19578 multiarch lround for PPC64.
19579
b2284ad7
AZ
19580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19581 multiarch implementation.
19582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19585 file.
19586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19589 multiarch isnan for PPC64.
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19591 multiarch isnanf for PPC64.
19592
69bbc63d
AZ
19593 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19594 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19595 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19596 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19597 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19599
c24517c9
AZ
19600 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19604
a52374e8
AZ
19605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19606 multiarch implementations.
19607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19608 (__libc_ifunc_impl_list): Likewise.
19609 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19610 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19612 multiarch stpcpy for PPC64.
19613
7f5ec113
AZ
19614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19615 multiarch implementations.
19616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19617 (__libc_ifunc_impl_list): Likewise.
19618 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19619 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19620 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19621 multiarch strcpy for PPC64.
19622
e28bcd42
AZ
19623 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19624 redefine function name.
19625 (_wordcopy_fwd_dest_aligned): Likewise.
19626 (_wordcopy_bwd_aligned): Likewise.
19627 (_wordcopy_bwd_dest_aligned): Likewise.
19628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19629 multiarch implementations.
19630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19631 (__libc_ifunc_impl_list): Likewise.
19632 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19633 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19634 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19636 multiarch wcscpy for PPC64.
19637
92cacfce
AZ
19638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19639 multiarch implementations.
19640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19641 (__libc_ifunc_impl_list): Likewise.
19642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19643 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19644 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19645 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19646 multiarch wcscpy for PPC64.
19647
7b714620
AZ
19648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19649 multiarch implementations.
19650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19651 (__libc_ifunc_impl_list): Likewise.
19652 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19653 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19654 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19655 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19656 multiarch wcsrchr for PPC64.
19657
16fd2ae3
AZ
19658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19659 multiarch implementations.
19660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19661 (__libc_ifunc_impl_list): Likewise.
19662 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19663 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19664 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19666 multiarch wcschr for PPC64.
19667
9ee2969b
AZ
19668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19669 multiarch implementations.
19670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19671 (__libc_ifunc_impl_list): Likewise.
19672 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19673 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19674 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19675 multiarch strchrnul for PPC64.
19676
372dc060
AZ
19677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19678 implementations.
19679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19680 (__libc_ifunc_impl_list): Likewise.
19681 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19682 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19683 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19684 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19685 strchr for PPC64.
19686
24c2c3b9
AZ
19687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19688 implementations.
19689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19690 (__libc_ifunc_impl_list): Likewise.
19691 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19692 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19693 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19694 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19695 strncmp for PPC64.
19696
1c92d9a0
AZ
19697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19698 multiarch implementations.
19699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19700 (__libc_ifunc_impl_list): Likewise.
19701 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19702 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19703 strncasecmp for PPC64.
19704 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19705 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19706 multiarch strncasecmp_l for PPC64.
19707
17de3ee3
AZ
19708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19709 multiarch implementations.
19710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19711 (__libc_ifunc_impl_list): Likewise.
19712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19714 multiarch strcasecmp for PPC64.
19715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19716 file.
19717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19718 multiarch strcasecmp_l for PPC64.
19719
62982bf9
AZ
19720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19721 implementations.
19722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19723 (__libc_ifunc_impl_list): Likewise.
19724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19725 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19726 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19727 strnlen for PPC64.
19728
a65f4904
AZ
19729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19730 implementations.
19731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19732 (__libc_ifunc_impl_list): Likewise.
19733 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19734 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19735 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19736 strlen for PPC64.
19737
1fd005ad
AZ
19738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19739 implementations.
19740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19741 (__libc_ifunc_impl_list): Likewise.
19742 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19743 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19744 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19745 rawmemrchr for PPC64.
19746
cd05ba91
AZ
19747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19748 implementation.
19749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19750 (__libc_ifunc_impl_list): Likewise.
19751 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19752 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19753 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19754 memrchr for PPC64.
19755
870f8676
AZ
19756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19757 implementation.
19758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19759 (__libc_ifunc_impl_list): Likewise.
19760 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19761 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19762 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19763 memchr for PPC64.
19764
f00be62b
AZ
19765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19766 implementation.
19767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19768 (__libc_ifunc_impl_list): Likewise.
19769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19770 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19771 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19772 mempcpy for PPC64.
19773
8a29a3d0
AZ
19774 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19775 avoid cretion of __bzero symbol.
19776 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19777 Likewise.
19778 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19779 Likewise.
19780 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19781 Likewise.
19782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19783 multiarch implementations.
19784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19785 (__libc_ifunc_impl_list): Likewise.
19786 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19787 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19788 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19789 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19790 bzero for PPC32.
19791 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19792 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19793 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19794 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19795 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19796 memset for PPC64.
19797 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19798
07253fcf
AZ
19799 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19801 implementations.
19802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19803 (__libc_ifunc_impl_list): Likewise.
19804 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19805 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19806 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19807 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19808 memcmp for PPC64.
19809
b5beafbc
AZ
19810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19811 multiarch for POWER/PPC64.
19812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19813 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19820 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19821 memcpy for PPC64.
19822
5e6a4d4b
AZ
19823 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19824 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19825 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19827 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19828 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19829 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19830 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19831 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19832 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19833 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19834 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19835 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19836 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19837 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19845
ddfab6dc
KK
198462013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19847
19848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19849
19b5525e
SP
198502013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19851
19852 * benchtests/Makefile (bench): Add exp2 and log2.
19853 (LDLIBS-bench-exp2): Add -lm.
19854 (LDLIBS-bench-log2): Likewise.
19855 * benchtests/exp2-inputs: New inputs file.
19856 * benchtests/log2-inputs: New inputs file.
19857 * benchtests/log-inputs: Add new inputs.
19858 * benchtests/tan-inputs: Likewise.
19859
196f7f5d
SP
198602013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19861
7a74607f
SP
19862 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19863 definition...
57f41c40
AS
19864 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19865 (csloww2): ... from here.
7a74607f 19866
196f7f5d
SP
19867 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19868 instead of structures.
19869 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19870 (POLYNOMIAL): Likewise.
19871 (TAYLOR_SLOW): Likewise.
19872 (__sin): Likewise.
19873 (__cos): Likewise.
19874 (slow1): Likewise.
19875 (slow2): Likewise.
19876 (sloww): Likewise.
19877 (sloww1); Likewise.
19878 (sloww2): Likewise.
19879 (bsloww1): Likewise.
19880 (bsloww2): Likewise.
19881 (cslow2): Likewise.
19882 (csloww): Likewise.
19883 (csloww1): Likewise.
19884 (csloww2): Likewise.
19885
0dfa665c
OB
198862013-12-10 Ondřej Bílka <neleai@seznam.cz>
19887
19888 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19889 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19890 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19891 * malloc/hooks.c (realloc_check): Likewise.
19892
5782a80f
OB
19893 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19894 * malloc/arena.c: Remove PER_THREAD conditional.
19895 [!PER_THREAD]: Remove code.
19896 (ptmalloc_unlock_all2): Likewise.
19897 (ptmalloc_init): Likewise.
19898 (_int_new_arena): Likewise.
19899 (arena_get2): Likewise.
19900 * malloc/hooks.c (__malloc_get_state): Likewise.
19901 (__malloc_set_state): Likewise.
19902 * malloc/malloc.c: Likewise.
19903 (struct malloc_state): Likewise.
19904 (struct malloc_par): Likewise.
19905 (__libc_realloc): Likewise.
19906 (__libc_mallopt): Likewise.
19907
aeb95445
AZ
199082013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19909
19910 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19911
e8349efd
OB
199122013-12-09 Ondřej Bílka <neleai@seznam.cz>
19913
19914 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19915 macro to a function. Check for zero perturb_byte.
19916 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19917
f3eeb3fc 19918 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19919 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19920 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19921 force_reg by atomic_forced_read.
19922 * malloc/arena.c (ptmalloc_init): Likewise.
19923 * malloc/hooks.c (top_check): Likewise.
19924
be2f9009
AZ
199252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19926
19927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19928
e7b914bd
MT
199292013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19930
19931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19932
9f0be4f8
JM
199332013-12-08 Joseph Myers <joseph@codesourcery.com>
19934
19935 * math/auto-libm-test-in: Add tests of lgamma.
19936 * math/auto-libm-test-out: Regenerated.
19937 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19938 (M_LOG_2_SQRT_PIl): Likewise.
19939 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19941 mpfr_f_f1.
19942 (func_calc_desc): Add mpfr_f_f1 union field.
19943 (ARGS1): New macro.
19944 (ARGS2): Likewise.
19945 (ARGS3): Likewise.
19946 (ARGS4): Likewise.
19947 (RET1): Likewise.
19948 (RET2): Likewise.
19949 (CALC): Likewise.
19950 (FUNC): Likewise.
19951 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19952 (test_functions): Add lgamma.
19953 (calc_generic_results): Handle mpfr_f_f1.
19954 * sysdeps/i386/fpu/libm-test-ulps: Update.
19955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19956
24eeafdb
AZ
199572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19958
19959 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19960 __mpn_add_n for PowerPC64/POWER7.
19961 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19962 __mpn_sub_n for PowerPC64/POWER7.
19963
4a2c0fd4
AZ
19964 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19965 __mpn_addmul_1 for PowerPC64.
19966 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19967 __mpn_submul_1 for PowerPC64.
19968 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19969 for PowerPC64.
19970 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19971 for PowerPC64.
19972
4b5b548c
FS
199732013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19974
19975 [BZ #15089]
19976 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19977
0a3ac0aa
AZ
199782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19979
19980 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19981
ccdc8438
AZ
19982 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19983 add multiarch folders.
19984 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19985 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19986 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19987 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19988 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19989 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19990 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19991 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19992 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19993 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19994 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20001
2e973d99
AZ
20002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20003 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20005 New file.
20006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20007 New file.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20009 multiarch __ieee754_hypot for PowerPC32.
20010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20011 New file.
20012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20013 New file.
20014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20015 multiarch __ieee754_hypotf for PowerPC32.
20016
2d9470b2
AZ
20017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20018 long_double_symbol only if __logbl is defined.
20019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20020 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20022 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20024 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20026 path for implementation.
20027 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20028 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20030 logb, and logbl multiarch implementations for PowerPC32.
20031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20032 file.
20033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20034 file.
20035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20036 multiarch logb for PowerPC32.
20037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20038 file.
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20040 file.
20041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20042 multiarch logbf for PowerPC32.
20043 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20045 file.
20046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20047 multiarch logbl implementation for PowerPC32.
20048
5212ffce
AZ
20049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20050 and modff multiarch implementations.
20051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20052 New file.
20053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20054 New file.
20055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20056 multiarch modf for PowerPC32.
20057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20058 New file.
20059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20060 New file.
20061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20062 multiarch modff for PowerPC32.
20063
79dccf31
AZ
20064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20065 and lrintf multiarch implementations.
20066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20067 New file.
20068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20069 New file.
20070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20071 multiarch lrint for PowerPC32.
20072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20073 file: multiarch lrintf for PowerPC32.
20074
deb66480
AZ
20075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20076 and lroundf multiarch implementations.
20077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20078 New file.
20079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20080 New file.
20081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20082 New file.
20083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20084 multiarch lround for PowerPC32.
20085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20086 file: multiarch lroundf for PowerPC32.
20087
264b036b
AZ
20088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20089 copysign and copysignf multiarch implementations.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20091 New file.
20092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20093 New file.
20094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20095 file: multiarch copysign for PowerPC32.
20096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20097 file: multiarch copysignf for PowerPC32.
20098
d47db6c9
AZ
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20100 and truncf multiarch implementations.
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20102 New file.
20103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20104 file.
20105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20106 multiarch trunc for PowerPC32.
20107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20108 New file.
20109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20110 New file.
20111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20112 multiarch truncf for PowerPC32.
20113
ddb60b5a
AZ
20114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20115 and roundf multiarch implementations.
20116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20117 New file.
20118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20119 file.
20120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20121 multiarch round for PowerPC32.
20122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20123 New file.
20124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20125 New file.
20126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20127 multiarch roundf for PowerPC32.
20128
bedcf49b
AZ
20129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20130 and floorf multiarch implementations.
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20132 New file.
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20134 file.
20135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20136 multiarch floor for PowerPC32.
20137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20138 New file.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20140 New file.
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20142 multiarch floorf for PowerPC32.
20143
35ae5b40
AZ
20144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20145 and ceilf multiarch implementations.
20146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20147 New file.
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20149 file.
20150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20151 multiarch ceil for PowerPC32.
20152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20153 New file.
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20155 file.
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20157 multiarch ceilf for PowerPC32.
20158
ae1a4cd9
AZ
20159 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20160 is defined.
20161 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20162 FINITEF is defined.
20163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20164 and finitef multiarch implementations.
20165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20166 New file.
20167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20168 file.
20169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20170 multiarch finite for PowerPC32.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20172 New file.
20173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20174 file: multiarch finitef for PowerPC32.
20175
64fffd65
AZ
20176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20177 and isinff multiarch implementations.
20178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20179 file.
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20181 file.
20182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20183 multiarch isinf for PowerPC32.
20184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20185 New file.
20186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20187 multiarch isinff for PowerPC32.
20188
8e4e7ba2
AZ
20189 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20190 alias when __isnan is defined.
20191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20192 and isnanf multiarch implementations.
20193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20194 file.
20195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20196 file.
20197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20198 file.
20199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20200 file.
20201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20202 multiarch isnan for PowerPC32.
20203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20204 New file.
20205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20206 New file.
20207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20208 multiarch isnanf for PowerPC32.
20209
ddba588e
AZ
20210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20211 and sqrtf multiarch implementations.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20213 file.
20214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20215 file.
20216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20217 multiarch sqrt for PowerPC32.
20218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20219 file.
20220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20221 file.
20222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20223 multiarch sqrtf for PowerPC32.
20224
0f96a2f0
AZ
20225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20226 and llroundf multiarch implementations.
20227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20228 New file.
20229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20230 New file.
20231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20232 New file.
20233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20234 file: multiarch llround for PowerPC32.
20235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20236 file: multiarch llroundf for PowerPC32.
20237
c9b5d79e
AZ
20238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20239 multiarch PowerPC32 fpu implementations.
20240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20241 New file.
20242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20243 New file.
20244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20245 multiarch llrint for PowerPC32.
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20247 New file.
20248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20249 New file.
20250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20251 file.
20252
9cbb3aab
AZ
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20254
ea5a72f8
AZ
20255 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20256 file.
20257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20258 file.
20259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20260 file.
20261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20262 multiarch wordcopy for PPC32.
20263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20264 wordcopy objects.
20265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20266 (__libc_ifunc_impl_list): Likewise.
20267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20268 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20269 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20270 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20272 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20273
93be09e7
AZ
20274 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20276 file.
20277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20278 file.
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20280 file.
20281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20282 multiarch wcscpy for PPC32.
20283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20284 multiarch objects.
20285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20286 (__libc_ifunc_impl_list): Likewise.
20287 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20288 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20289 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20290 sysdeps/powerpc/power6/wcscpy.c.
20291
bb04e529
AZ
20292 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20294 file.
20295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20296 file.
20297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20298 file.
20299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20300 multiarch wcsrchr for PPC32.
20301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20302 multiarch objects.
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20304 (__libc_ifunc_impl_list): Likewise.
20305 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20306 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20307 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20308 sysdeps/powerpc/power6/wcsrchr.c.
20309
05b5cd1c
AZ
20310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20311 file.
20312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20313 file.
20314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20316 multiarch wcschr for PPc32.
20317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20318 multiarch objects.
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20320 (__libc_ifunc_impl_list): Likewise.
20321 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20322 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20323 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20324 sysdeps/powerpc/power6/wcschr.c.
20325
ba964147
AZ
20326 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20327 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20328 file.
20329 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20330 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20331 file: multiarch strchr for PPC32.
20332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20333 multiarch objects.
20334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20335 (__libc_ifunc_impl_list): Likewise.
20336
31c81aaa
AZ
20337 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20338 name.
20339 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20340 file.
20341 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20342 file.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20344 multiarch strchrnul for PPC32.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20346 multiarch objects.
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20348 (__libc_ifunc_impl_list): Likewise.
20349
0d0607d9
AZ
20350 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20351 file.
20352 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20353 multiarch strncasecmp for PPC32.
20354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20355 file.
20356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20357 multiarch strncasecmp_l for PPC32.
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20359 strncasecmp multiarch objects.
20360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20361 (__libc_ifunc_impl_list): Likewise.
20362
4dfd5c86
AZ
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20364 file.
20365 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20366 multiarch strncasecmp for PPC32.
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20368 New file.
20369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20370 multiarch strcasecmp_l for PPC32.
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20372 multiarch objects.
20373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20374 (__libc_ifunc_impl_list): Likewise.
20375
a19e01a3
AZ
20376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20377 file.
20378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20379 file.
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20381 multiarch strncmp for PPC32.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20383 multiarch objects.
20384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20385 (__libc_ifunc_impl_list): Likewise.
20386
ae9cf7a2
AZ
20387 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20388 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20389 file.
20390 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20391 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20393 multiarch objects.
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20395 (__libc_ifunc_impl_list): Likewise.
20396
3148bb7d
AZ
20397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20398 file.
20399 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20400 file.
20401 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20403 multiarch objects.
20404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20405 (__libc_ifunc_impl_list): Likewise.
20406
7af8b946
AZ
20407 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20408 file.
20409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20410 file.
20411 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20412 multiarch rawmemchr for PPC32.
20413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20414 multiarch objects.
20415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20416 (__libc_ifunc_impl_list): Likewise.
20417
03a6aa6a
AZ
20418 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20419 file.
20420 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20421 file.
20422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20423 file: memrchr multiarch for PPC32.
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20425 multiarch objects.
20426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20427 (__libc_ifunc_impl_list): Likewise.
20428
1c62e6d9
AZ
20429 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20431 file.
20432 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20433 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20434 multiarch memchr for PPC32.
20435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20436 multiarch objects.
20437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20438 (__libc_ifunc_impl_list): Likewise.
20439
87da8bdb
AZ
20440 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20441 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20442 file.
20443 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20444 file.
20445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20446 file: multiarch mempcpy for PPC32.
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20448 multiarch objects.
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20450 (__libc_ifunc_impl_list): Likewise.
20451
20ed4714
AZ
20452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20454 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20455 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20456 multiarch bzero for PPC32.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20458 file.
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20460 file.
20461 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20462 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20463 file: multiarch memset for PPC32.
20464 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20466 memset multiarch objects.
20467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20468 (__libc_ifunc_impl_list): Likewise.
20469
ab3e3a46
AZ
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20471 file.
20472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20473 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20474 memcmp for PPC32.
20475 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20477 multiarch objects.
20478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20479 (__libc_ifunc_impl_list): Likewise.
20480
930de6f0
AZ
20481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20484 file.
20485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20486 file.
20487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20488 file.
20489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20490 multiarch memcpy for PPC32.
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20492 multiarch objects.
20493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20494 (__libc_ifunc_impl_list): Likewise.
20495
4c628e00
AZ
20496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20497 support multiarch for POWER/PPC32.
20498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20499 Likewise.
20500 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20502 Implies file to make multiarch folder appers before the fpu and
20503 default folder for power4 configuration.
20504
f4479220
SP
205052013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20506
20507 * scripts/bench.pl: Append volatile keyword to type.
20508
8517800f
KK
205092013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20510
20511 * sysdeps/sh/sotruss-lib.c: New file.
20512 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20513
180138f1
AZ
205142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20515
20516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20517
bbf37bdc
JM
205182013-12-05 Joseph Myers <joseph@codesourcery.com>
20519
e47cc4e0
JM
20520 [BZ #6810]
20521 * math/w_tgamma.c: Include <errno.h>.
20522 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20523 * math/w_tgammaf.c: Include <errno.h>.
20524 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20525 * math/w_tgammal.c: Include <errno.h>.
20526 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20527 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20528 underflow. Add more tgamma tests.
20529 * math/auto-libm-test-out: Regenerated.
20530 * sysdeps/i386/fpu/libm-test-ulps: Update.
20531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20532
bbf37bdc
JM
20533 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20534 sin, sinh, tan, tanh, tgamma, y0 and y1.
20535 * math/auto-libm-test-out: Regenerated.
20536 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20537 (TEST_COND_x86): Likewise.
20538 (M_E2l): Remove macro.
20539 (M_E3l): Likewise.
20540 (M_2_SQRT_PIl): Likewise.
20541 (M_SQRT_PIl): Likewise.
20542 (M_1_DIV_El): Likewise.
20543 (log_test_data): Use AUTO_TESTS_f_f.
20544 (log10_test_data): Likewise.
20545 (log1p_test_data): Likewise.
20546 (log2_test_data): Likewise.
20547 (sin_test_data): Likewise.
20548 (sin_tonearest_test_data): Likewise.
20549 (sin_towardzero_test_data): Likewise.
20550 (sin_downward_test_data): Likewise.
20551 (sin_upward_test_data): Likewise.
20552 (sinh_test_data): Likewise.
20553 (sinh_tonearest_test_data): Likewise.
20554 (sinh_towardzero_test_data): Likewise.
20555 (sinh_downward_test_data): Likewise.
20556 (sinh_upward_test_data): Likewise.
20557 (tan_test_data): Likewise.
20558 (tan_tonearest_test_data): Likewise.
20559 (tan_towardzero_test_data): Likewise.
20560 (tan_downward_test_data): Likewise.
20561 (tan_upward_test_data): Likewise.
20562 (tanh_test_data): Likewise.
20563 (tgamma_test_data): Likewise.
20564 (y0_test_data): Likewise.
20565 (y1_test_data): Likewise.
20566 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20567 (special_real_inputs): Add pi/4.
20568 * sysdeps/i386/fpu/libm-test-ulps: Update.
20569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20570
eb5ad6b9
AZ
205712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20572
20573 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20574 "longjmp_target" static probes.
20575 (__longjmp): Rename to __longjmp_symbol.
20576 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20577 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20578 on which longjmp to generate.
20579 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20581 probe.
20582 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20583 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20584 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20586 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20587 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20589 __longjmp_symbol based on which __longjmp to generate.
20590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20591 probe.
20592 (setjmp): Rename to setjmp_symbol.
20593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20594 (_setjmp): Rename to _setjmp_symbol.
20595 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20596 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20597 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20598 which setjmp to generate.
20599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20600 "longjmp_target" static probes.
20601
d136c6dc
SP
206022013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20603
9298ecba
SP
20604 * benchtests/README: Add note about output arguments.
20605 * benchtests/bench-sincos.c: Remove file.
20606 * benchtests/sincos-inputs: New file.
20607 * scripts/bench.pl: Identify output arguments and define
20608 static variables for them.
20609
232983e9
SP
20610 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20611
d136c6dc
SP
20612 [BZ #15941]
20613 * Makefile (INSTALL): Add install-plain.texi as the primary
20614 dependency.
20615 * manual/install-plain.texi: New file.
20616 * manual/install.texi: Include node directive only for
20617 non-plaintext output.
20618
699ff837
JM
206192013-12-04 Joseph Myers <joseph@codesourcery.com>
20620
ab07cea8
JM
20621 * stdlib/longlong.h: Update from GCC.
20622
699ff837
JM
20623 [BZ #6807]
20624 [BZ #15901]
20625 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20626 * math/w_j0f.c (y0f): Likewise.
20627 * math/w_j0l.c (__y0l): Likewise.
20628 * math/w_j1.c (y1): Likewise.
20629 * math/w_j1f.c (y1f): Likewise.
20630 * math/w_j1l.c (__y1l): Likewise
20631 * math/w_jn.c (yn): Likewise.
20632 * math/w_jnf.c (ynf): Likewise.
20633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20634 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20635 value for Bessel function domain errors outside _SVID_ mode.
20636 Adjust sign of return value for yn (negative integer, 0).
20637 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20638 by zero in return for negative x and set sign appropriately for
20639 negative n.
20640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20642 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20643 expectations in error cases.
20644 (y1_test_data): Likewise.
20645 (yn_test_data): Likewise.
20646 * sysdeps/i386/fpu/libm-test-ulps: Update.
20647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20648
5b118558
UW
206492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20650
20651 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20652 "64" to "64-v1". Add "64-v2".
20653 (abi-64-options): Rename to ...
20654 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20655 (abi-64-condition): Rename to ...
20656 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20657 (abi-64-ld-soname): Rename to ...
20658 (abi-64-v1-ld-soname): ... this.
20659 (abi-64-v2-options): Define.
20660 (abi-64-v2-condition): Likewise.
20661 (abi-64-v2-ld-soname): Likewise.
20662 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20663 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20667
61cd8fe4
UW
206682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20669 Alan Modra <amodra@gmail.com>
20670
20671 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20672 New versions for use with the ELFv2 ABI.
20673 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20674 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20675 declaration.
20676 (struct La_ppc64v2_retval): Likewise.
20677 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20678 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20679 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20680 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20681 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20683 Do not save or restore CR.
20684 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20685 (_dl_profile_resolve): Do no save or restore CR. Support extended
20686 return values for ELFv2 ABI. Fix location of FPR return registers.
20687 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20688 updated values for _CALL_ELF == 2.
20689 (La_regs, La_retval, int_retval): Likewise.
20690
8b8a692c
UW
206912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20692
20693 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20694 (FRAME_MIN_SIZE_PARM): Likewise.
20695 (FRAME_BACKCHAIN): Likewise.
20696 (FRAME_CR_SAVE): Likewise.
20697 (FRAME_LR_SAVE): Likewise.
20698 (FRAME_TOC_SAVE): Likewise.
20699 (FRAME_PARM_SAVE): Likewise.
20700 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20701 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20702 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20703 (call_mcount_parm_offset): New macro.
20704 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20705 (PROF): Use symbolic stack frame offsets.
20706 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20708 Redefine in terms of FRAME_MIN_SIZE.
20709 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20710 (_dl_profile_resolve): Likewise. Update comment.
20711 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20712 symbols stack frame offsets.
20713 (__sigsetjmp): Likewise.
20714 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20715 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20716 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20717 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20718
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20720 (FRAME_BACKCHAIN): Remove.
20721 (FRAME_CR_SAVE): Likewise.
20722 (FRAME_LR_SAVE): Likewise.
20723 (FRAME_COMPILER_DW): Likewise.
20724 (FRAME_LINKER_DW): Likewise.
20725 (FRAME_TOC_SAVE): Likewise.
20726 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20727 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20728 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20729 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20731 (CHECK_SP): Use symbolic stack frame offsets.
20732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20733 zone" instead of caller's parameter save area for temp storage.
20734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20735 Likewise. Also, use symbolic stack frame offsets.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20737 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20738 our own stack frame instead of the caller's.
20739 (__socket): Use symbolic stack frame offsets.
20740
122b66de
UW
207412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20742 Alan Modra <amodra@gmail.com>
20743
20744 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20745 Define.
57f41c40
AS
20746 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20747 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20748 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20749 New function.
20750 (elf_machine_fixup_plt): Call it.
20751 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20752 reloc arguments.
20753 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20755 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20756 r2 before calling target.
20757
696caf1d
UW
207582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20759 Alan Modra <amodra@gmail.com>
20760
20761 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20762 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20763 versions of macros to support ELFv2 ABI.
20764 (LOCALENTRY): New macro.
20765 (ENTRY, EALIGN): Use it.
20766 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20767 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20768 fall through into ENTRY entry point.
20769 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20770 Only define if _CALL_ELF != 2.
20771
20772 (elf_machine_matches_host): Verify ABI version matches.
20773 (RTLD_START): Use LOCALENTRY.
20774 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20775 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20776 (PLT_ENTRY_WORDS): New macro.
20777 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20778 (elf_machine_runtime_setup): Support ELFv2 ABI.
20779 (elf_machine_fixup_plt): Likewise.
20780 (elf_machine_plt_conflict): Likewise.
20781 (resolve_ifunc): Likewise.
20782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20784 Likewise.
20785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20786 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20788 (makecontext): Support ELFv2 ABI.
20789 * elf/elf.h (EF_PPC64_ABI): Define.
20790
d31beafa
UW
207912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20792
57f41c40
AS
20793 * sysdeps/powerpc/powerpc64/sysdep.h
20794 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20795 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20796 (ENTRY) [ASSEMBLER]: ... but instead here ...
20797 (EALIGN) [ASSEMBLER]: ... and here.
20798 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20799 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20800 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20801 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20802 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20803 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20804 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20805 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20807 Use PPC64_LOAD_FUNCPTR.
20808
b525166b
UW
20809 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20810
7ec07d9a
AM
208112013-12-04 Alan Modra <amodra@gmail.com>
20812
20813 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20814 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20815 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20816 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20817
20818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20819 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20820 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20821 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20822 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20823 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20824
5162e7dd
UW
208252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20826
20827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20828 (__makecontext): Fix incorrect CFI when backtracing out of
20829 context created via makecontext.
20830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20831 (__setcontext): Fix incorrect CFI during switch to new context.
20832 (__novec_setcontext): Likewise.
20833
19e3372b
OB
208342013-12-04 Ondřej Bílka <neleai@seznam.cz>
20835
20836 [BZ #4772]
20837 * time/strptime_l.c (__strptime_internal): Allow modifiers
20838 in strptime.
20839 * time/tst-strptime.c (day_tests): Add testcase.
20840
ecaf142d
SP
208412013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20842
20843 * scripts/bench.pl: Skip over blank lines.
20844
fbf964ae
PE
208452013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20846
20847 [BZ #926]
20848 * manual/time.texi (Calendar Time): Clarify what timezone functions
20849 use.
20850
fa60a674
AZ
208512013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20852
20853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20854
d674f0ef
OB
208552013-12-04 Ondřej Bílka <neleai@seznam.cz>
20856
20857 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20858 implementation.
20859 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20860 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20861 * debug/memset_chk.c (__memset_chk): Likewise.
20862 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20863 * debug/strncpy_chk.c: Likewise.
20864
17dea188
JM
208652013-12-03 Joseph Myers <joseph@codesourcery.com>
20866
749008ff
JM
20867 [BZ #15268]
20868 [BZ #15425]
20869 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20870 (__ieee754_exp): For possibly underflowing results, check size of
20871 result and force underflow exception if required.
20872 * math/auto-libm-test-in: Add more tests of exp.
20873 * math/auto-libm-test-out: Regenerated.
20874 * sysdeps/i386/fpu/libm-test-ulps: Update.
20875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20876
17dea188
JM
20877 [BZ #16283]
20878 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20879 * math/w_exp2f.c (__exp2f): Likewise.
20880 * math/w_exp2l.c (__exp2l): Likewise.
20881 * math/auto-libm-test-in: Do not allow missing errno on exp2
20882 underflow.
20883 * math/auto-libm-test-out: Regenerated.
20884
b20de2c3
OB
208852013-12-03 Ondřej Bílka <neleai@seznam.cz>
20886
20887 [BZ #16274]
20888 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20889 handle filename validation.
20890 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20891 (do_open): Delete.
20892
d8e2dbe3
JM
208932013-12-03 Joseph Myers <joseph@codesourcery.com>
20894
34e16df5
JM
20895 [BZ #6786]
20896 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20897 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20898 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20899 <float.h>.
20900 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20902 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20904 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20906 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20907 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20908 Add more erfc tests.
20909 * math/auto-libm-test-out: Regenerated.
20910 * sysdeps/i386/fpu/libm-test-ulps: Update.
20911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20912
d8e2dbe3
JM
20913 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20914 exp2, expm1, j0 and j1.
20915 * math/auto-libm-test-out: Regenerated.
20916 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20917 (erfc_test_data): Likewise.
20918 (exp_test_data): Likewise.
20919 (exp_tonearest_test_data): Likewise.
20920 (exp_towardzero_test_data): Likewise.
20921 (exp_downward_test_data): Likewise.
20922 (exp_upward_test_data): Likewise.
20923 (exp10_test_data): Likewise.
20924 (exp2_test_data): Likewise.
20925 (expm1_test_data): Likewise.
20926 (j0_test_data): Likewise.
20927 (j1_test_data): Likewise.
20928 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20929 (input_flag_type): Add flag_xfail_rounding.
20930 (input_flags): Add xfail-rounding.
20931 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20932 (output_for_one_input_case): Handle flag_xfail_rounding.
20933 * sysdeps/i386/fpu/libm-test-ulps: Update.
20934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20935
18d14251
AJ
209362013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20937
3d2e6075 20938 [BZ #16289]
18d14251
AJ
20939 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20940 division by 0.
20941
520d437b
SP
209422013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20943
20944 [BZ #16195]
20945 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20946 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20947 (STAP_PROBE0): New macro.
20948 (STAP_PROBE1): Likewise.
20949 (STAP_PROBE2): Likewise.
20950 (STAP_PROBE3): Likewise.
20951 (STAP_PROBE4): Likewise.
20952
416e0145
OB
209532013-12-02 Ondřej Bílka <neleai@seznam.cz>
20954
20955 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20956
9d17796a
SE
209572013-12-02 Steve Ellcey <sellcey@mips.com>
20958
20959 * benchtests/Makefile (bench): Add sqrt.
20960 (LDLIBS-bench-sqrt): New.
20961 * benchtests/sqrt-input: New.
20962
f524d6a8
PS
209632013-12-02 Pavel Simerda <psimerda@redhat.com>
20964
639a0ef8
PS
20965 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20966 (GAIH_EAI): Likewise.
20967 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20968 (gaih_inet): Likewise.
20969 (getaddrinfo): Don't use GAIH_EAI.
20970
f524d6a8
PS
20971 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20972 (struct gaih): Remove definition.
20973
df3aedaf
SP
209742013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20975
20976 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20977 Use HERRNOP directly.
20978
1ab19dec
AZ
209792013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20980
b42ad38d 20981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20982
176b0c79
JM
209832013-11-30 Joseph Myers <joseph@codesourcery.com>
20984
20985 * math/gen-auto-libm-tests.c (test_functions): Add more
20986 single-argument functions.
20987 (special_fill_pi_2): New function.
20988 (special_fill_minus_pi_2): Likewise.
20989 (special_fill_pi_6): Likewise.
20990 (special_fill_minus_pi_6): Likewise.
20991 (special_fill_pi_3): Likewise.
20992 (special_fill_2pi_3): Likewise.
20993 (special_fill_e): Likewise.
20994 (special_fill_1_e): Likewise.
20995 (special_fill_e_minus_1): Likewise.
20996 (special_real_inputs): Add more special inputs.
20997 (output_for_one_input_case): Do not require ERANGE on underflow to
20998 zero if round-to-nearest result does not underflow to zero, unless
20999 exact results required.
21000 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21001 atan, atanh, cbrt, cos and cosh.
21002 * math/auto-libm-test-out: Regenerated.
21003 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21004 (acos_tonearest_test_data): Likewise.
21005 (acos_towardzero_test_data): Likewise.
21006 (acos_downward_test_data): Likewise.
21007 (acos_upward_test_data): Likewise.
21008 (acosh_test_data): Likewise.
21009 (asin_test_data): Likewise.
21010 (asin_tonearest_test_data): Likewise.
21011 (asin_towardzero_test_data): Likewise.
21012 (asin_upward_test_data): Likewise.
21013 (asinh_test_data): Likewise.
21014 (atan_test_data): Likewise.
21015 (atanh_test_data): Likewise.
21016 (cbrt_test_data): Likewise.
21017 (cos_test_data): Likewise.
21018 (cos_tonearest_test_data): Likewise.
21019 (cos_towardzero_test_data): Likewise.
21020 (cos_downward_test_data): Likewise.
21021 (cos_upward_test_data): Likewise.
21022 (cosh_test_data): Likewise.
21023 (cosh_tonearest_test_data): Likewise.
21024 (cosh_towardzero_test_data): Likewise.
21025 (cosh_downward_test_data): Likewise.
21026 (cosh_upward_test_data): Likewise.
21027 * sysdeps/i386/fpu/libm-test-ulps: Update.
21028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21029
ffb536d0
JM
210302013-11-29 Joseph Myers <joseph@codesourcery.com>
21031
2a77a467
JM
21032 [BZ #6787]
21033 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21034 * math/w_exp10f.c (__exp10f): Likewise.
21035 * math/w_exp10l.c (__exp10l): Likewise.
21036 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21037 errno settings in existing tests.
21038
ea3bc4e8
JM
21039 [BZ #14032]
21040 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21041 precision control set to double precision.
21042 * sysdeps/i386/fpu/w_sqrt.c: New file.
21043 * math/auto-libm-test-in: Add more tests.
21044 * math/auto-libm-test-out: Update.
21045
0712c9d8
JM
21046 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21047 (sqrt_test_tonearest): New function.
21048 (sqrt_towardzero_test_data): New variable.
21049 (sqrt_test_towardzero): New function.
21050 (sqrt_downward_test_data): New variable.
21051 (sqrt_test_downward): New function.
21052 (sqrt_upward_test_data): New variable.
21053 (sqrt_test_upward): New function.
21054 (main): Call the new functions.
21055
ffb536d0
JM
21056 * math/gen-auto-libm-tests.c: New file.
21057 * math/auto-libm-test-in: Likewise.
21058 * math/auto-libm-test-out: New generated file.
21059 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21060 variables.
21061 (%beautify): Add generated representations of zero.
21062 (top level): Set $auto_input and call parse_auto_input.
21063 (beautify): Remove trailing "f" from hex float constants.
21064 (parse_args): Handle XFAIL_TEST.
21065 (convert_condition): New function.
21066 (or_value): Likewise.
21067 (or_cond_value): Likewise.
21068 (generate_testfile): Handle AUTO_TESTS_* lines.
21069 (parse_auto_input): New function.
21070 * math/libm-test.inc (XFAIL_TEST): New macro.
21071 (ERRNO_UNCHANGED): Update value.
21072 (ERRNO_EDOM): Likewise.
21073 (ERRNO_ERANGE): Likewise.
21074 (IGNORE_RESULT): Likewise.
21075 (TEST_COND_flt_32): New macro.
21076 (TEST_COND_dbl_64): Likewise.
21077 (TEST_COND_ldbl_96_intel): Likewise.
21078 (TEST_COND_ldbl_96_m68k): Likewise.
21079 (TEST_COND_ldbl_128): Likewise.
21080 (TEST_COND_ldbl_128ibm): Likewise.
21081 (TEST_COND_long32): Likewise.
21082 (TEST_COND_long64): Likewise.
21083 (TEST_COND_before_rounding): Likewise.
21084 (TEST_COND_after_rounding): Likewise.
21085 (enable_test): Handle XFAIL_TEST flag.
21086 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21087 with finite results.
21088 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21089 auto-libm-test-out.
21090
acd98a8e
AK
210912013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21092 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21093
21094 [BZ #16214]
21095 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21096 __tls_get_addr_internal instead of __tls_get_offset in order to
21097 avoid GOT pointer dependency. Make rtld export
21098 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21099 __tls_get_addr since we are a __tls_get_offset platform.
21100 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21101 GOT pointer being set up before.
21102 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21103
3c1c46a6
JM
211042013-11-28 Joseph Myers <joseph@codesourcery.com>
21105
7475aef5
JM
21106 * manual/math.texi (Errors in Math Functions): Document accuracy
21107 goals.
21108
8bca7cd8
JM
21109 [BZ #15004]
21110 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21111 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21112 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21113 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21114 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21115 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21116 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21126
91a1f3fe
JM
21127 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21128 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21129 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21130 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21131 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21132 Likewise.
21133 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21134 Likewise.
21135 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21136 Likewise.
21137 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21138 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21139 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21140 atomic-feupdateenv and flt-rounds.
21141 * sysdeps/powerpc/nofpu/Versions (libc): Add
21142 __atomic_feholdexcept, __atomic_feclearexcept,
21143 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21144 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21145 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21146 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21147 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21148 here.
21149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21150 Update.
21151
c5df7609
JM
21152 * manual/arith.texi (FP Exceptions): Document that exceptions may
21153 not be raised when matherr is used.
21154 (Math Error Reporting): Document overflow in directed rounding
21155 modes. Document that errno may not be set when finite values are
21156 returned on overflow. Document intent to set errno on underflow
21157 only for underflow to zero.
21158
3c1c46a6
JM
21159 [BZ #16271]
21160 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21161 round-to-nearest then adjust result for other rounding modes.
21162 * include/fenv.h (fegetround): Use libm_hidden_proto.
21163 * math/fegetround.c (fegetround): Use libm_hidden_def.
21164 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21165 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21166 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21167 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21168 Likewise.
21169 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21170 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21171 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21172 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21173
5a4c6d53
SP
211742013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21175
21176 [BZ #16077]
21177 * nss/Versions (libnss_files): Add
21178 _nss_files_gethostbyname3_r.
21179 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21180 New function.
21181 (HOST_DB_LOOKUP): Remove macro.
21182 (_nss_files_gethostbyname_r): Implement function without the
21183 HOST_DB_LOOKUP macro.
21184 (_nss_files_gethostbyname2_r): Likewise.
21185
897b98ba
OB
211862013-11-28 Ondřej Bílka <neleai@seznam.cz>
21187
21188 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21189
6f476861
UB
211902013-11-26 Uros Bizjak <ubizjak@gmail.com>
21191
21192 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21193 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21194 warning.
21195
bd12ab55
AZ
211962013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21197
21198 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21199 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21200 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21201 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21202 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21203 __fe_nomask_env_priv and attribute_hidden.
21204 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21205 (libc_feupdateenv_test_ppc): Likewise.
21206 (libc_feresetround_ppc): Likewise.
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21208 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21209 compat_symbol macro.
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21211 (__fe_nomask_env): Likewise.
21212 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21213
52bb6543
OB
212142013-11-26 Ondřej Bílka <neleai@seznam.cz>
21215
21216 * string/Makefile: Remove ifunc tests.
21217 * string/test-string.h: Define TEST_IFUNC.
21218 * string/test-bcopy-ifunc.c: Remove.
21219 * string/test-bzero-ifunc.c: Likewise.
21220 * string/test-memccpy-ifunc.c: Likewise.
21221 * string/test-memchr-ifunc.c: Likewise.
21222 * string/test-memcmp-ifunc.c: Likewise.
21223 * string/test-memcpy-ifunc.c: Likewise.
21224 * string/test-memmem-ifunc.c: Likewise.
21225 * string/test-memmove-ifunc.c: Likewise.
21226 * string/test-mempcpy-ifunc.c: Likewise.
21227 * string/test-memrchr-ifunc.c: Likewise.
21228 * string/test-memset-ifunc.c: Likewise.
21229 * string/test-rawmemchr-ifunc.c: Likewise.
21230 * string/test-stpcpy-ifunc.c: Likewise.
21231 * string/test-stpncpy-ifunc.c: Likewise.
21232 * string/test-strcasecmp-ifunc.c: Likewise.
21233 * string/test-strcasestr-ifunc.c: Likewise.
21234 * string/test-strcat-ifunc.c: Likewise.
21235 * string/test-strchr-ifunc.c: Likewise.
21236 * string/test-strchrnul-ifunc.c: Likewise.
21237 * string/test-strcmp-ifunc.c: Likewise.
21238 * string/test-strcpy-ifunc.c: Likewise.
21239 * string/test-strcspn-ifunc.c: Likewise.
21240 * string/test-strlen-ifunc.c: Likewise.
21241 * string/test-strncasecmp-ifunc.c: Likewise.
21242 * string/test-strncat-ifunc.c: Likewise.
21243 * string/test-strncmp-ifunc.c: Likewise.
21244 * string/test-strncpy-ifunc.c: Likewise.
21245 * string/test-strnlen-ifunc.c: Likewise.
21246 * string/test-strpbrk-ifunc.c: Likewise.
21247 * string/test-strrchr-ifunc.c: Likewise.
21248 * string/test-strspn-ifunc.c: Likewise.
21249 * string/test-strstr-ifunc.c: Likewise.
21250
ab260039 212512013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21252
21253 * benchtests/Makefile: Remove ifunc tests.
21254 * benchtests/bench-string.h: Define TEST_IFUNC.
21255 * benchtests/bench-bcopy-ifunc.c: Remove.
21256 * benchtests/bench-bzero-ifunc.c: Likewise.
21257 * benchtests/bench-memccpy-ifunc.c: Likewise.
21258 * benchtests/bench-memchr-ifunc.c: Likewise.
21259 * benchtests/bench-memcmp-ifunc.c: Likewise.
21260 * benchtests/bench-memcpy-ifunc.c: Likewise.
21261 * benchtests/bench-memmem-ifunc.c: Likewise.
21262 * benchtests/bench-memmove-ifunc.c: Likewise.
21263 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21264 * benchtests/bench-memrchr-ifunc.c: Likewise.
21265 * benchtests/bench-memset-ifunc.c: Likewise.
21266 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21267 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21268 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21269 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21270 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21271 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21272 * benchtests/bench-strcat-ifunc.c: Likewise.
21273 * benchtests/bench-strchr-ifunc.c: Likewise.
21274 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21275 * benchtests/bench-strcmp-ifunc.c: Likewise.
21276 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21277 * benchtests/bench-strcpy-ifunc.c: Likewise.
21278 * benchtests/bench-strcspn-ifunc.c: Likewise.
21279 * benchtests/bench-strlen-ifunc.c: Likewise.
21280 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21281 * benchtests/bench-strncat-ifunc.c: Likewise.
21282 * benchtests/bench-strncmp-ifunc.c: Likewise.
21283 * benchtests/bench-strncpy-ifunc.c: Likewise.
21284 * benchtests/bench-strnlen-ifunc.c: Likewise.
21285 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21286 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21287 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21288 * benchtests/bench-strspn-ifunc.c: Likewise.
21289 * benchtests/bench-strstr-ifunc.c: Likewise.
21290
212912013-11-26 Ondřej Bílka <neleai@seznam.cz>
21292
ab260039
OB
21293 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21294
d1d9eaf4 212952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21296
d1d9eaf4
OB
21297 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21298 * rt/aio.h: Likewise.
21299 * sysdeps/gnu/bits/utmp.h: Likewise.
21300 * sysdeps/gnu/bits/utmpx.h: Likewise.
21301 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21302 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21303 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21304 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21305 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21306 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21307 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21308 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21309 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21310 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21311 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21312 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21313 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21315 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21316 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21317 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21318 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21319 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21320 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21321 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21322 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21323 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21324 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21325 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21327 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21328 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21329 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21330 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21332 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21333 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21334 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21335 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21336 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21337 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21338 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21339 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21340 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21341 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21342 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21343
a7624ed9
CD
213442013-11-25 Carlos O'Donell <carlos@redhat.com>
21345
21346 [BZ #16245]
21347 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21348 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21349
63cfe52b
JM
213502013-11-25 Joseph Myers <joseph@codesourcery.com>
21351
21352 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21353 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21354 Likewise.
21355
41e8926a
AZ
213562013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21357
21358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21359 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21360 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21361 (__fesetround): Remove define.
21362 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21363 rounding and exceptions handling.
21364 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21365 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21366 (__fe_nomask_env): Likewise.
21367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21368 __fegetround instead of fegetround.
21369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21370 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21371
6851bd4d
RM
213722013-11-21 Roland McGrath <roland@hack.frob.com>
21373
070906ff
RM
21374 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21375 it's there.
21376
6851bd4d
RM
21377 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21378
84ae135d
MI
213792013-11-21 Meador Inge <meadori@codesourcery.com>
21380
21381 [BZ #11157]
21382 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21383 (encrypt_r): Likewise.
21384 * malloc/obstack.h (obstack_free): Likewise.
21385 * posix/unistd.h (encrypt): Likewise.
21386
daf75146
GM
213872013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21388
21389 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21390 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21391 DL_CALL_DT_FINI() that call the functions directly.
21392 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21393 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21394 * elf/dl-fini.c: Likewise.
21395
10ad46bc
OB
213962013-11-20 Ondřej Bílka <neleai@seznam.cz>
21397
21398 * malloc/hooks.c (memalign_check): Add alignment rounding.
21399 * malloc/malloc.c (_mid_memalign): New function.
21400 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21401 Implement by calling _mid_memalign.
21402 * manual/probes.texi (Memory Allocation Probes): Remove
21403 memory_valloc_retry and memory_pvalloc_retry.
21404
f3fd2628
SP
214052013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21406
4712799f
SP
21407 * locale/programs/locarchive.c (open_archive): Add const
21408 qualifier to ARCHIVEFNAME and copy default fname to
21409 DEFAULT_FNAME.
21410
0417b20f
SP
21411 [BZ #15601]
21412 * libio/tst-widetext.input: Rename Oriya to Odia.
21413 * locale/iso-639.def: Likewise.
21414
f3fd2628
SP
21415 * manual/probes.texi (Mathematical Function Probes): Add
21416 documentation for sin, cos, asin and acos probes.
21417 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21418 (__sin32): Add slowasin probe.
21419 (__cos32): Add slowacos probe.
21420 (__mpsin): Add slowsin probe.
21421 (__mpcos): Add slowcos probe.
21422
73c1ce4f
JM
214232013-11-19 Joseph Myers <joseph@codesourcery.com>
21424
21425 [BZ #15483]
21426 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21427 thread-local __sim_exceptions_thread and global
21428 __sim_exceptions_global.
21429 (__sim_disabled_exceptions): Change to thread-local
21430 __sim_disabled_exceptions_thread and global
21431 __sim_disabled_exceptions_global.
21432 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21433 and global __sim_round_mode_global.
21434 (__simulate_exceptions): Use thread-local floating-point state and
21435 set global state from it as needed.
21436 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21437 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21438 __sim_round_mode_thread.
21439 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21440 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21441 and global __sim_exceptions_global.
21442 (__sim_disabled_exceptions): Change to thread-local
21443 __sim_disabled_exceptions_thread and global
21444 __sim_disabled_exceptions_global.
21445 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21446 and global __sim_round_mode_global.
21447 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21448 (SIM_SET_GLOBAL): Likewise.
21449 * sysdeps/powerpc/soft-fp/sfp-machine.h
21450 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21451 __sim_round_mode_thread.
21452 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21453 __sim_disabled_exceptions_thread.
21454 (__sim_exceptions): Change to __sim_exceptions_thread.
21455 (__sim_disabled_exceptions): Change to
21456 __sim_disabled_exceptions_thread.
21457 (__sim_round_mode): Change to __sim_round_mode_thread.
21458 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21459 thread-local floating-point state and set global state from it as
21460 needed.
21461 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21462 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21463 (__sim_disabled_exceptions): Remove extern declaration.
21464 (feenableexcept): Use thread-local floating-point state and set
21465 global state from it as needed.
21466 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21467 extern declaration.
21468 (__sim_disabled_exceptions): Likewise.
21469 (__sim_round_mode): Likewise.
21470 (__fegetenv): Use thread-local floating-point state.
21471 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21472 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21473 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21474 floating-point state and set global state from it as needed.
21475 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21476 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21477 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21478 Likewise.
21479 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21480 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21481 Likewise.
21482 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21483 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21484 Use __sim_round_mode_thread.
21485 * math/test-fenv-tls.c: New file.
21486 * math/Makefile (tests): Add test-fenv-tls.
21487 ($(objpfx)test-fenv-tls): Depend on
21488 $(common-objpfx)nptl/libpthread.so.
21489
b5449b12
AS
214902013-11-19 Andreas Schwab <schwab@suse.de>
21491
21492 * locale/programs/locale.c (show_info): Decode wordarray elements.
21493 * locale/categories.def (LC_MONETARY): Add element for
21494 _NL_MONETARY_CRNCYSTR.
21495 * locale/C-monetary.c (conversion_rate): New variable.
21496 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21497 element.
21498
e186536b
CM
214992013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21500
21501 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21502 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21503
5c349950
PP
215042013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21505
21506 * elf/Makefile (tst-auxv): New test.
21507 * elf/tst-auxv.c: New
21508 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21509
699df45b
JM
215102013-11-18 Joseph Myers <joseph@codesourcery.com>
21511
21512 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21513 (hidden_proto): Caller changed.
21514 (hidden_tls_proto): New macro.
21515 (libc_hidden_tls_proto): Likewise.
21516 (rtld_hidden_tls_proto): Likewise.
21517 (libm_hidden_tls_proto): Likewise.
21518 (libresolv_hidden_tls_proto): Likewise.
21519 (librt_hidden_tls_proto): Likewise.
21520 (libdl_hidden_tls_proto): Likewise.
21521 (libnss_files_hidden_tls_proto): Likewise.
21522 (libnsl_hidden_tls_proto): Likewise.
21523 (libnss_nisplus_hidden_tls_proto): Likewise.
21524 (libutil_hidden_tls_proto): Likewise.
21525
b7589107
OB
215262013-11-18 Ondřej Bílka <neleai@seznam.cz>
21527
21528 [BZ #10253]
21529 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21530 (decompose_rpath): Defer expansion to fillin_rpath.
21531 (_dl_init_paths): Pass linkmap to fillin_rpath.
21532
250c23bd
RS
215332013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21534
21535 * benchtests/Makefile: Add strsep.
21536 * benchtests/bench-strsep.c: New file: strsep benchtest.
21537 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21538
a7931fcf
AS
215392013-11-18 Andreas Schwab <schwab@suse.de>
21540
21541 * locale/programs/locale.c (show_info) [case byte]: Check for
21542 '\377' instead of '\177'.
21543 * locale/C-monetary.c (not_available): Always use "\377".
21544 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21545 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21546 detect unavailable sign_posn locale elements.
21547 * locale/localeconv.c (__localeconv): For grouping and
21548 mon_grouping handle "\177" and "\377" like no grouping.
21549 (INT_ELEM): New macro. Use it to set all numeric members.
21550 * locale/programs/ld-monetary.c (monetary_read)
21551 <tok_mon_grouping>: Normalize single -1 to the empty string.
21552 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21553 Likewise.
21554
728dab0e
OB
215552013-11-07 Ondřej Bílka <neleai@seznam.cz>
21556
21557 [BZ #16055]
21558 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21559 when we match (nil).
21560 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21561
66294491
JM
215622013-11-16 Joseph Myers <joseph@codesourcery.com>
21563
ce665817
JM
21564 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21565 (NO_TEST_INLINE): Update value.
21566 (ERRNO_UNCHANGED): Likewise.
21567 (ERRNO_EDOM): Likewise.
21568 (ERRNO_ERANGE): Likewise.
21569 (IGNORE_RESULT): Likewise.
21570 (check_float_internal): Check signs of NaN results if
21571 TEST_NAN_SIGN used.
21572 (check_complex): Pass TEST_NAN_SIGN flag through to second
21573 check_float_internal call.
21574 (copysign_test_data): Add tests with quiet NaNs as second
21575 argument. Use TEST_NAN_SIGN.
21576 (fabs_test_data): Add test of negative quiet NaN argument. Use
21577 TEST_NAN_SIGN.
21578 (signbit_test_data): Add tests of quiet NaN argument.
21579 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21580
ee1466a9
JM
21581 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21582 $ignore_result.
21583 (parse_args): Handle function results specified as IGNORE.
21584 * math/libm-test.inc (IGNORE_RESULT): New macro.
21585 (check_float_internal): Do not check numerical result if flag
21586 IGNORE_RESULT set.
21587 (check_complex): Pass through IGNORE_RESULT to second
21588 check_float_internal call.
21589 (check_int): Do not check numerical result if flag IGNORE_RESULT
21590 set.
21591 (check_long): Likewise.
21592 (check_bool): Likewise.
21593 (check_longlong): Likewise.
21594 (lrint_test_data): Add tests of infinite and NaN arguments.
21595 (lrint_tonearest_test_data): Likewise.
21596 (lrint_towardzero_test_data): Likewise.
21597 (lrint_downward_test_data): Likewise.
21598 (lrint_upward_test_data): Likewise.
21599 (llrint_test_data): Likewise.
21600 (llrint_tonearest_test_data): Likewise.
21601 (llrint_towardzero_test_data): Likewise.
21602 (llrint_downward_test_data): Likewise.
21603 (llrint_upward_test_data): Likewise.
21604 (lround_test_data): Likewise.
21605 (llround_test_data): Likewise.
21606
14407b7e
JM
21607 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21608 (ERRNO_UNCHANGED): Update value.
21609 (ERRNO_EDOM): Likewise.
21610 (ERRNO_ERANGE): Likewise.
21611 (NO_TEST_INLINE_FLOAT): New macro.
21612 (NO_TEST_INLINE_DOUBLE): Likewise.
21613 (enable_test): New function.
21614 (RUN_TEST_f_f): Check enable_test before running test.
21615 (RUN_TEST_2_f): Likewise.
21616 (RUN_TEST_fff_f): Likewise.
21617 (RUN_TEST_c_f): Likewise.
21618 (RUN_TEST_f_f1): Likewise.
21619 (RUN_TEST_fF_f1): Likewise.
21620 (RUN_TEST_fI_f1): Likewise.
21621 (RUN_TEST_ffI_f1): Likewise.
21622 (RUN_TEST_c_c): Likewise.
21623 (RUN_TEST_cc_c): Likewise.
21624 (RUN_TEST_f_i): Likewise.
21625 (RUN_TEST_f_i_tg): Likewise.
21626 (RUN_TEST_ff_i_tg): Likewise.
21627 (RUN_TEST_f_b): Likewise.
21628 (RUN_TEST_f_b_tg): Likewise.
21629 (RUN_TEST_f_l): Likewise.
21630 (RUN_TEST_f_L): Likewise.
21631 (RUN_TEST_fFF_11): Likewise.
21632 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21633 conditionals.
21634 (cosh_test_data): Likewise.
21635 (exp_test_data): Likewise.
21636 (expm1_test_data): Likewise.
21637 (hypot_test_data): Likewise.
21638 (pow_test_data): Likewise.
21639 (sinh_test_data): Likewise.
21640 (tanh_test_data): Likewise.
21641 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21642 flags argument.
21643
ca07f197
JM
21644 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21645 tests with quiet NaN input and output.
21646 (acosh_test_data): Likewise.
21647 (asin_test_data): Likewise.
21648 (asinh_test_data): Likewise.
21649 (atan_test_data): Likewise.
21650 (atanh_test_data): Likewise.
21651 (atan2_test_data): Likewise.
21652 (cbrt_test_data): Likewise.
21653 (cos_test_data): Likewise.
21654 (cosh_test_data): Likewise.
21655 (erf_test_data): Likewise.
21656 (erfc_test_data): Likewise.
21657 (exp_test_data): Likewise.
21658 (exp10_test_data): Likewise.
21659 (exp2_test_data): Likewise.
21660 (expm1_test_data): Likewise.
21661 (hypot_test_data): Likewise.
21662 (j0_test_data): Likewise.
21663 (j1_test_data): Likewise.
21664 (jn_test_data): Likewise.
21665 (lgamma_test_data): Likewise.
21666 (log_test_data): Likewise.
21667 (log10_test_data): Likewise.
21668 (log1p_test_data): Likewise.
21669 (log2_test_data): Likewise.
21670 (pow_test_data): Likewise.
21671 (scalb_test_data): Likewise.
21672 (sin_test_data): Likewise.
21673 (sincos_test_data): Likewise.
21674 (sinh_test_data): Likewise.
21675 (tan_test_data): Likewise.
21676 (tanh_test_data): Likewise.
21677 (tgamma_test_data): Likewise.
21678 (y0_test_data): Likewise.
21679 (y1_test_data): Likewise.
21680 (yn_test_data): Likewise.
21681
66294491
JM
21682 [BZ #16167]
21683 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21684 argument being NaN and avoid computations with second argument in
21685 that case.
21686 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21687 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21688 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21689
1820b143
CL
216902013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21691
21692 * locale/iso-639.def: Add Chitwani Tharu (the).
21693
714bd261
AS
216942013-11-14 Andreas Schwab <schwab@suse.de>
21695
21696 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21697 word instead of empty string.
21698
7ab44563
AZ
216992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21700
21701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21702 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21704 (__fe_nomask_env): Likewise.
21705
e8470ea2
SE
217062013-11-13 Steve Ellcey <sellcey@mips.com>
21707
21708 * benchtests/bench-timing.h: Include time.h.
21709
17c1d9f0
L
217102013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21711
21712 [BZ #15997]
21713 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21714 to 3.4.0 for x32.
21715 * sysdeps/unix/sysv/linux/configure: Regenerated.
21716
9310c284
JM
217172013-11-13 Joseph Myers <joseph@codesourcery.com>
21718
21719 [BZ #16151]
21720 * stdlib/strtod_l.c (round_and_return): Do not consider
21721 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21722 exponent one less than half the least subnormal exponent.
21723 * stdlib/test-strtod-round-data: Add more tests.
21724 * stdlib/tst-strtod-round.c (tests): Regenerated.
21725
7a2ad8cf
AZ
217262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21727
21728 [BZ #14143]
21729 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21730 (__fe_mask_env): Likewise.
21731 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21732 libm_hidden_proto and add function prototype.
21733 (__fe_mask_env): Add function prototype.
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21735 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21737 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21739 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21740
50727aa7
MS
217412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21742
b2f386c1 21743 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21744 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21745
a615be46
MS
217462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21747
21748 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21749 of htab_find_slot().
21750
7ddace62
DM
217512013-11-11 David S. Miller <davem@davemloft.net>
21752
21753 [BZ #16150]
21754 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21755 symbol in the non-vis3 case in static builds.
21756 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21757 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21758 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21759 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21760
9182aa67
JK
217612013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21762
21763 [BZ #387]
21764 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21765 it is empty.
21766
450a2e2d
AZ
217672013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21768
b2f386c1
SP
21769 * benchtests/Makefile: Add bench-strtod.
21770 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21771
8ec3f656
AS
217722013-11-11 Andreas Schwab <schwab@suse.de>
21773
21774 [BZ #16153]
21775 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21776 terminating NUL in key length.
21777
76a9b998
AZ
217782013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21779
21780 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21781 Add artificial ODP entry for vDSO symbol for PPC64.
21782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21783 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21784
e4368156
OB
217852013-11-07 Ondřej Bílka <neleai@seznam.cz>
21786
21787 [BZ #15374]
21788 * nss/getent.c (services_keys): Recognize services starting with digit.
21789
8d6bb57c
DM
217902013-11-06 David S. Miller <davem@davemloft.net>
21791
21792 [BZ #15985]
21793 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21794 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21795
e256c421
WN
217962013-11-06 Will Newton <will.newton@linaro.org>
21797
21798 * manual/memory.texi (Malloc Examples): Remove register
21799 keyword from examples.
21800
f6e12daa 218012013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21802
f6e12daa 21803 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21804
9d880655
AS
218052013-11-04 Joseph Myers <joseph@codesourcery.com>
21806
fd2f9486 21807 [BZ #6981]
9d880655
AS
21808 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21809 depending on [__GCC_IEC_559 > 0].
21810 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21811 depending on [__GCC_IEC_559_COMPLEX > 0].
21812
ae129d3c
CL
218132013-11-03 Chris Leonard <cjl@sugarlabs.org>
21814
21815 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21816 to iso-639.def.
21817
4a15c2a4 218182013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21819
21820 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21821
8b35e35d
OB
218222013-11-01 Ondřej Bílka <neleai@seznam.cz>
21823
21824 [BZ #16112]
21825 * malloc/malloc (malloc_info): Do not handle first bin as
21826 special case.
21827
1d70fd6c
CL
218282013-11-01 Chris Leonard <cjl@sugarlabs.org>
21829
21830 * locale/iso-639.def: Add Central Nahuatl (nhn).
21831
8c5c2600
BH
218322013-11-01 Bruno Haible <bruno@clisp.org>
21833
21834 [BZ #7003]
21835 * manual/math.texi (BSD Random): Specify range upper bound as
21836 in POSIX.
21837
da5579c2
CL
218382013-10-31 Chris Leonard <cjl@sugarlabs.org>
21839
21840 * locale/iso-639.def: Add Meadow Mari (mhr).
21841
5d30d853
OB
218422013-10-31 Ondřej Bílka <neleai@seznam.cz>
21843
21844 [BZ #14752], [BZ #15763]
21845 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21846 Validate name.
21847 * rt/tst_shm.c: Add test for escaping directory.
21848
a4966c61
AS
218492013-10-31 Andreas Schwab <schwab@suse.de>
21850
8a43e768 21851 [BZ #15917]
a4966c61
AS
21852 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21853 followed by 'x' as part of digit sequence.
21854 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21855
28d708c4
MAP
218562013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21857
21858 [BZ #16037]
21859 * configure.ac: allow GNU Make 4.0 and greater.
21860 * configure: Regenerated.
21861
a56ee40b
WN
218622013-10-30 Will Newton <will.newton@linaro.org>
21863
21864 [BZ #16038]
21865 * malloc/hooks.c (memalign_check): Limit alignment to the
21866 maximum representable power of two.
21867 * malloc/malloc.c (__libc_memalign): Likewise.
21868 * malloc/tst-memalign.c (do_test): Add test for very
21869 large alignment values.
21870 * malloc/tst-posix_memalign.c (do_test): Likewise.
21871
c6e4925d
OB
218722013-10-30 Ondřej Bílka <neleai@seznam.cz>
21873
21874 [BZ #11087]
21875 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21876 (munmap_chunk): Likewise.
21877 (mremap_chunk): Likewise.
21878
218792013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21880
8a43e768 21881 [BZ #15799]
bbea82f7
OB
21882 * stdlib/div.c (div): Remove obsolete code.
21883 * stdlib/ldiv.c (ldiv): Likewise.
21884 * stdlib/lldiv.c (lldiv): Likewise.
21885
977f4b31
SP
218862013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21887
21888 [BZ #16071]
21889 * nss/nss_files/files-XXX.c (get_contents_ret): New
21890 enumerator.
21891 (get_contents): New function.
21892 (internal_getent): Use it. Expand size of LINEBUFLEN.
21893
cb8a6dbd
MF
218942013-10-30 Mike Frysinger <vapier@gentoo.org>
21895
21896 * configure.in: Moved to ...
21897 * configure.ac: ... here. Change reference to configure.in
21898 to configure.ac.
21899 * sysdeps/arm/preconfigure.ac: ... here.
21900 configure.in to configure.ac.
21901 * sysdeps/gnu/configure.in: Moved to ...
21902 * sysdeps/gnu/configure.ac: ... here.
21903 * sysdeps/i386/configure.in: Moved to ...
21904 * sysdeps/i386/configure.ac: ... here.
21905 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21906 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21907 * sysdeps/mach/configure.in: Moved to ...
21908 * sysdeps/mach/configure.ac: ... here.
21909 * sysdeps/mach/hurd/configure.in: Moved to ...
21910 * sysdeps/mach/hurd/configure.ac: ... here.
21911 * sysdeps/powerpc/configure.in: Moved to ...
21912 * sysdeps/powerpc/configure.ac: ... here.
21913 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21914 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21915 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21916 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21917 * sysdeps/s390/s390-32/configure.in: Moved to ...
21918 * sysdeps/s390/s390-32/configure.ac: ... here.
21919 * sysdeps/s390/s390-64/configure.in: Moved to ...
21920 * sysdeps/s390/s390-64/configure.ac: ... here.
21921 * sysdeps/sh/configure.in: Moved to ...
21922 * sysdeps/sh/configure.ac: ... here.
21923 * sysdeps/sparc/configure.in: Moved to ...
21924 * sysdeps/sparc/configure.ac: ... here.
21925 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21926 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21927 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21928 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21929 * sysdeps/x86_64/configure.in: Moved to ...
21930 * sysdeps/x86_64/configure.ac: ... here.
21931 * sysdeps/x86_64/preconfigure.in: Moved to ...
21932 * sysdeps/x86_64/preconfigure.ac: ... here.
21933 * aclocal.m4: Change reference to configure.in to configure.ac.
21934 * config.h.in: Likewise.
21935 * manual/install.texi: Likewise.
21936 * manual/maint.texi: Likewise.
21937 * Makefile: Likewise.
21938 * malloc/Makefile: Likewise.
21939 * nscd/Makefile: Likewise.
21940 * Makeconfig: Change reference to configure.in and
21941 preconfigure.in to configure.ac and preconfigure.ac
21942 respectively.
21943 * INSTALL: Regenerated.
21944 * configure: Likewise.
21945 * sysdeps/gnu/configure: Likewise.
21946 * sysdeps/i386/configure: Likewise.
21947 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21948 * sysdeps/mach/configure: Likewise.
21949 * sysdeps/mach/hurd/configure: Likewise.
21950 * sysdeps/powerpc/configure: Likewise.
21951 * sysdeps/powerpc/powerpc32/configure: Likewise.
21952 * sysdeps/powerpc/powerpc64/configure: Likewise.
21953 * sysdeps/s390/s390-32/configure: Likewise.
21954 * sysdeps/s390/s390-64/configure: Likewise.
21955 * sysdeps/sh/configure: Likewise.
21956 * sysdeps/sparc/configure: Likewise.
21957 * sysdeps/unix/sysv/linux/configure: Likewise.
21958 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21959 * sysdeps/x86_64/configure: Likewise.
21960 * sysdeps/x86_64/preconfigure: Likewise.
21961
36a4953a
AS
219622013-10-29 Andreas Schwab <schwab@suse.de>
21963
21964 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21965
c79a1204
SP
219662013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21967
dfa1b402
SP
21968 * benchtests/pow-inputs: Add new inputs.
21969
54f73d9c
SP
21970 * benchtests/exp-inputs: Add new inputs.
21971
c79a1204
SP
21972 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21973 conditional check for return value.
21974 (__cos32): Likewise.
21975
67beb545 219762013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21977
21978 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21979 to provide a boost for large inputs with word alignment.
21980 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21981 implementation based on optimized PPC64 strcpy.
21982 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21983 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21984 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21985 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21986
151659f6
OB
219872013-10-25 Ondřej Bílka <neleai@seznam.cz>
21988
482a077e 21989 [BZ #2801]
151659f6
OB
21990 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21991
10b0f26b
OB
219922013-10-25 Ondřej Bílka <neleai@seznam.cz>
21993
21994 [BZ #14876]
21995 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21996 * time/tst-strptime.c (day_tests): Add testcase.
21997
ca42d35e
OB
219982013-10-25 Ondřej Bílka <neleai@seznam.cz>
21999
482a077e 22000 [BZ #14029]
ca42d35e
OB
22001 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22002
52e6d801
FB
220032013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22004
22005 [BZ #16074]
22006 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22007 MAP_FAILED on error.
22008
7cbcdb36
SP
220092013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22010
22011 [BZ #16072]
22012 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22013 heap for large requests.
22014
894f3f10
AM
220152013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22016
22017 [BZ #9954]
22018 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22019 result if the result has no associated interface.
22020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22021 interface for all 127.X.Y.Z addresses.
22022
b85545a6
CL
220232013-10-24 Chris Leonard <cjl@sugarlabs.org>
22024
22025 * locale/iso-639.def: Add Ligurian (lij)
22026
d1f23d46
OB
220272013-10-21 Ondřej Bílka <neleai@seznam.cz>
22028
22029 [BZ #15825]
22030 * sunrpc/rpc_main.c: Document rpcgen -5.
22031
4db5b08f
MS
220322013-10-19 Michael Stahl <mstahl@redhat.com>
22033
22034 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22035
a471e96a
OB
220362013-10-19 Ondřej Bílka <neleai@seznam.cz>
22037
d1f23d46 22038 [BZ #10278]
a471e96a
OB
22039 * posix/glob.c: Match only directories when trailing slash is present.
22040 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22041 (main): Add testcase.
22042
45c30c61
OB
220432013-10-19 Ondřej Bílka <neleai@seznam.cz>
22044
22045 [BZ #15670]
22046 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22047
484c12fb
CD
220482013-10-18 Carlos O'Donell <carlos@redhat.com>
22049
3d7dc513
CD
22050 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22051 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22052 AUTH_DES and cindex for FIPS 140-2.
22053 (DES Encryption): Add cindex FIPS 46-3.
22054
484c12fb
CD
22055 * locale/locarchive.h (struct locarhandle): Add fname.
22056 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22057 if an optional argument was specified to --list-archive,
22058 otherwise NULL.
22059 * locale/programs/locarchive.c (show_archive_content): Take new
22060 argument fname and pass it via ah.fname to open_archive.
22061 * locale/programs/localedef.h: Update decl.
22062 (open_archive): If AH->fname is non-null, open that file
22063 rather than the default file name, and don't ignore ENOENT.
22064 (create_archive): Set AH.fname to NULL.
22065 (delete_locales_from_archive): Likewise.
22066 (add_locales_to_archive): Likewise.
22067 * locale/programs/locfile.c (write_all_categories): Likewise.
22068
3c8325fb
JM
220692013-10-18 Joseph Myers <joseph@codesourcery.com>
22070 Aldy Hernandez <aldyh@redhat.com>
22071
22072 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22073 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22074 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22075 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22076 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22077 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22078 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22079 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22080 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22081 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22083 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22084 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22085 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22086 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22087 Likewise.
22088 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22089 Likewise.
22090 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22091 Likewise.
22092 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22093 Likewise.
22094 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22095 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22096 Likewise.
22097 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22098 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22099 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22100 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22101 Likewise.
22102 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22103 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22104 * sysdeps/powerpc/preconfigure: Likewise.
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22106 Likewise.
22107 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22108 Replace contents of file by #include of <fenv_libc.h>.
22109 * sysdeps/powerpc/soft-fp/sfp-machine.h
22110 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22111 and <sys/prctl.h>.
22112 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22116 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22125 Allow copysignl PLT reference to be missing.
22126
5abe0682
RS
221272013-10-18 Richard Sandiford <richard@codesourcery.com>
22128 Joseph Myers <joseph@codesourcery.com
22129
22130 [BZ #15948]
22131 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22132 single character.
22133 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22134
c7738d08
SP
221352013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22136
22137 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22138 * elf/tst-tls1.c: Likewise.
22139 * elf/tst-tls10.h: Likewise.
22140 * elf/tst-tls14.c: Likewise.
22141 * elf/tst-tls2.c: Likewise.
22142 * elf/tst-tls3.c: Likewise.
22143 * elf/tst-tls4.c: Likewise.
22144 * elf/tst-tls5.c: Likewise.
22145 * elf/tst-tls6.c: Likewise.
22146 * elf/tst-tls7.c: Likewise.
22147 * elf/tst-tls8.c: Likewise.
22148 * elf/tst-tls9.c: Likewise.
22149 * elf/tst-tlsmod1.c: Likewise.
22150 * elf/tst-tlsmod13.c: Likewise.
22151 * elf/tst-tlsmod13a.c: Likewise.
22152 * elf/tst-tlsmod14a.c: Likewise.
22153 * elf/tst-tlsmod16a.c: Likewise.
22154 * elf/tst-tlsmod16b.c: Likewise.
22155 * elf/tst-tlsmod2.c: Likewise.
22156 * elf/tst-tlsmod3.c: Likewise.
22157 * elf/tst-tlsmod4.c: Likewise.
22158 * elf/tst-tlsmod5.c: Likewise.
22159 * elf/tst-tlsmod6.c: Likewise.
22160
0bfcf2c7
OB
221612013-10-18 Ondřej Bílka <neleai@seznam.cz>
22162
22163 [BZ #12486]
22164 * malloc/malloc.c: remove checks for statistics.
22165
264aad1e
OB
221662013-10-17 Ondřej Bílka <neleai@seznam.cz>
22167
22168 [BZ #15277]
22169 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22170 * inet/tst-network.c: Add testcase.
22171
b957ced8
AS
221722013-10-17 Andreas Schwab <schwab@suse.de>
22173
22174 [BZ #15218]
22175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22176 to determine canonical name.
22177
c5d5d574
OB
221782013-10-17 Ondřej Bílka <neleai@seznam.cz>
22179
22180 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22181 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22204 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22205 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22210 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22214 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22215 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22218 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22220 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22221 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22227 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22228 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22230 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22232 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22233 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22238
e5c2c2d0
JM
222392013-10-17 Joseph Myers <joseph@codesourcery.com>
22240
22241 [BZ #16041]
22242 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22243 make result into a quiet NaN.
22244
51ca9e29
JM
222452013-10-16 Joseph Myers <joseph@codesourcery.com>
22246
22247 * soft-fp/adddf3.c: Fix horizontal whitespace.
22248 * soft-fp/addsf3.c: Likewise.
22249 * soft-fp/addtf3.c: Likewise.
22250 * soft-fp/divdf3.c: Likewise.
22251 * soft-fp/divsf3.c: Likewise.
22252 * soft-fp/divtf3.c: Likewise.
22253 * soft-fp/double.h: Likewise.
22254 * soft-fp/eqdf2.c: Likewise.
22255 * soft-fp/eqsf2.c: Likewise.
22256 * soft-fp/eqtf2.c: Likewise.
22257 * soft-fp/extenddftf2.c: Likewise.
22258 * soft-fp/extended.h: Likewise.
22259 * soft-fp/extendsfdf2.c: Likewise.
22260 * soft-fp/extendsftf2.c: Likewise.
22261 * soft-fp/extendxftf2.c: Likewise.
22262 * soft-fp/fixdfdi.c: Likewise.
22263 * soft-fp/fixdfsi.c: Likewise.
22264 * soft-fp/fixdfti.c: Likewise.
22265 * soft-fp/fixsfdi.c: Likewise.
22266 * soft-fp/fixsfsi.c: Likewise.
22267 * soft-fp/fixsfti.c: Likewise.
22268 * soft-fp/fixtfdi.c: Likewise.
22269 * soft-fp/fixtfsi.c: Likewise.
22270 * soft-fp/fixtfti.c: Likewise.
22271 * soft-fp/fixunsdfdi.c: Likewise.
22272 * soft-fp/fixunsdfsi.c: Likewise.
22273 * soft-fp/fixunsdfti.c: Likewise.
22274 * soft-fp/fixunssfdi.c: Likewise.
22275 * soft-fp/fixunssfsi.c: Likewise.
22276 * soft-fp/fixunssfti.c: Likewise.
22277 * soft-fp/fixunstfdi.c: Likewise.
22278 * soft-fp/fixunstfsi.c: Likewise.
22279 * soft-fp/fixunstfti.c: Likewise.
22280 * soft-fp/floatdidf.c: Likewise.
22281 * soft-fp/floatdisf.c: Likewise.
22282 * soft-fp/floatditf.c: Likewise.
22283 * soft-fp/floatsidf.c: Likewise.
22284 * soft-fp/floatsisf.c: Likewise.
22285 * soft-fp/floatsitf.c: Likewise.
22286 * soft-fp/floattidf.c: Likewise.
22287 * soft-fp/floattisf.c: Likewise.
22288 * soft-fp/floattitf.c: Likewise.
22289 * soft-fp/floatundidf.c: Likewise.
22290 * soft-fp/floatundisf.c: Likewise.
22291 * soft-fp/floatunditf.c: Likewise.
22292 * soft-fp/floatunsidf.c: Likewise.
22293 * soft-fp/floatunsisf.c: Likewise.
22294 * soft-fp/floatunsitf.c: Likewise.
22295 * soft-fp/floatuntidf.c: Likewise.
22296 * soft-fp/floatuntisf.c: Likewise.
22297 * soft-fp/floatuntitf.c: Likewise.
22298 * soft-fp/fmadf4.c: Likewise.
22299 * soft-fp/fmasf4.c: Likewise.
22300 * soft-fp/fmatf4.c: Likewise.
22301 * soft-fp/gedf2.c: Likewise.
22302 * soft-fp/gesf2.c: Likewise.
22303 * soft-fp/getf2.c: Likewise.
22304 * soft-fp/ledf2.c: Likewise.
22305 * soft-fp/lesf2.c: Likewise.
22306 * soft-fp/letf2.c: Likewise.
22307 * soft-fp/muldf3.c: Likewise.
22308 * soft-fp/mulsf3.c: Likewise.
22309 * soft-fp/multf3.c: Likewise.
22310 * soft-fp/negdf2.c: Likewise.
22311 * soft-fp/negsf2.c: Likewise.
22312 * soft-fp/negtf2.c: Likewise.
22313 * soft-fp/op-1.h: Likewise.
22314 * soft-fp/op-2.h: Likewise.
22315 * soft-fp/op-4.h: Likewise.
22316 * soft-fp/op-8.h: Likewise.
22317 * soft-fp/op-common.h: Likewise.
22318 * soft-fp/quad.h: Likewise.
22319 * soft-fp/single.h: Likewise.
22320 * soft-fp/soft-fp.h: Likewise.
22321 * soft-fp/sqrtdf2.c: Likewise.
22322 * soft-fp/sqrtsf2.c: Likewise.
22323 * soft-fp/sqrttf2.c: Likewise.
22324 * soft-fp/subdf3.c: Likewise.
22325 * soft-fp/subsf3.c: Likewise.
22326 * soft-fp/subtf3.c: Likewise.
22327 * soft-fp/truncdfsf2.c: Likewise.
22328 * soft-fp/trunctfdf2.c: Likewise.
22329 * soft-fp/trunctfsf2.c: Likewise.
22330 * soft-fp/trunctfxf2.c: Likewise.
22331 * soft-fp/unorddf2.c: Likewise.
22332 * soft-fp/unordsf2.c: Likewise.
22333 * soft-fp/unordtf2.c: Likewise.
22334
9ebb0332
JM
223352013-10-15 Joseph Myers <joseph@codesourcery.com>
22336
22337 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22338 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22339
4b1a6d8b
OB
223402013-10-15 Ondřej Bílka <neleai@seznam.cz>
22341
22342 * elf/dl-libc.c: Clear initfini list after freeing.
22343
1e145589
JM
223442013-10-14 Joseph Myers <joseph@codesourcery.com>
22345
22346 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22347 * soft-fp/addsf3.c: Likewise.
22348 * soft-fp/addtf3.c: Likewise.
22349 * soft-fp/divdf3.c: Likewise.
22350 * soft-fp/divsf3.c: Likewise.
22351 * soft-fp/divtf3.c: Likewise.
22352 * soft-fp/double.h: Likewise.
22353 * soft-fp/eqdf2.c: Likewise.
22354 * soft-fp/eqsf2.c: Likewise.
22355 * soft-fp/eqtf2.c: Likewise.
22356 * soft-fp/extenddftf2.c: Likewise.
22357 * soft-fp/extended.h: Likewise.
22358 * soft-fp/extendsfdf2.c: Likewise.
22359 * soft-fp/extendsftf2.c: Likewise.
22360 * soft-fp/extendxftf2.c: Likewise.
22361 * soft-fp/fixdfdi.c: Likewise.
22362 * soft-fp/fixdfsi.c: Likewise.
22363 * soft-fp/fixdfti.c: Likewise.
22364 * soft-fp/fixsfdi.c: Likewise.
22365 * soft-fp/fixsfsi.c: Likewise.
22366 * soft-fp/fixsfti.c: Likewise.
22367 * soft-fp/fixtfdi.c: Likewise.
22368 * soft-fp/fixtfsi.c: Likewise.
22369 * soft-fp/fixtfti.c: Likewise.
22370 * soft-fp/fixunsdfdi.c: Likewise.
22371 * soft-fp/fixunsdfsi.c: Likewise.
22372 * soft-fp/fixunsdfti.c: Likewise.
22373 * soft-fp/fixunssfdi.c: Likewise.
22374 * soft-fp/fixunssfsi.c: Likewise.
22375 * soft-fp/fixunssfti.c: Likewise.
22376 * soft-fp/fixunstfdi.c: Likewise.
22377 * soft-fp/fixunstfsi.c: Likewise.
22378 * soft-fp/fixunstfti.c: Likewise.
22379 * soft-fp/floatdidf.c: Likewise.
22380 * soft-fp/floatdisf.c: Likewise.
22381 * soft-fp/floatditf.c: Likewise.
22382 * soft-fp/floatsidf.c: Likewise.
22383 * soft-fp/floatsisf.c: Likewise.
22384 * soft-fp/floatsitf.c: Likewise.
22385 * soft-fp/floattidf.c: Likewise.
22386 * soft-fp/floattisf.c: Likewise.
22387 * soft-fp/floattitf.c: Likewise.
22388 * soft-fp/floatundidf.c: Likewise.
22389 * soft-fp/floatundisf.c: Likewise.
22390 * soft-fp/floatunsidf.c: Likewise.
22391 * soft-fp/floatunsisf.c: Likewise.
22392 * soft-fp/floatuntidf.c: Likewise.
22393 * soft-fp/floatuntisf.c: Likewise.
22394 * soft-fp/floatuntitf.c: Likewise.
22395 * soft-fp/fmadf4.c: Likewise.
22396 * soft-fp/fmasf4.c: Likewise.
22397 * soft-fp/fmatf4.c: Likewise.
22398 * soft-fp/gedf2.c: Likewise.
22399 * soft-fp/gesf2.c: Likewise.
22400 * soft-fp/getf2.c: Likewise.
22401 * soft-fp/ledf2.c: Likewise.
22402 * soft-fp/lesf2.c: Likewise.
22403 * soft-fp/letf2.c: Likewise.
22404 * soft-fp/muldf3.c: Likewise.
22405 * soft-fp/mulsf3.c: Likewise.
22406 * soft-fp/multf3.c: Likewise.
22407 * soft-fp/negdf2.c: Likewise.
22408 * soft-fp/negsf2.c: Likewise.
22409 * soft-fp/negtf2.c: Likewise.
22410 * soft-fp/op-1.h: Likewise.
22411 * soft-fp/op-2.h: Likewise.
22412 * soft-fp/op-4.h: Likewise.
22413 * soft-fp/op-8.h: Likewise.
22414 * soft-fp/op-common.h: Likewise.
22415 * soft-fp/quad.h: Likewise.
22416 * soft-fp/single.h: Likewise.
22417 * soft-fp/soft-fp.h: Likewise.
22418 * soft-fp/sqrtdf2.c: Likewise.
22419 * soft-fp/sqrtsf2.c: Likewise.
22420 * soft-fp/sqrttf2.c: Likewise.
22421 * soft-fp/subdf3.c: Likewise.
22422 * soft-fp/subsf3.c: Likewise.
22423 * soft-fp/subtf3.c: Likewise.
22424 * soft-fp/truncdfsf2.c: Likewise.
22425 * soft-fp/trunctfdf2.c: Likewise.
22426 * soft-fp/trunctfsf2.c: Likewise.
22427 * soft-fp/trunctfxf2.c: Likewise.
22428 * soft-fp/unorddf2.c: Likewise.
22429 * soft-fp/unordsf2.c: Likewise.
22430 * soft-fp/unordtf2.c: Likewise.
22431
17c48a60
OB
224322013-10-14 Ondřej Bílka <neleai@seznam.cz>
22433
22434 [BZ #15672]
22435 * misc/error.c (error_tail): Fix possible buffer overflow.
22436
cabba934
OB
224372013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22438
22439 [BZ #13028]
22440 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22441 address.
22442
94bf958a
PM
224432013-10-14 P. J. McDermott <pj@pehjota.net>
22444
22445 [BZ #832]
22446 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22447 testing pipefail option.
22448
71b4dea7
JM
224492013-10-12 Joseph Myers <joseph@codesourcery.com>
22450
22451 * soft-fp/double.h: Indent preprocessor directives inside #if.
22452 * soft-fp/extended.h: Likewise.
22453 * soft-fp/op-2.h: Likewise.
22454 * soft-fp/op-4.h: Likewise.
22455 * soft-fp/op-common.h: Likewise.
22456 * soft-fp/quad.h: Likewise.
22457 * soft-fp/single.h: Likewise.
22458 * soft-fp/soft-fp.h: Likewise.
22459
55602758
YC
224602013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22461
22462 * iconv/iconv_prog.c: Fix typos.
22463 * stdio-common/psiginfo-data.h: Likewise.
22464
9cd83302
RT
224652013-10-12 Reuben Thomas <rrt@sc3d.org>
22466
22467 [BZ #15764]
22468 * locale/setlocale.c: Fix typo.
22469
99fd9f47
JM
224702013-10-12 Joseph Myers <joseph@codesourcery.com>
22471
b7ea74f0
JM
22472 [BZ #16036]
22473 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22474 signaling NaN arguments.
22475 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22476 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22477
8a509447
JM
22478 [BZ #14910]
22479 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22480 unordered operands.
22481 * soft-fp/gesf2.c (__gesf2): Likewise.
22482 * soft-fp/getf2.c (__getf2): Likewise.
22483 * soft-fp/ledf2.c (__ledf2): Likewise.
22484 * soft-fp/lesf2.c (__lesf2): Likewise.
22485 * soft-fp/letf2.c (__letf2): Likewise.
22486
98998e9f
JM
22487 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22488 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22489 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22490 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22491 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22492 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22493 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22494 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22495 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22496 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22497 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22498 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22499 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22500 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22501 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22502 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22503 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22504 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22505 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22506 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22507 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22508 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22509 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22510 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22511 * soft-fp/floattidf.c (__floattidf): Likewise.
22512 * soft-fp/floattisf.c (__floattisf): Likewise.
22513 * soft-fp/floattitf.c (__floattitf): Likewise.
22514 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22515 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22516 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22517 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22518 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22519 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22520 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22521 * soft-fp/gesf2.c (__gesf2): Likewise.
22522 * soft-fp/getf2.c (__getf2): Likewise.
22523 * soft-fp/ledf2.c (__ledf2): Likewise.
22524 * soft-fp/lesf2.c (__lesf2): Likewise.
22525 * soft-fp/letf2.c (__letf2): Likewise.
22526
8edc4a11
JM
22527 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22528 Undefine and redefine.
22529 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22530 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22531 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22532 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22533 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22534 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22535 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22536 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22537 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22538 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22539 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22540 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22541 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22542 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22543 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22544
8399acaf
JM
22545 [BZ #16032]
22546 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22547 without decrementing exponent if mantissa >= that for the
22548 denominator, not >.
22549 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22550 denominator, not >. Decrement exponent in < case instead of
22551 incrementing in >= case.
22552 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22553 without decrementing exponent if mantissa >= that for the
22554 denominator, not >.
22555
99fd9f47
JM
22556 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22557 computing saturated result for unsigned overflow.
22558
10e1cf6b
SP
225592013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22560 Jeff Law <law@redhat.com>
22561
22562 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22563 (atan2Mp): Add systemtap probe marker.
22564 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22565 (__ieee754_log): Add systemtap probe marker.
22566 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22567 (atanMp): Add systemtap probe marker.
22568 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22569 (tanMp): Add systemtap probe marker.
22570 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22571 (__slowexp): Add systemtap probe marker.
22572 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22573 (__slowpow): Add systemtap probe marker.
22574 * manual/probes.texi: Document probes.
22575
3d110c7c
EB
225762013-10-11 Eric Biggers <ebiggers3@gmail.com>
22577
22578 [BZ #15362]
22579 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22580 written.
22581 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22582 written.
22583 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22584 written to buffer but not flushed.
22585 * libio/iofwrite_u.c: Likewise.
22586 * libio/iopadn.c: Return bytes returned even if EOF was
22587 encountered.
22588 * libio/iowpadn.c: Likewise.
22589 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22590 if _IO_padn does not write the whole buffer.
22591 [!COMPILE_WPRINTF] (PAD): Likewise.
22592
75b4202a
DM
225932013-10-10 David S. Miller <davem@davemloft.net>
22594
22595 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22596 directory block.
22597
6c6352e6
JM
225982013-10-10 Joseph Myers <joseph@codesourcery.com>
22599
33b853c3
JM
22600 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22601 instead of FSF address.
22602 * soft-fp/fixdfti.c: Likewise.
22603 * soft-fp/fixsfti.c: Likewise.
22604 * soft-fp/fixtfti.c: Likewise.
22605 * soft-fp/fixunsdfti.c: Likewise.
22606 * soft-fp/fixunssfti.c: Likewise.
22607 * soft-fp/fixunstfti.c: Likewise.
22608 * soft-fp/floattidf.c: Likewise.
22609 * soft-fp/floattisf.c: Likewise.
22610 * soft-fp/floattitf.c: Likewise.
22611 * soft-fp/floatuntidf.c: Likewise.
22612 * soft-fp/floatuntisf.c: Likewise.
22613 * soft-fp/floatuntitf.c: Likewise.
22614 * soft-fp/trunctfxf2.c: Likewise.
22615
6c6352e6
JM
22616 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22617 * soft-fp/fixdfti.c: Likewise.
22618 * soft-fp/fixsfti.c: Likewise.
22619 * soft-fp/fixtfti.c: Likewise.
22620 * soft-fp/fixunsdfti.c: Likewise.
22621 * soft-fp/fixunssfti.c: Likewise.
22622 * soft-fp/fixunstfti.c: Likewise.
22623 * soft-fp/floattidf.c: Likewise.
22624 * soft-fp/floattisf.c: Likewise.
22625 * soft-fp/floattitf.c: Likewise.
22626 * soft-fp/floatuntidf.c: Likewise.
22627 * soft-fp/floatuntisf.c: Likewise.
22628 * soft-fp/floatuntitf.c: Likewise.
22629 * soft-fp/trunctfxf2.c: Likewise.
22630
3bf78b71
DM
226312013-10-10 David S. Miller <davem@davemloft.net>
22632
22633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22634
6f10289e
JM
226352013-10-10 Joseph Myers <joseph@codsourcery.com>
22636
bd878fc0
JM
22637 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22638 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22639 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22640 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22641 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22642 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22643 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22644
6f10289e
JM
22645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22646 for NaNs before doing comparisons on argument.
22647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22648 Likewise.
22649
321e2684
WN
226502013-10-10 Will Newton <will.newton@linaro.org>
22651
22652 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22653 passed to _int_memalign does not overflow.
22654
40fefba1
TR
226552013-10-10 Torvald Riegel <triegel@redhat.com>
22656
22657 * scripts/bench.pl: Add include-sources directive.
22658 * benchtests/README: Update documentation.
22659
2ae21ed2
JM
226602013-10-10 Joseph Myers <joseph@codesourcery.com>
22661
dcc2dd3f
JM
22662 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22663 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22664 instead of FP_INIT_ROUNDMODE.
22665 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22666 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22667
2ae21ed2
JM
22668 [BZ #16034]
22669 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22670 copy class of input value.
22671 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22672 not handle exceptions.
22673 * soft-fp/negsf2.c (__negsf2): Likewise.
22674 * soft-fp/negtf2.c (__negtf2): Likewise.
22675 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22676
cb8f9562
JM
226772013-10-09 Joseph Myers <joseph@codesourcery.com>
22678
22679 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22680 semicolon. From Linux kernel.
22681
5b60c59d
AB
226822013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22683
22684 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22685
b86835ca
YC
226862013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22687
22688 [BZ #156]
22689 * manual/socket.texi: Added statement about buffer
22690 for gethostbyname2_r.
22691
e7044ea7
OB
226922013-10-08 Ondřej Bílka <neleai@seznam.cz>
22693
22694 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22695 Use .p2align directive instead, throughout.
22696 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22697 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22698 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22701 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22702 * sysdeps/x86_64/strchr.S: Likewise.
22703 * sysdeps/x86_64/strrchr.S: Likewise.
22704
09544cbc
SP
227052013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22706
88576635
SP
22707 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22708
e7b2d1dd
SP
22709 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22710
09544cbc
SP
22711 * sysdeps/generic/math_private.h (__mpsin1): Remove
22712 declaration.
22713 (__mpcos1): Likewise.
22714 (__mpsin): New argument __range_reduce.
22715 (__mpcos): Likewise.
22716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22717 (slow): Use __mpsin and __mpcos.
22718 (slow1): Likewise.
22719 (slow2): Likewise.
22720 (sloww): Likewise.
22721 (sloww1): Likewise.
22722 (sloww2): Likewise.
22723 (bsloww): Likewise.
22724 (bsloww1): Likewise.
22725 (bsloww2): Likewise.
22726 (cslow2): Likewise.
22727 (csloww): Likewise.
22728 (csloww1): Likewise.
22729 (csloww2): Likewise.
22730 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22731 range_reduce. Merge in __mpsin1.
22732 (__mpcos): Likewise.
22733 (__mpsin1): Remove.
22734 (__mpcos1): Likewise.
22735
7602d070
JM
227362013-10-07 Joseph Myers <joseph@codesourcery.com>
22737
22738 * locale/loadlocale.c (_nl_intern_locale_data): Use
22739 LOCFILE_ALIGNED_P.
22740 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22741 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22742 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22743 obstack data is appropriately aligned.
22744 (obstack_int32_grow_fast): Likewise.
22745 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22746 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22747 (add_locale_uint32_array): Likewise.
22748
a357259b
SP
227492013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22750
22751 * benchtests/Makefile: Remove ARGLIST and RET variables.
22752 ($(objpfx)bench-%.c): Pass only function name to the script.
22753 * benchtests/README: Update documentation.
22754 * benchtests/acos-inputs: Add new directives.
22755 * benchtests/acosh-inputs: Likewise.
22756 * benchtests/asin-inputs: Likewise.
22757 * benchtests/asinh-inputs: Likewise.
22758 * benchtests/atan-inputs: Likewise.
22759 * benchtests/atanh-inputs: Likewise.
22760 * benchtests/cos-inputs: Likewise.
22761 * benchtests/cosh-inputs: Likewise.
22762 * benchtests/exp-inputs: Likewise.
22763 * benchtests/log-inputs: Likewise.
22764 * benchtests/pow-inputs: Likewise.
22765 * benchtests/rint-inputs: Likewise.
22766 * benchtests/sin-inputs: Likewise.
22767 * benchtests/sinh-inputs: Likewise.
22768 * benchtests/tan-inputs: Likewise.
22769 * benchtests/tanh-inputs: Likewise.
22770 * scripts/bench.pl: Add support for new directives.
22771
9ec1b13d
AM
227722013-10-07 Alan Modra <amodra@gmail.com>
22773
22774 * README: Fix careless merge.
22775
8b7d57cd
AM
227762013-10-05 Alan Modra <amodra@gmail.com>
22777
22778 * NEWS: Mention powerpc64le support and bugs fixed.
22779 * README: Both big-endian and little-endian powerpc64 supported.
22780
7b7bab13
ST
227812013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22782
57f41c40
AS
22783 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22784 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22785 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22786 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22787
d39baad1
RA
227882013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22789
22790 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22791 match prototype.
22792
cd78f7e7
JM
227932013-10-04 Joseph Myers <joseph@codesourcery.com>
22794
29d73d86
JM
22795 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22796 Move -mhard-float appending from
22797 ports/sysdeps/powerpc/powerpc32/Makefile.
22798 [$(with-fp) = yes] (ASFLAGS): Likewise.
22799 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22800 * sysdeps/powerpc/nofpu: Move directory from
22801 ports/sysdeps/powerpc/nofpu.
22802 * sysdeps/powerpc/soft-fp: Move directory from
22803 ports/sysdeps/powerpc/soft-fp.
22804 * sysdeps/powerpc/powerpc32/405: Move directory from
22805 ports/sysdeps/powerpc/powerpc32/405.
22806 * sysdeps/powerpc/powerpc32/440: Move directory from
22807 ports/sysdeps/powerpc/powerpc32/440.
22808 * sysdeps/powerpc/powerpc32/464: Move directory from
22809 ports/sysdeps/powerpc/powerpc32/464.
22810 * sysdeps/powerpc/powerpc32/476: Move directory from
22811 ports/sysdeps/powerpc/powerpc32/476.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22813 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22815 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22817 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22821 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22822 * README: Update for powerpc-*-linux-gnu software floating point
22823 support in libc.
22824
e246b347
JM
22825 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22826 case to powerpc/powerpc32*.
22827 * sysdeps/unix/sysv/linux/configure: Regenerated.
22828
89c2003e
JM
22829 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22830 (_FPU_MASK_OM): Define as 0x04.
22831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22833 0x00c10080.
22834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22835 0x0000003c.
22836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22837
cd78f7e7
JM
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22839 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22840 getcontext_e500.
22841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22842 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22843 setcontext_e500.
22844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22845 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22846 and setcontext_e500.
22847
c755294d
CL
228482013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22849
22850 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22851
e16d221c
SP
228522013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22853
22854 * manual/threads.texi (Default Thread Attributes): Fix typo.
22855
215c7d43
WN
228562013-10-04 Will Newton <will.newton@linaro.org>
22857
22858 * malloc/Makefile: Add tst-memalign.
22859 * malloc/tst-memalign.c: New file.
22860
27d0461b
WN
22861 * malloc/tst-posix_memalign.c: Add comments.
22862 (do_test): Add comments and call free on all potentially
22863 allocated pointers. Add space after cast.
22864
1bc92709
WN
22865 * malloc/tst-pvalloc.c: Add comments.
22866 (do_test): Add comments and call free on all potentially
22867 allocated pointers. Remove duplicate check for NULL pointer.
22868 Add space after cast.
22869
66a9be9d
WN
22870 * malloc/tst-valloc.c: Add comments.
22871 (do_test): Add comments and call free on all potentially
22872 allocated pointers. Remove duplicate check for NULL pointer.
22873 Add space after cast.
22874
4cb81307
AM
228752013-10-04 Alan Modra <amodra@gmail.com>
22876
22877 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22878 Use stdint types in rather than __attribute__((mode())).
22879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22880
f8e3e9f3
AM
228812013-10-04 Alan Modra <amodra@gmail.com>
22882
22883 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22884 Correct handling of unaligned relocs for little-endian.
22885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22886
8f9ebb08
AM
228872013-10-04 Alan Modra <amodra@gmail.com>
22888
22889 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22890 * configure: Regenerate.
22891 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22892 * shlib-versions: Likewise.
22893
0edf96c2
AM
228942013-10-04 Alan Modra <amodra@gmail.com>
22895
22896 * string/tester.c (test_memrchr): Increment reported test cycle.
22897
e0f7a380
AM
228982013-10-04 Alan Modra <amodra@gmail.com>
22899
22900 * string/test-memcpy.c (do_one_test): When reporting errors, print
22901 string address and don't overrun end of string.
22902
466b0393
AM
229032013-10-04 Alan Modra <amodra@gmail.com>
22904
22905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22906 insrdi. Make better use of reg selection to speed exit slightly.
22907 Schedule entry path a little better. Remove useless "are we done"
22908 checks on entry to main loop. Handle wrapping around zero address.
22909 Correct main loop count. Handle single left-over word from main
22910 loop inline rather than by using loop_small. Remove extra word
22911 case in loop_small caused by wrong loop count. Add little-endian
22912 support.
22913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22915 cache hint.
22916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22917 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22918 support. Avoid rlwimi.
22919 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22920
3be87c77
AM
229212013-10-04 Alan Modra <amodra@gmail.com>
22922
22923 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22924 insrdi. Formatting.
3be87c77
AM
22925 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22926 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22927 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22928 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22929 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22930 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22931
759cfef3
AM
229322013-10-04 Alan Modra <amodra@gmail.com>
22933
22934 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22937 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22938 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22939 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22941 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22942 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22943 use of regs. Use power7 mtocrf. Tidy function tails.
22944
fe6e95d7
AM
229452013-10-04 Alan Modra <amodra@gmail.com>
22946
22947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22948 Formatting. Consistently use rXXX register defines or rN defines.
22949 Use early exit labels that avoid restoring unused non-volatile regs.
22950 Make cr field use more consistent with rWORDn compares. Rename
22951 regs used as shift registers for unaligned loop, using rN defines
22952 for short lifetime/multiple use regs.
22953 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22954 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22955 addi 1,1,64 to pop stack frame. Simplify return value code.
22956 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22957
664318c3
AM
229582013-10-04 Alan Modra <amodra@gmail.com>
22959
22960 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22961 support. Correct typos, formatting. Optimize tail. Use insrdi
22962 rather than rlwimi.
22963 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22964 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22965 little-endian support. Correct typos.
22966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22967 rather than rlwimi.
22968 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22969 in loop and entry code to keep "and." results.
22970 (strchr): Add little-endian support. Comment. Move cntlzd
22971 earlier in tail.
22972 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22973
43b84013
AM
229742013-10-04 Alan Modra <amodra@gmail.com>
22975
22976 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22977 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22978 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22979 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22980
8a7413f9
AM
229812013-10-04 Alan Modra <amodra@gmail.com>
22982
22983 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22984 (rTMP): Define as r11.
22985 (strcmp): Add little-endian support. Optimise tail.
22986 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22987 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22988 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22989 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22990 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22993
33ee81de
AM
229942013-10-04 Alan Modra <amodra@gmail.com>
22995
22996 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22997 little-endian support. Remove unnecessary "are we done" tests.
22998 Handle "s" wrapping around zero and extremely large "size".
22999 Correct main loop count. Handle single left-over word from main
23000 loop inline rather than by using small_loop. Correct comments.
23001 Delete "zero" tail, use "end_max" instead.
23002 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23003
db9b4570
AM
230042013-10-04 Alan Modra <amodra@gmail.com>
23005
23006 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23007 support. Don't branch over align.
23008 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23009 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23010 support. Rearrange tmp reg use to suit. Comment.
23011 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23012
f7c399cf
AM
230132013-10-04 Alan Modra <amodra@gmail.com>
23014
23015 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23016
0b2c2ace
AM
230172013-10-04 Alan Modra <amodra@gmail.com>
23018
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23020 conditional form of branch and link when obtaining pc.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23022
02f04a6c
AM
230232013-10-04 Alan Modra <amodra@gmail.com>
23024
23025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23026 HIWORD/LOWORD.
23027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23029
9b874b2f
AM
230302013-10-04 Alan Modra <amodra@gmail.com>
23031
23032 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23033 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23034 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23035 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23036 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23037 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23038 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23039 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23040 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23041 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23042
be1e5d31
AB
230432013-10-04 Anton Blanchard <anton@au1.ibm.com>
23044 Alistair Popple <alistair@ozlabs.au.ibm.com>
23045 Alan Modra <amodra@gmail.com>
23046
23047 [BZ #15723]
23048 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23050 _dl_hwcap access for little-endian.
23051 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23052 destroy vmx regs when saving unaligned.
23053 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23055 destroy vmx regs when saving unaligned.
23056
fef13a78
AM
230572013-10-04 Alan Modra <amodra@gmail.com>
23058
23059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23060 Don't use a union to pack hi/low value.
23061
76a66d51
AB
230622013-10-04 Anton Blanchard <anton@au1.ibm.com>
23063
23064 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23065 for little-endian.
23066 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23068 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23070 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23071
6a31fe7f
AM
230722013-10-04 Alan Modra <amodra@gmail.com>
23073
23074 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23075 constants to usual value for .cst8 section, and remove redundant
23076 high address load.
23077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23078 constant for 0x1p52. Load little-endian words of double from
23079 correct stack offsets.
23080
7b88401f
AM
230812013-10-04 Alan Modra <amodra@gmail.com>
23082
23083 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23084 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23085 words of double from correct stack offsets.
23086 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23087 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23088 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23093 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23094 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23097 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23098 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23099 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23100 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23101 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23102 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23103
9c008155
AM
231042013-10-04 Alan Modra <amodra@gmail.com>
23105
23106 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23107 64-bit int/double union.
23108 (_FPU_SETCW): Likewise.
23109 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23110 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23111
da13146d
AM
231122013-10-04 Alan Modra <amodra@gmail.com>
23113
23114 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23115 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23116
603e8410
AM
231172013-10-04 Alan Modra <amodra@gmail.com>
23118
23119 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23120 use vector int constants.
23121 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23122
4a28b3ca
AB
231232013-10-04 Anton Blanchard <anton@au1.ibm.com>
23124
23125 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23126 array with long long.
23127 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23128 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23129 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23130 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23131 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23132 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23133 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23134 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23135 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23136 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23137 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23138 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23139 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23140
2ca85d2b
AB
231412013-10-04 Anton Blanchard <anton@au1.ibm.com>
23142
23143 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23144 (__signbit): Likewise. Correct for little-endian.
23145 (__signbitl): Call __signbit.
23146 (lrint): Correct for little-endian.
23147 (lrintf): Call lrint.
23148
62a728ae
AM
231492013-10-04 Alan Modra <amodra@gmail.com>
23150
23151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23152 union 32-bit int array member with 64-bit int array.
23153 (t515, tm256): Double rather than long double.
23154 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23155
32c301df
AM
231562013-10-04 Alan Modra <amodra@gmail.com>
23157
23158 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23159 Delete.
23160 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23162 version of math_ldbl.h.
23163
650ef4bd
AM
231642013-10-04 Alan Modra <amodra@gmail.com>
23165
23166 [BZ #15734], [BZ #15735]
23167 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23168 all uses of ieee875 long double macros and unions. Simplify test
23169 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23170 ldbl_extract_mantissa value for ix,iy exponents. Properly
23171 normalize after ldbl_extract_mantissa, and don't add hidden bit
23172 already handled. Don't treat low word of ieee854 mantissa like
23173 low word of IBM long double and mask off bit when testing for
23174 zero.
23175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23176 all uses of ieee875 long double macros and unions. Simplify tests
23177 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23178 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23179 two1022, instead use their values. Recognise that tests for large
23180 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23181 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23182 Rewrite all uses of ieee875 long double macros and unions. Simplify
23183 test for 0.0L and nan. Correct negation.
23184 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23185 ieee875 long double macros and unions. Correct output for large
23186 magnitude x. Correct absolute value calculation.
23187 (__erfcl): Likewise.
23188 * math/libm-test.inc: Add tests for errors discovered in IBM long
23189 double versions of fmodl, remainderl, erfl and erfcl.
23190
765714ca
AM
231912013-10-04 Alan Modra <amodra@gmail.com>
23192
23193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23194 all uses of ieee854 long double macros and unions. Simplify tests
23195 for long doubles that are fully specified by the high double.
23196 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23197 Likewise.
23198 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23199 Remove dead code too.
23200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23201 (__ieee754_ynl): Likewise.
23202 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23205 Remove dead code too.
23206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23208 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23210 Simplify.
23211 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23212 Simplify.
23213 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23215 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23216 Comment on variable precision.
23217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23219 Likewise.
23220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23223 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23224 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23225
4ebd120c
AM
232262013-10-04 Alan Modra <amodra@gmail.com>
23227
23228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23230 all uses of ieee854 long double macros and unions.
23231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23237 Likewise.
23238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23244 Simplify sign and nan test too.
23245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23247 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23249 Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23252 Likewise.
23253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23254 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23255 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23256 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23259
1b6adf88
AM
232602013-10-04 Alan Modra <amodra@gmail.com>
23261
23262 * stdio-common/printf_size.c (__printf_size): Don't use
23263 union ieee854_long_double in fpnum union.
23264 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23265 signbit macro to retrieve sign from long double.
23266 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23267 retrieve sign from long double.
23268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23269 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23270 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23271 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23272 * math/test-misc.c (main): Don't use union ieee854_long_double.
23273
4cf69995
AM
232742013-10-04 Alan Modra <amodra@gmail.com>
23275
23276 [BZ #15680]
23277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23279 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23280 calculation. Remove unnecessary test for denormal exponent.
23281 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23282 Correct handling of denormals. Avoid undefined shift behaviour.
23283 Correct normalisation of low mantissa when low double is denormal.
23284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23285 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23286 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23287 Correct normalisation of low mantissa. Test for overflow of high
23288 mantissa and normalise.
23289 (ldbl_nearbyint): Use more readable constant for two52.
23290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23291 (__mpn_construct_long_double): Fix test for overflow of high
23292 mantissa and correct normalisation. Avoid undefined shift.
23293
9605ca6c
AM
232942013-10-04 Alan Modra <amodra@gmail.com>
23295
23296 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23297 (union ibm_extended_long_double): Define as an array of ieee754_double.
23298 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23299 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23300 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23301 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23305 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23309
975569d0
JM
233102013-10-03 Joseph Myers <joseph@codesourcery.com>
23311
d3d23756
JM
23312 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23313 page size instead of calling getpagesize.
23314
975569d0
JM
23315 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23316 (LOCFILE_ALIGN_MASK): Likewise.
23317 (LOCFILE_ALIGN_UP): Likewise.
23318 (LOCFILE_ALIGNED_P): Likewise.
23319 * locale/programs/ld-collate.c (collate_output): Use the new
23320 macros instead of __alignof__ (int32_t).
23321 * locale/weight.h (findidx): Likewise.
23322
b1fe1f2b
OB
233232013-10-03 Ondřej Bílka <neleai@seznam.cz>
23324
23325 [BZ #431]
23326 * manual/string.texi: Fix strncat and wcsncat.
23327
5f855e35
BM
233282013-10-03 Brooks Moses <bmoses@google.com>
23329
23330 [BZ #15915]
23331 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23332 * Makerules: ...here, and adjust associated comments.
23333
3cef6009
WN
233342013-10-02 Will Newton <will.newton@linaro.org>
23335
23336 * malloc/Makefile: Add tst-pvalloc.
23337 * malloc/tst-pvalloc.c: New file.
23338
7815420b
WN
233392013-10-02 Will Newton <will.newton@linaro.org>
23340
23341 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23342 improve test coverage.
23343
4868b204
WN
233442013-10-02 Will Newton <will.newton@linaro.org>
23345
23346 * malloc/Makefile: Add tst-posix_memalign.
23347 * malloc/tst-posix_memalign.c: New file.
23348
29c793b3
EB
233492013-10-01 Eric Blake <eblake@redhat.com>
23350
23351 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23352 Use __THROWNL rather than __THROW on static functions.
23353
fd967522
PM
233542013-09-30 Petr Machata <pmachata@redhat.com>
23355
23356 * elf/elf.h (R_AARCH64_ABS16): New macro.
23357 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23358 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23359 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23360 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23361 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23362 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23363 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23364 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23365 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23366 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23367 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23368 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23369 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23370 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23371 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23372 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23373 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23374 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23375 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23376 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23377 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23378 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23379 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23380 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23381 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23382 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23383 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23384 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23385 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23386 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23387 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23388 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23389 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23390 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23391 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23392 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23393 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23394 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23395 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23396 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23397 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23398 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23399 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23400 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23401 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23402 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23403 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23404 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23405 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23406 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23407 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23408 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23409 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23410 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23411 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23412 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23413 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23414 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23415 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23416 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23417 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23418 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23419 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23420 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23421 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23422 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23423 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23424 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23425 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23426 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23427 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23428 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23429 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23430 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23431 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23432 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23433 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23434 (R_AARCH64_TLSDESC_LDR): Likewise.
23435 (R_AARCH64_TLSDESC_ADD): Likewise.
23436 (R_AARCH64_TLSDESC_CALL): Likewise.
23437
b2179107
AS
234382013-09-30 Andreas Schwab <schwab@suse.de>
23439
23440 [BZ #15048]
23441 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23442 the nss database lookup.
23443 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23445
47f28d0a
MF
234462013-09-28 Mike Frysinger <vapier@gentoo.org>
23447
23448 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23449
234502013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23451
23452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23453 ${Bash-specific parameter/pattern/string} parameter expansion.
23454 * sysdeps/unix/make-syscalls.sh: Likewise.
23455
f4518a17
KK
234562013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23457
23458 * sysdeps/sh/stackguard-macros.h: New file.
23459
dc1a95c7
OB
234602013-09-26 Ondřej Bílka <neleai@seznam.cz>
23461
23462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23464 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23465 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23467 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23468
5ebbff8f
AZ
234692013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23470
23471 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23472 Fix thread ID register.
23473
4fd2cf9f
JM
234742013-09-25 Joseph Myers <joseph@codesourcery.com>
23475
23476 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23477 [POSIX || UNIX98]: Require rather than permitting all symbols from
23478 <time.h>.
23479 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23480 element of struct sched_param.
23481 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23482 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23483 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23484 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23485 constant.
23486
12c22bc4
OL
234872013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23488
23489 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23490 argument calculation.
23491
a03d8ea7
JM
234922013-09-24 Joseph Myers <joseph@codesourcery.com>
23493
23494 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23495 Expect macro.
23496 [POSIX] (pthread_attr_t): Do not require type.
23497 [POSIX] (pthread_cond_t): Likewise.
23498 [POSIX] (pthread_condattr_t): Likewise.
23499 [POSIX] (pthread_key_t): Likewise.
23500 [POSIX] (pthread_mutex_t): Likewise.
23501 [POSIX] (pthread_mutexattr_t): Likewise.
23502 [POSIX] (pthread_once_t): Likewise.
23503 [POSIX] (pthread_t): Likewise.
23504 [POSIX-based standards] (pthread_atfork): Expect function.
23505
6055173a
JM
235062013-09-24 Joseph Myers <joseph@codesourcery.com>
23507 Richard Sandiford <richard@codesourcery.com>
23508
23509 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23510 (swap_endianness_p): New extern variable.
23511 (set_big_endian): New inline function.
23512 (maybe_swap_uint32): Likewise.
23513 (maybe_swap_uint32_array): Likewise.
23514 (maybe_swap_uint32_obstack): Likewise.
23515 * locale/programs/locfile.c: Include <stdbool.h>.
23516 (swap_endianness_p): New variable.
23517 (add_locale_uint32): Call maybe_swap_uint32.
23518 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23519 (write_locale_data): Call maybe_swap_uint32_array.
23520 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23521 maybe_swap_uint32.
23522 (obstack_int32_grow_fast): Likewise.
23523 (output_weightwc): Call maybe_swap_uint32_obstack.
23524 (collate_output): Likewise.
23525 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23526 (OPT_LITTLE_ENDIAN): Likewise.
23527 (options): Add --little-endian and --big-endian options.
23528 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23529 * locale/programs/locarchive.c: Include "locfile.h".
23530 (GET): New macro.
23531 (SET): Likewise.
23532 (INC): Likewise.
23533 (create_archive): Use the new macros to access fields of
23534 structures directly mapped from or written to locale archives.
23535 (oldlocrecentcmp): Likewise.
23536 (enlarge_archive): Likewise.
23537 (insert_name): Likewise.
23538 (add_alias): Likewise.
23539 (add_locale): Likewise.
23540 (delete_locales_from_archive): Likewise.
23541 (show_archive_content): Likewise.
23542 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23543 locale data.
23544
39bf0bb4
RM
235452013-09-24 Roland McGrath <roland@hack.frob.com>
23546
23547 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23548 http://www.gnu.org/doc/freemanuals.texi.
23549 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23550
f02eed10
WN
235512013-09-24 Will Newton <will.newton@linaro.org>
23552
23553 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23554 macro.
23555
a3a6c312
JM
235562013-09-23 Joseph Myers <joseph@codesourcery.com>
23557
23558 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23559 unsigned char.
23560
107375ac
MR
235612013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23562
23563 * manual/threads.texi (POSIX Threads): Fix a typo.
23564
141f3a77
SP
235652013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23566
303e567a
SP
23567 [BZ #14547]
23568 * string/tst-strcoll-overflow.c: New test case.
23569 * string/Makefile (xtests): Add tst-strcoll-overflow.
23570 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23571 cache if string sizes may cause integer overflow.
23572
141f3a77
SP
23573 [BZ #14547]
23574 * string/strcoll_l.c (coll_seq): New members rule, idx,
23575 save_idx and back_us.
23576 (get_next_seq_nocache): New function.
23577 (do_compare_nocache): New function.
23578 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23579 when malloc fails.
23580
c61b4d41
CD
235812013-09-23 Carlos O'Donell <carlos@redhat.com>
23582
0b1f8e35
CD
23583 [BZ #15754]
23584 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23585 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23586 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23587
c61b4d41
CD
23588 [BZ #15754]
23589 * elf/Makefile (tests): Add tst-ptrguard1.
23590 (tests-static): Add tst-ptrguard1-static.
23591 (tst-ptrguard1-ARGS): Define.
23592 (tst-ptrguard1-static-ARGS): Define.
23593 * elf/tst-ptrguard1.c: New file.
23594 * elf/tst-ptrguard1-static.c: New file.
23595 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23596 * sysdeps/i386/stackguard-macros.h: Likewise.
23597 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23598 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23599 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23600 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23601 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23602 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23603
236042013-09-23 Hector Marco <hecmargi@upv.es>
23605 Ismael Ripoll <iripoll@disca.upv.es>
23606 Carlos O'Donell <carlos@redhat.com>
23607
23608 [BZ #15754]
23609 * sysdeps/generic/stackguard-macros.h: Define
23610 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23611 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23612 Define __pointer_chk_guard_local.
23613 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23614 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23615
f5f4e7b4
VV
236162013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23617
23618 [BZ #15859]
23619 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23620
5bb43a43
AS
236212013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23622
23623 * include/string.h (__ffs): Declare as hidden.
23624 * string/ffs.c (__ffs): Define as hidden.
23625 * sysdeps/i386/ffs.c (__ffs): Likewise.
23626 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23627 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23628 * sysdeps/s390/ffs.c (__ffs): Likewise.
23629 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23630
3ea5be54
AO
236312013-09-20 Alexandre Oliva <aoliva@redhat.com>
23632
ffb89e53
AO
23633 * NEWS: Mention malloc probes.
23634
322dea08
AO
23635 * malloc/arena.c (new_heap): New memory_heap_new probe.
23636 (grow_heap): New memory_heap_more probe.
23637 (shrink_heap): New memory_heap_less probe.
23638 (heap_trim): New memory_heap_free probe.
23639 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23640 (systrim): New memory_sbrk_less probe.
23641 * manual/probes.texi: Document them.
23642
655673f3
AO
23643 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23644 * manual/probes.texi: Document it.
23645
35fed6f1
AO
23646 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23647 (__libc_realloc): Add memory_realloc_retry probe.
23648 (__libc_memalign): Add memory_memalign_retry probe.
23649 (__libc_valloc): Add memory_valloc_retry probe.
23650 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23651 (__libc_calloc): Add memory_calloc_retry probe.
23652 * manual/probes.texi: Document them.
23653
6999d38c
AO
23654 * malloc/arena.c (get_free_list): Add probe
23655 memory_arena_reuse_free_list.
23656 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23657 and memory_arena_reuse.
23658 (arena_get2) [!PER_THREAD]: Likewise.
23659 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23660 memory_arena_reuse_realloc.
23661 * manual/probes.texi: Document them.
23662
0653427f
AO
23663 * malloc/malloc.c (__libc_free): Add
23664 memory_mallopt_free_dyn_thresholds probe.
23665 (__libc_mallopt): Add multiple memory_mallopt probes.
23666 * manual/probes.texi: Document them.
23667
3ea5be54
AO
23668 * malloc/malloc.c: Include stap-probe.h.
23669 (__libc_mallopt): Add memory_mallopt probe.
23670 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23671 * manual/probes.texi: New.
23672 * manual/Makefile (chapters): Add probes.
23673 * manual/threads.texi: Set next node.
23674
e35696c3 236752013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23676
e35696c3
CL
23677 [BZ #15963, #13985]
23678 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23679 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23680 Add `Chinese' to `nan' entry name.
23681
4aafb73c
SP
236822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23683
23684 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23685 (POLYNOMIAL): Likewise.
23686 (TAYLOR_SINCOS): Likewise.
23687 (TAYLOR_SLOW): Likewise.
23688 (__sin): Use TAYLOR_SINCOS.
23689 (__cos): Likewise.
23690 (slow): Use TAYLOR_SLOW.
23691 (sloww): Likewise.
23692 (bsloww): Likewise.
23693 (csloww): Likewise.
23694
d84f25c7
LD
236952013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23696
23697 * stdlib/strtod_l.c: Fix buffer overrun.
23698
5eea0404
SP
236992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23700
7849ff93
SP
23701 * benchtests/Makefile (bench): Add sincos.
23702 * benchtests/bench-sincos.c: New file.
23703
cfa3c886
SP
23704 * math/libm-test.inc (cos_test_data): New test inputs.
23705 (sin_test_data): Likewise.
23706
b348e1e3
SP
23707 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23708 macro.
23709 (__sin): Use it.
23710 (__cos): Likewise.
23711 (slow1): Likewise.
23712 (slow2): Likewise.
23713 (sloww1): Likewise.
23714 (sloww2): Likewise.
23715 (bsloww1): Likewise.
23716 (bsloww2): Likewise.
23717 (cslow2): Likewise.
23718 (csloww1): Likewise.
23719 (csloww2): Likewise.
23720
6cce25f8
SP
23721 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23722 function.
23723 (__sin): Use it.
23724 (__cos): Likewise.
23725
5eea0404
SP
23726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23727 gotos.
23728 (__cos): Likewise.
23729
9c21573c
MR
237302013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23731
23732 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23733 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23734 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23735 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23736 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23737 * elf/cache.c (print_entry): Handle the new cache flags.
23738
24d22e65
JM
237392013-09-18 Joseph Myers <joseph@codesourcery.com>
23740 Aldy Hernandez <aldyh@redhat.com>
23741
23742 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23743 Change condition to [_SOFT_FLOAT].
23744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23756 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23759 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23760 declaration.
23761
d13ef066
JM
237622013-09-18 Joseph Myers <joseph@codesourcery.com>
23763
2e071de0
JM
23764 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23765 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23766 (__longjmp): Use LOAD_GP to load saved GPRs.
23767 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23768 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23769 (__sigsetjmp): Use SAVE_GP to save GPRs.
23770
d13ef066
JM
23771 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23772 Do not append -msoft-float.
23773 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23774
97a0650b
SP
237752013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23776
23777 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23778
11ca09e9
JM
237792013-09-17 Joseph Myers <joseph@codesourcery.com>
23780
23781 [BZ #15966]
23782 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23783 (_FPU_GETCW): Use initial "__" on variable and field names but not
23784 on macro parameter name.
23785 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23786 parentheses around reference to macro parameter.
23787
08ffcf34
RS
237882013-09-13 Richard Sandiford <richard@codesourcery.com>
23789
23790 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23791 prototype.
23792 (ctype_startup): Use uint32_t in cast and sizeof for
23793 ctype->charnames.
23794
ae7080d3
JL
237952013-09-11 Jia Liu <proljc@gmail.com>
23796
23797 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23798 __daddr_t_defined.
23799 [__FreeBSD__]: Likewise.
23800
5905e7b3
OB
238012013-09-11 Ondřej Bílka <neleai@seznam.cz>
23802
23803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23804 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23805 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23806 (strchr): Remove __strchr_sse42 ifunc selection.
23807 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23808 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23809
b987c776
WN
238102013-09-11 Will Newton <will.newton@linaro.org>
23811
23812 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23813 parameter to RES. Remove hardcoded 1000 value.
23814 * benchtests/bench-skeleton.c (main): Pass RES parameter
23815 to TIMING_INIT and multiply result by 1000.
23816
ddf985af
AZ
238172013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23818
23819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23820
ffdd3181
AS
238212013-09-11 Andreas Schwab <schwab@suse.de>
23822
23823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23824 if not defined.
23825 (O_TMPFILE) [__USE_GNU]: Define.
23826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23827 Define.
23828
b73ed247
WN
238292013-09-11 Will Newton <will.newton@linaro.org>
23830
23831 [BZ #15857]
23832 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23833 does not overflow.
23834
55e17aad
WN
238352013-09-11 Will Newton <will.newton@linaro.org>
23836
23837 [BZ #15856]
23838 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23839 does not overflow.
23840
1159a193
WN
238412013-09-11 Will Newton <will.newton@linaro.org>
23842
23843 [BZ #15855]
23844 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23845 does not overflow.
23846
5905e7b3 238472013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23848
23849 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23851 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23852 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23854
cdfc721b
AM
238552013-09-10 Allan McRae <allan@archlinux.org>
23856
aa04af00
AM
23857 [BZ #15748]
23858 * manual/arith.texi (Parsing of Floats): Clarify
23859 cross-reference.
23860
cdfc721b
AM
23861 [BZ #15849]
23862 * manual/install.texi (Running make install): Mention
23863 --enable-pt-chown.
23864 * INSTALL: Regenerated.
23865
95e7cf29
MR
238662013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23867
23868 * csu/init-first.c (_init): Remove the !SHARED condition around
23869 FPU control word initialization.
23870 * elf/dl-support.c (_dl_fpu_control): New variable.
23871 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23872 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23873 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23874 * math/test-fpucw-static.c: New file.
23875 * math/test-fpucw-ieee.c: New file.
23876 * math/test-fpucw-ieee-static.c: New file.
23877 * math/Makefile (tests): Add `test-fpucw-ieee' and
23878 `$(tests-static)'.
23879 (tests-static): New variable.
23880 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23881 dependency to...
23882 [($(build-shared),yes)]
23883 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23884 ... this.
23885 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23886 New dependency.
23887
83e43bf0
AM
238882013-09-09 Allan McRae <allan@archlinux.org>
23889
a9f5ce09
AM
23890 [BZ #15939]
23891 * manual/string.texi (Collation Functions): Fix typo in
23892 strcoll example.
23893 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23894
34829bc2
AM
23895 [BZ #15893]
23896 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23897
3932737d
AM
23898 [BZ #15892]
23899 * libio/memstream.c (open_memstream): Fix memory leak.
23900 * libio/wmemstream.c (open_wmemstream): Likewise.
23901
83e43bf0
AM
23902 [BZ #15895]
23903 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23904
0c66b8e9
WN
239052013-09-09 Will Newton <will.newton@linaro.org>
23906
23907 * malloc/Makefile: Add tst-realloc to tests.
23908 * malloc/tst-realloc.c: New file.
23909
f6b00fd1
AM
239102013-09-09 Allan McRae <allan@archlinux.org>
23911
23912 [BZ #15844]
23913 * COPYING: Update from GNU website to fix FSF address.
23914 * COPYING.LIB: Likewise.
23915
eec55e16
DM
239162013-09-06 David S. Miller <davem@davemloft.net>
23917
23918 * po/zh_TW.po: Update Chinese (traditional) translation from
23919 translation project.
23920
1ecbb381
RS
239212013-09-06 Richard Sandiford <richard@codesourcery.com>
23922 Joseph Myers <joseph@codesourcery.com>
23923
23924 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23925 "localeinfo.h".
23926 (obstack_chunk_alloc): New macro.
23927 (obstack_chunk_free): Likewise.
23928 (record_offset): New function.
23929 (init_locale_data): Likewise.
23930 (align_locale_data): Likewise.
23931 (add_locale_empty): Likewise.
23932 (add_locale_raw_data): Likewise.
23933 (add_locale_raw_obstack): Likewise.
23934 (add_locale_string): Likewise.
23935 (add_locale_wstring): Likewise.
23936 (add_locale_uint32): Likewise.
23937 (add_locale_uint32_array): Likewise.
23938 (add_locale_char): Likewise.
23939 (start_locale_structure): Likewise.
23940 (end_locale_structure): Likewise.
23941 (start_locale_prelude): Likewise.
23942 (end_locale_prelude): Likewise.
23943 (write_locale_data): Take locale_file structure rather than an
23944 iovec.
23945 * locale/programs/locfile.h: Include "obstack.h".
23946 (struct locale_file): Change to store locale file contents instead
23947 of header.
23948 (init_locale_data): New prototype.
23949 (align_locale_data): Likewise.
23950 (add_locale_empty): Likewise.
23951 (add_locale_raw_data): Likewise.
23952 (add_locale_raw_obstack): Likewise.
23953 (add_locale_string): Likewise.
23954 (add_locale_wstring): Likewise.
23955 (add_locale_uint32): Likewise.
23956 (add_locale_uint32_array): Likewise.
23957 (add_locale_char): Likewise.
23958 (start_locale_structure): Likewise.
23959 (end_locale_structure): Likewise.
23960 (start_locale_prelude): Likewise.
23961 (end_locale_prelude): Likewise.
23962 (write_locale_data): Update prototype.
23963 * locale/programs/3level.h (struct TABLE): Remove result field.
23964 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23965 Use new locale_file interface.
23966 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23967 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23968 * locale/programs/ld-address.c (address_output): Use new
23969 locale_file interface.
23970 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23971 NO_ADD_LOCALE.
23972 (collate_finish): Don't call collseq_table_finalize.
23973 (collate_output): Use new locale_file interface.
23974 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23975 in file.
23976 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23977 (TABLE): Move defines earlier in file.
23978 (ELEMENT): Likewise.
23979 (DEFAULT): Likewise.
23980 (wctrans_table_add): Move macro and inline function earlier in
23981 file.
23982 (struct wctype_table): Move type earlier in file.
23983 (add_locale_wctype_table): New static prototype.
23984 (struct locale_ctype_t): Use logical types instead of struct iovec
23985 pointers for members.
23986 (ctype_output): Use new locale_file interface.
23987 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23988 new locale_file interface.
23989 (allocate_arrays): Update for use of new locale_file interface.
23990 * locale/programs/ld-identification.c (identification_output): Use
23991 new locale_file interface.
23992 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23993 * locale/programs/ld-messages.c (messages_output): Likewise.
23994 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23995 * locale/programs/ld-name.c (name_output): Likewise.
23996 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23997 * locale/programs/ld-paper.c (paper_output): Likewise.
23998 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23999 * locale/programs/ld-time.c (time_output): Likewise.
24000
e029e2e5
AZ
240012013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24002
24003 * benchtests/Makefile: Add memrchr benchmark.
24004 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24005 benchmark as memrchr.
24006 * benchtests/bench-memrchr-ifunc.c: New file.
24007 * benchtests/bench-memrchr.c: New file.
24008
bbf6e8e4
WN
240092013-09-06 Will Newton <will.newton@linaro.org>
24010
24011 * benchtests/Makefile (string-bench): Add memcpy.
24012
6c82a2f8
CD
240132013-09-05 Carlos O'Donell <carlos@redhat.com>
24014 Cong Wang <amwang@redhat.com>
24015
e732c5f0 24016 [BZ #15850]
6c82a2f8
CD
24017 * sysdeps/unix/sysv/linux/bits/in.h
24018 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24019 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24020 before __USE_KERNEL_IPV6_DEFS uses.
24021 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24022 IPPROTO_BEETPH.
24023 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24024 sockaddr_in6, or ipv6_mreq.
24025
5430fc65
AZ
240262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24027
24028 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24029 memory access for final bytes in some large inputs.
24030 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24031
4660856c
AZ
240322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24033
24034 * string/test-memrchr.c: New file.
24035 * string/test-memrchr-ifunc.c: New file.
24036 * string/Makefile: Add new memrchr testcase.
24037
bb8ea713
MF
240382013-09-05 Mike Frysinger <vapier@gentoo.org>
24039
24040 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24041 fanotify_init returns EPERM.
24042
b92a20b5
JM
240432013-09-04 Joseph Myers <joseph@codesourcery.com>
24044
24045 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24046 errors.
24047 (top level): Treat second token from macro or constant entries for
24048 allowed headers as allowed.
24049 * include/complex.h: Condition internal declarations on
24050 [!_ISOMAC].
24051 * include/fenv.h: Condition include of <stdbool.h> and internal
24052 declarations on [!_ISOMAC].
7447ccd9
CL
24053
240542013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24055
3e181dda 24056 [BZ #15923]
7447ccd9
CL
24057 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24058
3f2e46a4
JM
240592013-09-04 Joseph Myers <joseph@codesourcery.com>
24060
24061 * configure.in (--enable-versioning): Remove configure option.
24062 (libc_cv_asm_symver_directive): Remove configure test.
24063 (libc_cv_ld_version_script_option): Likewise.
24064 (VERSIONING): Remove variable and AC_SUBST.
24065 (DO_VERSIONING): Remove AC_DEFINE.
24066 * configure: Regenerated.
24067 * config.h.in (DO_VERSIONING): Remove macro.
24068 * Makerules [$(versioning) = yes]: Change conditionals to
24069 [$(build-shared) = yes].
24070 * config.make.in (versioning): Remove variable.
24071 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24072 [$(build-shared) = yes].
24073 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24074 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24075 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24076 [$(build-shared) = yes].
24077 * extra-lib.mk [$(versioning) = yes]: Likewise.
24078 * hurd/Makefile [$(versioning) = yes]: Likewise.
24079 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24080 [SHARED].
24081 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24082 [SHARED].
24083 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24084 [SHARED && !NO_HIDDEN].
24085 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24086 [SHARED].
24087 [SHARED && DO_VERSIONING]: Likewise..
24088 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24089 [$(build-shared) = yes].
24090 * manual/install.texi (--disable-versioning): Remove
24091 documentation.
24092 * INSTALL: Regenerated.
24093 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24094 to [SHARED].
24095 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24096 [$(build-shared) = yes].
24097 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24098 * sysdeps/i386/i686/multiarch/strstr-c.c
24099 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24100 [SHARED && !NO_HIDDEN].
24101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24102 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24103 * sysdeps/powerpc/powerpc32/dl-machine.c
24104 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24105 * sysdeps/powerpc/powerpc32/sysdep.h
24106 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24107 to [SHARED && PIC && !NO_HIDDEN].
24108 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24109 conditional to [SHARED].
24110
44558701
WN
241112013-09-04 Will Newton <will.newton@linaro.org>
24112
24113 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24114 * benchtests/bench-string.h: Include bench-timing.h instead
24115 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24116 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24117 call to HP_TIMING_DIFF_INIT.
24118 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24119 instead of hp-timing.h macros.
24120 * benchtests/bench-memchr.c: Likewise.
24121 * benchtests/bench-memcmp.c: Likewise.
24122 * benchtests/bench-memcpy.c: Likewise.
24123 * benchtests/bench-memmem.c: Likewise.
24124 * benchtests/bench-memmove.c: Likewise.
24125 * benchtests/bench-memset.c: Likewise.
24126 * benchtests/bench-rawmemchr.c: Likewise.
24127 * benchtests/bench-strcasecmp.c: Likewise.
24128 * benchtests/bench-strcasestr.c: Likewise.
24129 * benchtests/bench-strcat.c: Likewise.
24130 * benchtests/bench-strchr.c: Likewise.
24131 * benchtests/bench-strcmp.c: Likewise.
24132 * benchtests/bench-strcpy.c: Likewise.
24133 * benchtests/bench-strcpy_chk.c: Likewise.
24134 * benchtests/bench-strlen.c: Likewise.
24135 * benchtests/bench-strncasecmp.c: Likewise.
24136 * benchtests/bench-strncat.c: Likewise.
24137 * benchtests/bench-strncmp.c: Likewise.
24138 * benchtests/bench-strncpy.c: Likewise.
24139 * benchtests/bench-strnlen.c: Likewise.
24140 * benchtests/bench-strpbrk.c: Likewise.
24141 * benchtests/bench-strrchr.c: Likewise.
24142 * benchtests/bench-strspn.c: Likewise.
24143 * benchtests/bench-strstr.c: Likewise.
24144
cae16d66
WN
241452013-09-04 Will Newton <will.newton@linaro.org>
24146
24147 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24148
ffa3cd7f
JM
241492013-09-03 Joseph Myers <joseph@codesourcery.com>
24150
24151 [BZ #15427]
24152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24153 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24154 * math/libm-test.inc (lgamma_test_data): Add more tests.
24155 * sysdeps/i386/fpu/libm-test-ulps: Update.
24156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24157
8f02859f
OB
241582013-09-03 Ondřej Bílka <neleai@seznam.cz>
24159
24160 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24162 Add ifunc.
24163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24164 Add strcmp-sse2-unaligned
24165 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24166
18d43716
MF
241672013-09-02 Mike Frysinger <vapier@gentoo.org>
24168
24169 * Versions.def (libc): Add GLIBC_2.19.
24170
ac444012
MF
241712013-09-02 Mike Frysinger <vapier@gentoo.org>
24172
24173 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24174 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24175
b7835e32
JM
241762013-09-02 Joseph Myers <joseph@codesourcery.com>
24177
24178 [BZ #14155]
24179 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24180 intermediate calculations in recurrence.
24181 (__ieee754_ynf): Likewise.
24182 * math/libm-test.inc (jn_test_data): Do not allow spurious
24183 underflow exception. Add more tests.
24184 (yn_test_data): Add more tests.
24185 * sysdeps/i386/fpu/libm-test-ulps: Update.
24186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24187
8220f4f0
OB
241882013-09-02 Ondřej Bílka <neleai@seznam.cz>
24189
24190 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24191
f24a6d08
OB
241922013-08-30 Ondřej Bílka <neleai@seznam.cz>
24193
24194 * csu/init-first.c: Fix then/than typos.
24195 * locale/programs/ld-collate.c: Likewise.
24196 * locale/programs/linereader.h: Likewise.
24197 * manual/charset.texi: Likewise.
24198 * manual/filesys.texi: Likewise.
24199 * manual/stdio.texi: Likewise.
24200 * manual/string.texi: Likewise.
24201 * stdlib/fmtmsg.c: Likewise.
24202 * sysdeps/i386/stpncpy.S: Likewise.
24203 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24204 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24205 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24206 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24207
382466e0
OB
242082013-08-30 Ondřej Bílka <neleai@seznam.cz>
24209
24210 * elf/dl-open.c: Fix typos.
24211 * iconvdata/gbbig5.c: Likewise.
24212 * iconvdata/iso-2022-jp.c: Likewise.
24213 * iconv/gconv_int.h: Likewise.
24214 * iconv/loop.c: Likewise.
24215 * nis/rpcsvc/nis.h: Likewise.
24216 * resolv/ns_name.c: Likewise.
24217 * stdio-common/vfscanf.c: Likewise.
24218 * streams/stropts.h: Likewise.
24219 * sunrpc/rpc_thread.c: Likewise.
24220 * sysdeps/i386/strpbrk.S: Likewise.
24221 * sysdeps/ieee754/k_standard.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24224 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24225 * sysdeps/mach/hurd/profil.c: Likewise.
24226 * sysdeps/s390/dl-procinfo.h: Likewise.
24227 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24228 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24229 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24230 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24232
0186c6e9
OB
242332013-08-30 Ondřej Bílka <neleai@seznam.cz>
24234
24235 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24237
d4e16af1
OB
242382013-08-29 Ondřej Bílka <neleai@seznam.cz>
24239
24240 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24241 aix specific files.
24242 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24243 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24245 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24246 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24247 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24248 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24249 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24250
88335980
TS
242512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24252 Roland McGrath <roland@hack.frob.com>
24253
24254 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24255 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24256
ed479b02
ST
242572013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24258
24259 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24260 __executable_start symbol instead of _start.
24261
f1cc4c86
TS
242622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24263
d821f07c
TS
24264 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24265 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24266 Move macros to...
24267 * sysdeps/gnu/ldsodefs.h: ... this new file.
24268
c54290cf
TS
24269 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24270 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24271 instead of ELFOSABI_LINUX.
24272
0007fc9b 24273 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24274 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24275 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24276 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24277 Likewise.
24278 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24279 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24280 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24281 Likewise.
24282 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24283 (ibm_extended_long_double): Add ieee_nan member.
24284 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24285 (do_test): New function.
24286
f1cc4c86
TS
24287 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24288 TEST_TRUNC.
24289 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24290 functions, renamed from truncdfsf_test, trunctfsf_test,
24291 trunctfdf_test.
24292 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24293 functions.
24294 (do_test): Run all these.
24295
6f65e668
OB
242962013-08-29 Ondřej Bílka <neleai@seznam.cz>
24297
24298 * argp/argp-help.c: Fix typos.
24299 * argp/argp-parse.c: Likewise.
24300 * debug/backtracesyms.c: Likewise.
24301 * elf/elf.h: Likewise.
24302 * malloc/malloc.c: Likewise.
24303 * nis/nis_print.c: Likewise.
24304 * resolv/res_comp.c: Likewise.
24305 * stdlib/stdlib.h: Likewise.
24306 * sunrpc/clnt_tcp.c: Likewise.
24307 * sunrpc/clnt_udp.c: Likewise.
24308 * sunrpc/clnt_unix.c: Likewise.
24309 * sysdeps/unix/bsd/ptsname.c: Likewise.
24310 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24311 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24313 Likewise.
24314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24315 Likewise.
24316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24317 Likewise.
6f65e668
OB
24318 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24319
3a309239
SP
243202013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24321
24322 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24324
3b813b29
MF
243252013-08-27 Mike Frysinger <vapier@gentoo.org>
24326
24327 [BZ #15897]
24328 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24329 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24330 ($(objpfx)bug-dl-leaf): New rule.
24331 ($(objpfx)bug-dl-leaf.so): Likewise.
24332 ($(objpfx)bug-dl-leaf.out): Likewise.
24333 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24334 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24335 * dlfcn/bug-dl-leaf.c: New test.
24336 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24337 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24338 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24339 (dlclose): Likewise.
24340 (dlmopen): Likewise.
24341
8cc3269f
RM
243422013-08-27 Roland McGrath <roland@hack.frob.com>
24343
7f9d0034
RM
24344 * include/netdb.h [!_ISOMAC]:
24345 Don't include <tls.h>.
24346 (h_errno, __libc_h_errno): Move declaration and macros out of
24347 [_LIBC_REENTRANT].
24348
fb431262
RM
24349 * include/resolv.h [_RESOLV_H_]:
24350 Don't include <tls.h>.
24351 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24352 * resolv/res_libc.c: Don't include <tls.h>.
24353 (_res): Use __attribute__ ((nocommon)) in place of
24354 __attribute__ ((section (".bss"))).
24355
bd81123a
RM
24356 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24357 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24358
c4e42566
RM
24359 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24360
f890a59b
RM
24361 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24362 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24363
24364 * resolv/res_mkquery.c: Include <sys/time.h>.
24365
5d1f0a09
RM
24366 * inet/ifreq.c: Moved to ...
24367 * sysdeps/unix/ifreq.c: ... here.
24368 * inet/ifreq.c: New file, true stub version.
24369
6fcf28b3
RM
24370 * socket/sa_len.c: New file.
24371 * socket/Makefile (aux): Add it.
24372 * sysdeps/unix/sysv/linux/Makefile
24373 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24374 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24375 and #include <socket/sa_len.c>.
24376 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24377 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24378
e041fb8b
RM
24379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24380 * bits/socket.h: ... here.
24381
8cc3269f
RM
24382 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24383 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24384 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24385
5d228a43
AS
243862013-08-27 Andreas Schwab <schwab@suse.de>
24387
45b8accc
AS
24388 [BZ #15736]
24389 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24390 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24391 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24392 * string/test-strcasecmp.c (test_main): Run tests in several
24393 locales.
24394 * string/test-strncasecmp.c (test_main): Likewise.
24395
5d228a43
AS
24396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24397 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24398 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24400 (__strncasecmp_ssse3) [PIC]: Likewise.
24401
59d112a4
RM
244022013-08-26 Roland McGrath <roland@hack.frob.com>
24403
53234cc3
RM
24404 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24405
59d112a4
RM
24406 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24407 instead of explicitly declaring xdecrypt.
24408 * nis/nss_nis/nis-publickey.c: Likewise.
24409
595aba70
SP
244102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24411
24412 [BZ #15890]
24413 * nscd/aicache.c: Include res_hconf.h.
24414 (addhstaiX): Initialize res_hconf.
24415
ffabd393
AS
244162013-08-26 Andreas Schwab <schwab@suse.de>
24417
24418 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24419 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24420
e0a69f5c
SP
244212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24422
24423 * nscd/aicache.c (addhstaiX): Fix indentation.
24424
8c12f01d
MF
244252013-08-25 Mike Frysinger <vapier@gentoo.org>
24426
24427 * configure.ac: Quote $build_pt_chown test.
24428 * configure: Regenerated.
24429
8fe89494
JM
244302013-08-23 Joseph Myers <joseph@codesourcery.com>
24431
24432 [BZ #15532]
24433 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24434 * math/s_cexpf.c (__cexpf): Likewise.
24435 * math/s_cexpl.c (__cexpl): Likewise.
24436 * math/libm-test.inc (cexp_test_data): Correct expected return
24437 value for NaN + i0. Add another test.
24438
75b181d6
DM
244392013-08-22 David S. Miller <davem@davemloft.net>
24440
24441 * po/ca.po: Update Catalan translation from translation project.
936241e4 24442 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24443
acd06bb1
JM
244442013-08-21 Joseph Myers <joseph@codesourcery.com>
24445
24446 [BZ #15797]
24447 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24448 is infinite, not alongside NaN test.
24449 * math/s_fdimf.c (__fdimf): Likewise.
24450 * math/s_fdiml.c (__fdiml): Likewise.
24451 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24452 errno is unchanged.
24453
c0c3f78a
OB
244542013-08-21 Ondřej Bílka <neleai@seznam.cz>
24455
24456 * argp/argp-help.c: Fix typos.
24457 * crypt/speeds.c: Likewise.
24458 * csu/check_fds.c: Likewise.
24459 * elf/dl-load.c: Likewise.
24460 * elf/dl-open.c: Likewise.
24461 * elf/reldep3.c: Likewise.
24462 * elf/reldep.c: Likewise.
24463 * elf/sprof.c: Likewise.
24464 * iconv/iconv_charmap.c: Likewise.
24465 * iconv/skeleton.c: Likewise.
24466 * iconv/strtab.c: Likewise.
24467 * io/lockf64.c: Likewise.
24468 * libio/libioP.h: Likewise.
24469 * resolv/gai_notify.c: Likewise.
24470 * resolv/ns_name.c: Likewise.
24471 * resolv/ns_samedomain.c: Likewise.
24472 * resolv/res_send.c: Likewise.
24473 * stdlib/random.c: Likewise.
24474 * sunrpc/rpc/xdr.h: Likewise.
24475 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24477 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24478 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24483 * sysdeps/mach/hurd/check_fds.c: Likewise.
24484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24485 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24488 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24490 * sysdeps/pthread/aio_notify.c: Likewise.
24491 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24492 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24495 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24496
46ed1038
LD
244972013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24498
24499 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24500 version if bit_Slow_SSE4_2 is set.
24501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24503
d400dcac
AZ
245042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24505
24506 [BZ #15867]
24507 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24508 trampoline stack frame information.
24509 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24510 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24511 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24512 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24513 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24514 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24515 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24516 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24517 sa_flags value.
24518 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24519 interrupting a syscall and set with option SA_SIGINFO.
24520
42c8fdd8
JM
245212013-08-20 Joseph Myers <joseph@codesourcery.com>
24522
c980f2f4
JM
24523 [BZ #15531]
24524 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24525 argument is infinite.
24526 * math/s_cprojf.c (__cprojf): Likewise.
24527 * math/s_cprojl.c (__cprojl): Likewise.
24528 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24529 * math/libm-test.inc (cproj_test_data): Add more tests.
24530
0716c4fc
JM
24531 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24532
42c8fdd8
JM
24533 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24534 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24535 size. Use __ffs to determine corresponding shift.
24536
b31469d0
JM
245372013-08-20 Joseph Myers <joseph@codesourcery.com>
24538 Roland McGrath <roland@hack.frob.com>
24539
24540 * Makefile (INSTALL): Remove trailing blank lines from output of
24541 makeinfo.
24542
4e39af6e
AK
245432013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24544
24545 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24546 Align 32 bit compat elf_greg to 8 bytes.
24547
f315524e
AA
245482013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24549
24550 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24551
1326ba1a
SP
245522013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24553
24554 * string/strcoll_l.c (coll_seq): New structure.
24555 (get_next_seq_cached): New function.
24556 (get_next_seq): New function.
24557 (do_compare): New function.
24558 (STRCOLL): Use GNU style definition. Simplify implementation
24559 by using get_next_seq, get_next_seq_cached and do_compare.
24560
91ce4085
FW
245612013-08-16 Florian Weimer <fweimer@redhat.com>
24562
24563 [BZ #14699]
24564 CVE-2013-4237
24565 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24566 member.
24567 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24568 member.
24569 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24570 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24571 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24572 conditional.
24573 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24574 GETDENTS_64BIT_ALIGNED.
24575 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24576 * manual/filesys.texi (Reading/Closing Directory): Document
24577 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24578 strongly.
24579 * manual/conf.texi (Limits for Files): Add portability note to
24580 NAME_MAX, PATH_MAX.
24581 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24582
ca0a6bc4
AS
245832013-08-13 Andreas Schwab <schwab@suse.de>
24584
24585 [BZ #15749]
24586 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24587 of fabs.
24588 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24589 LDBL_MAX_EXP >= 16384]: Add tests for it.
24590
6c1fd795
DM
245912013-08-12 David S. Miller <davem@davemloft.net>
24592
24593 * version.h (RELEASE): Set to "development".
24594 (VERSION): Set to "2.18.90".
24595 * NEWS: Add 2.19 section.
24596
31ad488d
DM
245972013-08-03 David S. Miller <davem@davemloft.net>
24598
24599 * po/ko.po: Update Korean translation from translation project.
24600
db24e684
DM
246012013-08-01 David S. Miller <davem@davemloft.net>
24602
24603 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24604 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24605 Bilka.
24606
f723285b
DM
246072013-07-30 David S. Miller <davem@davemloft.net>
24608
24609 * po/fr.po: Update French translation from translation project.
24610
3cbc52db
DM
246112013-07-28 David S. Miller <davem@davemloft.net>
24612
30bbc0cc
DM
24613 * po/cs.po: Update Czech translation from translation project.
24614
3cbc52db
DM
24615 * po/sv.po: Update Swedish translation from translation project.
24616
d492e6d0
DM
246172013-07-27 David S. Miller <davem@davemloft.net>
24618
f1a7f492
DM
24619 * po/eo.po: Update Esperanto translation from translation project.
24620
90e62a4a
DM
24621 * po/vi.po: Update Vietnamese translation from translation project.
24622
d492e6d0
DM
24623 * po/de.po: Update German translation from translation project.
24624
d4baa62d
DM
246252013-07-26 David S. Miller <davem@davemloft.net>
24626
641aa7b4
DM
24627 * po/bg.po: Update Bulgarian translation from translation project.
24628
d4baa62d
DM
24629 * po/nl.po: Update Dutch translation from translation project.
24630 * po/pl.po: Update Polish translation from translation project.
24631 * po/ru.po: Update Russian translation from translation project.
24632
61a9dcb9
DM
246332013-07-24 David S. Miller <davem@davemloft.net>
24634
24635 * po/libc.pot: Update.
24636
7b1f8b58
AZ
246372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24638
24639 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24640 variable page size.
24641 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24642 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24643 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24644
a8fc7a03
AK
246452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24646
24647 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24648
e4608715
CD
246492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24650 Andreas Schwab <schwab@suse.de>
24651 Roland McGrath <roland@hack.frob.com>
24652 Joseph Myers <joseph@codesourcery.com>
24653 Carlos O'Donell <carlos@redhat.com>
24654
24655 [BZ #15755]
24656 * config.h.in: Define HAVE_PT_CHOWN.
24657 * config.make.in (build-pt-chown): New variable.
24658 * configure.in (--enable-pt_chown): New configure option.
24659 * configure: Regenerate.
24660 * login/Makefile: Include Makeconfig. Build pt_chown only if
24661 build-pt-chown is enabled.
24662 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24663 pt_chown to fix pty ownership.
24664 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24665 CLOSE_ALL_FDS.
24666 * manual/install.texi (Configuring and compiling): Mention
24667 --enable-pt_chown. Add @findex for grantpt.
24668 * INSTALL: Regenerate.
24669
da2d62df
DM
246702013-07-20 David S. Miller <davem@davemloft.net>
24671
24672 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24673 difference between 32-bit and 64-bit.
24674
d7e06450
CD
246752013-07-15 Carlos O'Donell <carlos@redhat.com>
24676
24677 [BZ #15711]
24678 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24679 Avoid system header dependency with -ffreestanding.
24680 ($(objpfx)bits/syscall%d): Likewise.
24681
f959cfd7
DM
246822013-07-13 David S. Miller <davem@davemloft.net>
24683
24684 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24685 underflows from atanl/atan2l due to bug 15319.
24686 (casinh_test_data): Likewise.
24687
c61f8513
DM
246882013-07-07 David S. Miller <davem@davemloft.net>
24689
24690 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24691
72c90ed0
JA
246922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24693
24694 * sysdeps/i386/fpu/libm-test-ulps: Update.
24695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24696
52dfbe13
SP
246972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24698
24699 * configure.in (--enable-lock-elision): Fix message text.
24700 * INSTALL: Regenerate.
24701 * configure: Regenerate.
24702
3f169543
AZ
247032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24704
24705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24706
521c6785
AJ
247072013-07-03 Andreas Jaeger <aj@suse.de>
24708
24709 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24710 define.
24711 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24712 (ptrace_peeksiginfo_args): Add.
24713 (__ptrace_peeksiginfo_flags): Add.
24714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24717
d2cc15cb
AM
247182013-07-03 Allan McRae <allan@archlinux.org>
24719
24720 * sysdeps/i386/fpu/libm-test-ulps: Update.
24721
3aaeeca7
DM
247222013-07-02 David S. Miller <davem@davemloft.net>
24723
24724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24725
5314ed1a
MT
247262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24727
24728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24729
67338156
JM
247302013-07-02 Joseph Myers <joseph@codesourcery.com>
24731
24732 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24734
1717da59
AK
247352013-07-02 Andi Kleen <ak@linux.intel.com>
24736
24737 * config.h.in (ENABLE_LOCK_ELISION): Add.
24738 * configure.in (--enable-lock-elision): Add option.
24739 * manual/install.texi: Document --enable lock elision.
24740 * configure: Regenerate
24741 * INSTALL: Regenerate.
24742
1c81621c
L
247432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24744
24745 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24746 SSE4.2 strcasecmp for libc.a.
24747 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24748
77f01ab5
JM
247492013-07-02 Joseph Myers <joseph@codesourcery.com>
24750
24751 [BZ #13304]
24752 * soft-fp/op-common.h (_FP_FMA): New macro.
24753 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24754 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24755 (_FP_MUL_MEAT_1_imm): ... here.
24756 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24757 (_FP_MUL_MEAT_1_wide): ... here.
24758 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24759 (_FP_MUL_MEAT_1_hard): ... here.
24760 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24761 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24762 (_FP_MUL_MEAT_2_wide): ... here.
24763 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24764 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24765 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24766 (_FP_MUL_MEAT_2_gmp): ... here.
24767 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24768 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24769 (_FP_MUL_MEAT_4_wide): ... here.
24770 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24771 (_FP_MUL_MEAT_4_gmp): ... here.
24772 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24773 (_FP_WFRACBITS_DW_S): Likewise.
24774 (_FP_WFRACXBITS_DW_S): Likewise.
24775 (_FP_HIGHBIT_DW_S): Likewise.
24776 (FP_FMA_S): Likewise.
24777 (_FP_FRAC_HIGH_DW_S): Likewise.
24778 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24779 (_FP_WFRACBITS_DW_D): Likewise.
24780 (_FP_WFRACXBITS_DW_D): Likewise.
24781 (_FP_HIGHBIT_DW_D): Likewise.
24782 (FP_FMA_D): Likewise.
24783 (_FP_FRAC_HIGH_DW_D): Likewise.
24784 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24785 (_FP_WFRACBITS_DW_E): Likewise.
24786 (_FP_WFRACXBITS_DW_E): Likewise.
24787 (_FP_HIGHBIT_DW_E): Likewise.
24788 (FP_FMA_E): Likewise.
24789 (_FP_FRAC_HIGH_DW_E): Likewise.
24790 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24791 (_FP_WFRACBITS_DW_Q): Likewise.
24792 (_FP_WFRACXBITS_DW_Q): Likewise.
24793 (_FP_HIGHBIT_DW_Q): Likewise.
24794 (FP_FMA_Q): Likewise.
24795 (_FP_FRAC_HIGH_DW_Q): Likewise.
24796 * soft-fp/fmasf4.c: New file.
24797 * soft-fp/fmadf4.c: Likewise.
24798 * soft-fp/fmatf4.c: Likewise.
24799
6308fd9a
LD
248002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24801
24802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24803 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24804 Silvermont.
24805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24806 macro.
24807 (index_Slow_SSE4_2): Likewise.
24808 (index_Prefer_PMINUB_for_stringop): Likewise.
24809 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24810 bit_Slow_SSE4_2 is set.
24811 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24812 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24813
89cd9569
RA
248142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24815
24816 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24817 rtld_global._dl_hwcap2.
24818 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24819 POWER8.
24820 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24821 POWER8 feature descriptions defined in _dl_hwcap2.
24822 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24823 string handling for POWER8 feature bits.
24824 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24825 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24826 _dl_powerpc_cap_flags.
24827 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24828 * sysdeps/powerpc/rtld-global-offsets.sym
24829 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24830 _dl_hwcap2 in the rtld_global_ro structure.
24831
1ae8bfe0
RA
248322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24833
24834 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24835 hardware capabilities in support of AT_HWCAP2.
24836 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24837 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24838 GLRO(dl_hwcap2).
24839 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24840 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24841 explicitly the unknown a_type display mechanism is used.
24842 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24843 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24844 struct member.
24845 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24846 to macro prototype for AT_HWCAP2 support.
24847 * sysdeps/i386/dl-procinfo.h: Likewise.
24848 * sysdeps/s390/dl-procinfo.h: Likewise.
24849 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24850 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24851 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24852 return -1 for unknown a_type display fallback.
24853 * sysdeps/sparc/dl-procinfo.h: Likewise.
24854 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24855 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24856
8fbec010
JM
248572013-06-28 Joseph Myers <joseph@codesourcery.com>
24858
24859 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24860 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24861
0432680e
PY
248622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24863
24864 [BZ #12492]
24865 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24866 mprotect making __stack_prot writable.
24867
ce61a2ad
NF
248682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24869 Joseph Myers <joseph@codesourcery.com>
24870
24871 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24872 as being properly aligned.
24873
f91f1c0f
MR
248742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24875
3d0f5d0c
MR
24876 * dlfcn/modstatic5.c: New file.
24877 * dlfcn/tststatic5.c: New file.
24878 * dlfcn/Makefile (tests): Add tststatic5.
24879 (tests-static): Likewise.
24880 (modules-names): Add modstatic5.
24881 (tststatic5-ENV): New variable.
24882 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24883
f91f1c0f
MR
24884 [BZ #15022]
24885 * elf/dl-support.c (_dl_main_map): New variable.
24886 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24887 (_dl_nns, _dl_load_adds): Set to 1.
24888 (_dl_initial_searchlist): Refer to _dl_main_map.
24889 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24890 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24891 call to _dl_get_origin.
24892 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24893 around call_map.
24894 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24895 * dlfcn/modstatic3.c: New file.
24896 * dlfcn/tststatic3.c: New file.
24897 * dlfcn/tststatic4.c: New file.
24898 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24899 (tests-static): Likewise.
24900 (modules-names): Add modstatic3.
24901 (tststatic3-ENV, tststatic4-ENV): New variables.
24902 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24903 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24904
cbe7d24b
JM
249052013-06-26 Joseph Myers <joseph@codesourcery.com>
24906
24907 * configure.in (CC): Require GCC version 4.4 or later.
24908 * configure: Regenerated.
24909 * manual/install.texi (Tools for Compilation): Update GCC version
24910 requirement.
24911 * INSTALL: Regenerated.
24912
11b8a0e1
LD
249132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24914
24915 [BZ #15674]
bb5bb87c
L
24916 * string/test-memcmp.c (check2): New.
24917 (main): Call check2.
24918
11b8a0e1
LD
24919 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24920
b0037103
MR
249212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24922
24923 [BZ #15022]
24924 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24925 over to...
24926 (dl_open_worker) [!SHARED]: ... here.
24927
c18c701d
RA
249282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24929
24930 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24931
1d17fa5f
RH
249322013-06-25 Richard Henderson <rth@redhat.com>
24933
24934 * locale/programs/locarchive.c: Include <libc-internal.h>
24935
8fcb833a
JM
249362013-06-25 Joseph Myers <joseph@codesourcery.com>
24937
24938 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24939 trailing whitespace removed.
24940
17db6e8d
MF
249412013-06-24 Mike Frysinger <vapier@gentoo.org>
24942
24943 [BZ #10283]
17db6e8d
MF
24944 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24945 * locale/programs/locarchive.c: Include libc-mmap.h.
24946 (prepare_address_space): Take two new outputs (the mmap base and len).
24947 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24948 values.
24949 (create_archive): Declare new mmap base and len values for
24950 prepare_address_space, and store the result in ah.
24951 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24952 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24953 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24954 Declare new mmap base and len values for
24955 prepare_address_space, and store the result in new_ah.
24956 (open_archive): Declare new mmap base and len values for
24957 prepare_address_space, and store the result in ah.
24958 (close_archive): If ah->mmap_base is not NULL, use that and
24959 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24960 * sysdeps/generic/libc-mmap.h: New file.
24961
d605071e
MF
249622013-06-24 Mike Frysinger <vapier@gentoo.org>
24963
24964 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24965 (ALIGN_UP): Likewise.
24966 (PTR_ALIGN_DOWN): Likewise.
24967 (PTR_ALIGN_UP): Likewise.
24968
2f063a6e
RA
249692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24970
24971 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24972 entry mapped to PPC_PLATFORM_POWER8.
24973 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24974 POWER8.
24975 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24976 (_dl_string_platform): Add case for exporting platform position for
24977 POWER8.
24978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24979 search path to sysdeps/powerpc/powerpc32/power8 directory.
24980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24981 search path to sysdeps/powerpc/powerpc64/power8 directory.
24982 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24983 power7 directories.
24984 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24985 power7 directories.
24986
a31ee4b3
SP
249872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24988
a74ca98f
SP
24989 * INSTALL: Regenerate.
24990
a31ee4b3
SP
24991 * nscd/connections.c (nscd_init): Fix comment.
24992
695c378f
JM
249932013-06-22 Joseph Myers <joseph@codesourcery.com>
24994
d8412221
JM
24995 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24996
695c378f
JM
24997 [BZ #15667]
24998 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24999 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25000
d1d54715
MR
250012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25002
25003 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25004 DL_DST_REQ_STATIC.
25005 (DL_DST_REQ_STATIC): Remove macro.
25006
8fdda7af
JM
250072013-06-21 Joseph Myers <joseph@codesourcery.com>
25008
25009 [BZ #7006]
25010 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25011 with a shift of 0 bits.
25012
f3bc5e5a
MR
250132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25014
25015 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25016 $(tststatic-ENV).
25017
be09e8c9
KK
250182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25019
25020 [BZ #15655]
25021 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25022
85c2e611
AZ
250232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25024
25025 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25026 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25027 accepts -fno-tree-loop-distribute-patterns.
25028 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25029 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25030 recursive call.
25031 * string/memset.c (memset): Likewise.
25032 * string/test-memmove.c (simple_memmove): Disable loop transformation
25033 to library calls.
25034 * string/test-memset.c (simple_memset): Likewise.
25035 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25036 * benchtests/bench-memset.c (simple_memset): Likewise.
25037 * configure: Regenerated.
25038
c91e0825
JM
250392013-06-20 Joseph Myers <joseph@codesourcery.com>
25040
b8c792af
JM
25041 * math/test-misc.c (main): Ignore fesetround failure when failures
25042 of subsequent rounding tests would be ignored.
25043
c91e0825
JM
25044 [BZ #15654]
25045 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25046 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25047 * math/fegetenv.c (__fegetenv): Return 0.
25048 * math/fegetexcept.c (fegetexcept): Return 0.
25049 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25050 FE_TONEAREST.
25051 * math/feholdexcpt.c (feholdexcept): Return 0.
25052 * math/fesetenv.c (__fesetenv): Return 0.
25053 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25054 argument FE_TONEAREST.
25055 * math/feupdateenv.c (__feupdateenv): Return 0.
25056 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25057
bfcacbde
RM
250582013-06-18 Roland McGrath <roland@hack.frob.com>
25059
25060 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25061 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25062 ($(objpfx)rtld-%.os rules): Use them.
25063
e55a9b25
AZ
250642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25065
25066 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25067 fields.
25068
346d65b3
RM
250692013-06-17 Roland McGrath <roland@hack.frob.com>
25070
12086fb4
RM
25071 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25072 length of target pattern, then descending length of dependency pattern.
25073 * configure.in (AWK): Require gawk 3.1.2 or newer.
25074 * manual/install.texi (Tools for Compilation): Say that we do.
25075 * configure: Regenerated.
25076
346d65b3
RM
25077 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25078 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25079 * scripts/sysd-rules.awk: ... this new script.
25080 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25081 than a glob-style pattern.
25082
1a846317
JM
250832013-06-17 Joseph Myers <joseph@codesourcery.com>
25084
25085 * math/test-misc.c (main): Do not treat incorrectly rounded
25086 conversions as failure unless ROUNDING_TESTS passes.
25087
8fc75e6f
JM
250882013-06-15 Joseph Myers <joseph@codesourcery.com>
25089
3711a167
JM
25090 [BZ #15631]
25091 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25092 restore exception state around main square root computation, then
25093 check for inexactness explicitly.
25094
8fc75e6f
JM
25095 * math/libm-test.inc (fma_test_data): Add another test.
25096
61dd6208
SP
250972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25098
adf23d2c
SP
25099 * manual/threads.texi (Non-POSIX Extensions): New document
25100 node. Document pthread_getattr_default_np and
25101 pthread_setattr_default_np.
25102
61dd6208
SP
25103 * Versions.def (libpthread): Add GLIBC_2.18.
25104 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25106 Likewise.
25107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25108 Likewise.
25109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25110 Likewise.
25111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25112 Likewise.
25113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25114 Likewise.
25115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25116 Likewise.
25117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25118 Likewise.
25119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25120 Likewise.
25121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25122 Likewise.
25123
d086fc7b
LD
251242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25125
25126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25127 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25128
747ef469
SP
251292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25130 H.J. Lu <hjl.tools@gmail.com>
25131
25132 [BZ #15627]
25133 * sysdeps/x86_64/rtld-memset.c: Remove file.
25134 * sysdeps/x86_64/rtld-memset.S: New file.
25135
1b2feed2
JM
251362013-06-14 Joseph Myers <joseph@codesourcery.com>
25137
25138 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25139 (test_in_one_mode): Take arguments for whether the rounding mode
25140 is supported for each floating-point type.
25141 (do_test): Pass new arguments to test_in_one_mode using
25142 ROUNDING_TESTS.
25143
a58ad3f8
RM
251442013-06-13 Roland McGrath <roland@hack.frob.com>
25145
25146 * posix/tst-waitid.c (do_test): Distinguish different instances of
25147 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25148 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25149 before entering the kernel for waitpid.
25150
c204ab28
SP
251512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25152
25153 * NEWS: Fix note on clock function precision. Text by Roland
25154 McGrath.
25155
f4a29fba
RM
251562013-06-13 Roland McGrath <roland@hack.frob.com>
25157
25158 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25159 it into place only when and if the sanity check passes.
25160
1f24b9ad
JM
251612013-06-13 Joseph Myers <joseph@codesourcery.com>
25162
25163 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25164 output for whether conversion result is exact. Take argument
25165 indicating whether type is IBM long double.
25166 (round_for_all): Change need_exact field to ibm_ld.
25167 * stdlib/tst-strtod-round.c (struct exactness): New type.
25168 (struct test): Change bool ld_ok field to struct exactness exact.
25169 (TEST): Update all definitions for change to field.
25170 (tests): Regenerate array contents.
25171 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25172 field value. Check for IBM long double here.
25173 (do_test): Update calls to test_in_one_mode.
25174
58206c68
SP
251752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25176
25177 [BZ #12515]
25178 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25179 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25180
2d6f4c5b 251812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25182
25183 [BZ #15605]
25184 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25185 generated by the compiler on loop optimizations.
25186 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25187 general definitions.
25188
94f2c076
JM
251892013-06-12 Joseph Myers <joseph@codesourcery.com>
25190
25191 * math/bug-nextafter.c: Include <math-tests.h>.
25192 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25193 the relevant type.
25194 * math/bug-nexttoward.c: Include <math-tests.h>.
25195 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25196 the relevant type.
25197 * math/test-misc.c: Include <math-tests.h>.
25198 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25199 the relevant type.
25200
e0e50a0a
AJ
252012013-06-12 Andreas Jaeger <aj@suse.de>
25202
25203 * po/ia.po: Update Interlingua translation from translation
25204 project.
25205
25061094
SP
252062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25207
25208 * include/fenv.h: Include stdbool.h.
25209 (struct rm_ctx): New structure.
25210 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25211 Define macro.
25212 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25213 (SET_RESTORE_ROUNDF): Likewise.
25214 (SET_RESTORE_ROUNDL): Likewise.
25215 (SET_RESTORE_ROUND_NOEX): Likewise.
25216 (SET_RESTORE_ROUND_NOEXF): Likewise.
25217 (SET_RESTORE_ROUND_NOEXL): Likewise.
25218 (SET_RESTORE_ROUND_53BIT): Likewise.
25219 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25220 (libc_feresetround_noexf_ctx): Likewise.
25221 (libc_feresetround_noexl_ctx): Likewise.
25222 (libc_feholdsetround_53bit_ctx): Likewise.
25223 (libc_feresetround_53bit_ctx): Likewise.
25224 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25225 (libc_feholdexcept_setround_sse_ctx): New function.
25226 (libc_fesetenv_sse_ctx): Likewise.
25227 (libc_feupdateenv_sse_ctx): Likewise.
25228 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25229 (libc_feholdexcept_setround_387_ctx): Likewise.
25230 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25231 (libc_feholdsetround_387_prec_ctx): Likewise.
25232 (libc_feholdsetround_387_ctx): Likewise.
25233 (libc_feholdsetround_387_53bit_ctx): Likewise.
25234 (libc_feholdsetround_sse_ctx): Likewise.
25235 (libc_feresetround_sse_ctx): Likewise.
25236 (libc_feresetround_387_ctx): Likewise.
25237 (libc_feupdateenv_387_ctx): Likewise.
25238 (libc_feholdexcept_setroundf_ctx): Define macro.
25239 (libc_fesetenvf_ctx): Likewise.
25240 (libc_feupdateenvf_ctx): Likewise.
25241 (libc_feholdsetroundf_ctx): Likewise.
25242 (libc_feresetroundf_ctx): Likewise.
25243 (libc_feholdexcept_setround_ctx): Likewise.
25244 (libc_fesetenv_ctx): Likewise.
25245 (libc_feupdateenv_ctx): Likewise.
25246 (libc_feholdsetround_ctx): Likewise.
25247 (libc_feresetround_ctx): Likewise.
25248 (libc_feholdexcept_setroundl_ctx): Likewise.
25249 (libc_feupdateenvl_ctx): Likewise.
25250 (libc_feholdsetroundl_ctx): Likewise.
25251 (libc_feresetroundl_ctx): Likewise.
25252 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25253 (libc_feresetround_53bit_ctx): Likewise.
25254
59b30555
SP
252552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25256
25257 * locale/iso-639.def: Convert to UTF-8.
25258
f1d73d30
JM
252592013-06-11 Joseph Myers <joseph@codesourcery.com>
25260
25261 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25262 (EXCEPTION_TESTS_double): Likewise.
25263 (EXCEPTION_TESTS_long_double): Likewise.
25264 (EXCEPTION_TESTS): Likewise.
25265 * math/libm-test.inc (test_exceptions): Only test exceptions if
25266 EXCEPTION_TESTS (FLOAT).
25267
94aca5e7
SP
252682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25269
25270 * benchtests/Makefile (string-bench): Add strcpy_chk and
25271 stpcpy_chk.
25272 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25273 * benchtests/bench-stpcpy_chk.c: New file.
25274 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25275 * benchtests/bench-strcpy_chk.c: New file.
25276 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25277 code.
25278 (do_test): Likewise.
25279
fac0c5f2
RA
252802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25281
25282 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25283 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25284 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25285 with tabs where appropriate.
25286 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25287 dl-procinfo.h.
25288 [PPC_PLATFORM_PPC440]: Likewise.
25289 [PPC_PLATFORM_PPC464]: Likewise.
25290 [PPC_PLATFORM_PPC476]: Likewise.
25291 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25292 ppc464, and ppc476 platform strings merging from ports/
25293 dl-procinfo.h.
25294
f22bc486
AS
252952013-06-11 Andreas Schwab <schwab@suse.de>
25296
25297 [BZ #14991]
25298 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25299 (from_ucs4_idx): Regenerate.
25300 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25301 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25302 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25303 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25304 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25305 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25306 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25307 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25308 from FROM_LOOP and TO_LOOP specific macros.
25309 (BODY): Handle combining characters.
25310 * iconvdata/BIG5HKSCS.irreversible: Update.
25311 * iconvdata/BIG5HKSCS.precomposed: New file.
25312 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25313 characters.
25314 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25315
c1f75dc3
SP
253162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25317
4eacded2
SP
25318 * include/sys/time.h: Fix indentation and add copyright header.
25319
fec799f8
SP
25320 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25321 (do_test): Likewise.
25322 * string/test-memchr.c (do_one_test): Likewise.
25323 (do_test): Likewise.
25324 * string/test-memcmp.c (do_one_test): Likewise.
25325 (do_test): Likewise.
25326 * string/test-memcpy.c (do_one_test): Likewise.
25327 (do_test): Likewise.
25328 * string/test-memmem.c (do_one_test): Likewise.
25329 (do_test): Likewise.
25330 (do_random_tests): Likewise.
25331 * string/test-memmove.c (do_one_test): Likewise.
25332 (do_test): Likewise.
25333 * string/test-memset.c (do_one_test): Likewise.
25334 (do_test): Likewise.
25335 * string/test-rawmemchr.c (do_one_test): Likewise.
25336 (do_test): Likewise.
25337 * string/test-strcasecmp.c (do_one_test): Likewise.
25338 (do_test): Likewise.
25339 * string/test-strcasestr.c (do_one_test): Likewise.
25340 (do_test): Likewise.
25341 * string/test-strcat.c (do_one_test): Likewise.
25342 (do_test): Likewise.
25343 * string/test-strchr.c (do_one_test): Likewise.
25344 (do_test): Likewise.
25345 * string/test-strcmp.c (do_one_test): Likewise.
25346 (do_test): Likewise.
25347 * string/test-strcpy.c (do_one_test): Likewise.
25348 (do_test): Likewise.
25349 * string/test-string.h: Likewise.
25350 (test_init): Likewise.
25351 * string/test-strlen.c (do_one_test): Likewise.
25352 (do_test): Likewise.
25353 * string/test-strncasecmp.c (do_one_test): Likewise.
25354 (do_test): Likewise.
25355 * string/test-strncat.c (do_one_test): Likewise.
25356 (do_test): Likewise.
25357 * string/test-strncmp.c (do_one_test): Likewise.
25358 (do_test_limit): Likewise.
25359 (do_test): Likewise.
25360 * string/test-strncpy.c (do_one_test): Likewise.
25361 (do_test): Likewise.
25362 * string/test-strnlen.c (do_one_test): Likewise.
25363 (do_test): Likewise.
25364 * string/test-strpbrk.c (do_one_test): Likewise.
25365 (do_test): Likewise.
25366 * string/test-strrchr.c (do_one_test): Likewise.
25367 (do_test): Likewise.
25368 * string/test-strspn.c (do_one_test): Likewise.
25369 (do_test): Likewise.
25370 * string/test-strstr.c (do_one_test): Likewise.
25371 (do_test): Likewise.
25372
97020474
SP
25373 * benchtests/Makefile (string-bench): Add string benchmarks.
25374 * benchtests/bench-bcopy-ifunc.c: New file.
25375 * benchtests/bench-bcopy.c: New file.
25376 * benchtests/bench-bzero-ifunc.c: New file.
25377 * benchtests/bench-bzero.c: New file.
25378 * benchtests/bench-memccpy-ifunc.c: New file.
25379 * benchtests/bench-memccpy.c: New file.
25380 * benchtests/bench-memchr-ifunc.c: New file.
25381 * benchtests/bench-memchr.c: New file.
25382 * benchtests/bench-memcmp-ifunc.c: New file.
25383 * benchtests/bench-memcmp.c: New file.
25384 * benchtests/bench-memmem-ifunc.c: New file.
25385 * benchtests/bench-memmem.c: New file.
25386 * benchtests/bench-memmove-ifunc.c: New file.
25387 * benchtests/bench-memmove.c: New file.
25388 * benchtests/bench-mempcpy-ifunc.c: New file.
25389 * benchtests/bench-mempcpy.c: New file.
25390 * benchtests/bench-memset-ifunc.c: New file.
25391 * benchtests/bench-memset.c: New file.
25392 * benchtests/bench-rawmemchr-ifunc.c: New file.
25393 * benchtests/bench-rawmemchr.c: New file.
25394 * benchtests/bench-stpcpy-ifunc.c: New file.
25395 * benchtests/bench-stpcpy.c: New file.
25396 * benchtests/bench-stpncpy-ifunc.c: New file.
25397 * benchtests/bench-stpncpy.c: New file.
25398 * benchtests/bench-strcasecmp-ifunc.c: New file.
25399 * benchtests/bench-strcasecmp.c: New file.
25400 * benchtests/bench-strcasestr-ifunc.c: New file.
25401 * benchtests/bench-strcasestr.c: New file.
25402 * benchtests/bench-strcat-ifunc.c: New file.
25403 * benchtests/bench-strcat.c: New file.
25404 * benchtests/bench-strchr-ifunc.c: New file.
25405 * benchtests/bench-strchr.c: New file.
25406 * benchtests/bench-strchrnul-ifunc.c: New file.
25407 * benchtests/bench-strchrnul.c: New file.
25408 * benchtests/bench-strcmp-ifunc.c: New file.
25409 * benchtests/bench-strcmp.c: New file.
25410 * benchtests/bench-strcpy-ifunc.c: New file.
25411 * benchtests/bench-strcpy.c: New file.
25412 * benchtests/bench-strcspn-ifunc.c: New file.
25413 * benchtests/bench-strcspn.c: New file.
25414 * benchtests/bench-strlen-ifunc.c: New file.
25415 * benchtests/bench-strlen.c: New file.
25416 * benchtests/bench-strncasecmp-ifunc.c: New file.
25417 * benchtests/bench-strncasecmp.c: New file.
25418 * benchtests/bench-strncat-ifunc.c: New file.
25419 * benchtests/bench-strncat.c: New file.
25420 * benchtests/bench-strncmp-ifunc.c: New file.
25421 * benchtests/bench-strncmp.c: New file.
25422 * benchtests/bench-strncpy-ifunc.c: New file.
25423 * benchtests/bench-strncpy.c: New file.
25424 * benchtests/bench-strnlen-ifunc.c: New file.
25425 * benchtests/bench-strnlen.c: New file.
25426 * benchtests/bench-strpbrk-ifunc.c: New file.
25427 * benchtests/bench-strpbrk.c: New file.
25428 * benchtests/bench-strrchr-ifunc.c: New file.
25429 * benchtests/bench-strrchr.c: New file.
25430 * benchtests/bench-strspn-ifunc.c: New file.
25431 * benchtests/bench-strspn.c: New file.
25432 * benchtests/bench-strstr-ifunc.c: New file.
25433 * benchtests/bench-strstr.c: New file.
25434
c1f75dc3
SP
25435 * benchtests/Makefile: Disable parallel execution of targets.
25436 (string-bench): Add memcpy.
25437 (benchset): New variable to store a list of benchmark sets.
25438 (bench-func): Renamed from bench.
25439 (bench-set): New target.
25440 (bench): Depend on bench-func and bench-set.
25441 * benchtests/README: Add section on benchmark sets.
25442 * benchtests/bench-memcpy-ifunc.c: New file.
25443 * benchtests/bench-memcpy.c: New file.
25444 * benchtests/bench-string.h: New file.
25445
50fd745b
AS
254462013-06-11 Andreas Schwab <schwab@suse.de>
25447
25448 [BZ #15577]
25449 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25450 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25451 values in the triple.
25452 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25453 terminator in the group key.
25454
3ee7e9fe
AJ
254552013-06-11 Andreas Jaeger <aj@suse.de>
25456
25457 * po/zh_TW.po: Update Chinese (traditional) translation from
25458 translation project.
25459
89fb6835
SP
254602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25461
25462 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25463 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25464 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25466 (clock_getcpuclockid): Likewise.
25467 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25468 Add weak_alias and libc_hidden_def.
25469 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25470 * rt/clock_gettime.c (clock_gettime): Rename to
25471 __clock_gettime. Add weak_alias and libc_hidden_def.
25472 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25473 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25474 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25475 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25476 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25477 Likewise.
25478 * rt/clock_settime.c (clock_settime): Rename to
25479 __clock_settime. Add weak_alias and libc_hidden_def.
25480 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25481
0efa6f8b
JM
254822013-06-10 Joseph Myers <joseph@codesourcery.com>
25483
b8c61b4b
JM
25484 * mach/err_boot.sub: Remove trailing whitespace.
25485 * mach/err_ipc.sub: Likewise.
25486 * mach/err_mach.sub: Likewise.
25487
0efa6f8b
JM
25488 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25489 (ROUNDING_TESTS_double): Likewise.
25490 (ROUNDING_TESTS_long_double): Likewise.
25491 (ROUNDING_TESTS): Likewise.
25492 * math/libm-test.inc: Include <math-tests.h>.
25493 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25494 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25495 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25496 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25497
50b818bf
SP
254982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25499
25500 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25501 of assigning.
25502
60d2f8f3
JM
255032013-06-08 Joseph Myers <joseph@codesourcery.com>
25504
4902d2c3
JM
25505 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25506 otherwise empty TRANS lines.
25507 * sysdeps/gnu/errlist.c: Regenerated.
25508
60d2f8f3
JM
25509 * catgets/gencat.c (error_print): Use (void) in function
25510 definition.
25511 * crypt/crypt_util.c (__init_des): Likewise.
25512 * crypt/speeds.c (Stop): Likewise.
25513 (main): Likewise.
25514 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25515 * inet/ruserpass.c (token): Likewise.
25516 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25517 * intl/localealias.c (extend_alias_table): Likewise.
25518 * intl/plural-exp.c (init_germanic_plural): Likewise.
25519 * libio/fcloseall.c (__fcloseall): Likewise.
25520 * libio/genops.c (_IO_flush_all): Likewise.
25521 (_IO_flush_all_linebuffered): Likewise.
25522 (_IO_cleanup): Likewise.
25523 (_IO_iter_begin): Likewise.
25524 (_IO_iter_end): Likewise.
25525 (_IO_list_lock): Likewise.
25526 (_IO_list_unlock): Likewise.
25527 (_IO_list_resetlock): Likewise.
25528 * libio/getchar.c (getchar): Likewise.
25529 * libio/getchar_u.c (getchar_unlocked): Likewise.
25530 * libio/getwchar.c (getwchar): Likewise.
25531 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25532 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25533 * login/getpt.c (__getpt): Likewise.
25534 * login/tst-utmp.c (main): Likewise.
25535 * malloc/hooks.c (__malloc_check_init): Likewise.
25536 * malloc/malloc.c (__malloc_stats): Likewise.
25537 * malloc/mtrace.c (tr_break): Likewise.
25538 (mtrace): Likewise.
25539 (muntrace): Likewise.
25540 * misc/fstab.c (endfsent): Likewise.
25541 * misc/getclktck.c (__getclktck): Likewise.
25542 * misc/getdtsz.c (__getdtablesize): Likewise.
25543 * misc/gethostid.c (gethostid): Likewise.
25544 * misc/getpagesize.c (__getpagesize): Likewise.
25545 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25546 (__get_nprocs): Likewise.
25547 (__get_phys_pages): Likewise.
25548 (__get_avphys_pages): Likewise.
25549 * misc/getttyent.c (getttyent): Likewise.
25550 (setttyent): Likewise.
25551 (endttyent): Likewise.
25552 * misc/getusershell.c (getusershell): Likewise.
25553 (endusershell): Likewise.
25554 (setusershell): Likewise.
25555 (initshells): Likewise.
25556 * misc/hsearch.c (__hdestroy): Likewise.
25557 * misc/sync.c (sync): Likewise.
25558 * misc/syslog.c (closelog_internal): Likewise.
25559 (closelog): Likewise.
25560 * misc/ttyslot.c (ttyslot): Likewise.
25561 * misc/vhangup.c (vhangup): Likewise.
25562 * posix/fork.c (__fork): Likewise.
25563 * posix/getegid.c (__getegid): Likewise.
25564 * posix/geteuid.c (__geteuid): Likewise.
25565 * posix/getgid.c (__getgid): Likewise.
25566 * posix/getpid.c (__getpid): Likewise.
25567 * posix/getppid.c (__getppid): Likewise.
25568 * posix/getuid.c (__getuid): Likewise.
25569 * posix/pause.c (pause): Likewise.
25570 * posix/setpgrp.c (setpgrp): Likewise.
25571 * posix/setsid.c (__setsid): Likewise.
25572 * posix/test-vfork.c (noop): Likewise.
25573 * resolv/gethnamaddr.c (_endhtent): Likewise.
25574 (_gethtent): Likewise.
25575 (ht_endhostent): Likewise.
25576 (gethostent): Likewise.
25577 (dns_service): Likewise.
25578 * stdlib/drand48.c (drand48): Likewise.
25579 * stdlib/lrand48.c (lrand48): Likewise.
25580 * stdlib/mrand48.c (mrand48): Likewise.
25581 * stdlib/rand.c (rand): Likewise.
25582 * stdlib/random.c (__random): Likewise.
25583 * stdlib/setenv.c (clearenv): Likewise.
25584 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25585 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25586 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25587 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25588 (__get_nprocs): Likewise.
25589 (__get_phys_pages): Likewise.
25590 (__get_avphys_pages): Likewise.
25591 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25592 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25593 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25594 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25595 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25596 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25597 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25598 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25599 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25600 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25601 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25602 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25603 * sysdeps/posix/clock.c (clock): Likewise.
25604 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25605 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25606 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25607 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25608 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25610 (__get_nprocs_conf): Likewise.
25611 (__get_phys_pages): Likewise.
25612 (__get_avphys_pages): Likewise.
25613 * time/clock.c (clock): Likewise.
25614 * time/tzset.c (__tzname_max): Likewise.
25615
2e09a79a
JM
256162013-06-07 Joseph Myers <joseph@codesourcery.com>
25617
25618 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25619 (__bswap_32): Do not use "register".
25620 * crypt/crypt.c (_ufc_doit_r): Likewise.
25621 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25622 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25623 * gmon/gmon.c (__monstartup): Likewise.
25624 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25625 * hurd/hurdmalloc.c (more_memory): Likewise.
25626 (malloc): Likewise.
25627 (free): Likewise.
25628 (realloc): Likewise.
25629 (malloc_fork_prepare): Likewise.
25630 (malloc_fork_parent): Likewise.
25631 (malloc_fork_child): Likewise.
25632 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25633 (_svcauth_des): Likewise.
25634 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25635 * inet/inet_net.c (inet_network): Likewise.
25636 * inet/inet_netof.c (inet_netof): Likewise.
25637 * inet/rcmd.c (__validuser2_sa): Likewise.
25638 * io/fts.c (fts_open): Likewise.
25639 (fts_load): Likewise.
25640 (fts_close): Likewise.
25641 (fts_read): Likewise.
25642 (fts_children): Likewise.
25643 (fts_build): Likewise.
25644 (fts_stat): Likewise.
25645 (fts_sort): Likewise.
25646 (fts_alloc): Likewise.
25647 (fts_lfree): Likewise.
25648 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25649 (_IO_file_xsgetn): Likewise.
25650 (_IO_file_xsgetn_mmap): Likewise.
25651 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25652 (_IO_cookie_write): Likewise.
25653 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25654 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25655 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25656 * malloc/obstack.c (_obstack_begin): Likewise.
25657 (_obstack_begin_1): Likewise.
25658 (_obstack_newchunk): Likewise.
25659 (_obstack_allocated_p): Likewise.
25660 (obstack_free): Likewise.
25661 (_obstack_memory_used): Likewise.
25662 * misc/getttyent.c (getttynam): Likewise.
25663 (getttyent): Likewise.
25664 (skip): Likewise.
25665 (value): Likewise.
25666 * misc/getusershell.c (initshells): Likewise.
25667 * misc/syslog.c (__vsyslog_chk): Likewise.
25668 * misc/ttyslot.c (ttyslot): Likewise.
25669 * nis/nis_hash.c (__nis_hash): Likewise.
25670 * posix/fnmatch_loop.c (FCT): Likewise.
25671 * posix/getconf.c (print_all): Likewise.
25672 (main): Likewise.
25673 * posix/getopt.c (exchange): Likewise.
25674 * posix/glob.c (globfree): Likewise.
25675 (prefix_array): Likewise.
25676 (__glob_pattern_type): Likewise.
25677 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25678 (NS_GET32): Likewise.
25679 (NS_PUT16): Likewise.
25680 (NS_PUT32): Likewise.
25681 * resolv/gethnamaddr.c (getanswer): Likewise.
25682 (gethostbyname2): Likewise.
25683 (gethostbyaddr): Likewise.
25684 (_gethtent): Likewise.
25685 (_gethtbyname2): Likewise.
25686 (_gethtbyaddr): Likewise.
25687 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25688 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25689 * resolv/res_init.c (__res_vinit): Likewise.
25690 (net_mask): Likewise.
25691 * resolv/res_mkquery.c (outchar): Likewise.
25692 (PRINT): Likewise.
25693 * stdio-common/printf_fp.c (outchar): Likewise.
25694 (PRINT): Likewise.
25695 * stdio-common/printf_fphex.c (outchar): Likewise.
25696 (PRINT): Likewise.
25697 * stdio-common/printf_size.c (outchar): Likewise.
25698 (PRINT): Likewise.
25699 * stdio-common/test_rdwr.c (main): Likewise.
25700 * stdio-common/tfformat.c (matches): Likewise.
25701 * stdio-common/vfprintf.c (outchar): Likewise.
25702 (printf_unknown): Likewise.
25703 (buffered_vfprintf): Likewise.
25704 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25705 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25706 (ReadFile): Likewise.
25707 * stdlib/qsort.c (SWAP): Likewise.
25708 (_quicksort): Likewise.
25709 * stdlib/setenv.c (__add_to_environ): Likewise.
25710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25711 * stdlib/strtol_l.c (__strtol_l): Likewise.
25712 * stdlib/tst-strtod.c (main): Likewise.
25713 * stdlib/tst-strtol.c (main): Likewise.
25714 * stdlib/tst-strtoll.c (main): Likewise.
25715 * string/bits/string2.h (__strcmp_cc): Likewise.
25716 (__strcmp_cg): Likewise.
25717 (__strcspn_c1): Likewise.
25718 (__strcspn_c2): Likewise.
25719 (__strcspn_c3): Likewise.
25720 (__strspn_c1): Likewise.
25721 (__strspn_c2): Likewise.
25722 (__strspn_c3): Likewise.
25723 (__strsep_1c): Likewise.
25724 (__strsep_2c): Likewise.
25725 (__strsep_3c): Likewise.
25726 * string/memccpy.c (__memccpy): Likewise.
25727 * string/stpcpy.c (__stpcpy): Likewise.
25728 * string/strcmp.c (strcmp): Likewise.
25729 * string/strrchr.c (strrchr): Likewise.
25730 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25731 Likewise.
25732 * sysdeps/mach/hurd/getcwd.c
25733 (_hurd_canonicalize_directory_name_internal): Likewise.
25734 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25735 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25736 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25737 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25738 Likewise, in both definitions.
25739 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25740 definitions.
25741 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25742 64] (__bswap_64): Likewise.
25743 * time/test_time.c (main): Likewise.
25744 * time/tzfile.c (__tzfile_read): Likewise.
25745 (__tzfile_compute): Likewise.
25746 * time/tzset.c (__tzset_parse_tz): Likewise.
25747 (tzset_internal): Likewise.
25748 (compute_change): Likewise.
25749 * wcsmbs/wcscat.c (__wcscat): Likewise.
25750 * wcsmbs/wcschr.c (wcschr): Likewise.
25751 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25752 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25753 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25754 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25755 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25756 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25757 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25758 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25759 * wcsmbs/wmemset.c (wmemset): Likewise.
25760
9e54314b
JM
257612013-06-06 Joseph Myers <joseph@codesourcery.com>
25762
25763 * scripts/config.guess: Update to version 2013-05-16.
25764 * scripts/config.sub: Update to version 2013-04-24.
25765 * scripts/install-sh: Update to version 2011-11-20.07.
25766 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25767 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25768
350635a5
OB
257692013-06-06 Ondřej Bílka <neleai@seznam.cz>
25770
25771 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25772 * elf/sln.c: Likewise.
25773 * hurd/hurd/ioctl.h: Likewise.
25774 * hurd/hurdmalloc.c: Likewise.
25775 * hurd/xattr.c: Likewise.
25776 * include/shlib-compat.h: Likewise.
25777 * inet/ruserpass.c: Likewise.
25778 * libio/iofgets_u.c: Likewise.
25779 * libio/iofgetws_u.c: Likewise.
25780 * locale/programs/ld-identification.c: Likewise.
25781 * locale/programs/ld-time.c: Likewise.
25782 * mach/msg-destroy.c: Likewise.
25783 * nss/nss_files/files-netgrp.c: Likewise.
25784 * resolv/res_data.c: Likewise.
25785 * soft-fp/op-1.h: Likewise.
25786 * soft-fp/op-2.h: Likewise.
25787 * soft-fp/op-4.h: Likewise.
25788 * soft-fp/op-common.h: Likewise.
25789 * stdio-common/printf_fphex.c: Likewise.
25790 * stdlib/strtod_l.c: Likewise.
25791 * sunrpc/rpc/clnt.h: Likewise.
25792 * sysdeps/generic/framestate.c: Likewise.
25793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25794 * sysdeps/i386/bsd-setjmp.S: Likewise.
25795 * sysdeps/i386/__longjmp.S: Likewise.
25796 * sysdeps/i386/setjmp.S: Likewise.
25797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25798 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25814 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25815 * sysdeps/ieee754/support.c: Likewise.
25816 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25817 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25818 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25819 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25820 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25821 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25822 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25823 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25824 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25825 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25826 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25827 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25829 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25831 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25832 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25834
44a988af
OB
258352013-06-05 Ondřej Bílka <neleai@seznam.cz>
25836
25506f09 25837 * posix/transbug.c: Remove executable mode.
44a988af 25838
9c84384c
JM
258392013-06-05 Joseph Myers <joseph@codesourcery.com>
25840
25841 * crypt/speeds.c: Remove trailing whitespace.
25842 * dlfcn/default.c: Likewise.
25843 * elf/ifuncdep2.c: Likewise.
25844 * elf/ifuncmain1.c: Likewise.
25845 * elf/ifuncmain1vis.c: Likewise.
25846 * elf/testobj.h: Likewise.
25847 * elf/tst-stackguard1.c: Likewise.
25848 * gmon/sys/gmon.h: Likewise.
25849 * hurd/hurdmsg.c: Likewise.
25850 * hurd/new-fd.c: Likewise.
25851 * hurd/ports-get.c: Likewise.
25852 * iconvdata/ibm1008_420.c: Likewise.
25853 * inet/tst-getni1.c: Likewise.
25854 * inet/tst-getni2.c: Likewise.
25855 * libio/ioungetc.c: Likewise.
25856 * libio/wfiledoalloc.c: Likewise.
25857 * manual/libm-err-tab.pl: Likewise.
25858 * math/w_dremf.c: Likewise.
25859 * misc/ftruncate.c: Likewise.
25860 * posix/bug-glob2.c: Likewise.
25861 * posix/tst-pcre.c: Likewise.
25862 * posix/wait4.c: Likewise.
25863 * resolv/README: Likewise.
25864 * resolv/res_debug.h: Likewise.
25865 * resolv/tst-inet_ntop.c: Likewise.
25866 * setjmp/bug269-setjmp.c: Likewise.
25867 * soft-fp/extended.h: Likewise.
25868 * soft-fp/op-1.h: Likewise.
25869 * soft-fp/op-2.h: Likewise.
25870 * soft-fp/op-4.h: Likewise.
25871 * soft-fp/op-8.h: Likewise.
25872 * soft-fp/testit.c: Likewise.
25873 * stdio-common/bug16.c: Likewise.
25874 * stdlib/random.c: Likewise.
25875 * sunrpc/rpcsvc/rquota.x: Likewise.
25876 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25885 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25905 * sysdeps/ieee754/s_lib_version.c: Likewise.
25906 * sysdeps/mach/hurd/check_fds.c: Likewise.
25907 * sysdeps/mach/hurd/getsockname.c: Likewise.
25908 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25909 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25910 * sysdeps/powerpc/bits/link.h: Likewise.
25911 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25912 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25913 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25914 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25915 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25917 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25918 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25919 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25920 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25921 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25922 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25923 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25924 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25925 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25926 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25930 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25932 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25934 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25935 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25936 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25942 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25945 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25946 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25947 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25948 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25949 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25950 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25951 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25952 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25953 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25954 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25955 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25956 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25957 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25958 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25959 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25960 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25963 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25964 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25966 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25967 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25970 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25973 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25974 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25975 * sysdeps/powerpc/sysdep.h: Likewise.
25976 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25977 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25978 * sysdeps/sh/dl-trampoline.S: Likewise.
25979 * sysdeps/sh/memset.S: Likewise.
25980 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25981 * sysdeps/sh/strlen.S: Likewise.
25982 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25983 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25984 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25985 * sysdeps/sparc/sparc32/rem.S: Likewise.
25986 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25987 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25988 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25989 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25990 * sysdeps/sparc/sparc32/urem.S: Likewise.
25991 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25993 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25994 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25996 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25997 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25998 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25999 * sysdeps/unix/bsd/times.c: Likewise.
26000 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26001 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26005 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26006 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26007 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26008 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26009 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26010 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26011 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26012 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26013 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26015 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26017 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26018 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26019 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26020 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26021 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26022 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26023 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26024 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26025 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26026 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26028 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26029 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26030 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26031 * sysdeps/x86_64/strcspn.S: Likewise.
26032
869378a5
RA
260332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26034
26035 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26036 generated file. Regenerate properly from gen-translit.pl.
26037 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26038 locale/C-translit.h.
26039
840e2943
AS
260402013-06-05 Andreas Schwab <schwab@suse.de>
26041
26042 [BZ #15100]
26043 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26044 week as 6 instead of -1.
26045 * time/tst-strptime.c (day_tests): Add test case.
26046
4c60cb0c
SP
260472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26048
26049 * sysdeps/generic/math_private.h
26050 (libc_feholdexcept_setround_53bit): Replace with
26051 libc_feholdsetround_53bit.
26052 (libc_feupdateenv_53bit): Replace with
26053 libc_feresetround_53bit.
26054 (SET_RESTORE_ROUND_53BIT): Adjust.
26055
d180203e
SP
260562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26057
96df079a
SP
26058 * string/test-strchrnul.c: Add copyright header.
26059
d180203e
SP
26060 * posix/tst-getaddrinfo4.c: Increase test timeout.
26061
8b0ccb2d
CD
260622013-06-03 Carlos O'Donell <carlos@redhat.com>
26063
26064 [BZ #15536]
26065 * math/libm-test.inc (MAX_EXP): Remove
26066 (MIN_EXP): Define.
26067 (ulp): Use MIN_EXP - MANT_DIG.
26068 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26069
3b3c4d40
CD
260702013-05-31 Carlos O'Donell <carlos@redhat.com>
26071
26072 * po/be.po: Revert last change.
26073 * po/zh_CN.po: Likewise.
26074 * po/header.pot: Likewise.
26075
fab7ce3f
JM
260762013-05-31 Joseph Myers <joseph@codesourcery.com>
26077
26078 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26079 link-libc-deps to empty as target-specific variable.
26080 * Makerules (link-libc-args): New variable.
26081 (libc-for-link): Likewise.
26082 (link-libc-deps): Likewise.
26083 (lib%.so): Depend on $(link-libc-deps). Link with
26084 $(link-libc-args).
26085 (build-module): Link with $(link-libc-args).
26086 (build-module-asneeded): Likewise.
26087 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26088 list of objects.
26089 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26090 target-specific variable.
26091 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26092 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26093 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26094 libc.
26095 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26096 libc and ld.so.
26097 ($(objpfx)libpcprofile.so): Likewise.
26098 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26099 libc_nonshared.a.
26100 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26101 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26102 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26103 $(link-libc-deps).
26104 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26105 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26106 * login/Makefile ($(objpfx)libutil.so): Likewise.
26107 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26108 * math/Makefile ($(objpfx)libm.so): Likewise.
26109 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26110 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26111 variable instead of depending directly on libc.
26112 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26113 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26114 $(link-libc-deps).
26115 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26116 libc.
26117 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26118 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26119 ($(objpfx)libanl.so): Likewise.
26120 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26121 ld.so.
26122 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26123 $(link-libc-deps).
26124 * sysdeps/i386/fpu/Makefile: Remove file.
26125 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26126 ($(objpfx)libm.so): Remove dependency on ld.so.
26127
eca5920c
PF
261282013-05-30 Patsy Franklin <pfrankli@redhat.com>
26129
26130 [BZ # 15553]
26131 * nis/yp_xdr.c (XDRMAXNAME): Define.
26132 (XDRMAXRECORD): Define.
26133 (xdr_domainname): Use XDRMAXNAME.
26134 (xdr_mapname): Likewise.
26135 (xdr_peername): Likewise.
26136 (xdr_keydat): Use XDRMAXRECORD.
26137 (xdr_valdat): Likewise.
26138
261392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26140
26141 [BZ #14256]
26142 * manual/errno.texi (ESTALE): Update to account for more than
26143 just NFS file systems.
26144 * sysdeps/gnu/errlist.c: Regenerated.
26145
b9375348
SP
261462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26147
26148 [BZ #15465]
26149 * elf/Makefile (tests): Add tst-null-argv.
26150 (modules-names): Add tst-null-argv-lib.
26151 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26152 (tst-null-argv-ENV): Set environment for tst-null-argv.
26153 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26154 (RTLD_PROGNAME): New macro.
26155 * elf/tst-null-argv.c: New test case.
26156 * elf/tst-null-argv-lib.c: Library for test case.
26157 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26158 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26159 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26160 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26161 * elf/dl-init.c (call_init): Likewise.
26162 (_dl_init): Likewise.
26163 * elf/dl-load.c (print_search_path): Likewise.
26164 (_dl_map_object): Likewise.
26165 * elf/dl-lookup.c (do_lookup_x): Likewise.
26166 (add_dependency): Likewise.
26167 (_dl_lookup_symbol_x): Likewise.
26168 (_dl_debug_bindings): Likewise.
26169 * elf/dl-open.c (_dl_show_scope): Likewise.
26170 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26171 * elf/dl-version.c (match_symbol): Likewise.
26172 (_dl_check_map_versions): Likewise.
26173 * elf/rtld.c (dl_main): Likewise.
26174 (print_unresolved): Use RTLD_PROGNAME.
26175 (print_missing_version): Likewise.
26176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26177 (elf_machine_rela): Likewise.
26178 * sysdeps/powerpc/powerpc32/dl-machine.c
26179 (__process_machine_rela): Likewise.
26180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26181 Likewise.
26182 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26183 Likewise.
26184 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26185 Likewise.
26186 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26188 Likewise.
26189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26190 Likewise.
26191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26192
8a9f20c8
CD
261932013-05-28 Carlos O'Donell <carlos@redhat.com>
26194
26195 * po/be.po: Add descriptive title.
26196 * po/zh_CN.po: Likewise.
26197 * po/header.pot: Likewise.
26198
0e60d68e
MF
261992013-05-28 Mike Frysinger <vapier@gentoo.org>
26200
26201 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26202 error message.
26203 (enlarge_archive): Likewise.
26204
56b672e9
BN
262052013-05-28 Ben North <ben@redfrontdoor.org>
26206
26207 * manual/arith.texi (frexp): It is the magnitude of the return
26208 value which lies in [0.5, 1), not the return value itself.
26209
5e056687
AZ
262102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26211
26212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26213
2b66ef5d
TS
262142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26215
528c2405
TS
26216 * stdio-common/bug26.c (main): Correct fscanf template.
26217
07b4c13d
TS
26218 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26219 declare _dl_skip_args.
26220
ec9dd97c
TS
26221 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26222 Don't declare.
26223
2b66ef5d
TS
26224 * manual/platform.texi: Add missing @end deftypefun.
26225
4f8dfe27
JM
262262013-05-24 Joseph Myers <joseph@codesourcery.com>
26227
0323d086
JM
26228 [BZ #15529]
26229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26230 bit of mantissa of 2^16382.
26231 * math/libm-test.inc (hypot_test_data): Add more tests.
26232
dd4259b9
JM
26233 * math/libm-test.inc: Add drem and pow10 to list of tested
26234 functions.
26235 (pow10_test): New function.
26236 (drem_test): Likewise.
26237 (drem_test_tonearest): Likewise.
26238 (drem_test_towardzero): Likewise.
26239 (drem_test_downward): Likewise.
26240 (drem_test_upward): Likewise.
26241 (main): Call the new functions.
26242
4f8dfe27
JM
26243 * math/libm-test.inc (finite_test_data): Remove.
26244 (finite_test): Run tests from isfinite_test_data.
26245 (gamma_test_data): Remove.
26246 (gamma_test): Run tests from lgamma_test_data.
26247 * sysdeps/i386/fpu/libm-test-ulps: Update.
26248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26249
d116b7c4
AZ
262502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26251
26252 * manual/platform.texi: Add PowerPC PPR function set documentation.
26253 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26254 implementation.
26255
e96e3767
CD
262562013-05-24 Carlos O'Donell <carlos@redhat.com>
26257
26258 * math/libm-test.inc (MAX_EXP): Define.
26259 (ULPDIFF): Define.
26260 (ulp): New function.
26261 (check_float_internal): Use ULPDIFF.
26262 (cpow_test): Disable failing test.
26263 (check_ulp): Test ulp() implemetnation.
26264 (main): Call check_ulp before starting tests.
26265
b679a606
JM
262662013-05-24 Joseph Myers <joseph@codesourcery.com>
26267
e8bdba36
JM
26268 * math/gen-libm-test.pl (generate_testfile): Do not handle
26269 START_DATA and END_DATA.
26270 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26271 END_DATA.
26272 (acos_tonearest_test_data): Likewise.
26273 (acos_towardzero_test_data): Likewise.
26274 (acos_downward_test_data): Likewise.
26275 (acos_upward_test_data): Likewise.
26276 (acosh_test_data): Likewise.
26277 (asin_test_data): Likewise.
26278 (asin_tonearest_test_data): Likewise.
26279 (asin_towardzero_test_data): Likewise.
26280 (asin_downward_test_data): Likewise.
26281 (asin_upward_test_data): Likewise.
26282 (asinh_test_data): Likewise.
26283 (atan_test_data): Likewise.
26284 (atanh_test_data): Likewise.
26285 (atan2_test_data): Likewise.
26286 (cabs_test_data): Likewise.
26287 (cacos_test_data): Likewise.
26288 (cacosh_test_data): Likewise.
26289 (carg_test_data): Likewise.
26290 (casin_test_data): Likewise.
26291 (casinh_test_data): Likewise.
26292 (catan_test_data): Likewise.
26293 (catanh_test_data): Likewise.
26294 (cbrt_test_data): Likewise.
26295 (ccos_test_data): Likewise.
26296 (ccosh_test_data): Likewise.
26297 (ceil_test_data): Likewise.
26298 (cexp_test_data): Likewise.
26299 (cimag_test_data): Likewise.
26300 (clog_test_data): Likewise.
26301 (clog10_test_data): Likewise.
26302 (conj_test_data): Likewise.
26303 (copysign_test_data): Likewise.
26304 (cos_test_data): Likewise.
26305 (cos_tonearest_test_data): Likewise.
26306 (cos_towardzero_test_data): Likewise.
26307 (cos_downward_test_data): Likewise.
26308 (cos_upward_test_data): Likewise.
26309 (cosh_test_data): Likewise.
26310 (cosh_tonearest_test_data): Likewise.
26311 (cosh_towardzero_test_data): Likewise.
26312 (cosh_downward_test_data): Likewise.
26313 (cosh_upward_test_data): Likewise.
26314 (cpow_test_data): Likewise.
26315 (cproj_test_data): Likewise.
26316 (creal_test_data): Likewise.
26317 (csin_test_data): Likewise.
26318 (csinh_test_data): Likewise.
26319 (csqrt_test_data): Likewise.
26320 (ctan_test_data): Likewise.
26321 (ctan_tonearest_test_data): Likewise.
26322 (ctan_towardzero_test_data): Likewise.
26323 (ctan_downward_test_data): Likewise.
26324 (ctan_upward_test_data): Likewise.
26325 (ctanh_test_data): Likewise.
26326 (ctanh_tonearest_test_data): Likewise.
26327 (ctanh_towardzero_test_data): Likewise.
26328 (ctanh_downward_test_data): Likewise.
26329 (ctanh_upward_test_data): Likewise.
26330 (erf_test_data): Likewise.
26331 (erfc_test_data): Likewise.
26332 (exp_test_data): Likewise.
26333 (exp_tonearest_test_data): Likewise.
26334 (exp_towardzero_test_data): Likewise.
26335 (exp_downward_test_data): Likewise.
26336 (exp_upward_test_data): Likewise.
26337 (exp10_test_data): Likewise.
26338 (exp2_test_data): Likewise.
26339 (expm1_test_data): Likewise.
26340 (fabs_test_data): Likewise.
26341 (fdim_test_data): Likewise.
26342 (finite_test_data): Likewise.
26343 (floor_test_data): Likewise.
26344 (fma_test_data): Likewise.
26345 (fma_towardzero_test_data): Likewise.
26346 (fma_downward_test_data): Likewise.
26347 (fma_upward_test_data): Likewise.
26348 (fmax_test_data): Likewise.
26349 (fmin_test_data): Likewise.
26350 (fmod_test_data): Likewise.
26351 (fpclassify_test_data): Likewise.
26352 (frexp_test_data): Likewise.
26353 (gamma_test_data): Likewise.
26354 (hypot_test_data): Likewise.
26355 (ilogb_test_data): Likewise.
26356 (isfinite_test_data): Likewise.
26357 (isgreater_test_data): Likewise.
26358 (isgreaterequal_test_data): Likewise.
26359 (isinf_test_data): Likewise.
26360 (isless_test_data): Likewise.
26361 (islessequal_test_data): Likewise.
26362 (islessgreater_test_data): Likewise.
26363 (isnan_test_data): Likewise.
26364 (isnormal_test_data): Likewise.
26365 (issignaling_test_data): Likewise.
26366 (isunordered_test_data): Likewise.
26367 (j0_test_data): Likewise.
26368 (j1_test_data): Likewise.
26369 (jn_test_data): Likewise.
26370 (ldexp_test_data): Likewise.
26371 (lgamma_test_data): Likewise.
26372 (lrint_test_data): Likewise.
26373 (lrint_tonearest_test_data): Likewise.
26374 (lrint_towardzero_test_data): Likewise.
26375 (lrint_downward_test_data): Likewise.
26376 (lrint_upward_test_data): Likewise.
26377 (llrint_test_data): Likewise.
26378 (llrint_tonearest_test_data): Likewise.
26379 (llrint_towardzero_test_data): Likewise.
26380 (llrint_downward_test_data): Likewise.
26381 (llrint_upward_test_data): Likewise.
26382 (log_test_data): Likewise.
26383 (log10_test_data): Likewise.
26384 (log1p_test_data): Likewise.
26385 (log2_test_data): Likewise.
26386 (logb_test_data): Likewise.
26387 (logb_downward_test_data): Likewise.
26388 (lround_test_data): Likewise.
26389 (llround_test_data): Likewise.
26390 (modf_test_data): Likewise.
26391 (nearbyint_test_data): Likewise.
26392 (nextafter_test_data): Likewise.
26393 (nexttoward_test_data): Likewise.
26394 (pow_test_data): Likewise.
26395 (pow_tonearest_test_data): Likewise.
26396 (pow_towardzero_test_data): Likewise.
26397 (pow_downward_test_data): Likewise.
26398 (pow_upward_test_data): Likewise.
26399 (remainder_test_data): Likewise.
26400 (remainder_tonearest_test_data): Likewise.
26401 (remainder_towardzero_test_data): Likewise.
26402 (remainder_downward_test_data): Likewise.
26403 (remainder_upward_test_data): Likewise.
26404 (remquo_test_data): Likewise.
26405 (rint_test_data): Likewise.
26406 (rint_tonearest_test_data): Likewise.
26407 (rint_towardzero_test_data): Likewise.
26408 (rint_downward_test_data): Likewise.
26409 (rint_upward_test_data): Likewise.
26410 (round_test_data): Likewise.
26411 (scalb_test_data): Likewise.
26412 (scalbn_test_data): Likewise.
26413 (scalbln_test_data): Likewise.
26414 (signbit_test_data): Likewise.
26415 (sin_test_data): Likewise.
26416 (sin_tonearest_test_data): Likewise.
26417 (sin_towardzero_test_data): Likewise.
26418 (sin_downward_test_data): Likewise.
26419 (sin_upward_test_data): Likewise.
26420 (sincos_test_data): Likewise.
26421 (sinh_test_data): Likewise.
26422 (sinh_tonearest_test_data): Likewise.
26423 (sinh_towardzero_test_data): Likewise.
26424 (sinh_downward_test_data): Likewise.
26425 (sinh_upward_test_data): Likewise.
26426 (sqrt_test_data): Likewise.
26427 (tan_test_data): Likewise.
26428 (tan_tonearest_test_data): Likewise.
26429 (tan_towardzero_test_data): Likewise.
26430 (tan_downward_test_data): Likewise.
26431 (tan_upward_test_data): Likewise.
26432 (tanh_test_data): Likewise.
26433 (tgamma_test_data): Likewise.
26434 (trunc_test_data): Likewise.
26435 (y0_test_data): Likewise.
26436 (y1_test_data): Likewise.
26437 (yn_test_data): Likewise.
26438 (significand_test_data): Likewise.
26439
b679a606
JM
26440 * math/gen-libm-test.pl (@functions): Remove variable.
26441 (generate_testfile): Don't handle START and END lines.
26442 * math/libm-test.inc (START): New macro.
26443 (END): Likewise.
26444 (END_COMPLEX): Likewise.
26445 (acos_test): Use END macro without arguments.
26446 (acos_test_tonearest): Likewise.
26447 (acos_test_towardzero): Likewise.
26448 (acos_test_downward): Likewise.
26449 (acos_test_upward): Likewise.
26450 (acosh_test): Likewise.
26451 (asin_test): Likewise.
26452 (asin_test_tonearest): Likewise.
26453 (asin_test_towardzero): Likewise.
26454 (asin_test_downward): Likewise.
26455 (asin_test_upward): Likewise.
26456 (asinh_test): Likewise.
26457 (atan_test): Likewise.
26458 (atanh_test): Likewise.
26459 (atan2_test): Likewise.
26460 (cabs_test): Likewise.
26461 (cacos_test): Use END_COMPLEX macro without arguments.
26462 (cacosh_test): Likewise.
26463 (carg_test): Use END macro without arguments.
26464 (casin_test): Use END_COMPLEX macro without arguments.
26465 (casinh_test): Likewise.
26466 (catan_test): Likewise.
26467 (catanh_test): Likewise.
26468 (cbrt_test): Use END macro without arguments.
26469 (ccos_test): Use END_COMPLEX macro without arguments.
26470 (ccosh_test): Likewise.
26471 (ceil_test): Use END macro without arguments.
26472 (cexp_test): Use END_COMPLEX macro without arguments.
26473 (cimag_test): Use END macro without arguments.
26474 (clog_test): Use END_COMPLEX macro without arguments.
26475 (clog10_test): Likewise.
26476 (conj_test): Likewise.
26477 (copysign_test): Use END macro without arguments.
26478 (cos_test): Likewise.
26479 (cos_test_tonearest): Likewise.
26480 (cos_test_towardzero): Likewise.
26481 (cos_test_downward): Likewise.
26482 (cos_test_upward): Likewise.
26483 (cosh_test): Likewise.
26484 (cosh_test_tonearest): Likewise.
26485 (cosh_test_towardzero): Likewise.
26486 (cosh_test_downward): Likewise.
26487 (cosh_test_upward): Likewise.
26488 (cpow_test): Use END_COMPLEX macro without arguments.
26489 (cproj_test): Likewise.
26490 (creal_test): Use END macro without arguments.
26491 (csin_test): Use END_COMPLEX macro without arguments.
26492 (csinh_test): Likewise.
26493 (csqrt_test): Likewise.
26494 (ctan_test): Likewise.
26495 (ctan_test_tonearest): Likewise.
26496 (ctan_test_towardzero): Likewise.
26497 (ctan_test_downward): Likewise.
26498 (ctan_test_upward): Likewise.
26499 (ctanh_test): Likewise.
26500 (ctanh_test_tonearest): Likewise.
26501 (ctanh_test_towardzero): Likewise.
26502 (ctanh_test_downward): Likewise.
26503 (ctanh_test_upward): Likewise.
26504 (erf_test): Use END macro without arguments.
26505 (erfc_test): Likewise.
26506 (exp_test): Likewise.
26507 (exp_test_tonearest): Likewise.
26508 (exp_test_towardzero): Likewise.
26509 (exp_test_downward): Likewise.
26510 (exp_test_upward): Likewise.
26511 (exp10_test): Likewise.
26512 (exp2_test): Likewise.
26513 (expm1_test): Likewise.
26514 (fabs_test): Likewise.
26515 (fdim_test): Likewise.
26516 (finite_test): Likewise.
26517 (floor_test): Likewise.
26518 (fma_test): Likewise.
26519 (fma_test_towardzero): Likewise.
26520 (fma_test_downward): Likewise.
26521 (fma_test_upward): Likewise.
26522 (fmax_test): Likewise.
26523 (fmin_test): Likewise.
26524 (fmod_test): Likewise.
26525 (fpclassify_test): Likewise.
26526 (frexp_test): Likewise.
26527 (gamma_test): Likewise.
26528 (hypot_test): Likewise.
26529 (ilogb_test): Likewise.
26530 (isfinite_test): Likewise.
26531 (isgreater_test): Likewise.
26532 (isgreaterequal_test): Likewise.
26533 (isinf_test): Likewise.
26534 (isless_test): Likewise.
26535 (islessequal_test): Likewise.
26536 (islessgreater_test): Likewise.
26537 (isnan_test): Likewise.
26538 (isnormal_test): Likewise.
26539 (issignaling_test): Likewise.
26540 (isunordered_test): Likewise.
26541 (j0_test): Likewise.
26542 (j1_test): Likewise.
26543 (jn_test): Likewise.
26544 (ldexp_test): Likewise.
26545 (lgamma_test): Likewise.
26546 (lrint_test): Likewise.
26547 (lrint_test_tonearest): Likewise.
26548 (lrint_test_towardzero): Likewise.
26549 (lrint_test_downward): Likewise.
26550 (lrint_test_upward): Likewise.
26551 (llrint_test): Likewise.
26552 (llrint_test_tonearest): Likewise.
26553 (llrint_test_towardzero): Likewise.
26554 (llrint_test_downward): Likewise.
26555 (llrint_test_upward): Likewise.
26556 (log_test): Likewise.
26557 (log10_test): Likewise.
26558 (log1p_test): Likewise.
26559 (log2_test): Likewise.
26560 (logb_test): Likewise.
26561 (logb_test_downward): Likewise.
26562 (lround_test): Likewise.
26563 (llround_test): Likewise.
26564 (modf_test): Likewise.
26565 (nearbyint_test): Likewise.
26566 (nextafter_test): Likewise.
26567 (nexttoward_test): Likewise.
26568 (pow_test): Likewise.
26569 (pow_test_tonearest): Likewise.
26570 (pow_test_towardzero): Likewise.
26571 (pow_test_downward): Likewise.
26572 (pow_test_upward): Likewise.
26573 (remainder_test): Likewise.
26574 (remainder_test_tonearest): Likewise.
26575 (remainder_test_towardzero): Likewise.
26576 (remainder_test_downward): Likewise.
26577 (remainder_test_upward): Likewise.
26578 (remquo_test): Likewise.
26579 (rint_test): Likewise.
26580 (rint_test_tonearest): Likewise.
26581 (rint_test_towardzero): Likewise.
26582 (rint_test_downward): Likewise.
26583 (rint_test_upward): Likewise.
26584 (round_test): Likewise.
26585 (scalb_test): Likewise.
26586 (scalbn_test): Likewise.
26587 (scalbln_test): Likewise.
26588 (signbit_test): Likewise.
26589 (sin_test): Likewise.
26590 (sin_test_tonearest): Likewise.
26591 (sin_test_towardzero): Likewise.
26592 (sin_test_downward): Likewise.
26593 (sin_test_upward): Likewise.
26594 (sincos_test): Likewise.
26595 (sinh_test): Likewise.
26596 (sinh_test_tonearest): Likewise.
26597 (sinh_test_towardzero): Likewise.
26598 (sinh_test_downward): Likewise.
26599 (sinh_test_upward): Likewise.
26600 (sqrt_test): Likewise.
26601 (tan_test): Likewise.
26602 (tan_test_tonearest): Likewise.
26603 (tan_test_towardzero): Likewise.
26604 (tan_test_downward): Likewise.
26605 (tan_test_upward): Likewise.
26606 (tanh_test): Likewise.
26607 (tgamma_test): Likewise.
26608 (trunc_test): Likewise.
26609 (y0_test): Likewise.
26610 (y1_test): Likewise.
26611 (yn_test): Likewise.
26612 (significand_test): Likewise.
26613
bae143d2
OB
266142013-05-24 Ondřej Bílka <neleai@seznam.cz>
26615
26616 [BZ #15381]
26617 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26618
9323d39b
EM
266192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26620
d4ea44a0 26621 [BZ #14894]
9323d39b
EM
26622 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26623 __ppc_mdoio and __ppc_mdoom.
26624 * manual/platform.texi: Document new functions __ppc_yield,
26625 __ppc_mdoio and __ppc_mdoom.
26626
13e23af7
CD
266272013-05-22 Carlos O'Donell <carlos@redhat.com>
26628
26629 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26630 (main): Mention "tls" pseudo-hwcap is legacy.
26631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26632
351fe550
JM
266332013-05-22 Joseph Myers <joseph@codesourcery.com>
26634
26635 * math/gen-libm-test.pl (parse_args): Output only string of
26636 arguments as text for test name, not full call or descriptions of
26637 tests for extra outputs.
26638 (generate_testfile): Do not pass function name to parse_args.
26639 Generate this_func variable from START.
26640 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26641 field to arg_str.
26642 (struct test_ff_f_data): Likewise.
26643 (test_ff_f_data_nexttoward): Likewise.
26644 (struct test_fi_f_data): Likewise.
26645 (struct test_fl_f_data): Likewise.
26646 (struct test_if_f_data): Likewise.
26647 (struct test_fff_f_data): Likewise.
26648 (struct test_c_f_data): Likewise.
26649 (struct test_f_f1_data): Likewise. Remove field extra_name.
26650 (struct test_fF_f1_data): Likewise.
26651 (struct test_ffI_f1_data): Likewise.
26652 (struct test_c_c_data): Rename test_name field to arg_str.
26653 (struct test_cc_c_data): Likewise.
26654 (struct test_f_i_data): Likewise.
26655 (struct test_ff_i_data): Likewise.
26656 (struct test_f_l_data): Likewise.
26657 (struct test_f_L_data): Likewise.
26658 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26659 and extra2_name.
26660 (COMMON_TEST_SETUP): New macro.
26661 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26662 (COMMON_TEST_CLEANUP): Likewise.
26663 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26664 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26665 macros.
26666 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26667 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26668 macros.
26669 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26670 (RUN_TEST_fff_f): Take argument string. Call new setup and
26671 cleanup macros.
26672 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26673 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26674 macros.
26675 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26676 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26677 macros.
26678 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26679 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26680 cleanup macros.
26681 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26682 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26683 cleanup macros.
26684 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26685 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26686 cleanup macros.
26687 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26688 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26689 macros.
26690 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26691 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26692 macros.
26693 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26694 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26695 macros.
26696 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26697 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26698 cleanup macros.
26699 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26700 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26701 cleanup macros.
26702 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26703 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26704 macros.
26705 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26706 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26707 cleanup macros.
26708 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26709 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26710 macros.
26711 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26712 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26713 macros.
26714 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26715 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26716 cleanup macros.
26717 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26718
85118d4d
EBM
267192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26720
26721 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26722 to _sifields.sigfault.
26723 (si_addr_lsb): Define new macro.
26724 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26727
7a44c18f
CD
267282013-05-03 Carlos O'Donell <carlos at redhat.com>
26729
26730 [BZ #15441]
26731 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26732 returns -1.
26733 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26734 null return -1.
26735 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26736 loading the domain.
26737
b50a7181
JM
267382013-05-22 Joseph Myers <joseph@codesourcery.com>
26739
26740 * math/gen-libm-test.pl (parse_args): Do not include expected
26741 result in test name.
26742 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26748
051063c8
SP
267492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26750
3ce9e010
SP
26751 * benchtests/Makefile: Sort function entries.
26752
051063c8
SP
26753 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26754 tanh, asinh, acosh, atanh.
26755 * benchtests/acos-inputs: New file.
26756 * benchtests/acosh-inputs: New file.
26757 * benchtests/asin-inputs: New file.
26758 * benchtests/asinh-inputs: New file.
26759 * benchtests/atanh-inputs: New file.
26760 * benchtests/cosh-inputs: New file.
26761 * benchtests/log-inputs: New file.
26762 * benchtests/sinh-inputs: New file.
26763 * benchtests/tanh-inputs: New file.
26764
47c22455
DL
267652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26766
26767 [BZ #15339]
26768 * posix/tst-getaddrinfo4.c: New test.
26769 * posix/Makefile (tests): Add it.
26770
3d04f5db
SP
267712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26772
26773 [BZ #15339]
26774 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26775 when no services were used.
26776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26777 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26778
d5dd6189
AS
267792013-05-21 Andreas Schwab <schwab@suse.de>
26780
26781 [BZ #15014]
26782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26783 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26784 successful.
26785 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26786 redundant variable declarations and reallocation of buffer when
26787 parsing as IPv6 address. Always set NSS status when called from
26788 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26789 buffer too small. Correct computation of needed size.
26790 * nss/Makefile (tests): Add test-digits-dots.
26791 * nss/test-digits-dots.c: New test.
26792
fef94eab
SP
267932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26794
26795 * benchtests/Makefile: Remove instructions for adding
26796 benchmark tests.
26797 * benchtests/README: New file to explain how to execute and
26798 enhance the benchmark tests.
26799
e39adf43
AS
268002013-05-21 Andreas Schwab <schwab@suse.de>
26801
26802 [BZ #15493]
26803 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26804 * setjmp/tst-sigsetjmp.c: New test.
26805
b2b671b6
OB
268062013-05-20 Ondřej Bílka <neleai@seznam.cz>
26807
26808 * sysdeps/x86_64/memset.S (memset): New implementation.
26809 (__bzero): Likewise.
26810 (__memset_tail): New function.
26811
2d48b41c
OB
268122013-05-20 Ondřej Bílka <neleai@seznam.cz>
26813
26814 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26815 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26816 __memcpy_sse2_unaligned ifunc selection.
26817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26818 Add memcpy-sse2-unaligned.S.
26819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26820 Add: __memcpy_sse2_unaligned.
26821
f16cc3eb
JM
268222013-05-19 Joseph Myers <joseph@codesourcery.com>
26823
3e694268
JM
26824 [BZ #15490]
26825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26826 math_force_eval before restoring floating-point envrionment.
26827 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26829 Likewise.
26830 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26831 <math_private.h>.
26832 (__nearbyintl): Use math_force_eval before restoring
26833 floating-point environment.
26834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26835
db62a907
JM
26836 * math/gen-libm-test.pl (special_functions): Remove.
26837 (parse_args): Don't handle TEST_extra. Handle functions with no
26838 return value.
26839 * math/libm-test.inc (struct test_sincos_data): Replace with
26840 struct test_fFF_11_data.
26841 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26842 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26843 (sincos_test_data): Change element type to struct
26844 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26845 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26846 RUN_TEST_LOOP_sincos.
26847 * math/README.libm-test: Don't mention special handling of
26848 individual functions.
26849 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26851 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26852 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26855
f16cc3eb
JM
26856 * math/gen-libm-test.pl (get_variable): Remove function.
26857 (parse_args): Don't show pointer parameters to call in test
26858 names. Use "extra output N" in test names for extra outputs
26859 rather than naming variables.
26860
3779b5b6
JM
268612013-05-18 Joseph Myers <joseph@codesourcery.com>
26862
2ee094ff
JM
26863 [BZ #15488]
26864 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26865 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26866 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26867 double tests.
26868 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26869 disable.
26870 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26871 check_long_double.
26872
3779b5b6
JM
26873 * math/gen-libm-test.pl (@tests): Remove variable.
26874 ($count): Likewise.
26875 (new_test): Remove function.
26876 (show_exceptions): New function.
26877 (special_functions): Use show_exceptions instead of new_test.
26878 (parse_args): Likewise.
26879 (generate_testfile): Pass only function name in generated call to
26880 print_max_error or print_complex_max_error.
26881 (get_ulps): Do not handle complex tests specially.
26882 (output_test): Rename to ...
26883 (get_all_ulps_for_test): ... this. Return a string rather than
26884 printing to a file. Require ulps to be present.
26885 (output_ulps): Generate arrays rather than #defines.
26886 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26887 (struct ulp_data): New type.
26888 (BUILD_COMPLEX_ULP): Remove macro.
26889 (compare_ulp_data): New function.
26890 (find_ulps): Likewise.
26891 (find_test_ulps): Likewise.
26892 (find_function_ulps): Likewise.
26893 (find_complex_function_ulps): Likewise.
26894 (print_max_error): Determine allowed ulps using
26895 find_function_ulps.
26896 (print_complex_max_error): Determine allowed ulps using
26897 find_complex_function_ulps.
26898 (check_float_internal): Determine max ulps using find_test_ulps.
26899 (check_float): Do not take max_ulp parameter. Update call to
26900 check_float_internal.
26901 (check_complex): Likewise.
26902 (check_int): Do not take max_ulp parameter.
26903 (check_long): Likewise.
26904 (check_bool): Likewise.
26905 (check_longlong): Likewise.
26906 (struct test_f_f_data): Remove max_ulp field.
26907 (struct test_ff_f_data): Likewise.
26908 (struct test_ff_f_data_nexttoward): Likewise.
26909 (struct test_fi_f_data): Likewise.
26910 (struct test_fl_f_data): Likewise.
26911 (struct test_if_f_data): Likewise.
26912 (struct test_fff_f_data): Likewise.
26913 (struct test_c_f_data): Likewise.
26914 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26915 (struct test_fF_f1_data): Likewise.
26916 (struct test_ffI_f1_data): Likewise.
26917 (struct test_c_c_data): Remove max_ulp field.
26918 (struct test_cc_c_data): Likewise.
26919 (struct test_f_i_data): Likewise.
26920 (struct test_ff_i_data): Likewise.
26921 (struct test_f_l_data): Likewise.
26922 (struct test_f_L_data): Likewise.
26923 (struct test_sincos_data): Likewise.
26924 (RUN_TEST_f_f): Do not handle ulps.
26925 (RUN_TEST_LOOP_f_f): Likewise.
26926 (RUN_TEST_2_f): Likewise.
26927 (RUN_TEST_LOOP_2_f): Likewise.
26928 (RUN_TEST_fff_f): Likewise.
26929 (RUN_TEST_LOOP_fff_f): Likewise.
26930 (RUN_TEST_c_f): Likewise.
26931 (RUN_TEST_LOOP_c_f): Likewise.
26932 (RUN_TEST_f_f1): Likewise.
26933 (RUN_TEST_LOOP_f_f1): Likewise.
26934 (RUN_TEST_fF_f1): Likewise.
26935 (RUN_TEST_LOOP_fF_f1): Likewise.
26936 (RUN_TEST_fI_f1): Likewise.
26937 (RUN_TEST_LOOP_fI_f1): Likewise.
26938 (RUN_TEST_ffI_f1): Likewise.
26939 (RUN_TEST_LOOP_ffI_f1): Likewise.
26940 (RUN_TEST_c_c): Likewise.
26941 (RUN_TEST_LOOP_c_c): Likewise.
26942 (RUN_TEST_cc_c): Likewise.
26943 (RUN_TEST_LOOP_cc_c): Likewise.
26944 (RUN_TEST_f_i): Likewise.
26945 (RUN_TEST_LOOP_f_i): Likewise.
26946 (RUN_TEST_f_i_tg): Likewise.
26947 (RUN_TEST_LOOP_f_i_tg): Likewise.
26948 (RUN_TEST_ff_i_tg): Likewise.
26949 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26950 (RUN_TEST_f_b): Likewise.
26951 (RUN_TEST_LOOP_f_b): Likewise.
26952 (RUN_TEST_f_b_tg): Likewise.
26953 (RUN_TEST_LOOP_f_b_tg): Likewise.
26954 (RUN_TEST_f_l): Likewise.
26955 (RUN_TEST_LOOP_f_l): Likewise.
26956 (RUN_TEST_f_L): Likewise.
26957 (RUN_TEST_LOOP_f_L): Likewise.
26958 (RUN_TEST_sincos): Likewise.
26959 (RUN_TEST_LOOP_sincos): Likewise.
26960
8269107f
JM
269612013-05-17 Joseph Myers <joseph@codesourcery.com>
26962
bb38759d
JM
26963 [BZ #15480]
26964 [BZ #15485]
26965 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26966 main case of finite arguments, set rounding mode to FE_TONEAREST
26967 and discard exceptions.
26968 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26969 exceptions.
26970 (remainder_tonearest_test_data): New variable.
26971 (remainder_test_tonearest): New function.
26972 (remainder_towardzero_test_data): New variable.
26973 (remainder_test_towardzero): New function.
26974 (remainder_downward_test_data): New variable.
26975 (remainder_test_downward): New function.
26976 (remainder_upward_test_data): New variable.
26977 (remainder_test_upward): New function.
26978 (main): Call the new test functions.
26979
a00bdcf0
JM
26980 * math/libm-test.inc (struct test_f_f1_data): Remove field
26981 extra_init.
26982 (struct test_fF_f1_data): Likewise.
26983 (struct test_ffI_f1_data): Likewise.
26984 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26985 based on value of EXTRA_EXPECTED.
26986 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26987 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26988 EXTRA_VAR based on value of EXTRA_EXPECTED.
26989 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26990 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26991 EXTRA_VAR based on value of EXTRA_EXPECTED.
26992 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26993 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26994 EXTRA_VAR based on value of EXTRA_EXPECTED.
26995 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26996 * math/gen-libm-test.pl (parse_args): Don't output initializers
26997 for extra output values.
26998
de407f79
JM
26999 * math/libm-test.inc (check_int): Expect result to be exactly
27000 equal to expected value and do not handle ulps.
27001 (check_long): Likewise.
27002 (check_longlong): Likewise.
27003
8269107f
JM
27004 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27005 exceptions.
27006 (cimag_test_data): Likewise.
27007 (conj_test_data): Likewise.
27008 (copysign_test_data): Likewise.
27009 (cproj_test_data): Likewise.
27010 (creal_test_data): Likewise.
27011 (fabs_test_data): Likewise.
27012 (fdim_test_data): Likewise.
27013 (finite_test_data): Likewise.
27014 (floor_test_data): Likewise.
27015 (fmax_test_data): Likewise.
27016 (fmin_test_data): Likewise.
27017 (fmod_test_data): Likewise.
27018 (fpclassify_test_data): Likewise.
27019 (frexp_test_data): Likewise.
27020 (ilogb_test_data): Likewise.
27021 (isfinite_test_data): Likewise.
27022 (isgreater_test_data): Likewise.
27023 (isgreaterequal_test_data): Likewise.
27024 (isinf_test_data): Likewise.
27025 (isless_test_data): Likewise.
27026 (islessequal_test_data): Likewise.
27027 (islessgreater_test_data): Likewise.
27028 (isnan_test_data): Likewise.
27029 (isnormal_test_data): Likewise.
27030 (issignaling_test_data): Likewise.
27031 (isunordered_test_data): Likewise.
27032 (ldexp_test_data): Likewise.
27033 (lrint_test_data): Likewise.
27034 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27035 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27036 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27037 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27038 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27039 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27040 test input.
27041 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27042 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27043 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27044 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27045 that test input.
27046 (lrint_downward_test_data): Test for "inexact" exceptions.
27047 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27048 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27049 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27050 test input.
27051 (lrint_upward_test_data): Test for "inexact" exceptions.
27052 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27053 test input.
27054 (llrint_test_data): Test for "inexact" exceptions.
27055 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27056 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27057 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27058 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27059 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27060 (llrint_downward_test_data): Test for "inexact" exceptions.
27061 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27062 (llrint_upward_test_data): Test for "inexact" exceptions.
27063 (logb_test_data): Likewise.
27064 (logb_downward_test_data): Likewise.
27065 (nextafter_test_data): Likewise.
27066 (nexttoward_test_data): Likewise.
27067 (remainder_test_data): Likewise.
27068 (remquo_test_data): Likewise.
27069 (scalbn_test_data): Likewise.
27070 (scalbln_test_data): Likewise.
27071 (signbit_test_data): Likewise.
27072 (sqrt_test_data): Likewise.
27073 (significand_test_data): Likewise.
27074
48a18de1
SP
270752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27076
27077 [BZ #15424]
27078 * benchtests/bench-modf.c (struct args): Mark arg0 as
27079 volatile.
27080 * scripts/bench.pl: Mark members of struct args as volatile.
27081
13d3b41a
AZ
270822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27083
68191c1d 27084 [BZ # 15497]
13d3b41a
AZ
27085 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27086 negative infinity on POWER6 or lower.
27087 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27088
2848b105
MR
270892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27090
27091 [BZ #15442]
27092 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27093 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27094 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27095 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27096 (_FP_SETQNAN): New macro.
27097 (_FP_SETQNAN_SEMIRAW): Likewise.
27098 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27099 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27100 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27101 (FP_EXTEND): Use _FP_FRAC_SNANP.
27102 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27103 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27104 into account.
27105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27106 New macro.
27107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27108 Likewise.
27109
323e5cb7
JM
271102013-05-16 Joseph Myers <joseph@codesourcery.com>
27111
c58b274f
JM
27112 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27113 with DIVIDE_BY_ZERO_EXCEPTION.
27114 (gamma_test_data): Likewise.
27115 (lgamma_test_data): Likewise.
27116 (log_test_data): Likewise.
27117 (log10_test_data): Likewise.
27118 (log2_test_data): Likewise.
27119 (tgamma_test_data): Likewise.
27120
0ab34904
JM
27121 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27122 (acos_test_tonearest): Likewise.
27123 (acos_test_towardzero): Likewise.
27124 (acos_test_downward): Likewise.
27125 (acos_test_upward): Likewise.
27126 (acosh_test): Likewise.
27127 (asin_test): Likewise.
27128 (asin_test_tonearest): Likewise.
27129 (asin_test_towardzero): Likewise.
27130 (asin_test_downward): Likewise.
27131 (asin_test_upward): Likewise.
27132 (asinh_test): Likewise.
27133 (atan_test): Likewise.
27134 (atanh_test): Likewise.
27135 (atan2_test): Likewise.
27136 (cabs_test): Likewise.
27137 (cacos_test): Likewise.
27138 (cacosh_test): Likewise.
27139 (casin_test): Likewise.
27140 (casinh_test): Likewise.
27141 (catan_test): Likewise.
27142 (catanh_test): Likewise.
27143 (cbrt_test): Likewise.
27144 (ccos_test): Likewise.
27145 (ccosh_test): Likewise.
27146 (cexp_test): Likewise.
27147 (clog_test): Likewise.
27148 (clog10_test): Likewise.
27149 (cos_test): Likewise.
27150 (cos_test_tonearest): Likewise.
27151 (cos_test_towardzero): Likewise.
27152 (cos_test_downward): Likewise.
27153 (cos_test_upward): Likewise.
27154 (cosh_test): Likewise.
27155 (cosh_test_tonearest): Likewise.
27156 (cosh_test_towardzero): Likewise.
27157 (cosh_test_downward): Likewise.
27158 (cosh_test_upward): Likewise.
27159 (cpow_test): Likewise.
27160 (csin_test): Likewise.
27161 (csinh_test): Likewise.
27162 (csqrt_test): Likewise.
27163 (ctan_test): Likewise.
27164 (ctan_test_tonearest): Likewise.
27165 (ctan_test_towardzero): Likewise.
27166 (ctan_test_downward): Likewise.
27167 (ctan_test_upward): Likewise.
27168 (ctanh_test): Likewise.
27169 (ctanh_test_tonearest): Likewise.
27170 (ctanh_test_towardzero): Likewise.
27171 (ctanh_test_downward): Likewise.
27172 (ctanh_test_upward): Likewise.
27173 (erf_test): Likewise.
27174 (erfc_test): Likewise.
27175 (exp_test): Likewise.
27176 (exp_test_tonearest): Likewise.
27177 (exp_test_towardzero): Likewise.
27178 (exp_test_downward): Likewise.
27179 (exp_test_upward): Likewise.
27180 (exp10_test): Likewise.
27181 (exp2_test): Likewise.
27182 (expm1_test): Likewise.
27183 (fmod_test): Likewise.
27184 (gamma_test): Likewise.
27185 (hypot_test): Likewise.
27186 (j0_test): Likewise.
27187 (j1_test): Likewise.
27188 (jn_test): Likewise.
27189 (lgamma_test): Likewise.
27190 (log_test): Likewise.
27191 (log10_test): Likewise.
27192 (log1p_test): Likewise.
27193 (log2_test): Likewise.
27194 (logb_test_downward): Likewise.
27195 (pow_test): Likewise.
27196 (pow_test_tonearest): Likewise.
27197 (pow_test_towardzero): Likewise.
27198 (pow_test_downward): Likewise.
27199 (pow_test_upward): Likewise.
27200 (remainder_test): Likewise.
27201 (remquo_test): Likewise.
27202 (sin_test): Likewise.
27203 (sin_test_tonearest): Likewise.
27204 (sin_test_towardzero): Likewise.
27205 (sin_test_downward): Likewise.
27206 (sin_test_upward): Likewise.
27207 (sincos_test): Likewise.
27208 (sinh_test): Likewise.
27209 (sinh_test_tonearest): Likewise.
27210 (sinh_test_towardzero): Likewise.
27211 (sinh_test_downward): Likewise.
27212 (sinh_test_upward): Likewise.
27213 (sqrt_test): Likewise.
27214 (tan_test): Likewise.
27215 (tan_test_tonearest): Likewise.
27216 (tan_test_towardzero): Likewise.
27217 (tan_test_downward): Likewise.
27218 (tan_test_upward): Likewise.
27219 (tanh_test): Likewise.
27220 (tgamma_test): Likewise.
27221 (y0_test): Likewise.
27222 (y1_test): Likewise.
27223 (yn_test): Likewise.
27224
323e5cb7
JM
27225 * math/gen-libm-test.pl (adjust_arg): Remove function.
27226 (special_function): Remove argument $in_func. Only handle
27227 generating output for tables of tests, not inside functions.
27228 (parse_args): Likewise.
27229 (generate_testfile): Remove variable $in_func. Update call to
27230 parse_args.
27231 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27232 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27233 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27234 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27235 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27236 (MAX_VALUE_INIT): Rename macro to max_value.
27237 (MIN_VALUE_INIT): Rename macro to min_value.
27238 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27239 (plus_zero): Remove variable.
27240 (minus_zero): Likewise.
27241 (plus_infty): Likewise.
27242 (minus_infty): Likewise.
27243 (qnan_value): Likewise.
27244 (max_value): Likewise.
27245 (min_value): Likewise.
27246 (min_subnorm_value): Likewise.
27247
e054f494
RA
272482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27249
27250 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27251 uint64_t or uint32_t usage.
27252 * crypt/sha256-block.c: Likewise.
27253 * crypt/sha256-crypt.c: Likewise.
27254 * crypt/sha256.c: Likewise.
27255 * crypt/sha512-block.c: Likewise.
27256 * crypt/sha512-crypt.c: Likewise.
27257 * crypt/sha512.c: Likewise.
27258 * debug/backtrace-tst.c: Likewise.
27259 * debug/pcprofiledump.c: Likewise.
27260 * elf/cache.c: Likewise.
27261 * elf/dl-cache.c: Likewise.
27262 * elf/dl-misc.c: Likewise.
27263 * elf/dl-profile.c: Likewise.
27264 * elf/dl-support.c: Likewise.
27265 * elf/ldconfig.c: Likewise.
27266 * elf/sprof.c: Likewise.
27267 * iconv/dummy-repertoire.c: Likewise.
27268 * iconv/iconv_charmap.c: Likewise.
27269 * iconv/skeleton.c: Likewise.
27270 * iconvdata/8bit-generic.c: Likewise.
27271 * iconvdata/cp737.h: Likewise.
27272 * iconvdata/cp775.h: Likewise.
27273 * iconvdata/ibm1008.h: Likewise.
27274 * iconvdata/ibm1025.h: Likewise.
27275 * iconvdata/ibm1046.h: Likewise.
27276 * iconvdata/ibm1097.h: Likewise.
27277 * iconvdata/ibm1112.h: Likewise.
27278 * iconvdata/ibm1122.h: Likewise.
27279 * iconvdata/ibm1123.h: Likewise.
27280 * iconvdata/ibm1124.h: Likewise.
27281 * iconvdata/ibm1129.h: Likewise.
27282 * iconvdata/ibm1130.h: Likewise.
27283 * iconvdata/ibm1132.h: Likewise.
27284 * iconvdata/ibm1133.h: Likewise.
27285 * iconvdata/ibm1137.h: Likewise.
27286 * iconvdata/ibm1140.h: Likewise.
27287 * iconvdata/ibm1141.h: Likewise.
27288 * iconvdata/ibm1142.h: Likewise.
27289 * iconvdata/ibm1143.h: Likewise.
27290 * iconvdata/ibm1144.h: Likewise.
27291 * iconvdata/ibm1145.h: Likewise.
27292 * iconvdata/ibm1146.h: Likewise.
27293 * iconvdata/ibm1147.h: Likewise.
27294 * iconvdata/ibm1148.h: Likewise.
27295 * iconvdata/ibm1149.h: Likewise.
27296 * iconvdata/ibm1153.h: Likewise.
27297 * iconvdata/ibm1154.h: Likewise.
27298 * iconvdata/ibm1155.h: Likewise.
27299 * iconvdata/ibm1156.h: Likewise.
27300 * iconvdata/ibm1157.h: Likewise.
27301 * iconvdata/ibm1158.h: Likewise.
27302 * iconvdata/ibm1160.h: Likewise.
27303 * iconvdata/ibm1161.h: Likewise.
27304 * iconvdata/ibm1162.h: Likewise.
27305 * iconvdata/ibm1163.h: Likewise.
27306 * iconvdata/ibm1164.h: Likewise.
27307 * iconvdata/ibm1166.h: Likewise.
27308 * iconvdata/ibm1167.h: Likewise.
27309 * iconvdata/ibm12712.h: Likewise.
27310 * iconvdata/ibm1390.h: Likewise.
27311 * iconvdata/ibm1399.h: Likewise.
27312 * iconvdata/ibm16804.h: Likewise.
27313 * iconvdata/ibm4517.h: Likewise.
27314 * iconvdata/ibm4899.h: Likewise.
27315 * iconvdata/ibm4909.h: Likewise.
27316 * iconvdata/ibm4971.h: Likewise.
27317 * iconvdata/ibm5347.h: Likewise.
27318 * iconvdata/ibm803.h: Likewise.
27319 * iconvdata/ibm856.h: Likewise.
27320 * iconvdata/ibm901.h: Likewise.
27321 * iconvdata/ibm902.h: Likewise.
27322 * iconvdata/ibm9030.h: Likewise.
27323 * iconvdata/ibm9066.h: Likewise.
27324 * iconvdata/ibm921.h: Likewise.
27325 * iconvdata/ibm922.h: Likewise.
27326 * iconvdata/ibm9448.h: Likewise.
27327 * iconvdata/isiri-3342.h: Likewise.
27328 * iconvdata/jis0201.h: Likewise.
27329 * include/link.h: Likewise.
27330 * include/netdb.h: Likewise.
27331 * inet/check_native.c: Likewise.
27332 * inet/check_pf.c: Likewise.
27333 * inet/getipv4sourcefilter.c: Likewise.
27334 * inet/getnameinfo.c: Likewise.
27335 * inet/getsourcefilter.c: Likewise.
27336 * inet/htonl.c: Likewise.
27337 * inet/setipv4sourcefilter.c: Likewise.
27338 * inet/setsourcefilter.c: Likewise.
27339 * inet/test-inet6_opt.c: Likewise.
27340 * inet/tst-network.c: Likewise.
27341 * locale/C-collate.c: Likewise.
27342 * locale/C-ctype.c: Likewise.
27343 * locale/C-time.c: Likewise.
27344 * locale/C-translit.h: Likewise.
27345 * locale/loadarchive.c: Likewise.
27346 * locale/programs/3level.h: Likewise.
27347 * locale/programs/charmap.c: Likewise.
27348 * locale/programs/charmap.h: Likewise.
27349 * locale/programs/ld-address.c: Likewise.
27350 * locale/programs/ld-collate.c: Likewise.
27351 * locale/programs/ld-ctype.c: Likewise.
27352 * locale/programs/ld-identification.c: Likewise.
27353 * locale/programs/ld-measurement.c: Likewise.
27354 * locale/programs/ld-messages.c: Likewise.
27355 * locale/programs/ld-monetary.c: Likewise.
27356 * locale/programs/ld-name.c: Likewise.
27357 * locale/programs/ld-numeric.c: Likewise.
27358 * locale/programs/ld-paper.c: Likewise.
27359 * locale/programs/ld-telephone.c: Likewise.
27360 * locale/programs/ld-time.c: Likewise.
27361 * locale/programs/linereader.c: Likewise.
27362 * locale/programs/locale.c: Likewise.
27363 * locale/programs/locarchive.c: Likewise.
27364 * locale/programs/locfile.h: Likewise.
27365 * locale/programs/repertoire.c: Likewise.
27366 * locale/programs/simple-hash.c: Likewise.
27367 * locale/programs/simple-hash.h: Likewise.
27368 * malloc/memusage.c: Likewise.
27369 * malloc/memusagestat.c: Likewise.
27370 * nis/nis_defaults.c: Likewise.
27371 * nis/nis_hash.c: Likewise.
27372 * nis/nis_print.c: Likewise.
27373 * nis/nis_xdr.c: Likewise.
27374 * nscd/connections.c: Likewise.
27375 * nscd/hstcache.c: Likewise.
27376 * nscd/nscd_gethst_r.c: Likewise.
27377 * nscd/nscd_getserv_r.c: Likewise.
27378 * nscd/nscd_helper.c: Likewise.
27379 * nscd/servicescache.c: Likewise.
27380 * nss/makedb.c: Likewise.
27381 * nss/nss_db/db-XXX.c: Likewise.
27382 * nss/nss_db/db-initgroups.c: Likewise.
27383 * nss/nss_db/db-netgrp.c: Likewise.
27384 * nss/nss_files/files-network.c: Likewise.
27385 * nss/nss_files/files-parse.c: Likewise.
27386 * posix/bug-regex5.c: Likewise.
27387 * posix/fnmatch_loop.c: Likewise.
27388 * posix/regcomp.c: Likewise.
27389 * posix/regexec.c: Likewise.
27390 * posix/tst-rfc3484-2.c: Likewise.
27391 * posix/tst-rfc3484-3.c: Likewise.
27392 * posix/tst-rfc3484.c: Likewise.
27393 * resolv/nss_dns/dns-canon.c: Likewise.
27394 * resolv/nss_dns/dns-network.c: Likewise.
27395 * resolv/res_init.c: Likewise.
27396 * resolv/res_mkquery.c: Likewise.
27397 * resolv/tst-aton.c: Likewise.
27398 * stdlib/cxa_atexit.c: Likewise.
27399 * stdlib/cxa_finalize.c: Likewise.
27400 * stdlib/gen-fpioconst.c: Likewise.
27401 * stdlib/strtol_l.c: Likewise.
27402 * string/tst-endian.c: Likewise.
27403 * sunrpc/auth_des.c: Likewise.
27404 * sunrpc/clnt_udp.c: Likewise.
27405 * sunrpc/rtime.c: Likewise.
27406 * sunrpc/svcauth_des.c: Likewise.
27407 * sunrpc/xdr.c: Likewise.
27408 * sunrpc/xdr_intXX_t.c: Likewise.
27409 * sunrpc/xdr_rec.c: Likewise.
27410 * sysdeps/generic/ldconfig.h: Likewise.
27411 * sysdeps/generic/ldsodefs.h: Likewise.
27412 * sysdeps/generic/memusage.h: Likewise.
27413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27415 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27423 * sysdeps/posix/getaddrinfo.c: Likewise.
27424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27426 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27427 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27428 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27429 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27430 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27431 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27432 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27433 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27434 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27435 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27436 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27437 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27438 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27439 * sysdeps/x86_64/dl-tls.h: Likewise.
27440 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27441 * time/alt_digit.c: Likewise.
27442 * time/era.c: Likewise.
27443 * wcsmbs/tst-c16c32-1.c: Likewise.
27444
8c75f674
JM
274452013-05-16 Joseph Myers <joseph@codesourcery.com>
27446
27447 * math/libm-test.inc (struct test_sincos_data): New type.
27448 (RUN_TEST_LOOP_sincos): New macro.
27449 (sincos_test_data): New variable.
27450 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27451
e6e49e59
RH
274522013-05-16 Richard Henderson <rth@redhat.com>
27453
27454 * math/atest-exp2.c (LIMB64): New macro.
27455 (CONSTSZ): New macro.
27456 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27457 (hexdig): Move ...
27458 (print_mpn_fp): ... to function scope.
27459 (read_mpn_hex): Remove.
27460 (get_log2): Remove.
27461 (exp2_mpn): Use mp_log2.
27462 (main): Use mp_exp1.
27463
15c7c18d
JM
274642013-05-16 Joseph Myers <joseph@codesourcery.com>
27465
105a07df
JM
27466 * math/libm-test.inc: Remove comment about not testing "inexact"
27467 exceptions.
27468 (INEXACT_EXCEPTION): New macro.
27469 (NO_INEXACT_EXCEPTION): Likewise.
27470 (INVALID_EXCEPTION_OK): Update value.
27471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27472 (OVERFLOW_EXCEPTION_OK): Likewise.
27473 (UNDERFLOW_EXCEPTION_OK): Likewise.
27474 (IGNORE_ZERO_INF_SIGN): Likewise.
27475 (ERRNO_UNCHANGED): Likewise.
27476 (ERRNO_EDOM): Likewise.
27477 (ERRNO_ERANGE): Likewise.
27478 (test_exceptions): Handle testing "inexact" exceptions.
27479 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27480 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27481 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27482 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27483 INEXACT_EXCEPTION.
27484 (rint_towardzero_test_data): Likewise.
27485 (rint_downward_test_data): Likewise.
27486 (rint_upward_test_data): Likewise.
27487
e9eee333
JM
27488 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27489 with OVERFLOW_EXCEPTION.
27490 (exp10_test_data): Likewise.
27491 (exp2_test_data): Likewise.
27492 (expm1_test_data): Likewise.
27493 (lgamma_test_data): Likewise.
27494 (pow_test_data): Likewise.
27495 (tgamma_test_data): Likewise.
27496 (yn_test_data): Remove duplicate test of overflow.
27497
1c38ff73
JM
27498 * math/libm-test.inc (struct test_cc_c_data): New type.
27499 (RUN_TEST_LOOP_cc_c): New macro.
27500 (cpow_test_data): New variable.
27501 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27502
15c7c18d
JM
27503 * math/libm-test.inc (struct test_f_L_data): New type.
27504 (RUN_TEST_LOOP_f_L): New macro.
27505 (llrint_test_data): New variable.
27506 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27507 (llrint_tonearest_test_data): New variable.
27508 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27509 (llrint_towardzero_test_data): New variable.
27510 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27511 (llrint_downward_test_data): New variable.
27512 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27513 (llrint_upward_test_data): New variable.
27514 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27515 (llround_test_data): New variable.
27516 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27517
f137ff13
PC
275182013-05-13 Peter Collingbourne <pcc@google.com>
27519
27520 * math/atest-exp2.c (get_log2): Remove const attribute.
27521
3608cb24
JM
275222013-05-15 Joseph Myers <joseph@codesourcery.com>
27523
27524 * math/libm-test.inc (struct test_f_l_data): New type.
27525 (RUN_TEST_LOOP_f_l): New macro.
27526 (lrint_test_data): New variable.
27527 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27528 (lrint_tonearest_test_data): New variable.
27529 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27530 (lrint_towardzero_test_data): New variable.
27531 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27532 (lrint_downward_test_data): New variable.
27533 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27534 (lrint_upward_test_data): New variable.
27535 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27536 (lround_test_data): New variable.
27537 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27538
39b1f617
PC
275392013-05-15 Peter Collingbourne <pcc@google.com>
27540
1deff3dc
PC
27541 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27542 (EXTRACT_WORDS64) Use where appropriate.
27543 (INSERT_WORDS64) Likewise.
27544
791f3ba0
PC
27545 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27546 constraints with x constraints.
27547 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27548
39b1f617
PC
27549 * malloc/obstack.c (_obstack_compat): Add initializer.
27550
12fba011
EM
275512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27552
27553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27554 si_trapno and add si_addr_lsb to _sifields.sigfault.
27555 (si_trapno): Remove macro.
27556 (si_addr_lsb): Define new macro.
27557 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27558
d369f531
JM
275592013-05-15 Joseph Myers <joseph@codesourcery.com>
27560
b861c6c4
JM
27561 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27562 instead of TEST_f_l.
27563 (llrint_test_tonearest): Likewise.
27564 (llrint_test_towardzero): Likewise.
27565 (llrint_test_downward): Likewise.
27566 (llrint_test_upward): Likewise.
27567 (llround_test): Likewise.
27568
7abeee12
JM
27569 * math/libm-test.inc (struct test_f_i_data): Add comment.
27570 (RUN_TEST_LOOP_f_b): New macro.
27571 (RUN_TEST_LOOP_f_b_tg): Likewise.
27572 (finite_test_data): New variable.
27573 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27574 (isfinite_test_data): New variable.
27575 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27576 (isinf_test_data): New variable.
27577 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27578 (isnan_test_data): New variable.
27579 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27580 (isnormal_test_data): New variable.
27581 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27582 (issignaling_test_data): New variable.
27583 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27584 (signbit_test_data): New variable.
27585 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27586
cbe8c4d3
JM
27587 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27588 with INVALID_EXCEPTION.
27589 (acosh_test_data): Likewise.
27590 (asin_test_data): Likewise.
27591 (atanh_test_data): Likewise.
27592 (fmod_test_data): Likewise.
27593 (log_test_data): Likewise.
27594 (log10_test_data): Likewise.
27595 (log2_test_data): Likewise.
27596 (pow_test_data): Likewise.
27597 (sqrt_test_data): Likewise.
27598 (y0_test_data): Likewise.
27599 (y1_test_data): Likewise.
27600 (yn_test_data): Likewise.
27601
5575c0e5
JM
27602 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27603 function contents.
27604
d369f531
JM
27605 * math/libm-test.inc (struct test_ff_i_data): New type.
27606 (RUN_TEST_LOOP_ff_i_tg): New macro.
27607 (isgreater_test_data): New variable.
27608 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27609 (isgreaterequal_test_data): New variable.
27610 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27611 (isless_test_data): New variable.
27612 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27613 (islessequal_test_data): New variable.
27614 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27615 (islessgreater_test_data): New variable.
27616 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27617 (isunordered_test_data): New variable.
27618 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27619
781fd748
DM
276202013-05-14 David S. Miller <davem@davemloft.net>
27621
27622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27623
87aa21df
JM
276242013-05-14 Joseph Myers <joseph@codesourcery.com>
27625
5e908270
JM
27626 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27627
f71172e5
JM
27628 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27629 extra_test to int.
27630 (struct test_f_i_data): Change type of max_ulp to int.
27631
8cfa635a
JM
27632 * math/libm-test.inc (test_ffI_f1_data): New type.
27633 (RUN_TEST_LOOP_ffI_f1): New macro.
27634 (remquo_test_data): New variable.
27635 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27636
2bcb36b2
JM
27637 * setjmp/tst-setjmp-fp.c: New file.
27638 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27639 (link-libm): New variable.
27640 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27641
acbd839a
JM
27642 * math/libm-test.inc (struct test_f_i_data): New type.
27643 (RUN_TEST_LOOP_f_i): New macro.
27644 (RUN_TEST_LOOP_f_i_tg): Likewise.
27645 (fpclassify_test_data): New variable.
27646 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27647 (ilogb_test_data): New variable.
27648 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27649
e414d745
JM
27650 * math/libm-test.inc (scalbln_test): Correct function name in END
27651 call.
27652
d9c2a0fd
JM
27653 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27654 (RUN_TEST_LOOP_fI_f1): New macro.
27655 (frexp_test_data): New variable.
27656 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27657
9dc9095d
JM
27658 * math/libm-test.inc (struct test_fF_f1_data): New type.
27659 (RUN_TEST_LOOP_fF_f1): New macro.
27660 (modf_test_data): New variable.
27661 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27662
87aa21df
JM
27663 * math/libm-test.inc (struct test_f_f1_data): New type.
27664 (RUN_TEST_LOOP_f_f1): New macro.
27665 (gamma_test_data): New variable.
27666 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27667 (lgamma_test_data): New variable.
27668 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27669
141af660
CD
276702013-05-13 Carlos O'Donell <carlos@redhat.com>
27671
27672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27673 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27674 (main): Comment "tls" pseudo-hwcap.
27675
6d33265c
JM
276762013-05-13 Joseph Myers <joseph@codesourcery.com>
27677
68fc074c
JM
27678 * math/libm-test.inc (struct test_fl_f_data): New type.
27679 (RUN_TEST_LOOP_fl_f): New variable.
27680 (scalbln_test_data): New variable.
27681 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27682
243216e1
JM
27683 * math/libm-test.inc (struct test_fi_f_data): New type.
27684 (RUN_TEST_LOOP_fi_f): New macro.
27685 (ldexp_test_data): New variable.
27686 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27687 (scalbn_test_data): New variable.
27688 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27689
6a1992e2
JM
27690 * math/libm-test.inc (struct test_c_f_data): New type.
27691 (RUN_TEST_LOOP_c_f): New macro.
27692 (cabs_test_data): New variable.
27693 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27694 (carg_test_data): New variable.
27695 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27696 (cimag_test_data): New variable.
27697 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27698 (creal_test_data): New variable.
27699 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27700
0e400df5
JM
27701 * math/libm-test.inc (struct test_if_f_data): New type.
27702 (RUN_TEST_LOOP_if_f): New macro.
27703 (jn_test_data): New variable.
27704 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27705 (yn_test_data): New variable.
27706 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27707
6d33265c
JM
27708 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27709
f98ece5f
AZ
277102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27711
27712 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27713 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27714
0f7d347b
SP
277152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27716
43fe811b
SP
27717 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27718 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27719 (bench-deps): Add bench-timing.h.
27720 * benchtests-bench-skeleton.c: Include bench-timing.h.
27721 (main): Use TIMING_* macros instead of clock_gettime.
27722 * benchtests/bench-timing.h: New file.
27723
0f7d347b
SP
27724 [BZ #14582]
27725 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27726 Renamed from _LIB_VERSION.
27727 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27728
601a3a5f
JM
277292013-05-12 Joseph Myers <joseph@codesourcery.com>
27730
4f184d30
JM
27731 * math/libm-test.inc (struct test_fff_f_data): New type.
27732 (RUN_TEST_LOOP_fff_f): New macro.
27733 (fma_test_data): New variable.
27734 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27735 (fma_towardzero_test_data): New variable.
27736 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27737 (fma_downward_test_data): New variable.
27738 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27739 (fma_upward_test_data): New variable.
27740 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27741
08198877
JM
27742 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27743 (struct test_c_c_data): New type.
27744 (RUN_TEST_LOOP_c_c): New macro.
27745 (cacos_test_data): New variable.
27746 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27747 (cacosh_test_data): New variable.
27748 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27749 (casin_test_data): New variable.
27750 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27751 (casinh_test_data): New variable.
27752 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27753 (catan_test_data): New variable.
27754 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27755 (catanh_test_data): New variable.
27756 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27757 (ccos_test_data): New variable.
27758 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27759 (ccosh_test_data): New variable.
27760 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27761 (cexp_test_data): New variable.
27762 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27763 (clog_test_data): New variable.
27764 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27765 (clog10_test_data): New variable.
27766 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27767 (conj_test_data): New variable.
27768 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27769 (cproj_test_data): New variable.
27770 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27771 (csin_test_data): New variable.
27772 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27773 (csinh_test_data): New variable.
27774 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27775 (csqrt_test_data): New variable.
27776 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27777 (ctan_test_data): New variable.
27778 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27779 (ctan_tonearest_test_data): New variable.
27780 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27781 (ctan_towardzero_test_data): New variable.
27782 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27783 (ctan_downward_test_data): New variable.
27784 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27785 (ctan_upward_test_data): New variable.
27786 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27787 (ctanh_test_data): New variable.
27788 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27789 (ctanh_tonearest_test_data): New variable.
27790 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27791 (ctanh_towardzero_test_data): New variable.
27792 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27793 (ctanh_downward_test_data): New variable.
27794 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27795 (ctanh_upward_test_data): New variable.
27796 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27797 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27798 of BUILD_COMPLEX.
27799
601a3a5f
JM
27800 * math/libm-test.inc (struct test_ff_f_data): New type.
27801 (struct test_ff_f_data_nexttoward): Likewise.
27802 (RUN_TEST_LOOP_2_f): New macro.
27803 (RUN_TEST_LOOP_ff_f): Likewise.
27804 (atan2_test_data): New variable.
27805 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27806 (copysign_test_data): New variable.
27807 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27808 (fdim_test_data): New variable.
27809 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27810 (fmax_test_data): New variable.
27811 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27812 (fmin_test_data): New variable.
27813 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27814 (fmod_test_data): New variable.
27815 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27816 (hypot_test_data): New variable.
27817 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27818 (nextafter_test_data): New variable.
27819 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27820 (nexttoward_test_data): New variable.
27821 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27822 (pow_test_data): New variable.
27823 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27824 (pow_tonearest_test_data): New variable.
27825 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27826 (pow_towardzero_test_data): New variable.
27827 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27828 (pow_downward_test_data): New variable.
27829 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27830 (pow_upward_test_data): New variable.
27831 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27832 (remainder_test_data): New variable.
27833 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27834 (scalb_test_data): New variable.
27835 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27836 * sysdeps/i386/fpu/libm-test-ulps: Update.
27837
74c57478
JM
278382013-05-11 Joseph Myers <joseph@codesourcery.com>
27839
8329e4da
JM
27840 * math/libm-test.inc (fma_test): Use max_value instead of local
27841 variable fltmax.
27842 (nextafter_test): Likewise.
27843
74c57478
JM
27844 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27845 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27846 (acos_downward_test_data): New variable.
27847 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27848 (acos_upward_test_data): New variable.
27849 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27850 (acosh_test_data): New variable.
27851 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27852 (asin_test_data): New variable.
27853 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27854 (asin_tonearest_test_data): New variable.
27855 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27856 (asin_towardzero_test_data): New variable.
27857 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27858 (asin_downward_test_data): New variable.
27859 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27860 (asin_upward_test_data): New variable.
27861 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27862 (asinh_test_data): New variable.
27863 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27864 (atan_test_data): New variable.
27865 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27866 (atanh_test_data): New variable.
27867 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27868 (cbrt_test_data): New variable.
27869 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27870 (ceil_test_data): New variable.
27871 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27872 (cos_test_data): New variable.
27873 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27874 (cos_tonearest_test_data): New variable.
27875 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27876 (cos_towardzero_test_data): New variable.
27877 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27878 (cos_downward_test_data): New variable.
27879 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27880 (cos_upward_test_data): New variable.
27881 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27882 (cosh_test_data): New variable.
27883 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27884 (cosh_tonearest_test_data): New variable.
27885 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27886 (cosh_towardzero_test_data): New variable.
27887 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27888 (cosh_downward_test_data): New variable.
27889 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27890 (cosh_upward_test_data): New variable.
27891 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27892 (erf_test_data): New variable.
27893 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27894 (erfc_test_data): New variable.
27895 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27896 (exp_test_data): New variable.
27897 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27898 (exp_tonearest_test_data): New variable.
27899 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27900 (exp_towardzero_test_data): New variable.
27901 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27902 (exp_downward_test_data): New variable.
27903 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27904 (exp_upward_test_data): New variable.
27905 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27906 (exp10_test_data): New variable.
27907 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27908 (exp2_test_data): New variable.
27909 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27910 (expm1_test_data): New variable.
27911 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27912 (fabs_test_data): New variable.
27913 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27914 (floor_test_data): New variable.
27915 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27916 (j0_test_data): New variable.
27917 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27918 (j1_test_data): New variable.
27919 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27920 (log_test_data): New variable.
27921 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27922 (log10_test_data): New variable.
27923 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27924 (log1p_test_data): New variable.
27925 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27926 (log2_test_data): New variable.
27927 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27928 (logb_test_data): New variable.
27929 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27930 (logb_downward_test_data): New variable.
27931 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27932 (nearbyint_test_data): New variable.
27933 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27934 (rint_test_data): New variable.
27935 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27936 (rint_tonearest_test_data): New variable.
27937 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27938 (rint_towardzero_test_data): New variable.
27939 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27940 (rint_downward_test_data): New variable.
27941 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27942 (rint_upward_test_data): New variable.
27943 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27944 (round_test_data): New variable.
27945 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27946 (sin_test_data): New variable.
27947 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27948 (sin_tonearest_test_data): New variable.
27949 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27950 (sin_towardzero_test_data): New variable.
27951 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27952 (sin_downward_test_data): New variable.
27953 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27954 (sin_upward_test_data): New variable.
27955 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27956 (sinh_test_data): New variable.
27957 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27958 (sinh_tonearest_test_data): New variable.
27959 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27960 (sinh_towardzero_test_data): New variable.
27961 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27962 (sinh_downward_test_data): New variable.
27963 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27964 (sinh_upward_test_data): New variable.
27965 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27966 (sqrt_test_data): New variable.
27967 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27968 (tan_test_data): New variable.
27969 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27970 (tan_tonearest_test_data): New variable.
27971 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27972 (tan_towardzero_test_data): New variable.
27973 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27974 (tan_downward_test_data): New variable.
27975 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27976 (tan_upward_test_data): New variable.
27977 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27978 (tanh_test_data): New variable.
27979 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27980 (tgamma_test_data): New variable.
27981 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27982 (trunc_test_data): New variable.
27983 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27984 (y0_test_data): New variable.
27985 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27986 (y1_test_data): New variable.
27987 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27988 (significand_test_data): New variable.
27989 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27990
7187d844
CG
279912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27992
27993 [BZ #12387]
27994 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27995
f63fae73
PT
279962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27997
27998 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27999
8a67a4b3
AJ
280002013-05-10 Andreas Jaeger <aj@suse.de>
28001
28002 [BZ #15448]
28003 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28004 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28005
51df539d
JM
280062013-05-10 Joseph Myers <joseph@codesourcery.com>
28007
28008 * math/gen-libm-test.pl (adjust_arg): New function.
28009 (special_functions): Handle generating output in both functions
28010 and arrays.
28011 (parse_args): Likewise.
28012 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28013 $in_func argument to parse_args.
28014 * math/libm-test.inc (struct test_f_f_data): New type.
28015 (IF_ROUND_INIT_): New macro.
28016 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28020 (ROUND_RESTORE_): Likewise.
28021 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28022 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28023 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28024 (ROUND_RESTORE_FE_UPWARD): Likewise.
28025 (RUN_TEST_LOOP_f_f): New macro.
28026 (acos_test_data): New variable.
28027 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28028 (acos_tonearest_test_data): New variable.
28029 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28030
5c637fe5
SP
280312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28032
28033 * benchtests/bench-skeleton.c (startup): Fix coding style.
28034
ab2b9461
JM
280352013-05-10 Joseph Myers <joseph@codesourcery.com>
28036
28037 [BZ #6809]
28038 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28039 negative infinity argument.
28040 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28041 negative infinity argument.
28042 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28043 negative infinity argument.
28044 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28045 domain errors.
28046
4c0fe6fe
FW
280472013-05-10 Florian Weimer <fweimer@redhat.com>
28048
28049 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28050 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28051 * iconv/iconv_prog.c (main): Likewise.
28052 * locale/programs/charmap-dir.c (charmap_readdir)
28053 (fopen_uncompressed): Likewise.
28054 * locale/programs/locfile.c (siblings_uncached)
28055 (write_locale_data): Use lstat64 instead of lstat.
28056 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28057 stat.
28058
a3375d29
AJ
280592013-05-10 Andreas Jaeger <aj@suse.de>
28060
28061 [BZ #15395]
28062 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28063 localization.
28064 Include <locale.h>.
28065
36129722
CD
280662013-05-09 Carlos O'Donell <carlos@redhat.com>
28067
28068 * elf/dl-close.c (_dl_close_worker): Add comments.
28069
faa7f811
JM
280702013-05-09 Joseph Myers <joseph@codesourcery.com>
28071
ed41ffef
JM
28072 [BZ #15359]
28073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28074 high part of pi/2.
28075 (__ieee754_rem_pio2l): Update comments.
28076
d0213cd0
JM
28077 [BZ #15429]
28078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28079 high part of pi/2.
28080 (__ieee754_rem_pio2l): Update comments.
28081
0d3e777a
JM
28082 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28083 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28084
24f56066
JM
28085 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28086 M_PI_4l.
28087
faa7f811
JM
28088 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28089 (M_PI_34_LOG10El): Likewise.
28090 (M_PI2_LOG10El): Likewise.
28091 (M_PI4_LOG10El): Likewise.
28092 (M_PI_LOG10El): Likewise.
28093
e9a5e0fd
AZ
280942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28095
28096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28097
d8cd06db
JM
280982013-05-08 Joseph Myers <joseph@codesourcery.com>
28099
a0d9f9d7
JM
28100 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28101 (MINUS_ZERO_INIT): Likewise.
28102 (PLUS_INFTY_INIT): Likewise.
28103 (MINUS_INFTY_INIT): Likewise.
28104 (QNAN_VALUE_INIT): Likewise.
28105 (MAX_VALUE_INIT): Likewise.
28106 (MIN_VALUE_INIT): Likewise.
28107 (MIN_SUBNORM_VALUE_INIT): Likewise.
28108 (plus_zero): Initialize with PLUS_ZERO_INIT.
28109 (minus_zero): Initialize with MINUS_ZERO_INIT.
28110 (plus_infty): Initialize with PLUS_INFTY_INIT.
28111 (minus_infty): Initialize with MINUS_INFTY_INIT.
28112 (qnan_value): Initialize with QNAN_VALUE_INIT.
28113 (max_value): Initialize with MAX_VALUE_INIT.
28114 (min_value): Initialize with MIN_VALUE_INIT.
28115 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28116
ae08db3b
JM
28117 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28118 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28119 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28120 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28121
f44bf14a
JM
28122 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28123 (RUN_TEST_2_f): Likewise.
28124 (RUN_TEST_ff_f): Likewise.
28125 (RUN_TEST_fi_f): Likewise.
28126 (RUN_TEST_fl_f): Likewise.
28127 (RUN_TEST_fff_f): Likewise.
28128 (RUN_TEST_c_f): Likewise.
28129 (RUN_TEST_f_f1): Likewise.
28130 (RUN_TEST_fF_f1): Likewise.
28131 (RUN_TEST_fI_f1): Likewise.
28132 (RUN_TEST_ffI_f1): Likewise.
28133 (RUN_TEST_c_c): Likewise.
28134 (RUN_TEST_cc_c): Likewise.
28135 (RUN_TEST_f_i): Likewise.
28136 (RUN_TEST_f_i_tg): Likewise.
28137 (RUN_TEST_ff_i_tg): Likewise.
28138 (RUN_TEST_f_b): Likewise.
28139 (RUN_TEST_f_b_tg): Likewise.
28140 (RUN_TEST_f_l): Likewise.
28141 (RUN_TEST_f_L): Likewise.
28142 (RUN_TEST_sincos): Likewise.
28143 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28144 whether to show exceptions. Do not include ");\n" in return
28145 value.
28146 (special_functions): Output call to RUN_TEST_sincos instead of
28147 check_float calls. Update calls to new_test.
28148 (parse_args): Output call to single RUN_TEST_* macro instead of
28149 check_* calls and other assignments. Update calls to new_test.
28150
d8cd06db
JM
28151 [BZ #2546]
28152 [BZ #2560]
28153 [BZ #5159]
28154 [BZ #15426]
28155 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28156 input to result for tgamma overflow.
28157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28158 (gamma_coeff): New variable.
28159 (NCOEFF): New macro.
28160 (gamma_positive): New function.
28161 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28162 underflow here. Use gamma_positive instead of exp (lgamma) for
28163 other arguments.
28164 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28165 (gamma_coeff): New variable.
28166 (NCOEFF): New macro.
28167 (gammaf_positive): New function.
28168 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28169 underflow here. Use gamma_positive instead of exp (lgamma) for
28170 other arguments.
28171 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28172 (gamma_coeff): New variable.
28173 (NCOEFF): New macro.
28174 (gammal_positive): New function.
28175 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28176 underflow here. Use gamma_positive instead of exp (lgamma) for
28177 other arguments.
28178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28179 (gamma_coeff): New variable.
28180 (NCOEFF): New macro.
28181 (gammal_positive): New function.
28182 (__ieee754_gammal_r): Handle positive infinity, overflow and
28183 underflow here. Handle NaN the same as positive infinity. Remove
28184 check x < 0xffffffff for negative integers. Use gamma_positive
28185 instead of exp (lgamma) for other arguments.
28186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28187 (gamma_coeff): New variable.
28188 (NCOEFF): New macro.
28189 (gammal_positive): New function.
28190 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28191 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28192 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28194 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28195 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28196 * sysdeps/generic/math_private.h (__gamma_productf): New
28197 prototype.
28198 (__gamma_product): Likewise.
28199 (__gamma_productl): Likewise.
28200 * math/Makefile (libm-calls): Add gamma_product.
28201 * math/libm-test.inc (tgamma_test): Add more tests.
28202 * sysdeps/i386/fpu/libm-test-ulps: Update.
28203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28204
bb7cf681
OB
282052013-05-08 Ondřej Bílka <neleai@seznam.cz>
28206
28207 * benchtests/bench-skeleton.c (main): Preheat CPU.
28208
ba853947
AJ
282092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28210
28211 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28212
8347c74c
RM
282132013-05-07 Roland McGrath <roland@hack.frob.com>
28214
28215 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28216 and _dl_skip_args_internal.
28217
e8dd4791
CD
282182013-05-07 Carlos O'Donell <carlos@redhat.com>
28219
28220 * manual/message.texi (Message Translation): Talk about users.
28221 Message to key mapping impacts design.
28222
c7405830
RM
282232013-05-06 Roland McGrath <roland@hack.frob.com>
28224
a9173057
RM
28225 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28226
976e2f03
RM
28227 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28228
9723ffc5
RM
28229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28230 * sysdeps/wordsize-64/glob64.c: ... here.
28231
962e6658
RM
28232 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28233 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28234 New macros.
28235
ee586a6d
RM
28236 * debug/getlogin_r_chk.c: Moved to ...
28237 * login/getlogin_r_chk.c: ... here.
28238 * debug/Makefile (routines): Move getlogin_r_chk to ...
28239 * login/Makefile (routines): ... here.
28240 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28241 * login/Versions (libc: GLIBC_2.4): ... here.
28242
355f9165
RM
28243 * io/poll.c (__poll): Renamed from poll.
28244 Add libc_hidden_def.
28245 (poll): Define as weak alias.
28246
bd9ffde6
RM
28247 * debug/ptsname_r_chk.c: Moved to ...
28248 * login/ptsname_r_chk.c: ... here.
28249 * debug/Makefile (routines): Move ptsname_r_chk to ...
28250 * login/Makefile (routines): ... here.
28251 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28252 * login/Versions (libc: GLIBC_2.4): ... here.
28253
8fb16a04
RM
28254 * posix/getlogin.c: Moved to ...
28255 * login/getlogin.c: ... here.
28256 * posix/getlogin_r.c: Moved to ...
28257 * login/getlogin_r.c: ... here.
28258 * posix/getlogin_r.c: Moved to ...
28259 * login/getlogin_r.c: ... here.
28260 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28261 * login/Makefile (routines): ... here.
28262 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28263 * login/Versions (libc: GLIBC_2.0): ... here.
28264
b99b892f
RM
28265 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28266 (setrlimit): Define as weak alias.
28267
c7405830
RM
28268 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28269 Call __ names for open, ftruncate, and close.
28270 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28271 (truncate): Define as weak alias.
28272
5bf96de5
JM
282732013-05-06 Joseph Myers <joseph@codesourcery.com>
28274
9ea3513c
JM
28275 * math/gen-libm-test.pl (parse_args): Initialize x before each
28276 test of frexp, modf and remquo.
28277
5bf96de5
JM
28278 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28279 test signgam value.
28280
16e616a7
AZ
282812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28282
28283 [BZ #15418]
28284 [BZ #15419]
28285 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28286 internal tests.
28287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28288
d5e82754
RM
282892013-05-06 Roland McGrath <roland@hack.frob.com>
28290
28291 * elf/dl-writev.h: New file.
28292 * elf/dl-misc.c: Include it.
28293 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28294 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28295
a7548d41
JM
282962013-05-04 Joseph Myers <joseph@codesourcery.com>
28297
b7dab1e4
JM
28298 * math/libm-test.inc (noXFails): Remove variable.
28299 (noXPasses): Likewise.
28300 (BUILD_COMPLEX_INT): Remove macro.
28301 (print_screen): Remove xfail argument.
28302 (print_screen_max_error): Likewise.
28303 (update_stats): Likewise.
28304 (print_max_error): Likewise. Update calls to other affected
28305 functions.
28306 (print_complex_max_error): Likewise.
28307 (test_single_exception): Update calls to print_screen.
28308 (test_single_errno): Likewise.
28309 (check_float_internal): Remove xfail argument. Update calls to
28310 other affected functions.
28311 (check_float): Likewise.
28312 (check_complex): Likewise.
28313 (check_int): Likewise.
28314 (check_long): Likewise.
28315 (check_bool): Likewise.
28316 (check_longlong): Likewise.
28317 (main): Don't print noXFails and noXPasses.
28318 * math/gen-libm-test.pl (top level): Don't mention expected
28319 failure handling in comment.
28320 (new_test): Don't handle expected failures.
28321 (parse_args): Don't mention expected failure handling in comment.
28322 (generate_testfile): Don't handle expected failures.
28323 (parse_ulps): Likewise.
28324 (print_ulps_file): Likewise.
28325 (get_failure): Remove function.
28326 (output_test): Don't handle expected failures.
28327 * make/README.libm-test: Don't mention expected failure handling.
28328
a7548d41
JM
28329 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28330 (minus_zero): Likewise.
28331 (plus_infty): Likewise.
28332 (minus_infty): Likewise.
28333 (qnan_value): Likewise.
28334 (max_value): Likewise.
28335 (min_value): Likewise.
28336 (min_subnorm_value): Likewise.
28337 (initialize): Do not initialize those variables dynamically.
28338
60bfd54c
RM
283392013-05-03 Roland McGrath <roland@hack.frob.com>
28340
cc0e6ed8
RM
28341 * io/open.c (__open_2): Moved to ...
28342 * io/open_2.c: ... this new file.
28343 * io/open64.c (__open64_2): Moved to ...
28344 * io/open64_2.c: ... this new file.
28345 * io/openat.c (__openat_2): Moved to ...
28346 * io/openat_2.c: ... this new file.
28347 * io/openat64.c (__openat64_2): Moved to ...
28348 * io/openat64_2.c: ... this new file.
28349 * io/Makefile (routines): Add them.
28350 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28351 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28352 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28353 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28354 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28355 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28356 (__openat64): Add hidden_ver.
28357 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28358 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28359
60bfd54c
RM
28360 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28361 Separately conditionalize setting of GLRO(dl_sysinfo) so
28362 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28363 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28364
83e7640f
AZ
283652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28366
28367 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28368 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28369 definition.
28370 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28371 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28372 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28373 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28374 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28375
d5dc2af3
JM
283762013-05-03 Joseph Myers <joseph@codesourcery.com>
28377
c31a5b1e
JM
28378 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28379 test signgam value.
28380
d5dc2af3
JM
28381 * math/libm-test.inc (hypot_test): Do not use
28382 IGNORE_ZERO_INF_SIGN.
28383
164fd39d
AJ
283842013-05-03 Andreas Jaeger <aj@suse.de>
28385
28386 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28387 Linux 3.9.
28388 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28389 (PF_MAX): Adjust for VSOCK change.
28390
8237f48c
AZ
283912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28392
28393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28394
9df02941
CD
283952013-05-02 Carlos O'Donell <carlos@redhat.com>
28396
28397 [BZ #15264]
28398 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28399 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28400 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28401
d422395e
DM
284022013-05-02 David S. Miller <davem@davemloft.net>
28403
28404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28405
a07c5731
OB
284062013-05-01 Ondřej Bílka <neleai@seznam.cz>
28407
28408 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28409
1324e37f
RM
284102013-05-01 Roland McGrath <roland@hack.frob.com>
28411
28412 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28413
0695940b
RS
284142013-05-01 Richard Smith <richard@metafoo.co.uk>
28415
bb5f27ad 28416 [BZ #14952]
0695940b
RS
28417 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28418 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28419 Use __attribute__ ((__gnu_inline__)).
28420 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28421 Don't use __attribute__ ((__gnu_inline__)).
28422
10de07f5
JM
284232013-05-01 Joseph Myers <joseph@codesourcery.com>
28424
28425 [BZ #15423]
28426 * math/s_catan.c (__catan): Handle small real or imaginary part of
28427 input specially to avoid spurious underflow.
28428 * math/s_catanf.c (__catanf): Likewise.
28429 * math/s_catanh.c (__catanh): Likewise.
28430 * math/s_catanhf.c (__catanhf): Likewise.
28431 * math/s_catanhl.c (__catanhl): Likewise.
28432 * math/s_catanl.c (__catanl): Likewise.
28433 * math/libm-test.inc (catan_test): Add more tests.
28434 (catanh_test): Likewise.
28435 * sysdeps/i386/fpu/libm-test-ulps: Update.
28436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28437
cb4d5414
AZ
284382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28439
28440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28441
caf84319
JM
284422013-04-30 Joseph Myers <joseph@codesourcery.com>
28443
28444 [BZ #15416]
28445 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28446 accurately for denominator in atan2.
28447 * math/s_catanf.c (__catanf): Likewise.
28448 * math/s_catanh.c (__catanh): Likewise.
28449 * math/s_catanhf.c (__catanhf): Likewise.
28450 * math/s_catanhl.c (__catanhl): Likewise.
28451 * math/s_catanl.c (__catanl): Likewise.
28452 * math/libm-test.inc (catan_test): Add more tests.
28453 (catanh_test): Likewise.
28454 * sysdeps/i386/fpu/libm-test-ulps: Update.
28455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28456
d569c6ee
SP
284572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28458
6dbe713d
SP
28459 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28460
f0ee064b
SP
28461 * benchtests/Makefile (bench): Remove slow benchmarks.
28462 * benchtests/atan-inputs: Add slow benchmark inputs.
28463 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28464 (BENCH_FUNC): Accept variant offset.
28465 (VARIANT): Define.
28466 * benchtests/bench-skeleton.c (main): Run benchmark for each
28467 variant.
28468 * benchtests/cos-inputs: Add slow benchmark inputs.
28469 * benchtests/exp-inputs: Likewise.
28470 * benchtests/pow-inputs: Likewise.
28471 * benchtests/sin-inputs: Likewise.
28472 * benchtests/slowatan-inputs: Remove.
28473 * benchtests/slowatan.c: Remove.
28474 * benchtests/slowcos-inputs: Remove.
28475 * benchtests/slowcos.c: Remove.
28476 * benchtests/slowexp-inputs: Remove.
28477 * benchtests/slowexp.c: Remove.
28478 * benchtests/slowpow-inputs: Remove.
28479 * benchtests/slowpow.c: Remove.
28480 * benchtests/slowsin-inputs: Remove.
28481 * benchtests/slowsin.c: Remove.
28482 * benchtests/slowtan-inputs: Remove.
28483 * benchtests/slowtan.c: Remove.
28484 * benchtests/tan-inputs: Add slow benchmark inputs.
28485 * scripts/bench.pl: Parse comments and directives.
28486
d569c6ee
SP
28487 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28488 in CPPFLAGS.
28489 ($(objpfx)bench-%.c): Remove *-ITER.
28490 * benchtests/bench-modf.c: Remove definition of ITER.
28491 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28492 (main): Loop for DURATION seconds instead of fixed number of
28493 iterations.
28494 * scripts/bench.pl: Don't expect iterations in parameters.
28495
a6a242fe
RM
284962013-04-29 Roland McGrath <roland@hack.frob.com>
28497
28498 * io/fchdir.c (__fchdir): Renamed from fchdir.
28499 (fchdir): Define as weak alias.
28500
f2da7793
JM
285012013-04-29 Joseph Myers <joseph@codesourcery.com>
28502
28503 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28504 (ERRNO_EDOM): Likewise.
28505 (ERRNO_ERANGE): Likewise.
28506 (noErrnoTests): New variable.
28507 (init_max_error): Set errno to 0.
28508 (test_single_errno): New function.
28509 (test_errno): Likewise.
28510 (check_float_internal): Call test_errno. Set errno to 0.
28511 (check_complex): Refer to errno tests in comment.
28512 (check_int): Call test_errno. Set errno to 0.
28513 (check_long): Likewise.
28514 (check_bool): Likewise.
28515 (check_longlong): Likewise.
28516 (cos_test): Use ERRNO_* flags for errno tests instead of
28517 check_int.
28518 (expm1_test): Likewise.
28519 (fmod_test): Likewise.
28520 (ilogb_test): Likewise.
28521 (lgamma_test): Likewise.
28522 (pow_test): Likewise.
28523 (remainder_test): Likewise.
28524 (sin_test): Likewise.
28525 (tan_test): Likewise.
28526 (yn_test): Likewise.
28527 (initialize): Set errno to 0.
28528 (main): Print number of errno tests.
28529 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28530
b1a36ceb
AJ
285312013-04-29 Andreas Jaeger <aj@suse.de>
28532
c3ed8088
AJ
28533 [BZ #15084]
28534 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28535 and RES_USEVC.
28536
f1a24198
AJ
28537 [BZ #15085]
28538 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28539 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28540 unimplemented.
28541
9ce3b2cb
AJ
28542 [BZ #15380]
28543 * stdlib/random.c (__initstate): Return NULL if
28544 __initstate fails.
28545
f1a24198 28546 [BZ #15086]
b1a36ceb
AJ
28547 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28548 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28549 RES_SNGLKUPREOP.
28550
7e7b6f36
AZ
285512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28552
28553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28554
4d14f449
JM
285552013-04-29 Joseph Myers <joseph@codesourcery.com>
28556
28557 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28558 of individual tests.
28559 (casin_test): Likewise.
28560 (casinh_test): Likewise.
28561
5b4217d7
JM
285622013-04-27 Joseph Myers <joseph@codesourcery.com>
28563
28564 [BZ #15409]
28565 * math/s_catan.c (__catan): Handle arguments with large real or
28566 imaginary part separately without squaring.
28567 * math/s_catanf.c (__catanf): Likewise.
28568 * math/s_catanh.c (__catanh): Likewise.
28569 * math/s_catanhf.c (__catanhf): Likewise.
28570 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28571 and redefine.
28572 (__catanhl): Handle arguments with large real or imaginary part
28573 separately without squaring.
28574 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28575 and redefine.
28576 (__catanl): Handle arguments with large real or imaginary part
28577 separately without squaring.
28578 * math/libm-test.inc (catan_test): Add more tests.
28579 (catanh_test): Likewise.
28580 * sysdeps/i386/fpu/libm-test-ulps: Update.
28581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28582
4220c3ef
AJ
285832013-04-27 Andreas Jaeger <aj@suse.de>
28584
28585 [BZ #15007]
28586 * stdlib/stdlib.h: Update guards for qecvt.
28587 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28588 <stdlib.h>.
28589
4721b2d1
AM
285902013-04-27 Allan McRae <allan@archlinux.org>
28591
28592 * sysdeps/i386/fpu/libm-test-ulps: Update.
28593
f0302940
JM
285942013-04-26 Joseph Myers <joseph@codesourcery.com>
28595
9457fd95
JM
28596 [BZ #15406]
28597 * math/s_catan.c: Include <float.h>.
28598 (__catan): Ensure underflow exception occurs for underflowed
28599 result.
28600 * math/s_catanf.c: Include <float.h>.
28601 (__catanf): Ensure underflow exception occurs for underflowed
28602 result.
28603 * math/s_catanh.c: Include <float.h>.
28604 (__catanh): Ensure underflow exception occurs for underflowed
28605 result.
28606 * math/s_catanhf.c: Include <float.h>.
28607 (__catanhf): Ensure underflow exception occurs for underflowed
28608 result.
28609 * math/s_catanhl.c: Include <float.h>.
28610 (__catanhl): Ensure underflow exception occurs for underflowed
28611 result.
28612 * math/s_catanl.c: Include <float.h>.
28613 (__catanl): Ensure underflow exception occurs for underflowed
28614 result.
28615 * math/libm-test.inc (catan_test): Add more tests.
28616 (catanh_test): Likewise.
28617
f0302940
JM
28618 [BZ #15405]
28619 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28620 underflowed result.
28621 * math/s_ccoshf.c (__ccoshf): Likewise.
28622 * math/s_ccoshl.c (__ccoshl): Likewise.
28623 * math/s_csin.c (__csin): Likewise.
28624 * math/s_csinf.c (__csinf): Likewise.
28625 * math/s_csinh.c (__csinh): Likewise.
28626 * math/s_csinhf.c (__csinhf): Likewise.
28627 * math/s_csinhl.c (__csinhl): Likewise.
28628 * math/s_csinl.c (__csinl): Likewise.
28629 * math/libm-test.inc (ccos_test): Add more tests.
28630 (ccosh_test): Likewise.
28631 (csin_test): Likewise.
28632 (csinh_test): Likewise.
28633
aa630f59
AZ
286342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28635
28636 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28637 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28638 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28639 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28640 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28641 powerpc/power5+/fpu folders.
28642 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28643
28644
1b835983
MT
286452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28646
28647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28648
73709b26
JM
286492013-04-25 Joseph Myers <joseph@codesourcery.com>
28650
28651 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28652 additions to variable.
28653 [$(config-machine) = x86_64] (modules-names): Likewise.
28654 ($(objpfx)tst-audit3): Remove dependency.
28655 ($(objpfx)tst-audit3.out): Likewise.
28656 ($(objpfx)tst-audit4): Likewise.
28657 ($(objpfx)tst-audit4.out): Likewise.
28658 ($(objpfx)tst-audit5): Likewise.
28659 ($(objpfx)tst-audit5.out): Likewise.
28660 ($(objpfx)tst-audit6): Likewise.
28661 ($(objpfx)tst-audit6.out): Likewise.
28662 ($(objpfx)tst-audit7): Likewise.
28663 ($(objpfx)tst-audit7.out): Likewise.
28664 (tst-audit3-ENV): Remove variable.
28665 (tst-audit4-ENV): Likewise.
28666 (tst-audit5-ENV): Likewise.
28667 (tst-audit6-ENV): Likewise.
28668 (tst-audit7-ENV): Likewise.
28669 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28670 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28671 addition to variable.
28672 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28675 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28677 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28678 tst-audit3, tst-audit4 and tst-audit5.
28679 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28680 tst-audit6 and tst-audit7.
28681 [$(subdir) = elf] (modules-names): Add audit modules for those
28682 tests.
28683 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28684 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28685 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28686 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28687 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28688 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28689 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28690 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28691 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28692 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28693 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28694 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28695 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28696 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28697 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28698 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28699 Likewise.
28700 [$(subdir) = elf && $(config-cflags-avx) = yes]
28701 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28702 [$(subdir) = elf && $(config-cflags-avx) = yes]
28703 (CFLAGS-tst-auditmod4a.c): Likewise.
28704 [$(subdir) = elf && $(config-cflags-avx) = yes]
28705 (CFLAGS-tst-auditmod4b.c): Likewise.
28706 [$(subdir) = elf && $(config-cflags-avx) = yes]
28707 (CFLAGS-tst-auditmod6b.c): Likewise.
28708 [$(subdir) = elf && $(config-cflags-avx) = yes]
28709 (CFLAGS-tst-auditmod6c.c): Likewise.
28710 [$(subdir) = elf && $(config-cflags-avx) = yes]
28711 (CFLAGS-tst-auditmod7b.c): Likewise.
28712 * elf/tst-audit3.c: Move to ...
28713 * sysdeps/x86_64/tst-audit3.c: ... here.
28714 * elf/tst-audit4.c: Move to ...
28715 * sysdeps/x86_64/tst-audit4.c: ... here.
28716 * elf/tst-audit5.c: Move to ...
28717 * sysdeps/x86_64/tst-audit5.c: ... here.
28718 * elf/tst-audit6.c: Move to ...
28719 * sysdeps/x86_64/tst-audit6.c: ... here.
28720 * elf/tst-audit7.c: Move to ...
28721 * sysdeps/x86_64/tst-audit7.c: ... here.
28722 * elf/tst-auditmod3a.c: Move to ...
28723 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28724 * elf/tst-auditmod3b.c: Move to ...
28725 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28726 * elf/tst-auditmod4a.c: Move to ...
28727 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28728 * elf/tst-auditmod4b.c: Move to ...
28729 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28730 * elf/tst-auditmod5a.c: Move to ...
28731 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28732 * elf/tst-auditmod5b.c: Move to ...
28733 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28734 * elf/tst-auditmod6a.c: Move to ...
28735 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28736 * elf/tst-auditmod6b.c: Move to ...
28737 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28738 * elf/tst-auditmod6c.c: Move to ...
28739 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28740 * elf/tst-auditmod7a.c: Move to ...
28741 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28742 * elf/tst-auditmod7b.c: Move to ...
28743 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28744
1ef74943
PP
287452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28746
28747 [BZ #15366]
28748 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28749 define unconditionally.
28750 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28751 define unconditionally.
28752 (INT8_C, INT16_C, etc.): Likewise.
28753
93fd48c5
MR
287542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28755
ae9552cf
MR
28756 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28757 __ehdr_start with hidden visibility.
28758
93fd48c5
MR
28759 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28760
418601aa
CD
287612013-04-24 Carlos O'Donell <carlos@redhat.com>
28762
28763 * math/libm-test.inc (cos_test): Use accurate hex constants.
28764 (sincost_test): Likewise.
28765
2f38fbfe
JM
287662013-04-24 Joseph Myers <joseph@codesourcery.com>
28767
5e221800
JM
28768 * math/libm-test.inc (catan_test): Add more tests.
28769 (catanh_test): Likewise.
28770
77f143fd
JM
28771 * math/s_catanf.c (__catanf): Use suffixed floating-point
28772 constants.
28773 * math/s_catanhf.c (__catanhf): Likewise.
28774 * math/s_catanhl.c (__catanhl): Likewise.
28775 * math/s_catanl.c (__catanl): Likewise.
28776
2f38fbfe
JM
28777 [BZ #15394]
28778 * math/s_catan.c (__catan): Calculate imaginary part of result
28779 with log1p not log unless computing log of number close to 0.
28780 * math/s_catanf.c (__catanf): Likewise.
28781 * math/s_catanl.c (__catanl): Likewise.
28782 * math/s_catanh.c (__catanh): Calculate real part of result with
28783 log1p not log unless computing log of number close to 0.
28784 * math/s_catanhf.c (__catanhf): Likewise.
28785 * math/s_catanhl.c (__catanhl): Likewise.
28786 * math/libm-test.inc (catan_test): Add more tests.
28787 (catanh_test): Likewise.
28788 * sysdeps/i386/fpu/libm-test-ulps: Update.
28789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28790
45d69176
SP
287912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28792
28793 * benchtests/Makefile: Mention files in which fast and slow
28794 paths of math functions are implemented.
28795
87f51853
RM
287962013-04-23 Roland McGrath <roland@hack.frob.com>
28797
28798 * sysdeps/posix/timespec_get.c: New file.
28799
3c026539
AZ
288002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28801
28802 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28803 POWER.
28804 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28805 for POWER.
28806 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28807 powerpc/power5/fpu folders.
28808 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28809 * benchtests/Makefile: Add modf testcase.
28810 * benchtests/bench-modf.c: New file: Benchmark test for mo
28811
ff491d14
SP
288122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28813
28814 [BZ #14888]
28815 * time/Makefile (tests): Add tst-strptime-whitespace.
28816 * time/strptime_l.c (get_number): Use ISSPACE.
28817 (__strptime_internal): Likewise.
28818 * time/tst-strptime-whitespace.c: New test case.
28819
7ed3f4e8
AS
288202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28821
28822 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28823 member.
28824 (_nss_files_init): Set it here.
28825
5c95f7b6
HC
288262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28827
28828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28829 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28830 unsigned.
28831
d34c9158
JBG
288322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28833
28834 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28835
2169712d
SP
288362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28837
28838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28839 size just once.
28840
29c5de99
DM
288412013-04-21 David S. Miller <davem@davemloft.net>
28842
28843 * po/ru.po: Update Russion translation from translation project.
28844
ccdad15d
AC
288452013-04-17 Adam Conrad <adconrad@0c3.net>
28846
28847 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28848 and setfsgid.
28849
0f122b8d
CD
288502013-04-17 Carlos O'Donell <carlos@redhat.com>
28851
5c5b07da 28852 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28853 * configure: Regenerate.
5c5b07da 28854 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28855 Add example to error message.
28856 * sysdeps/i386/configure: Regenerate.
28857
037714dd
SP
288582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28859
28860 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28861 slowtan.
28862 * benchtests/cos-inputs: New file.
28863 * benchtests/slowcos-inputs: New file.
28864 * benchtests/slowcos.c: New file.
28865 * benchtests/slowtan-inputs: New file.
28866 * benchtests/slowtan.c: New file.
28867 * benchtests/tan-inputs: New file.
28868
e913141d
RM
288692013-04-16 Roland McGrath <roland@hack.frob.com>
28870
28871 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28872 considered kosher.
28873
a2964074
SP
288742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28875
4856bcd2
SP
28876 * benchtests/Makefile: Include cppflags-iterator.mk to add
28877 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28878
a2964074
SP
28879 * Makefile.in (bench-clean): New target.
28880 * benchtests/Makefile (bench-clean): Likewise.
28881
9fbf9aca
DH
288822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28883
28884 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28885
207d1e2a
TS
288862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28887
28888 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28889
306dfba9
AS
288902013-04-15 Andreas Schwab <schwab@suse.de>
28891
28892 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28894 * nscd/pwdcache.c (cache_addpw): Likewise.
28895 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28896 more than recsize.
28897
206a6699
SP
288982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28899
28900 * benchtests/Makefile (bench): Write all output to
28901 bench-out.tmp together.
28902
0582f6b3
AS
289032013-04-15 Andreas Schwab <schwab@suse.de>
28904
28905 * nscd/nscd.c (main): Don't fork again after closing files.
28906
acb4325f
SP
289072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28908
5cb26d0a
SP
28909 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28910
acb4325f
SP
28911 * benchtests/Rules (bench-deps): Collect dependencies into a
28912 single variable. Add Makefile to dependencies.
28913 ($(objpfx)bench-%.c): Depend on bench-deps.
28914
47792506
RM
289152013-04-12 Roland McGrath <roland@hack.frob.com>
28916 Xavier Roche <roche+kml2@exalead.com>
28917
28918 [BZ #15361]
28919 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28920 just that it's a file descriptor.
28921 * manual/llio.texi (Synchronizing AIO Operations): Update description
28922 for EBADF error from aio_fsync.
28923
8fc1bee5
SP
289242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28925
28926 * Rules (bench): Move target definition...
28927 * benchtests/Makefile: ... here.
28928
aba5e333
CD
289292013-04-11 Carlos O'Donell <carlos@redhat.com>
28930
28931 * math/libm-test.inc (cos_test): Fix PI/2 test.
28932 (sincos_test): Likewise.
28933 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28934 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28935
273cdee8
AS
289362013-04-11 Andreas Schwab <schwab@suse.de>
28937
6ecec3b6
AS
28938 [BZ #13988]
28939 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28940 accept exponent character only when digits were seen.
28941 * stdio-common/Makefile (tests): Add bug26.
28942 * stdio-common/bug26.c: New file.
28943
273cdee8
AS
28944 [BZ #14293]
28945 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28946 non-freeable.
28947
8da491f5
SP
289482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28949
01dc6df9
SP
28950 * Makeconfig (rtld-prefix): Define built linker prefix.
28951 * Rules (run-bench): Use it.
28952 * math/Makefile (run-regen-ulps): Likewise.
28953
8da491f5
SP
28954 * Rules (bench): Remove eval.
28955
abe7f530
SP
289562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28957 Roland McGrath <roland@hack.frob.com>
28958 Ondrej Bilka <neleai@seznam.cz>
28959
28960 [BZ #15346]
28961 * time/getdate.c: Include ctype.h and alloca.h.
28962 (__getdate_r): Trim leading and trailing spaces of input.
28963 * time/tst-getdate.c (tests): Add tests with leading and
28964 trailing spaces.
28965
61c23e62
RM
289662013-04-08 Roland McGrath <roland@hack.frob.com>
28967
28968 [BZ #14280]
28969 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28970 when computing value.
28971
7208a313
CD
289722013-04-06 Carlos O'Donell <carlos@redhat.com>
28973
085b2d41
CD
28974 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28975 Use testrun.sh to run libm tests.
28976
7208a313
CD
28977 [BZ #15309]
28978 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28979
872c0acd
MM
289802013-04-06 Marko Myllynen <myllynen@redhat.com>
28981
28982 [BZ #15264]
28983 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28984
26510bdd
CD
289852013-04-06 Carlos O'Donell <carlos@redhat.com>
28986
28987 * Makefile.in (regen-ulps): New target.
28988 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28989 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28990 [ifneq (no,$(PERL)] (regen-ulps): New target.
28991 [ifeq (no,$(PERL)] (regen-ulps): New target.
28992 * math/libm-test.inc (ulps_file_name): Define.
28993 (output_dir): New variable.
28994 (options): Add "output-dir" option.
28995 (parse_opt): Handle 'o' case.
28996 (main): If output_dir is non-NULL use it as a prefix
28997 otherwise use "".
28998 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28999
a01f19c8
CD
290002013-04-06 Carlos O'Donell <carlos@redhat.com>
29001
29002 [BZ #10060, #10062]
29003 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29004 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29005 fail configure if __sync_val_compare_and_swap is not inlined.
29006 * sysdeps/i386/configure: Regenerate.
29007 * configure.in: Build for i686 when configured for i386.
29008 * configure: Regenerate.
29009 * README: Remove i386 reference.
29010
b7a329a5
CD
290112013-04-06 Carlos O'Donell <carlos@redhat.com>
29012
29013 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29015
bf0f50df
TS
290162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29017
ee091edf
TS
29018 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29019 (lmsnanval): New variables.
29020 (F): Add conversion tests.
29021 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29022 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29023
a8b792d6
TS
29024 * stdio-common/tstdiomisc.c (F): Properly collect individual
29025 tests' results.
29026
a1cbf437
TS
29027 [BZ #14686, #15336]
29028 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29029 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29030 Instead, use input NaN values or generate a qNaN by arithmetic
29031 operation. Also fix bugs to comply with the standard.
29032 * math/libm-test.inc (remainder_test): Add more tests.
29033
8b43a0c9
TS
29034 [BZ #15335, #15342]
29035 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29037 input NaN values or generate a qNaN by arithmetic operation.
29038
d91da4ce
TS
29039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29040 unreachable code.
29041
bf0f50df
TS
29042 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29043 definitions.
29044
05e166c8
JM
290452013-04-03 Joseph Myers <joseph@codesourcery.com>
29046
29047 [BZ #14478]
29048 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29049 underflowed result.
29050 * math/s_cexpf.c (__cexpf): Likewise.
29051 * math/s_cexpl.c (__cexpl): Likewise.
29052 * math/libm-test.inc (cexp_test): Add more tests.
29053
1cef1b19
AS
290542013-04-03 Andreas Schwab <schwab@suse.de>
29055
29056 [BZ #15330]
29057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29058 order arrays from heap if bigger than alloca cutoff.
29059
74d87055
TS
290602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29061
29062 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29063 (SNAN_TESTS_double): Refer to GCC PR56831.
29064 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29065 GCC PR56828.
29066
d755bba4
SP
290672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29068
90d5d5bb
SP
29069 * Rules (bench): Move bench.out after the run is complete.
29070
73e0cd5d
SP
29071 * Rules (bench): Echo currently running benchmark.
29072
64aabd4b
SP
29073 * benchtests/Makefile (bench): Add atan and slowatan.
29074 * benchtests/atan-inputs: New file.
29075 * benchtests/slowatan-inputs: New file.
29076 * benchtests/slowatan.c: New file.
29077
c871eccd
SP
29078 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29080 its value.
29081
d755bba4
SP
29082 [BZ #15305]
29083 * sysdeps/unix/sysv/linux/kernel-features.h
29084 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29085 __ASSUME_XFS_RESTRICTED_CHOWN.
29086 * sysdeps/unix/sysv/linux/pathconf.c
29087 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29088 Save and restore errno.
29089
52ce4860
JM
290902013-04-02 Joseph Myers <joseph@codesourcery.com>
29091
29092 [BZ #15327]
29093 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29094 arguments using __kernel_casinh.
29095 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29096 arguments using __kernel_casinhf.
29097 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29098 arguments using __kernel_casinhl.
29099 * math/libm-test.inc (cacosh_test): Add more tests.
29100 * sysdeps/i386/fpu/libm-test-ulps: Update.
29101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29102
81f311c2
SP
291032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29104
e7906a47
SP
29105 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29107
92e3664b
SP
29108 * bench/Makefile (bench): Add sin and slowsin.
29109 * benchtests/sin-inputs: New file.
29110 * benchtests/slowsin-inputs: New file.
29111 * benchtests/slowsin.c: New file.
29112
81f311c2
SP
29113 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29114 (bench): Add slowexp and slowpow.
29115 (exp-ITER): Increase iterations.
29116 (pow-ITER): Likewise.
29117 * benchtests/exp-inputs: Change input.
29118 * benchtests/pow-inputs: Likewise.
29119 * benchtests/slowexp-inputs: New file.
29120 * benchtests/slowexp.c: New file.
29121 * benchtests/slowpow-inputs: New file.
29122 * benchtests/slowpow.c: New file.
29123
ab0f1aa9
AZ
291242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29125
29126 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29127 instructions.
29128 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29129 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29130 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29131 * benchtests/Makefile: Add rint benchtest.
29132 * benchtests/rint-inputs: Input for rint benchtest.
29133
57267616
TS
291342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29135
29136 * Versions.def (libm): Add GLIBC_2.18.
29137 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29138 hidden libm prototypes.
29139 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29140 * math/Makefile (libm-calls): Add s_issignaling.
29141 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29142 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29143 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29144 declaration.
29145 * math/math.h [__USE_GNU] (issignaling): New macro.
29146 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29147 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29149 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29152 * manual/arith.texi (issignaling): New section.
29153 * manual/libm-err-tab.pl (@all_functions): Update comment.
29154 * math/gen-libm-test.pl (parse_args): Apply special handling for
29155 issignaling.
29156 * math/libm-test.inc (print_float, issignaling_test): New
29157 functions.
29158 (check_float_internal): Add issignaling checks.
29159 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29160 default definition.
29161 * sysdeps/powerpc/math-tests.h: New file.
29162 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29163 tests.
29164 * math/test-snan.c (TEST_FUNC): Likewise.
29165
6142896d
DM
291662013-03-30 David S. Miller <davem@davemloft.net>
29167
29168 * po/de.po: Update from translation team.
29169
ccc8cadf
JM
291702013-03-30 Joseph Myers <joseph@codesourcery.com>
29171
29172 [BZ #10357]
29173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29174 imaginary part less than 1.0 and real part less than 0.5
29175 specially.
29176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29178 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29179 (cacos_test): Add more tests.
29180 (casin_test): Likewise.
29181 (casinh_test): Likewise.
29182 * sysdeps/i386/fpu/libm-test-ulps: Update.
29183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29184
0f6a8d4b
SP
291852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29186
0d1029de
SP
29187 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29188 ONE with its value.
29189
c2d94018
SP
29190 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29191 (__pow_mp): Replace ONE and MONE with their values.
29192 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29194 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29195 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29196 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29198
27ec37f1
SP
29199 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29200
a64d7e0e
SP
29201 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29202 (__pow_mp): Replace ZERO and MZERO with their values.
29203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29208 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29209 (__sqr): Likewise.
29210
d26dd3eb
SP
29211 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29212
0f6a8d4b
SP
29213 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29214
e57b0c61
RM
292152013-03-28 Roland McGrath <roland@hack.frob.com>
29216
29217 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29218 Declare with __attribute__ ((weak)).
29219 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29220 Call __call_tls_dtors only if it's not NULL.
29221
356b3480
RM
292222013-03-28 Roland McGrath <roland@hack.frob.com>
29223
288f7d79
RM
29224 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29225 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29226 magic __ehdr_start linker symbol if it's defined.
29227 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29228 them up here if it was already done.
29229
dc0a0263
RM
29230 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29231 (_dl_aux_init): Use const in cast when setting it.
29232 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29233 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29234 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29235
3d3436ae
RM
29236 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29237 Declare them here.
29238 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29239 * csu/libc-tls.c: Nor here.
29240 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29241
356b3480
RM
29242 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29243 (__libc_message): Never call vsyslog.
29244
b0f1246a
AM
292452013-03-28 Alan Modra <amodra@gmail.com>
29246
29247 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29248 Define as empty.
29249 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29250 Likewise.
29251
fbbe2b9a
AZ
292522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29253
29254 [BZ #15214]
29255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29256 underflow.
29257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29258
1728ab37
SP
292592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29260
7a86be6e
SP
29261 [BZ #15304]
29262 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29263 Don't add gid passed as argument.
29264
1728ab37
SP
29265 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29266
3a7182a1
JM
292672013-03-27 Joseph Myers <joseph@codesourcery.com>
29268
29269 [BZ #15307]
29270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29271 imaginary part between 1.0 and 1.5 and real part less than 0.5
29272 specially.
29273 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29274 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29275 * math/libm-test.inc (cacos_test): Add more tests.
29276 (casin_test): Likewise.
29277 (casinh_test): Likewise.
29278 * sysdeps/i386/fpu/libm-test-ulps: Update.
29279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29280
6f2e90e7
SP
292812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29282
5739f705
SP
29283 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29284 constants.
29285 (norm): Likewise.
29286 (denorm): Likewise.
29287 (__dbl_mp): Likewise.
29288 (add_magnitudes): Likewise.
29289 (sub_magnitudes): Likewise.
29290 (__add): Likewise.
29291 (__sub): Likewise.
29292 (__mul): Likewise.
29293 (__sqr): Likewise.
29294 (__inv): Likewise.
29295 (__dvd): Likewise.
29296
e375e83d
SP
29297 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29298 commented code.
29299 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29300 (__dubcos): Likewise.
29301 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29302 (__ieee754_acos): Likewise.
29303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29304 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29305 (__exp1): Likewise.
29306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29308 (log1): Likewise.
29309 (my_log2): Likewise.
29310 (checkint): Likewise.
29311 * sysdeps/ieee754/dbl-64/e_remainder.c
29312 (__ieee754_remainder): Likewise.
29313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29315 (bsloww): Likewise.
29316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29317
6f2e90e7
SP
29318 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29320 MANTISSA_STORE_T to store computations on mantissa. Use
29321 macros for rounding and division.
29322 (denorm): Likewise.
29323 (__dbl_mp): Likewise.
29324 (add_magnitudes): Likewise.
29325 (sub_magnitudes): Likewise.
29326 (__mul): Likewise.
29327 (__sqr): Likewise.
29328 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29329 powers of two in terms of TWOPOW macro.
29330 (mp_no): Make type of mantissa as MANTISSA_T.
29331 [!RADIXI]: Define RADIXI.
29332 [!TWO52]: Define TWO52.
29333 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29334
fce14d4e
AZ
293352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29336
29337 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29338 llroundl symbol when building for PPC32.
29339
9ad027fb
MW
293402013-03-24 Mark H Weaver <mhw@netris.org>
29341
29342 * manual/arith.texi (Normalization Functions): Fix prototypes for
29343 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29344
e42a38dd
AZ
293452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29346
29347 [BZ #13889]
29348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29349 high value to check if expl overflow.
29350 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29351 to check for underflow and overflow.
29352 * math/libm-test.inc: Add exp test.
29353
2e0fb521
DL
293542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29355
29356 [BZ #11120]
29357 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29358 with NOT_IN_libc.
29359
b5784d95
AZ
293602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29361
29362 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29363 symbol.
29364
5aa4a1a1
TS
293652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29366
bdef0be7
TS
29367 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29368 wrap blocks consisting of several statements.
29369
5aa4a1a1
TS
29370 * sysdeps/generic/math-tests.h: New file.
29371 * sysdeps/i386/fpu/math-tests.h: Likewise.
29372 * math/test-snan.c: Include it.
29373 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29374
98c48fe5
JM
293752013-03-21 Joseph Myers <joseph@codesourcery.com>
29376
29377 [BZ #15285]
29378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29379 (__ieee754_j0l): Do not improve calculations using cos of twice
29380 input for inputs above LDBL_MAX / 2.0L.
29381 (__ieee754_y0l): Likewise.
29382 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29383 (__ieee754_j1l): Do not improve calculations using cos of twice
29384 input for inputs above LDBL_MAX / 2.0L.
29385 (__ieee754_y1l): Likewise.
29386 * math/libm-test.inc (j0_test): Add another test.
29387 (j1_test): Likewise.
29388 (y0_test): Likewise.
29389 (y1_test): Likewise.
29390 * sysdeps/i386/fpu/libm-test-ulps: Update.
29391
3775a8bc
SP
293922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29393
29394 * Rules ($(objpfx)bench-%.c): Include code from a C source
29395 file.
29396
0a1b2ae6
JM
293972013-03-21 Joseph Myers <joseph@codesourcery.com>
29398
29399 [BZ #15287]
29400 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29401 imaginary part 1.0 and real part less than 0.5 specially.
29402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29404 * math/libm-test.inc (cacos_test): Add more tests.
29405 (casin_test): Likewise.
29406 (casinh_test): Likewise.
29407 * sysdeps/i386/fpu/libm-test-ulps: Update.
29408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29409
b33d4ce4
SP
294102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29411
29412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29413 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29414
bef0b507
JM
294152013-03-20 Joseph Myers <joseph@codesourcery.com>
29416
29417 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29418 * config.make.in (config-cflags-sse4): Remove variable.
29419 (config-cflags-avx): Likewise.
29420 (config-cflags-sse2avx): Likewise.
29421 (config-cflags-novzeroupper): Likewise.
29422 (config-asflags-i686): Likewise.
29423 (have-mfma4): Likewise.
29424 (have-as-vis3): Likewise.
29425 (MIG): Likewise.
29426 * configure.in (MIG): Do not AC_SUBST.
29427 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29428 (libc_cv_cc_sse4): Do not AC_SUBST.
29429 (libc_cv_cc_avx): Likewise.
29430 (libc_cv_cc_sse2avx): Likewise.
29431 (libc_cv_cc_novzeroupper): Likewise.
29432 (libc_cv_cc_fma4): Likewise.
29433 (libc_cv_as_i686): Likewise.
29434 (libc_cv_sparc_as_vis3): Likewise.
29435 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29436 LIBC_CONFIG_VAR.
29437 (config-asflags-i686): Likewise.
29438 (config-cflags-avx): Likewise.
29439 (config-cflags-sse2avx): Likewise.
29440 (have-mfma4): Likewise.
29441 (config-cflags-novzeroupper): Likewise.
29442 * sysdeps/mach/configure.in (MIG): Likewise.
29443 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29444 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29445 LIBC_CONFIG_VAR.
29446 (config-cflags-avx): Likewise.
29447 (config-cflags-sse2avx): Likewise.
29448 (have-mfma4): Likewise.
29449 (config-cflags-novzeroupper): Likewise.
29450 * configure: Regenerated.
29451 * sysdeps/i386/configure: Likewise.
29452 * sysdeps/mach/configure: Likewise.
29453 * sysdeps/sparc/configure: Likewise.
29454 * sysdeps/x86_64/configure: Likewise.
29455
912cc4b3
RM
294562013-03-20 Roland McGrath <roland@hack.frob.com>
29457
29458 [BZ #14812]
29459 * locale/programs/localedef.c (options): Put N_ translation marker
29460 on argument names, not just descriptions.
29461
04eed2b0
MS
294622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29463
29464 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29465
a065ceff
OB
294662013-03-20 Ondřej Bílka <neleai@seznam.cz>
29467
9bb2a810 29468 [BZ #14176]
a065ceff
OB
29469 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29470
a600e5ce
RM
294712013-03-19 Roland McGrath <roland@hack.frob.com>
29472
29473 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29474 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29475 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29476 [!BEFORE_ABORT] (before_abort): New function.
29477 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29478 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29479 (writev_for_fatal): New function.
29480 (WRITEV_FOR_FATAL): New macro; call that.
29481 (backtrace_and_maps): New function.
29482 (BEFORE_ABORT): New macro; call that.
29483 (struct str_list): Type removed.
29484 (__libc_message, __libc_fatal): Functions removed.
29485 Include <sysdeps/posix/libc_fatal.c> instead.
29486
6b18bea6
JM
294872013-03-19 Joseph Myers <joseph@codesourcery.com>
29488
29489 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29490 constants.
29491 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29492 double constants.
29493
aaa8cb4b
AS
294942013-03-19 Andreas Schwab <schwab@suse.de>
29495
44673770
AS
29496 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29497 * sysdeps/gnu/configure: Regenerate.
29498
aaa8cb4b
AS
29499 * configure.in: Substitute libc_cv_rtlddir.
29500 * configure: Regenerate.
29501 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29502 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29503 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29504 * elf/Makefile (install-others, CFLAGS-interp.c)
29505 (ldso_install, common-ldd-rewrite): Likewise.
29506 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29507 $(inst_slibdir)/$(rtld-installed-name).
29508 * scripts/rellns-sh: Add -p option.
29509 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29510 for source.
29511
d3cfc668
SP
295122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29513
29514 * manual/nptl.texi: Renamed to ...
29515 * manual/threads.texi: ... this.
29516 * manual/Makefile (chapters): Update.
29517
0e2b9cdd
RM
295182013-03-18 Roland McGrath <roland@hack.frob.com>
29519
29520 [BZ #14812]
29521 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29522 on argument names, not just descriptions.
0e2b9cdd
RM
29523 * malloc/memusagestat.c (options): Likewise.
29524 * nss/getent.c (options): Likewise.
63270c24
RM
29525
295262013-03-18 Benno Schulenberg <bensberg@justemail.net>
29527
29528 [BZ #14812]
29529 * iconv/iconv_prog.c (options): Put N_ translation marker
29530 on argument names, not just descriptions.
29531 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29532
b2e1393c
OB
295332013-03-18 Ondrej Bilka <neleai@seznam.cz>
29534
29535 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29536 implementation which is faster on all x86_64 architectures.
29537 Tested on AMD, Intel Nehalem, SNB, IVB.
29538 * sysdeps/x86_64/strnlen.S: Likewise.
29539
29540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29541 Remove all multiarch strlen and strnlen versions.
29542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29543 Remove strlen and strnlen related parts.
29544
29545 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29546 Inline strlen part.
29547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29548
29549 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29550 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29551 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29552 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29553 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29554 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29555
ec4ff04d
CD
295562013-03-17 Carlos O'Donell <carlos@redhat.com>
29557
29558 * manual/memory.texi (Malloc Tunable Parameters):
29559 Sort parameters alphabetically. Add comments for missing entries.
29560
cd18e90a
DM
295612013-03-17 David S. Miller <davem@davemloft.net>
29562
29563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29564
2a185d32
JM
295652013-03-16 Joseph Myers <joseph@codesourcery.com>
29566
d2f9799e
JM
29567 [BZ #15283]
29568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29569 for arguments at most half maximum finite value.
29570 * math/libm-test.inc (j0_test): Add more tests.
29571 (j1_test): Likewise.
29572 (y0_test): Likewise.
29573 (y1_test): Likewise.
29574 * sysdeps/i386/fpu/libm-test-ulps: Update.
29575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29576
2a185d32
JM
29577 [BZ #14155]
29578 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29579 1 / x and functions P and Q for arguments above 0x1p256L.
29580 (__ieee754_y0l): Likewise.
29581 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29582 (__ieee754_y1l): Likewise.
29583 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29584 (j1_test): Likewise.
29585 (y0_test): Likewise.
29586 (y1_test): Likewise.
29587
6cbec759
TS
295882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29589
29590 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29591 variable.
29592
bc16e260
RM
295932013-03-15 Roland McGrath <roland@hack.frob.com>
29594
aefc9b8c
RM
29595 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29596 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29597 zero since it's initialized to EXEC_PAGESIZE.
29598
bc16e260
RM
29599 * sysdeps/unix/sysv/linux/ldsodefs.h
29600 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29601 * sysdeps/generic/ldsodefs.h: ... here.
29602
a57da955
TS
296032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29604
af00a34d
TS
29605 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29606
495ded2c
TS
29607 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29608 math/test-snan.c.
29609 * math/test-snan.c: Renamed from
29610 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29611 * math/Makefile (tests): Add test-snan.
29612 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29613 test-powerpc-snan.
29614
777b0332
TS
29615 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29616 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29617 functions.
29618 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29619 __builtin_nan family of functions.
29620 * math/libm-test.inc (initialize): Initialize qnan_value with
29621 __builtin_nan family of functions.
29622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29623 Remove variables.
29624 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29625 Remove functions.
29626 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29627 storage class. Initialize qNaN_var and sNaN_var with
29628 __builtin_nan and __builtin_nans families of functions,
29629 respectively.
29630
64d063b8
TS
29631 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29632 (sqrt_test): Remove duplicate test with qNaN input.
29633 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29634 (round_test, signbit_test, significand_test): Note missing +/-Inf
29635 as well as qNaN tests.
29636
67e971f1
TS
29637 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29638 qNaN_var. Fix a few strings, too.
29639 * math/libm-test.inc (nan_value): Rename to qnan_value.
29640 * math/gen-libm-test.pl (%beautify): Adjust to that.
29641 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29642 * math/test-misc.c (main): Likewise.
29643 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29644 to __qnan_bytes, and __qnan_union, respectively.
29645 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29646 Likewise.
29647 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29648 and lqnanval, respectively.
29649 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29650 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29652 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29653
64487e12
TS
29654 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29655 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29656 doubles.
29657
e015e27b
TS
29658 * math/test-misc.c (main): Fix copy'n'pastos.
29659 * misc/tst-efgcvt.c (special): Likewise.
29660
a57da955
TS
29661 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29662 Remove declarations.
29663
1e380345
SP
296642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29665
29666 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29667 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29668 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29670
ef26eece
AZ
296712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29672
29673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29674 macro to return vdso values correctly in IFUNC implementations.
29675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29676 Optimization by using IFUNC.
29677
8cfdb7e0
SP
296782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29679 Richard Henderson <rth@redhat.com>
29680 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29681
29682 * Makefile.in (bench): New target.
29683 * NEWS: Mention the benchmark framework.
29684 * Rules (bench): Likewise.
29685 (binaries-bench): Generate binaries for functions to
29686 benchmark.
29687 * benchtests/Makefile: New makefile for benchmark tests.
29688 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29689 programs.
29690 * benchtests/exp-inputs: New input file for EXP function.
29691 * benchtests/pow-inputs: New input file for POW function.
29692 * scripts/bench.pl: New script to generate source files for
29693 benchmark programs.
29694
bcda9880
SP
296952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29696
d22ca8cd
SP
29697 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29698 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29699 computations on mantissa. Use macros for rounding and
29700 division.
29701 (denorm): Likewise.
29702 (__dbl_mp): Likewise.
29703 (add_magnitudes): Likewise.
29704 (sub_magnitudes): Likewise.
29705 (__mul): Likewise.
29706 (__sqr): Likewise.
29707 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29708 powers of two in terms of TWOPOW macro.
29709 (mp_no): Make type of mantissa as MANTISSA_T.
29710 [!RADIXI]: Define RADIXI.
29711 [!TWO52]: Define TWO52.
29712 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29713
bcda9880
SP
29714 * manual/nptl.texi (cindex): Modify threads to pthreads.
29715
06d5adfb
JM
297162013-03-15 Joseph Myers <joseph@codesourcery.com>
29717
29718 * sysdeps/x86_64/preconfigure: Regenerated.
29719
41c7328e
JM
297202013-03-14 Joseph Myers <joseph@codesourcery.com>
29721
29722 [BZ #14155]
29723 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29724 0x1p28 and above.
29725 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29726 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29727 0x1p28 and above.
29728 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29729 * math/libm-test.inc (j0_test): Do not allow one spurious
29730 underflow exception.
29731 (y1_test): Likewise.
29732
e25cfa60
SP
297332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29734
0409959c
SP
29735 * manual/Makefile (chapters): Add nptl.
29736 * manual/debug.texi (Debugging Support): Add link to Threads
29737 chapter.
29738 * manual/nptl.texi: New file.
29739
e25cfa60
SP
29740 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29741
58a1335e
PB
297422013-03-14 Petr Baudis <pasky@ucw.cz>
29743
29744 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29745 for non-NULL pointer before the memory validity test. Pointed
29746 out by Holger Brunck <holger.brunck@keymile.com>.
29747
9dc7c64f
AS
297482013-03-13 Andreas Schwab <schwab@suse.de>
29749
29750 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29751 instead of .os.
29752
54206aa6
JM
297532013-03-13 Joseph Myers <joseph@codesourcery.com>
29754
29755 * timezone/zic.c: Update from tzcode 2013b.
29756
e98cdb38
CD
297572013-03-12 Carlos O'Donell <carlos@redhat.com>
29758
29759 * manual/install.texi (Configuring and compiling):
29760 Mention i686 and i586.
29761 * INSTALL: Regenerate.
29762
9967e003
RM
297632013-03-12 Roland McGrath <roland@hack.frob.com>
29764
29765 * sysdeps/init_array/elf-init.c: New file.
29766 * csu/elf-init.c
29767 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29768 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29769
29770 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29771 __gmon_start__ as global, but as static with a .preinit_array pointer.
29772 * sysdeps/init_array/gmon-start.c: New file. Use that.
29773 * sysdeps/init_array/crti.S: New file, empty except for comments.
29774 * sysdeps/init_array/crtn.S: Likewise.
29775
e6b5a293 297762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29777
29778 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29779 definining bcopy.
80f844c9
OB
29780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29781 Remove Prefer_SSE_for_memop.
29782 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29783 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29784 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29786 memset-x86-64.
80f844c9 29787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29788 Remove bzero, memset ifunc support.
80f844c9
OB
29789 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29790 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29791 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29792 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29793
fb6b0fcb
AS
297942013-03-11 Andreas Schwab <schwab@suse.de>
29795
29796 [BZ #15234]
29797 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29798 by SHLIB_COMPAT.
29799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29800 (GLIBC_2.16): Remove pthread_atfork.
29801
3e6bd4b1
PP
298022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29803
29804 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29805 (ptestcases.h): Likewise.
29806
222d7f00
RM
298072013-03-08 Roland McGrath <roland@hack.frob.com>
29808
29809 * Makeconfig ($(common-objpfx)config.status): Depend on
29810 sysdeps/*/preconfigure{,.in} too.
29811
1ba4f030
JM
298122013-03-08 Joseph Myers <joseph@codesourcery.com>
29813
a222d91a
JM
29814 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29815 (__free_hook): Use void * instead of __malloc_ptr_t.
29816 (__malloc_hook): Likewise.
29817 (__realloc_hook): Likewise.
29818 (__memalign_hook): Likewise.
29819 (__after_morecore_hook): Likewise.
29820 * malloc/arena.c (save_malloc_hook): Likewise.
29821 (save_free_hook): Likewise.
29822 * malloc/hooks.c (malloc_hook_ini): Likewise.
29823 (realloc_hook_ini): Likewise.
29824 (memalign_hook_ini): Likewise.
29825 * malloc/malloc.c (malloc_hook_ini): Likewise.
29826 (realloc_hook_ini): Likewise.
29827 (memalign_hook_ini): Likewise.
29828 (__free_hook): Likewise.
29829 (__malloc_hook): Likewise.
29830 (__realloc_hook): Likewise.
29831 (__memalign_hook): Likewise.
29832 (__libc_malloc): Likewise.
29833 (__libc_free): Likewise.
29834 (__libc_realloc): Likewise.
29835 (__libc_memalign): Likewise.
29836 (__libc_valloc): Likewise.
29837 (__libc_pvalloc): Likewise.
29838 (__libc_calloc): Likewise.
29839 (__posix_memalign): Likewise.
29840 * malloc/morecore.c (__sbrk): Likewise.
29841 (__default_morecore): Likewise.
29842
5cc45e10
JM
29843 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29844
dd54b864
JM
29845 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29846 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29847 __malloc_ptrdiff_t.
29848
1ba4f030
JM
29849 * malloc/malloc.h (__malloc_size_t): Remove macro.
29850 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29851 __malloc_size_t.
29852 (old_memalign_hook): Likewise.
29853 (old_realloc_hook): Likewise.
29854 (struct hdr): Likewise.
29855 (flood): Likewise.
29856 (mallochook): Likewise.
29857 (memalignhook): Likewise.
29858 (reallochook): Likewise.
29859 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29860 (tr_old_realloc_hook): Likewise.
29861 (tr_old_memalign_hook): Likewise.
29862 (tr_mallochook): Likewise.
29863 (tr_reallochook): Likewise.
29864 (tr_memalignhook): Likewise.
29865
edf66e57
AZ
298662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29867
29868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29869 default_ldbl_pack and using as default implementation.
29870 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29871 implementation.
29872 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29873 redundant definition.
29874 (ldbl_insert_mantissa): Likewise.
29875 (ldbl_canonicalize): Likewise.
29876 (ldbl_nearbyint): Likewise.
29877 (ldbl_pack): Rename to ldbl_pack_ppc.
29878 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29879 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29880 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29881
6d9145d8
SP
298822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29883
29884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29885 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29887 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29890 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29891 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29892
4dd4e157
AJ
298932013-03-07 Andreas Jaeger <aj@suse.de>
29894
29895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29896 bits/mman-linux.h.
29897
adbb8027
SP
298982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29899
ce544b5b
SP
29900 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29901 Include mpa.h and declare __MPEXP.
29902 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29904 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29905 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29907 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29909
4cc149fd
SP
29910 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29911 (__slowpow): Use long double EXPL and LOGL functions to
29912 compute POW.
29913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29914 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29917 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29919
e6ebd4a7
SP
29920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29921 intermediate variable to calculate exponent.
29922 (__sqr): Likewise.
29923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29924 Likewise.
29925 (__sqr): Likewise.
29926
82a9811d
SP
29927 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29928 [!NO__SQR]: Define __sqr.
29929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29930 and NO__SQR. Remove all code except __mul and __sqr. Include
29931 sysdeps/ieee754/dbl-64/mpa.c.
29932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29933
adbb8027
SP
29934 [BZ #12723]
29935 * posix/Makefile (tests): Add tst-pathconf.
29936 * posix/tst-pathconf.c: New test case.
29937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29938 _PC_PIPE_BUF.
29939 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29940
39120df9
PF
299412013-03-06 Patsy Franklin <pfrankli@redhat.com>
29942
29943 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29944
67525cb8
AJ
299452013-03-06 Andreas Jaeger <aj@suse.de>
29946
664a9ce4
AJ
29947 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29948 definition via __MAP_ANONYMOUS.
29949
8e39047d
AJ
29950 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29951 it's not part of Linux headers.
29952
67525cb8
AJ
29953 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29954 (MAP_HUGE_MASK): Define.
29955
29956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29957 Define.
29958 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29960 Define.
29961 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29962 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29963 Define.
29964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29965 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29966 Define.
29967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29968
29969 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29970 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29971 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29972 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29973 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29974 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29975
29976 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29977 Handle f2fs.
29978
29979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29980 Handle f2fs and efivarfs.
29981
29982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29983 f2fs.
29984
29985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29986 (EFIVARFS_MAGIC): Add.
29987 (F2FS_LINK_MAX): Add.
29988
e1b42695
PP
299892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29990
29991 * stdio-common/vfprintf.c: Replace __builtin_expect with
29992 __glibc_unlikely.
29993
2d67d91a
JM
299942013-03-06 Joseph Myers <joseph@codesourcery.com>
29995
29996 [BZ #13550]
29997 * sysdeps/generic/bp-sym.h: Remove file.
29998 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30000 <bp-sym.h> and <bp-asm.h>.
30001 (__longjmp): Don't use BP_SYM.
30002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30003 and <bp-asm.h>.
30004 (memcpy): Don't use BP_SYM.
30005 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30006 <bp-sym.h> and <bp-asm.h>.
30007 (memcpy): Don't use BP_SYM.
30008 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30009 <bp-asm.h>.
30010 (memcpy): Don't use BP_SYM.
30011 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30012 <bp-asm.h>.
30013 (memset): Don't use BP_SYM.
30014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30016 (__bzero): Don't use BP_SYM.
30017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30019 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30020 <bp-sym.h> and <bp-asm.h>.
30021 (memcmp): Don't use BP_SYM. Remove comment about bounded
30022 pointers.
30023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30024 <bp-sym.h> and <bp-asm.h>.
30025 (memcpy): Don't use BP_SYM.
30026 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30027 <bp-sym.h> and <bp-asm.h>.
30028 (memset): Don't use BP_SYM.
30029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30031 (__bzero): Don't use BP_SYM.
30032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30034 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30035 <bp-sym.h> and <bp-asm.h>.
30036 (strncmp): Don't use BP_SYM. Remove comment about bounded
30037 pointers.
30038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30039 <bp-sym.h> and <bp-asm.h>.
30040 (memcpy): Don't use BP_SYM.
30041 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30042 <bp-sym.h> and <bp-asm.h>.
30043 (memset): Don't use BP_SYM.
30044 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30045 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30046 (__bzero): Don't use BP_SYM.
30047 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30048 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30050 <bp-sym.h> and <bp-asm.h>.
30051 (__memchr): Don't use BP_SYM.
30052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30053 <bp-sym.h> and <bp-asm.h>.
30054 (memcmp): Don't use BP_SYM. Remove comment about bounded
30055 pointers.
30056 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30057 <bp-sym.h> and <bp-asm.h>.
30058 (memcpy): Don't use BP_SYM.
30059 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30060 <bp-sym.h> and <bp-asm.h>.
30061 (__mempcpy): Don't use BP_SYM.
30062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30063 <bp-sym.h> and <bp-asm.h>.
30064 (__memrchr): Don't use BP_SYM.
30065 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30066 <bp-sym.h> and <bp-asm.h>.
30067 (memset): Don't use BP_SYM.
30068 (__bzero): Likewise.
30069 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30070 <bp-sym.h> and <bp-asm.h>.
30071 (__rawmemchr): Don't use BP_SYM.
30072 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30073 <bp-sym.h> and <bp-asm.h>.
30074 (__STRCMP): Don't use BP_SYM.
30075 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30076 <bp-sym.h> and <bp-asm.h>.
30077 (strchr): Don't use BP_SYM.
30078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30079 <bp-sym.h> and <bp-asm.h>.
30080 (__strchrnul): Don't use BP_SYM.
30081 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30082 <bp-sym.h> and <bp-asm.h>.
30083 (strlen): Don't use BP_SYM.
30084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30085 <bp-sym.h> and <bp-asm.h>.
30086 (strncmp): Don't use BP_SYM. Remove comment about bounded
30087 pointers.
30088 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30089 <bp-sym.h> and <bp-asm.h>.
30090 (__strnlen): Don't use BP_SYM.
30091 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30092 <bp-sym.h> and <bp-asm.h>.
30093 (__GI__setjmp): Don't use BP_SYM.
30094 (_setjmp): Likewise.
30095 (__sigsetjmp): Likewise.
30096 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30097 (L(start_addresses)): Don't use BP_SYM.
30098 (_start): Likewise.
30099 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30100 <bp-asm.h>.
30101 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30102 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30103 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30104 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30105 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30106 <bp-asm.h>.
30107 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30108 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30109 about bounded pointers.
30110 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30111 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30112 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30113 <bp-asm.h>.
30114 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30115 about bounded pointers. Remove GKM FIXME comments.
30116 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30117 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30118 <bp-asm.h>.
30119 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30120 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30121 Remove GKM FIXME comments.
30122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30124 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30125 <bp-asm.h>.
30126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30127 about bounded pointers. Remove GKM FIXME comment.
30128 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30129 and <bp-asm.h>.
30130 (strncmp): Don't use BP_SYM. Remove comment about bounded
30131 pointers.
30132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30133 <bp-sym.h> and <bp-asm.h>.
30134 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30136 <bp-sym.h> and <bp-asm.h>.
30137 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30138 comment.
30139
cdcf361f
PP
301402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30141
30142 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30143 call free(NULL).
30144
3c4a2b15
DM
301452013-03-05 David S. Miller <davem@davemloft.net>
30146
30147 * po/es.po: Update from translation team.
30148
cdcf361f 301492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30150
30151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30152 <bits/mman-linux.h>.
30153 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30154 is fine.
30155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30156 <bits/mman-linux.h> to end of file.
30157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30158 is fine.
30159 * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
30164 <bits/mman-linux.h> to end of file.
30165
30166 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30167 (MCL_CURRENT, MCL_FUTURE): Define here.
30168
5f67c04f
AK
301692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30170
8a4473cc 30171 [BZ #15232]
5f67c04f
AK
30172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30173 attribute_hidden.
30174 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30175
c3e94a95
AK
301762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30177
30178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30179 fourth parameter needed for rt_sigprocmask syscall.
30180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30181 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30184 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30185 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30186
cfb6382a
JM
301872013-03-04 Joseph Myers <joseph@codesourcery.com>
30188
30189 [BZ #13550]
30190 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30191 comment about bounded pointers.
30192 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30193 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30194
539d8e01
AJ
301952013-03-04 Andreas Jaeger <aj@suse.de>
30196
30197 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30198 common definitions.
30199
30200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30201 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30202 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30206
2e167a70 302072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30208
30209 [BZ #15055]
30210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30211 __ieee754_sqrl instead of __sqrl.
30212
68508633
JM
302132013-03-01 Joseph Myers <joseph@codesourcery.com>
30214
30215 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30216 * sysdeps/powerpc/fpu_control.h: ... here.
30217 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30218 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30219 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30220 * sysdeps/powerpc/bits/mathinline.h: ... here.
30221
7775448e
RM
302222013-03-01 Roland McGrath <roland@hack.frob.com>
30223
30224 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30225 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30226 to just [NEED_DL_SYSINFO_DSO].
30227 * elf/dl-support.c: Likewise.
30228 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30229 * elf/rtld.c (dl_main): Likewise.
30230 * elf/setup-vdso.h (setup_vdso): Likewise.
30231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30232 * sysdeps/unix/sysv/linux/dl-sysdep.c
30233 (_dl_discover_osversion): Likewise.
30234
4e9b5995
CD
302352013-03-01 Carlos O'Donell <carlos@redhat.com>
30236
30237 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30238 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30239
e23872c8
SP
302402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30241
e5c74c63
SP
30242 * NEWS: Mention libm performance improvements and non-x86 PI
30243 futex support.
30244
e23872c8
SP
30245 * csu/libc-start.c (__pthread_initialize_minimal): Change
30246 function arguments.
30247 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30248
b5510883
JM
302492013-02-28 Joseph Myers <joseph@codesourcery.com>
30250
30251 [BZ #13550]
30252 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30253 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30254 <bp-sym.h> and <bp-asm.h>.
30255 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30257 and <bp-asm.h>.
30258 (memcpy): Don't use BP_SYM.
30259 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30260 <bp-asm.h>.
30261 (__mpn_add_n): Don't use BP_SYM.
30262 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30263 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30264 and <bp-asm.h>.
30265 (__mpn_addmul_1): Don't use BP_SYM.
30266 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30267 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30268 <bp-sym.h>.
30269 (_setjmp): Don't use BP_SYM.
30270 (__novmx_setjmp): Likewise.
30271 (__GI__setjmp): Likewise.
30272 (__vmx_setjmp): Likewise.
30273 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30274 <bp-sym.h>.
30275 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30276 (__bzero): Don't use BP_SYM.
30277 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30278 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30279 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30280 <bp-sym.h> and <bp-asm.h>.
30281 (memcpy): Don't use BP_SYM.
30282 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30283 <bp-sym.h> and <bp-asm.h>.
30284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30286 <bp-sym.h> and <bp-asm.h>.
30287 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30288 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30289 <bp-asm.h>.
30290 (__mpn_lshift): Don't use BP_SYM.
30291 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30292 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30293 <bp-asm.h>.
30294 (memset): Don't use BP_SYM.
30295 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30296 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30297 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30298 <bp-asm.h>.
30299 (__mpn_mul_1): Don't use BP_SYM.
30300 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30302 <bp-sym.h> and <bp-asm.h>.
30303 (memcmp): Don't use BP_SYM.
30304 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30305 <bp-sym.h> and <bp-asm.h>.
30306 (memcpy): Don't use BP_SYM.
30307 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30308 <bp-sym.h> and <bp-asm.h>.
30309 (memset): Don't use BP_SYM.
30310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30311 <bp-sym.h> and <bp-asm.h>.
30312 (strncmp): Don't use BP_SYM.
30313 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30314 <bp-sym.h> and <bp-asm.h>.
30315 (memcpy): Don't use BP_SYM.
30316 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30317 <bp-sym.h> and <bp-asm.h>.
30318 (memset): Don't use BP_SYM.
30319 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30320 <bp-sym.h> and <bp-asm.h>.
30321 (__memchr): Don't use BP_SYM.
30322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30323 <bp-sym.h> and <bp-asm.h>.
30324 (memcmp): Don't use BP_SYM.
30325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30326 <bp-sym.h> and <bp-asm.h>.
30327 (memcpy): Don't use BP_SYM.
30328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30329 <bp-sym.h> and <bp-asm.h>.
30330 (__mempcpy): Don't use BP_SYM.
30331 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30332 <bp-sym.h> and <bp-asm.h>.
30333 (__memrchr): Don't use BP_SYM.
30334 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30335 <bp-sym.h> and <bp-asm.h>.
30336 (memset): Don't use BP_SYM.
30337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30338 <bp-sym.h> and <bp-asm.h>.
30339 (__rawmemchr): Don't use BP_SYM.
30340 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30341 <bp-sym.h> and <bp-asm.h>.
30342 (__STRCMP): Don't use BP_SYM.
30343 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30344 <bp-sym.h> and <bp-asm.h>.
30345 (strchr): Don't use BP_SYM.
30346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30347 <bp-sym.h> and <bp-asm.h>.
30348 (__strchrnul): Don't use BP_SYM.
30349 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30350 <bp-sym.h> and <bp-asm.h>.
30351 (strlen): Don't use BP_SYM.
30352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30353 <bp-sym.h> and <bp-asm.h>.
30354 (strncmp): Don't use BP_SYM.
30355 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30356 <bp-sym.h> and <bp-asm.h>.
30357 (__strnlen): Don't use BP_SYM.
30358 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30359 <bp-asm.h>.
30360 (__mpn_rshift): Don't use BP_SYM.
30361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30362 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30363 <bp-sym.h> and <bp-asm.h>.
30364 (__sigsetjmp): Don't use BP_SYM.
30365 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30366 (L(start_addresses)): Don't use BP_SYM.
30367 (_start): Likewise.
30368 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30369 <bp-asm.h>.
30370 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30371 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30372 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30373 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30374 <bp-asm.h>.
30375 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30376 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30377 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30378 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30379 <bp-asm.h>.
30380 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30381 comments.
30382 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30383 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30384 <bp-asm.h>.
30385 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30386 FIXME comments.
30387 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30388 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30389 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30390 <bp-asm.h>.
30391 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30392 comment.
30393 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30394 and <bp-asm.h>.
30395 (strncmp): Don't use BP_SYM,
30396 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30397 <bp-asm.h>.
30398 (__mpn_sub_n): Don't use BP_SYM.
30399 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30400 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30401 and <bp-asm.h>.
30402 (__mpn_submul_1): Don't use BP_SYM.
30403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30405 <bp-sym.h> and <bp-asm.h>.
30406 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30408 <bp-sym.h> and <bp-asm.h>.
30409 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30410 comment.
30411
8d19fe64
SP
304122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30413
30414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30415 Use ZK to minimize writes to Z.
30416 (sub_magnitudes): Simplify code a bit.
30417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30418 Use ZK to minimize writes to Z.
30419 (sub_magnitudes): Simplify code a bit.
30420
85bd816a
RM
304212013-02-27 Roland McGrath <roland@hack.frob.com>
30422
30423 * csu/gmon-start.c: Add special exception to license text.
30424
b5977bf2
RH
304252013-02-27 Richard Henderson <rth@redhat.com>
30426
30427 * scripts/config.guess: Update from config.git.
30428 * scripts/config.sub: Likewise.
30429
11d6e2f2
SP
304302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30431
09c14ed2
SP
30432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30433
a688864e
SP
30434 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30435
6295157a
SP
30436 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30437
b8de2202
SP
30438 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30439
11d6e2f2
SP
30440 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30441
7e80ddb8
RM
304422013-02-26 Roland McGrath <roland@hack.frob.com>
30443
30444 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30445 [$(build-shared = yes].
7e80ddb8 30446
7da6d9ed
SP
304472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30448
45f05884
SP
30449 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30450 (__mul): Reduce iterations for calculating mantissa.
30451
2236d359
SP
30452 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30453 MPTWO.
30454 (__mpranred): Likewise.
30455
7da6d9ed
SP
30456 [BZ #15160]
30457 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30458 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30459
b7688c42
PE
304602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30461
30462 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30463 Define __attribute__.
30464
53a5c423
SP
304652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30466
30467 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30468 unused.
30469 * posix/regex_internal.h (__attribute): Remove.
30470 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30471 (re_string_context_at): Likewise.
30472 (bitset_not): Use __attribute__ and mark function as possibly
30473 unused.
30474 (bitset_merge): Likewise.
30475 (bitset_mask): Likewise.
30476 (re_string_char_size_at): Likewise.
30477 (re_string_wchar_at): Likewise.
30478 (re_string_elem_size_at): Likewise.
30479
60f5a8b5
SP
304802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30481
2a983a2e
SP
30482 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30483 code.
30484 (cc32): Likewise.
30485
e69804d1
SP
30486 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30487 (__acr): Likewise.
30488 (__cpy): Likewise.
30489 (norm): Likewise.
30490 (denorm): Likewise.
30491 (__dbl_mp): Likewise.
30492 (add_magnitudes): Likewise.
30493 (sub_magnitudes): Likewise.
30494 (__mul): Likewise.
30495 (__inv): Likewise.
30496
2f22a1e8
SP
30497 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30498 style.
30499
8930ddc7
SP
30500 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30501 style.
30502
dc60cb11
SP
30503 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30504 code.
30505
60f5a8b5
SP
30506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30507 up changes with default code.
30508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30509 Likewise.
30510
b4d1fd33
AM
305112013-02-24 Allan McRae <allan@archlinux.org>
30512
faf6f8bc
AM
30513 * manual/socket.texi (The Internet Namespace): Order menu items
30514 to match that in the file.
30515
b4d1fd33
AM
30516 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30517 node listing of the info page menu.
30518
2366713d
JM
305192013-02-21 Joseph Myers <joseph@codesourcery.com>
30520
30521 [BZ #13550]
30522 * sysdeps/i386/bp-asm.h: Remove file.
30523 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30524 (PARMS): Do not use macros from bp-asm.h.
30525 (S1): Likewise.
30526 (S2): Likewise.
30527 (SIZE): Likewise.
30528 (__mpn_add_n): Do not use BP_SYM
30529 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30530 "bp-asm.h".
30531 (PARMS): Do not use macros from bp-asm.h.
30532 (S1): Likewise.
30533 (SIZE): Likewise.
30534 (__mpn_addmul_1): Do not use BP_SYM
30535 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30536 "bp-asm.h".
30537 (PARMS): Do not use macros from bp-asm.h.
30538 (SIGMSK): Likewise.
30539 (_setjmp): Likewise. Do not use BP_SYM.
30540 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30541 "bp-asm.h".
30542 (PARMS): Do not use macros from bp-asm.h.
30543 (SIGMSK): Likewise.
30544 (setjmp): Likewise. Do not use BP_SYM.
30545 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30546 "bp-asm.h".
30547 (PARMS): Do not use macros from bp-asm.h.
30548 (__frexp): Do not use BP_SYM.
30549 (frexp): Likewise.
30550 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30551 "bp-asm.h".
30552 (PARMS): Do not use macros from bp-asm.h.
30553 (__frexpf): Do not use BP_SYM.
30554 (frexpf): Likewise.
30555 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30556 "bp-asm.h".
30557 (PARMS): Do not use macros from bp-asm.h.
30558 (__frexpl): Do not use BP_SYM.
30559 (frexpl): Likewise.
30560 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30561 "bp-asm.h".
30562 (PARMS): Do not use macros from bp-asm.h.
30563 (__remquo): Do not use BP_SYM.
30564 (remquo): Likewise.
30565 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30566 "bp-asm.h".
30567 (PARMS): Do not use macros from bp-asm.h.
30568 (__remquof): Do not use BP_SYM.
30569 (remquof): Likewise.
30570 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30571 "bp-asm.h".
30572 (PARMS): Do not use macros from bp-asm.h.
30573 (__remquol): Do not use BP_SYM.
30574 (remquol): Likewise.
30575 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30576 "bp-asm.h".
30577 (PARMS): Do not use macros from bp-asm.h.
30578 (DEST): Likewise.
30579 (SRC): Likewise.
30580 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30581 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30582 "bp-asm.h".
30583 (PARMS): Do not use macros from bp-asm.h.
30584 (strlen): Do not use BP_SYM.
30585 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30586 "bp-asm.h".
30587 (PARMS): Do not use macros from bp-asm.h.
30588 (S1): Likewise.
30589 (S2): Likewise.
30590 (SIZE): Likewise.
30591 (__mpn_add_n): Do not use BP_SYM.
30592 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30593 "bp-asm.h".
30594 (PARMS): Do not use macros from bp-asm.h.
30595 (S1): Likewise.
30596 (SIZE): Likewise.
30597 (__mpn_addmul_1): Do not use BP_SYM.
30598 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30599 weak_alias.
30600 (bzero): Likewise.
30601 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30602 "bp-asm.h".
30603 (PARMS): Do not use macros from bp-asm.h.
30604 (S): Likewise.
30605 (SIZE): Likewise.
30606 (__mpn_lshift): Do not use BP_SYM.
30607 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30608 "bp-asm.h".
30609 (PARMS): Do not use macros from bp-asm.h.
30610 (DEST): Likewise.
30611 (SRC): Likewise.
30612 (LEN): Likewise.
30613 (memcpy): Likewise. Do not use BP_SYM.
30614 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30615 libc_hidden_def and weak_alias.
30616 (mempcpy): Do not use BP_SYM in weak_alias.
30617 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30618 "bp-asm.h".
30619 (PARMS): Do not use macros from bp-asm.h.
30620 (DEST): Likewise.
30621 (LEN): Likewise.
30622 [!BZERO_P] (CHR): Likewise.
30623 (memset): Likewise. Do not use BP_SYM.
30624 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30625 "bp-asm.h".
30626 (PARMS): Do not use macros from bp-asm.h.
30627 (S1): Likewise.
30628 (SIZE): Likewise.
30629 (__mpn_mul_1): Do not use BP_SYM.
30630 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30631 "bp-asm.h".
30632 (PARMS): Do not use macros from bp-asm.h.
30633 (S): Likewise.
30634 (SIZE): Likewise.
30635 (__mpn_rshift): Do not use BP_SYM.
30636 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30637 "bp-asm.h".
30638 (PARMS): Do not use macros from bp-asm.h.
30639 (STR): Likewise.
30640 (CHR): Likewise.
30641 (strchr): Likewise. Do not use BP_SYM.
30642 (index): Do not use BP_SYM in weak_alias.
30643 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30644 "bp-asm.h".
30645 (PARMS): Do not use macros from bp-asm.h.
30646 (DEST): Likewise.
30647 (SRC): Likewise.
30648 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30649 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30650 "bp-asm.h".
30651 (PARMS): Do not use macros from bp-asm.h.
30652 (strlen): Do not use BP_SYM.
30653 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30654 "bp-asm.h".
30655 (PARMS): Do not use macros from bp-asm.h.
30656 (S1): Likewise.
30657 (S2): Likewise.
30658 (SIZE): Likewise.
30659 (__mpn_sub_n): Do not use BP_SYM.
30660 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30661 "bp-asm.h".
30662 (PARMS): Do not use macros from bp-asm.h.
30663 (S1): Likewise.
30664 (SIZE): Likewise.
30665 (__mpn_submul_1): Do not use BP_SYM.
30666 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30667 "bp-asm.h".
30668 (PARMS): Do not use macros from bp-asm.h.
30669 (S1): Likewise.
30670 (S2): Likewise.
30671 (SIZE): Likewise.
30672 (__mpn_add_n): Do not use BP_SYM.
30673 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30674 weak_alias.
30675 (bzero): Likewise.
30676 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30677 "bp-asm.h".
30678 (PARMS): Do not use macros from bp-asm.h.
30679 (BLK2): Likewise.
30680 (LEN): Likewise.
30681 (memcmp): Do not use BP_SYM.
30682 (bcmp): Do not use BP_SYM in weak_alias.
30683 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30684 "bp-asm.h".
30685 (PARMS): Do not use macros from bp-asm.h.
30686 (DEST): Likewise.
30687 (SRC): Likewise.
30688 (LEN): Likewise.
30689 (memcpy): Likewise. Do not use BP_SYM.
30690 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30691 "bp-asm.h".
30692 (PARMS): Do not use macros from bp-asm.h.
30693 (DEST): Likewise.
30694 (SRC): Likewise.
30695 (LEN): Likewise.
30696 (memmove): Likewise. Do not use BP_SYM.
30697 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30698 "bp-asm.h".
30699 (PARMS): Do not use macros from bp-asm.h.
30700 (DEST): Likewise.
30701 (SRC): Likewise.
30702 (LEN): Likewise.
30703 (__mempcpy): Likewise. Do not use BP_SYM.
30704 (mempcpy): Do not use BP_SYM in weak_alias.
30705 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30706 "bp-asm.h".
30707 (PARMS): Do not use macros from bp-asm.h.
30708 (DEST): Likewise.
30709 (LEN): Likewise.
30710 [!BZERO_P] (CHR): Likewise.
30711 (memset): Likewise. Do not use BP_SYM.
30712 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30713 "bp-asm.h".
30714 (PARMS): Do not use macros from bp-asm.h.
30715 (STR2): Likewise.
30716 (strcmp): Do not use BP_SYM.
30717 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30718 "bp-asm.h".
30719 (PARMS): Do not use macros from bp-asm.h.
30720 (STR): Likewise.
30721 (DELIM): Likewise.
30722 [USE_AS_STRTOK_R] (SAVE): Likewise.
30723 (FUNCTION): Likewise. Do not use BP_SYM.
30724 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30725 aliases.
30726 (strtok_r): Likewise.
30727 (__GI___strtok_r): Likewise.
30728 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30729 (PARMS): Do not use macros from bp-asm.h.
30730 (S): Likewise.
30731 (SIZE): Likewise.
30732 (__mpn_lshift): Do not use BP_SYM.
30733 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30734 (PARMS): Do not use macros from bp-asm.h.
30735 (STR): Likewise.
30736 (CHR): Likewise.
30737 (__memchr): Do not use BP_SYM.
30738 (memchr): Do not use BP_SYM in weak_alias.
30739 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30740 (PARMS): Do not use macros from bp-asm.h.
30741 (BLK2): Likewise.
30742 (LEN): Likewise.
30743 (memcmp): Do not use BP_SYM.
30744 (bcmp): Do not use BP_SYM in weak_alias.
30745 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30746 (PARMS): Do not use macros from bp-asm.h.
30747 (S1): Likewise.
30748 (SIZE): Likewise.
30749 (__mpn_mul_1): Do not use BP_SYM.
30750 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30751 "bp-asm.h".
30752 (PARMS): Do not use macros from bp-asm.h.
30753 (STR): Likewise.
30754 (CHR): Likewise.
30755 (__rawmemchr): Do not use BP_SYM.
30756 (rawmemchr): Do not use BP_SYM in weak_alias.
30757 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30758 (PARMS): Do not use macros from bp-asm.h.
30759 (S): Likewise.
30760 (SIZE): Likewise.
30761 (__mpn_rshift): Do not use BP_SYM.
30762 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30763 (PARMS): Do not use macros from bp-asm.h.
30764 (SIGMSK): Likewise.
30765 (__sigsetjmp): Likewise. Do not use BP_SYM.
30766 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30767 (_start): Do not use BP_SYM.
30768 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30769 (PARMS): Do not use macros from bp-asm.h.
30770 (DEST): Likewise.
30771 (SRC): Likewise.
30772 (__stpcpy): Likewise. Do not use BP_SYM.
30773 (stpcpy): Do not use BP_SYM in weak_alias.
30774 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30775 "bp-asm.h".
30776 (PARMS): Do not use macros from bp-asm.h.
30777 (DEST): Likewise.
30778 (SRC): Likewise.
30779 (LEN): Likewise.
30780 (__stpncpy): Likewise. Do not use BP_SYM.
30781 (stpncpy): Do not use BP_SYM in weak_alias.
30782 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30783 (PARMS): Do not use macros from bp-asm.h.
30784 (STR): Likewise.
30785 (CHR): Likewise.
30786 (strchr): Likewise. Do not use BP_SYM.
30787 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30788 "bp-asm.h".
30789 (PARMS): Do not use macros from bp-asm.h.
30790 (STR): Likewise.
30791 (CHR): Likewise.
30792 (__strchrnul): Likewise. Do not use BP_SYM.
30793 (strchrnul): Do not use BP_SYM in weak_alias.
30794 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30795 "bp-asm.h".
30796 (PARMS): Do not use macros from bp-asm.h.
30797 (STOP): Likewise.
30798 (strcspn): Do not use BP_SYM.
30799 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30800 "bp-asm.h".
30801 (PARMS): Do not use macros from bp-asm.h.
30802 (STR): Likewise.
30803 (STOP): Likewise.
30804 (strpbrk): Likewise. Do not use BP_SYM.
30805 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30806 "bp-asm.h".
30807 (PARMS): Do not use macros from bp-asm.h.
30808 (STR): Likewise.
30809 (CHR): Likewise.
30810 (strrchr): Likewise. Do not use BP_SYM.
30811 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30812 (PARMS): Do not use macros from bp-asm.h.
30813 (SKIP): Likewise.
30814 (strspn): Do not use BP_SYM.
30815 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30816 (PARMS): Do not use macros from bp-asm.h.
30817 (STR): Likewise.
30818 (DELIM): Likewise.
30819 (SAVE): Likewise.
30820 (FUNCTION): Likewise. Do not use BP_SYM.
30821 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30822 aliases.
30823 (strtok_r): Likewise.
30824 (__GI___strtok_r): Likewise.
30825 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30826 (PARMS): Do not use macros from bp-asm.h.
30827 (S1): Likewise.
30828 (S2): Likewise.
30829 (SIZE): Likewise.
30830 (__mpn_sub_n): Do not use BP_SYM.
30831 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30832 "bp-asm.h".
30833 (PARMS): Do not use macros from bp-asm.h.
30834 (S1): Likewise.
30835 (SIZE): Likewise.
30836 (__mpn_submul_1): Do not use BP_SYM.
30837 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30838 <bp-sym.h>.
30839 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30840 and <bp-asm.h>.
30841 (PARMS): Do not use macros from bp-asm.h.
30842 (FLAGS): Likewise.
30843 (PTID): Likewise.
30844 (TLS): Likewise.
30845 (CTID): Likewise.
30846 (__clone): Do not use BP_SYM.
30847 (clone): Do not use BP_SYM in weak_alias.
30848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30849 and <bp-asm.h>.
30850 (PARMS): Do not use macros from bp-asm.h.
30851 (LEN): Likewise.
30852 (__mmap64): Do not use BP_SYM.
30853 (mmap64): Do not use BP_SYM in weak_alias.
30854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30855 <bp-sym.h> and <bp-asm.h>.
30856 (PARMS): Do not use macros from bp-asm.h.
30857 (__posix_fadvise64_l64): Do not use BP_SYM.
30858 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30859 (PARMS): Do not use macros from bp-asm.h.
30860 (NSOPS): Likewise.
30861 (semtimedop): Do not use BP_SYM.
30862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30863 and <bp-asm.h>.
30864
582a3cff
AM
308652013-02-21 Allan McRae <allan@archlinux.org>
30866
30867 * manual/message.texi (Charset conversion in gettext):
30868 Move @end statement to beginning of line.
30869
bab8a695
SP
308702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30871
80945231
SP
30872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30873 static.
30874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30875 Likewise.
30876
bab8a695
SP
30877 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30878 (denorm): Likewise.
30879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30881
e21d7aa7
AK
308822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30883
30884 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30885 tail-call to the resolved function if pltexit isn't needed.
30886
4c7a4263
SP
308872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30888
30889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30890 or Y being zero as being unlikely.
30891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30892 Likewise.
30893
41f49342
CD
308942013-02-20 Carlos O'Donell <carlos@redhat.com>
30895
30896 * manual/nss.texi (System Databases and Name Service Switch):
30897 Remove frobnicate @pxref.
30898
50022a93
TS
308992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30900
30901 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30902 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30903
08cbd996
PM
309042013-02-20 Petr Machata <pmachata@redhat.com>
30905
30906 * elf/elf.h (R_ARM_TARGET1): New macro.
30907 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30908 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30909 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30910 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30911 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30912 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30913 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30914 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30915 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30916 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30917 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30918 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30919 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30920 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30921 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30922 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30923 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30924 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30925 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30926 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30927 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30928 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30929 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30930 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30931 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30932 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30933 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30934 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30935 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30936 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30937 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30938 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30939 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30940 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30941 (R_ARM_THM_GOT_BREL12): Likewise.
30942 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30943 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30944 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30945 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30946 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30947 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30948 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30949 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30950 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30951
c7b275d6
TS
309522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30953
30954 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30955 __attribute_used__ to __attribute__ ((unused)).
30956
20cd7fb3
SP
309572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30958
30959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30960 powerpc mpa.c.
30961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30962 comment formatting.
30963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30964
92945b52
JM
309652013-02-19 Joseph Myers <joseph@codesourcery.com>
30966
30967 [BZ #13550]
30968 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30969 Remove macro.
30970 (ENTER): Remove both macro definitions.
30971 (LEAVE): Likewise.
30972 (CHECK_BOUNDS_LOW): Likewise.
30973 (CHECK_BOUNDS_HIGH): Likewise.
30974 (CHECK_BOUNDS_BOTH): Likewise.
30975 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30976 (RETURN_BOUNDED_POINTER): Likewise.
30977 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30978 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30979 (POP_ERRNO_LOCATION_RETURN): Likewise.
30980 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30982 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30983 macros.
30984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30985 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30986 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30987 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30988 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30989 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30990 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30991 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30992 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30993 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30994 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30995 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30996 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30997 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30998 removed macros.
30999 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31000 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31001 macros.
31002 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31003 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31004 * sysdeps/i386/i586/memset.S (memset): Likewise.
31005 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31007 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31008 macros.
31009 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31010 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31011 Change uses of L(2) to L(out).
31012 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31013 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31014 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31015 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31016 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31017 removed macros.
31018 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31019 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31020 macros.
31021 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31022 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31023 (RETURN): Do not use macro LEAVE.
31024 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31025 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31026 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31027 * sysdeps/i386/i686/memset.S (memset): Likewise.
31028 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31029 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31030 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31031 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31032 Likewise.
31033 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31034 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31035 L(1_2) and L(1_3) into L(1).
31036 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31037 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31038 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31039 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31040 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31041 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31042 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31043 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31044 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31045 macros.
31046 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31048 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31049 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31050 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31051 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31052 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31053 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31054 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31055 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31056 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31057 * sysdeps/i386/strspn.S (strspn): Likewise.
31058 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31059 conditional code.
31060 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31061 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31062 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31063 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31064 L(1_3) into L(1_1).
31065 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31066 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31067 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31068 macros.
31069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31070
2389741a
JJ
310712013-02-19 Jakub Jelinek <jakub@redhat.com>
31072
31073 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31074 macro.
31075
2016b3cd
SP
310762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31077
e4f22324
SP
31078 * math/atest-exp.c (exp_mpn): Remove ROUND.
31079 * math/atest-exp2.c (exp_mpn): Likewise.
31080 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31081
2016b3cd
SP
31082 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31083 * stdlib/tst-tls-atexit-lib.c: Likewise.
31084 * stdlib/tst-tls-atexit.c: Likewise.
31085
4be9b544
MF
310862013-02-18 Mike Frysinger <vapier@gentoo.org>
31087
31088 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31089 and __attribute_alloc_size__.
31090
2f62b9ee
MF
310912013-02-18 Mike Frysinger <vapier@gentoo.org>
31092
31093 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31094 __attribute_alloc_size__.
31095 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31096 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31097
6ff444c4
MF
310982013-02-18 Mike Frysinger <vapier@gentoo.org>
31099
31100 * include/programs/xmalloc.h: New file.
31101 * catgets/gencat.c: Include it.
31102 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31103 * elf/pldd.c: Likewise.
31104 * iconv/iconv_charmap.c: Likewise.
31105 * iconv/iconvconfig.c: Likewise.
31106 * iconv/strtab.c: Likewise.
31107 * locale/programs/locale.c: Likewise.
31108 * locale/programs/localedef.h: Likewise.
31109 * locale/programs/simple-hash.c: Likewise.
31110 * nscd/nscd.h: Likewise.
31111 * nss/makedb.c: Likewise.
31112 * sysdeps/generic/ldconfig.h: Likewise.
31113
be179c8a
SP
311142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31115
ba384f6e
SP
31116 * Versions.def: Add GLIBC_2.18.
31117 * include/link.h (struct link_map): New member l_tls_dtor_count.
31118 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31119 (__call_tls_dtors): Likewise.
31120 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31121 __cxa_thread_atexit_impl.
31122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31123 Likewise.
31124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31125 Likewise.
31126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31127 Likewise.
31128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31129 Likewise.
31130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31132 Likewise.
31133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31134 Likewise.
31135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31137 Likewise.
31138 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31139 (tests): Add test case tst-tls-atexit.
31140 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31141 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31142 (GLIBC_PRIVATE): Add __call_tls_dtors.
31143 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31144 for libstdc++.
31145 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31146 * stdlib/tst-tls-atexit.c: New test case.
31147 * stdlib/tst-tls-atexit-lib.c: New test case.
31148
ffaa74cf 31149 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31150
be179c8a
SP
31151 * elf/Versions (ld): Add _dl_find_dso_for_object.
31152 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31153 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31154 (dl_open_worker): Use _dl_find_dso_for_object.
31155 * elf/dl-sym.c (do_sym): Likewise.
31156 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31157
f78b5caa
AK
311582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31159
31160 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31161 Syntactic changes only.
31162 (_dl_runtime_profile): Do a tail-call to the resolved function.
31163
29691210
JM
311642013-02-17 Joseph Myers <joseph@codesourcery.com>
31165
31166 [BZ #13550]
31167 * sysdeps/x86_64/bp-asm.h: Remove file.
31168 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31169 <bp-sym.h> and <bp-asm.h>.
31170 (__clone): Do not use BP_SYM.
31171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31172 <bp-sym.h> and <bp-asm.h>.
31173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31174 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31175 "bp-asm.h".
31176 (_setjmp): Do not use BP_SYM.
31177 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31178 "bp-asm.h".
31179 (setjmp): Do not use BP_SYM.
31180 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31181 libc_hidden_def.
31182 (mempcpy): Do not use BP_SYM in weak_alias.
31183 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31184 "bp-asm.h".
31185 (strchr): Do not use BP_SYM.
31186 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31187 "bp-asm.h".
31188 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31189 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31190 (_start): Do not use BP_SYM.
31191 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31192 "bp-asm.h".
31193 (strcat): Do not use BP_SYM.
31194 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31195 "bp-asm.h".
31196 (STRCMP): Do not use BP_SYM.
31197 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31198 "bp-asm.h".
31199 (STRCPY): Do not use BP_SYM.
31200 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31201 "bp-asm.h".
31202 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31203 "bp-asm.h".
31204 (FUNCTION): Do not use BP_SYM.
31205 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31206 weak_alias.
31207 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31208
f238fd19
AJ
312092013-02-17 Andreas Jaeger <aj@suse.de>
31210
31211 * time/Versions: Sort entries.
31212 * string/Versions: Likewise.
31213 * resolv/Versions: Likewise.
31214 * posix/Versions: Likewise.
31215 * iconv/Versions: Likewise.
31216 * elf/Versions: Likewise.
31217 * wcsmbs/Versions: Likewise.
31218
bd07f23c 312192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31220
22af19f9
SP
31221 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31222 loop termination condition.
31223
4709fe76
SP
31224 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31225 variable to calculate EZ.
31226 (__sqr): Likewise.
2d0e0f29
SP
31227
31228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31229 the lower precision input.
31230
daaa7713
JM
312312013-02-15 Joseph Myers <joseph@codesourcery.com>
31232
31233 [BZ #13550]
31234 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31235 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31236 (run-via-rtld-prefix): Do not handle %-bp tests.
31237 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31238 (all-object-suffixes): Remove .ob.
31239 (bppfx): Remove variable.
31240 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31241 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31242 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31243 [$(build-bounded) = yes] (libtype.ob): Likewise.
31244 * Makerules (elide-routines.ob): Remove variable.
31245 (do-tests-clean): Do not handle *-bp.out.
31246 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31247 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31248 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31249 (tests): Do not include $(tests-bp.out).
31250 (xtests): Do not include $(xtests-bp.out).
31251 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31252 [$(build-bounded) = yes] ($(addprefix
31253 $(objpfx),$(binaries-bounded))): Remove rule.
31254 ($(objpfx)%-bp.out): Remove rule.
31255 * config.make.in (build-bounded): Remove variable.
31256 * crypt/Makefile [$(build-bounded) = yes]
31257 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31258 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31259 append to variable.
31260 [$(build-bounded) = yes] (install-lib): Likewise.
31261 [$(build-bounded) = yes] (generated): Likewise.
31262 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31263 Remove rule.
31264 * intl/Makefile [$(build-bounded) = yes]
31265 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31266 * math/Makefile [$(build-bounded) = yes]
31267 ($(tests:%=$(objpfx)%-bp): Likewise.
31268 * misc/Makefile [$(build-bounded) = yes]
31269 ($(objpfx)tst-tsearch-bp): Likewise.
31270 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31271 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31272 Remove dependency.
31273 * string/Makefile (o-objects.ob): Remove variable.
31274 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31275 (CFLAGS-.ob): Remove variable.
31276 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31277 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31278 both definitions of variable.
31279 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31280 (ASFLAGS-.ob): Remove variable.
31281
e97ed6dd
JM
312822013-02-14 Joseph Myers <joseph@codesourcery.com>
31283
2bdd4ca6
JM
31284 [BZ #13550]
31285 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31286 Remove __BOUNDED_POINTERS__ from condition.
31287 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31288 * string/bits/string2.h [!__NO_STRING_INLINES &&
31289 !__BOUNDED_POINTERS__]: Likewise.
31290 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31291 Likewise.
31292 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31293 Remove conditional code.
31294 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31295 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31296 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31297 condition.
31298
e97ed6dd
JM
31299 [BZ #13550]
31300 * csu/libc-start.c: Do not include <bp-sym.h>.
31301 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31302 * elf/dl-open.c: Do not include <bp-sym.h>.
31303 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31304 * math/fegetenv.c: Do not include <bp-sym.h>.
31305 (fegetenv): Do not use BP_SYM in versioned symbols.
31306 * nptl/sysdeps/pthread/bits/libc-lockP.h
31307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31308 <bp-sym.h>.
31309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31310 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31312 (__pthread_mutex_destroy): Likewise.
31313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31314 (__pthread_mutex_lock): Likewise.
31315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31316 (__pthread_mutex_trylock): Likewise.
31317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31318 (__pthread_mutex_unlock): Likewise.
31319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31320 (__pthread_mutexattr_init): Likewise.
31321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31322 (__pthread_mutexattr_destroy): Likewise.
31323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31324 (__pthread_mutexattr_settype): Likewise.
31325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31326 (__pthread_rwlock_init): Likewise.
31327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31328 (__pthread_rwlock_destroy): Likewise.
31329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31330 (__pthread_rwlock_rdlock): Likewise.
31331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31332 (__pthread_rwlock_tryrdlock): Likewise.
31333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31334 (__pthread_rwlock_wrlock): Likewise.
31335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31336 (__pthread_rwlock_trywrlock): Likewise.
31337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31338 (__pthread_rwlock_unlock): Likewise.
31339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31340 (__pthread_key_create): Likewise.
31341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31342 (__pthread_setspecific): Likewise.
31343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31344 (__pthread_getspecific): Likewise.
31345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31346 Likewise.
31347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31348 (_pthread_cleanup_push_defer): Likewise.
31349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31350 (_pthread_cleanup_pop_restore): Likewise.
31351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31352 (pthread_setcancelstate): Likewise.
31353 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31354 <bp-sym.h>.
31355 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31356 (memchr): Do not use BP_SYM in weak_alias.
31357 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31358 (fegetenv): Do not use BP_SYM in versioned symbols.
31359 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31360 (fesetenv): Do not use BP_SYM in versioned symbols.
31361 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31362 (feupdateenv): Do not use BP_SYM in versioned symbols.
31363 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31365 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31366 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31367 (open64): Do not use BP_SYM in weak_alias.
31368 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31369 (fegetenv): Do not use BP_SYM in versioned symbols.
31370 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31371 (fesetenv): Do not use BP_SYM in versioned symbols.
31372 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31373 (feupdateenv): Do not use BP_SYM in versioned symbols.
31374 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31375 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31376 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31377 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31378 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31379 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31381 <bp-sym.h>.
31382 (__libc_start_main): Do not use BP_SYM.
31383
d6752ccd
SP
313842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31385
cb57ce60
SP
31386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31387 redundant return line.
31388 (norm): Likewise.
31389 (denorm): Likewise.
31390 (dbl_mp): Likewise.
31391 (sub_magnitudes): Likewise.
31392 (__add): Likewise.
31393 (__sub): Likewise.
31394 (__mul): Likewise.
31395 (__inv): Likewise.
31396 (__dvd): Likewise.
31397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31398 (norm): Likewise.
31399 (denorm): Likewise.
31400 (dbl_mp): Likewise.
31401 (sub_magnitudes): Likewise.
31402 (__add): Likewise.
31403 (__sub): Likewise.
31404 (__mul): Likewise.
31405 (__inv): Likewise.
31406 (__dvd): Likewise.
31407
f414520d
SP
31408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31409 instead of __mul.
31410 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31411 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31412 (cc32): Likewise.
31413
d6752ccd
SP
31414 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31415 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31417 of __mul for squares.
31418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31419 function
31420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31421 Likewise.
31422 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31424
70d9946a
JM
314252013-02-13 Joseph Myers <joseph@codesourcery.com>
31426
31427 [BZ #13550]
31428 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31429 code.
31430 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31431 prototype or function definition. Rename ubp_* variables and
31432 parameters. Remove argv definitions conditional on
31433 [__BOUNDED_POINTERS__].
31434 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31435 * elf/dl-runtime.c (_dl_fixup): Likewise.
31436 * include/set-hooks.h (RUN_HOOK): Likewise.
31437 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31438 definition.
31439 * string/strcpy.c (strcpy): Do not use __unbounded.
31440 * sysdeps/generic/frame.h (struct layout): Likewise.
31441 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31442 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31443 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31444 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31445 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31446 (__backtrace): Likewise.
31447 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31448 use __ptrvalue.
31449 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31450 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31451 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31452 Likewise.
31453 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31454 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31455 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31456 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31457 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31458 Do not use __unbounded.
31459 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31460 Rename __unboundedrlimits parameter to rlimits in prototype.
31461 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31462 Do not use __unbounded.
31463 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31464 not use __ptrvalue.
31465 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31466 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31467 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31468 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31469 __ptrvalue or __unbounded.
31470 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31471 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31472 use __unbounded.
31473 (__new_msgctl): Do not use __ptrvalue.
31474 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31475 __unbounded.
31476 (__libc_msgrcv): Do not use __ptrvalue.
31477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31478 startup_info): Do not use __unbounded.
31479 (__libc_start_main): Likewise. Rename ubp_* variables and
31480 parameters. Remove argv definitions conditional on
31481 [__BOUNDED_POINTERS__].
31482 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31483 __ptrvalue.
31484 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31485 use __unbounded.
31486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31487 or __ptrvalue.
31488 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31489 use __unbounded.
31490 (__new_shmctl): Do not use __ptrvalue.
31491 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31492 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31493 Likewise.
31494 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31495 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31496 (__libc_sigaction): Likewise.
31497 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31499 Likewise.
31500 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31501
cc7834d6
OB
315022013-02-13 Ondřej Bílka <neleai@seznam.cz>
31503
ffb1ec7b 31504 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31505
31506 * string/mempcpy.c: Implement by calling memcpy.
31507
bdf02814
SP
315082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31509
c2af38aa
SP
31510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31511
4e92d59e
SP
31512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31513 evaluation.
31514
909279a5
SP
31515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31516 values in the mantissa.
31517
bdf02814
SP
31518 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31519 minimize writes to Z.
31520 (sub_magnitudes): Simplify code a bit.
31521
cd525923
RM
315222013-02-12 Roland McGrath <roland@hack.frob.com>
31523
31524 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31525 from the message. The linker prefixes all warnings with that already.
31526
7e2f0d2d
AS
315272013-02-12 Andreas Schwab <schwab@suse.de>
31528
a445af0b
AS
31529 [BZ #15078]
31530 * posix/regexec.c (extend_buffers): Add parameter min_len.
31531 (check_matching): Pass minimum needed length.
31532 (clean_state_log_if_needed): Likewise.
31533 (get_subexp): Likewise.
31534 * posix/Makefile (tests): Add bug-regex34.
31535 (bug-regex34-ENV): Define.
31536 * posix/bug-regex34.c: New file.
31537
7e2f0d2d
AS
31538 [BZ #11561]
31539 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31540 elements compare against the byte sequence of it, not its name.
31541 * posix/Makefile (tests): Add bug-regex35.
31542 (bug-regex35-ENV): Define.
31543 * posix/bug-regex35.c: New file.
31544
a175b684
TV
315452013-02-11 Tom de Vries <tom@codesourcery.com>
31546
31547 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31548 comment.
31549 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31550 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31551 (CHECK_EOL): Add undef.
31552
310998fe 315532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31554
31555 * bits/stdlib-bsearch.h: New file.
31556 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31557 * stdlib/stdlib.h: Likewise.
41eda41d 31558
8ded91fb
RM
315592013-02-11 Roland McGrath <roland@hack.frob.com>
31560
31561 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31562 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31563 declaration.
31564 * manual/search.texi (Array Search Function): Add missing const in
31565 lfind prototype.
31566 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31567 declaration to use rlim_t.
31568 (Basic Scheduling Functions): Remove erroneous const from
31569 sched_getparam prototype. Remove erroneous * from
31570 sched_get_priority_max and sched_get_priority_min prototypes.
31571 (Resource Usage): Fix summary @comment on vtimes to refer to
31572 sys/vtimes.h rather than vtimes.h.
31573 Add missing *s in vtimes prototype.
31574 (Limits on Resources): Fix ulimit prototype to return long int.
31575 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31576 prototypes to use long int rather than double.
31577 (BSD Random): Fix initstate and setstate to use char *, not void *.
31578 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31579 prototype to make second argument 'struct aiocb64 *const[]'.
31580 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31581 (Status of AIO Operations): Remove erroneous const in aio_return and
31582 aio_return64 prototypes.
31583 (Synchronizing I/O): Fix sync prototype to return void.
31584 * manual/startup.texi (Suboptions): Remove an erroneous const in
31585 getsubopt prototype.
31586 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31587 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31588 use size_t rather than int.
31589 (Scanning All Users): Likewise for getpwent_r.
31590 (Setting Groups): Add missing const to setgroups prototype.
31591 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31592 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31593 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31594 'const void *' rather than 'const char *'.
31595 (Host Address Functions): Likewise for inet_ntop.
31596 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31597 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31598 ssize_t for return value.
31599 (Sending Data): Likewise for send, sendto, sendmsg.
31600 (Socket Option Functions): Add a missing const in setsockopt prototype.
31601 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31602 use wchar_t for the argument.
31603 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31604 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31605 take no arguments.
31606 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31607 double/float/long double for second argument.
31608 Fix return types of significand, significandf, significandl.
31609 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31610 argument in fchmod prototype.
31611 (File Owner): Use uid_t and gid_t in fchown prototype.
31612 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31613 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31614 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31615 use 'const struct dirent **' as argument types to CMP function pointer
31616 argument.
31617 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31618 (File Times): Fix summary magic @comment for struct utimbuf and utime
31619 to refer to utime.h, not time.h.
31620 * manual/string.texi (Argz Functions): Add missing const in
31621 argz_extract and argz_next prototypes.
31622 (Finding Tokens in a String): Likewise for basename.
31623 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31624 (Copying and Concatenation): Fix typo in wmemmove prototype.
31625 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31626 (Signal Stack): Remove erroneous const in sigstack prototype.
31627 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31628 prototype.
31629 (Simple Calendar Time): Likewise for stime.
31630 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31631 prototype.
31632 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31633 say sys/sysctl.h instead.
31634 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31635 and vsyslog prototypes.
31636
fe77fe6d
TV
316372013-02-11 Tom de Vries <tom@codesourcery.com>
31638
31639 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31640 Remove.
31641
3a09b620
RM
316422013-02-11 Roland McGrath <roland@hack.frob.com>
31643
31644 * misc/sys/mman.h: Fix typo in mremap comment.
31645
550a0b89
RM
316462013-02-08 Roland McGrath <roland@hack.frob.com>
31647
31648 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31649 the '\0' terminator.
31650
a2da1673
JM
316512013-02-08 Joseph Myers <joseph@codesourcery.com>
31652
31653 [BZ #13550]
31654 * debug/segfault.c: Don't include <bp-checks.h>.
31655 * sysdeps/generic/bp-checks.h: Remove file.
31656 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31657 (__GETDENTS): Don't use CHECK_N.
31658 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31659 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31660 (__getgroups): Don't use CHECK_N.
31661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31662 (setgroups): Don't use CHECK_N.
31663 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31664 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31665 (__libc_msgrcv): Don't use CHECK_N.
31666 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31667 (__libc_msgsnd): Don't use CHECK_N.
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31669 <bp-checks.h>.
31670 (__libc_pread): Don't use CHECK_N.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31672 include <bp-checks.h>.
31673 (__libc_pread64): Don't use CHECK_N.
31674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31675 include <bp-checks.h>.
31676 (__libc_pwrite): Don't use CHECK_N.
31677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31678 include <bp-checks.h>.
31679 (__libc_pwrite64): Don't use CHECK_N.
31680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31681 <bp-checks.h>.
31682 (__libc_pread): Don't use CHECK_N.
31683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31684 include <bp-checks.h>.
31685 (__libc_pread64): Don't use CHECK_N.
31686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31687 include <bp-checks.h>.
31688 (__libc_pwrite): Don't use CHECK_N.
31689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31690 include <bp-checks.h>.
31691 (__libc_pwrite64): Don't use CHECK_N.
31692 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31693 (do_pread): Don't use CHECK_N.
31694 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31695 (do_pread64): Don't use CHECK_N.
31696 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31697 (do_pwrite): Don't use CHECK_N.
31698 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31699 (do_pwrite64): Don't use CHECK_N.
31700 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31701 (__libc_readv): Don't use CHECK_N.
31702 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31703 (semop): Don't use CHECK_N.
31704 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31705 <bp-checks.h>.
31706 (semtimedop): Don't use CHECK_N.
31707 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31708 (__libc_pread): Don't use CHECK_N.
31709 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31710 <bp-checks.h>.
31711 (__libc_pread64): Don't use CHECK_N.
31712 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31713 <bp-checks.h>.
31714 (__libc_pwrite): Don't use CHECK_N.
31715 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31716 <bp-checks.h>.
31717 (__libc_pwrite64): Don't use CHECK_N.
31718 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31719 <bp-checks.h>.
31720 (__libc_msgrcv): Don't use CHECK_N.
31721 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31722 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31723 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31724 (__libc_writev): Don't use CHECK_N.
31725
b84660a8
RM
317262013-02-08 Roland McGrath <roland@hack.frob.com>
31727
7f3e75f8
RM
31728 * string/strcpy.c: Removed unused variable.
31729
b84660a8
RM
31730 * Makeconfig (+sysdep-includes): Define with := rather than =.
31731 Use an existing include/ subdir of each sysdeps dir before it.
31732
471514d3
CD
317332013-02-08 Carlos O'Donell <carlos@redhat.com>
31734
31735 * nscd/connection.c (register_traced_file): Comment function.
31736 [HAVE_INOTIFY] (union __inev): Define.
31737 [HAVE_INOTIFY] (inotify_check_files): New function.
31738 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31739 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31740 clear_db_cache.
31741 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31742
b2d3c3be
CD
317432013-02-08 Carlos O'Donell <carlos@redhat.com>
31744
31745 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31746 loaded if not already and that a failure is permanent.
31747
b39949d2
CD
317482013-02-08 Carlos O'Donell <carlos@redhat.com>
31749
ddacd1db 31750 [BZ #15006]
b39949d2
CD
31751 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31752 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31753
b2c9eff4
JM
317542013-02-08 Joseph Myers <joseph@codesourcery.com>
31755
f3aae3f3
JM
31756 [BZ #13550]
31757 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31758 (CHECK_1_NULL_OK): Likewise.
31759 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31760 (__fxstat): Do not use CHECK_1.
31761 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31762 <bp-checks.h>.
31763 (___fxstat64): Do not use CHECK_1.
31764 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31765 <bp-checks.h>.
31766 (__fxstatat): Do not use CHECK_1.
31767 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31768 <bp-checks.h>.
31769 (__fxstatat64): Do not use CHECK_1.
31770 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31771 <bp-checks.h>.
31772 (__fxstat): Do not use CHECK_1.
31773 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31774 <bp-checks.h>.
31775 (__fxstatat): Do not use CHECK_1.
31776 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31777 <bp-checks.h>.
31778 (__getresgid): Do not use CHECK_1.
31779 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31780 <bp-checks.h>.
31781 (__getresuid): Do not use CHECK_1.
31782 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31783 <bp-checks.h>.
31784 (__lxstat): Do not use CHECK_1.
31785 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31786 <bp-checks.h>.
31787 (__old_msgctl): Do not use CHECK_1.
31788 (__new_msgctl): Likewise.
31789 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31790 <bp-checks.h>.
31791 (__new_setrlimit): Do not use CHECK_1.
31792 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31793 <bp-checks.h>.
31794 (__old_shmctl): Do not use CHECK_1.
31795 (__new_shmctl): Likewise.
31796 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31797 <bp-checks.h>.
31798 (__xstat): Do not use CHECK_1.
31799 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31800 (__lxstat): Do not use CHECK_1.
31801 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31802 <bp-checks.h>.
31803 (___lxstat64): Do not use CHECK_1.
31804 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31805 (__old_msgctl): Do not use CHECK_1.
31806 (__new_msgctl): Likewise.
31807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31808 <bp-checks.h>.
31809 (__gettimeofday): Do not use CHECK_1.
31810 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31811 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31812 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31813 <bp-checks.h>.
31814 (__gettimeofday): Do not use CHECK_1.
31815 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31816 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31817 (__new_shmctl): Do not use CHECK_1.
31818 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31819 <bp-checks.h>.
31820 (do_sigtimedwait): Do not use CHECK_1.
31821 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31822 <bp-checks.h>.
31823 (do_sigwaitinfo): Do not use CHECK_1.
31824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31825 <bp-checks.h>.
31826 (msgctl): Do not use CHECK_1.
31827 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31828 <bp-checks.h>.
31829 (shmctl): Do not use CHECK_1.
31830 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31831 (ustat): Do not use CHECK_1.
31832 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31833 <bp-checks.h>.
31834 (__fxstat): Do not use CHECK_1.
31835 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31836 <bp-checks.h>.
31837 (__fxstatat): Do not use CHECK_1.
31838 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31839 <bp-checks.h>.
31840 (__lxstat): Do not use CHECK_1.
31841 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31842 <bp-checks.h>.
31843 (__xstat): Do not use CHECK_1.
31844 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31845 (__xstat): Do not use CHECK_1.
31846 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31847 (___xstat64): Do not use CHECK_1.
31848
b2c9eff4
JM
31849 [BZ #13550]
31850 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31851 definitions.
31852 (CHECK_BOUNDS_HIGH): Likewise.
31853 * string/strcpy.c: Do not include <bp-checks.h>.
31854 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31855
f1d70dad
RM
318562013-02-07 Roland McGrath <roland@hack.frob.com>
31857
31858 * nscd/nscd-client.h (__nscd_drop_map_ref):
31859 Add __attribute__ ((unused)).
31860 * nis/nss-nisplus.h (niserr2nss): Likewise.
31861
31862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31863 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31864
31865 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31866 Remove inline keyword.
31867 * include/rounding-mode.h (round_away): Likewise.
31868 * libio/wfileops.c (adjust_wide_data): Likewise.
31869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31870 (__m128i_strloadu_tolower): Likewise.
31871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31872 (__m128i_strloadu_tolower): Likewise.
31873 * time/mktime.c (ydhms_diff): Likewise.
31874 * locale/elem-hash.h (elem_hash): Likewise.
31875 * locale/setlocale.c (setdata): Likewise.
31876 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31877 (re_string_wchar_at): Likewise.
31878 (bitset_not, bitset_merge, bitset_mask): Likewise.
31879 [!(__GNUC__ > 3)] (inline): Remove macro.
31880 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31881 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31882 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31883 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31884 * string/memcmp.c (memcmp_bytes): Likewise.
31885 * locale/programs/locarchive.c (compute_hashval): Likewise.
31886 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31888 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31889 * nss/getent.c (print_rpc, print_protocols): Likewise.
31890 (print_passwd, print_group, print_aliases): Likewise.
31891 * nis/nss-nisplus.h (niserr2nss): Likewise.
31892 * nscd/connections.c (restart_p): Likewise.
31893 Change return type to bool.
31894
eab55bfb
RM
318952013-02-05 Roland McGrath <roland@hack.frob.com>
31896
7bd642f5
RM
31897 * Makeconfig (all-Depend-files): Add existing
31898 $(sorted-subdirs:=/Depend) files.
31899 (all-subdirs): Remove nss.
31900 * sysdeps/unix/inet/Subdirs: Add it here instead.
31901 * hesiod/Depend: New file.
31902
573c29b2
RM
31903 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31904 instead of calling alloca.
31905
b2e25af0
RM
31906 * io/lseek.c (__lseek): Rename to __libc_lseek.
31907 Define __lseek as an alias.
31908
eab55bfb
RM
31909 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31910
9a0d1941
CD
319112013-02-04 Carlos O'Donell <carlos@redhat.com>
31912
31913 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31914 else clause and remove check for non-standard endianness.
31915
b83bbec4
DM
319162013-02-04 David S. Miller <davem@davemloft.net>
31917
31918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31919
6277fdab
JM
319202013-02-04 Joseph Myers <joseph@codesourcery.com>
31921
31922 [BZ #13550]
31923 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31924 (__ubp_memchr): Remove prototype.
31925 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31926 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31927 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31928 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31929 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31930 Remove alias.
31931 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31932 (__ubp_memchr): Likewise.
31933 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31934 (__ubp_memchr): Likewise.
31935 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31936 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31937 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31938 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31939 CHECK_STRING.
31940 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31941 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31942 (__getcwd): Do not use CHECK_STRING.
31943 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31944 <bp-checks.h>.
31945 (__real_chown): Do not use CHECK_STRING.
31946 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31947 <bp-checks.h>.
31948 (fchownat): Do not use CHECK_STRING.
31949 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31950 CHECK_STRING.
31951 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31952 <bp-checks.h>.
31953 (__lchown): Do not use CHECK_STRING.
31954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31955 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31956 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31957 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31959 include <bp-checks.h>.
31960 (truncate64): Do not use CHECK_STRING.
31961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31962 <bp-checks.h>.
31963 (__real_chown): Do not use CHECK_STRING.
31964 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31965 <bp-checks.h>.
31966 (__lchown): Do not use CHECK_STRING.
31967 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31968 <bp-checks.h>.
31969 (__chown): Do not use CHECK_STRING.
31970 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31971 <bp-checks.h>.
31972 (truncate64): Do not use CHECK_STRING.
31973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31974 Likewise.
31975 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31976 (__xmknod): Do not use CHECK_STRING.
31977 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31978 <bp-checks.h>.
31979 (__xmknodat): Do not use CHECK_STRING.
31980 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31981 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31982
903ae060
AS
319832013-02-04 Andreas Schwab <schwab@suse.de>
31984
31985 [BZ #14142]
31986 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31987 * include/netdb.h: Likewise for h_errno.
31988 * elf/tst-stackguard1.c: Include <tls.h>.
31989
542f9466
JK
319902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31991
31992 * elf/link.h (struct link_map): Extend the l_addr comment.
31993 * include/link.h (struct link_map): Likewise.
31994
e782a927
JM
319952013-02-01 Joseph Myers <joseph@codesourcery.com>
31996
31997 [BZ #13550]
31998 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31999 (BOUNDED_1): Remove macro.
32000 * debug/backtrace.c: Don't include <bp-checks.h>.
32001 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32002 (__backtrace): Likewise.
32003 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32004 <bp-checks.h>.
32005 (__backtrace): Don't use BOUNDED_1.
32006 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32007 <bp-checks.h>.
32008 (__backtrace): Don't use BOUNDED_1.
32009 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32010 (__backtrace): Don't use BOUNDED_1.
32011 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32012 (shmat): Don't use BOUNDED_N.
32013
8cf28c5e
JM
320142013-01-31 Joseph Myers <joseph@codesourcery.com>
32015
3a7ac8a0
JM
32016 [BZ #13550]
32017 * sysdeps/generic/bp-start.h: Remove file.
32018 * csu/libc-start.c: Don't include <bp-start.h>.
32019 (LIBC_START_MAIN): Set up __environ directly instead of using
32020 INIT_ARGV_and_ENVIRON.
32021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32022 <bp-start.h>.
32023
f3499f95
JM
32024 [BZ #13550]
32025 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32026 definitions.
32027 (CHECK_FCNTL): Likewise.
32028 (CHECK_N_PAGES): Likewise.
32029
32a45bea
JM
32030 [BZ #13550]
32031 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32032 definitions.
32033 (CHECK_SIGSET_NULL_OK): Likewise.
32034 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32035 <bp-checks.h>.
32036 (sigpending): Don't use CHECK_SIGSET.
32037 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32038 <bp-checks.h>.
32039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32040 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32041 <bp-checks.h>.
32042 (do_sigsuspend): Don't use CHECK_SIGSET.
32043 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32044 use CHECK_SIGSET.
32045 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32046 (do_sigwait): Don't use CHECK_SIGSET.
32047 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32048 use CHECK_SIGSET.
32049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32050 include <bp-checks.h>.
32051 (sigpending): Don't use CHECK_SIGSET.
32052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32053 include <bp-checks.h>.
32054 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32055 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32056 <bp-checks.h>.
32057 (sigpending): Don't use CHECK_SIGSET.
32058 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32059 <bp-checks.h>.
32060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32061
2e8a5c8c
JM
32062 [BZ #13550]
32063 * sysdeps/generic/bp-semctl.h: Remove file.
32064 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32065 <bp-checks.h> and <bp-semctl.h>.
32066 (__old_semctl): Don't use CHECK_SEMCTL.
32067 (__new_semctl): Likewise.
32068 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32069 and <bp-semctl.h>.
32070 (__old_semctl): Don't use CHECK_SEMCTL.
32071 (__new_semctl): Likewise.
32072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32073 <bp-checks.h> and <bp-semctl.h>.
32074 (__old_semctl): Don't use CHECK_SEMCTL.
32075 (__new_semctl): Likewise.
32076 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32077 <bp-checks.h> and <bp-semctl.h>.
32078 (semctl): Don't use CHECK_SEMCTL.
32079
c2d54929
JM
32080 [BZ #13550]
32081 * Makerules (elide-bp-thunks): Remove variable.
32082 (elide-routines.oS): Don't use $(elide-bp-thunks).
32083 (elide-routines.os): Likewise.
32084 (elide-routines.o): Likewise.
32085 (elide-routines.op): Likewise.
32086 (elide-routines.og): Likewise.
32087 (objects): Don't use $(bp-thunks).
32088 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32089 include.
32090 (common-generated): Do not add s-proto-bp.d.
32091 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32092 (int): Likewise.
32093 (typ): Likewise.
32094 Do not generate makefile rules for bounded-pointer thunks.
32095 * sysdeps/generic/bp-thunks.h: Remove file.
32096 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32097 * sysdeps/unix/s-proto-bp.S: Likewise.
32098
8cf28c5e
JM
32099 [BZ #15062]
32100 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32101 parts of result separately when argument is not close to line from
32102 -i to i and one part of argument is small.
32103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32105 * math/libm-test.inc (cacos_test): Add more tests.
32106 (casin_test): Likewise.
32107 (casinh_test): Likewise.
32108 * sysdeps/i386/fpu/libm-test-ulps: Update.
32109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32110
c4e33b8d
DM
321112013-01-31 David S. Miller <davem@davemloft.net>
32112
32113 * po/de.po: Update from translation team.
32114
3b60b421
MK
321152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32116
32117 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32118
bb931195
TS
321192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32120
b5a5da23
TS
32121 * configure.in (_AC_PROG_CC_C89): New definition.
32122 * configure: Regenerate.
32123
bb931195
TS
32124 * configure.in (AC_PROG_CPP): New definition.
32125 * configure: Regenerate.
32126
8c53a12c
JM
321272013-01-23 Joseph Myers <joseph@codesourcery.com>
32128
32129 * debug/tst-backtrace.h: New file.
32130 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32131 (ret): Remove variable.
32132 (x): Likewise.
32133 (FAIL): Remove macro.
32134 (NO_INLINE): Likewise.
32135 (fn1): Use match function instead of strstr.
32136 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32137 (ret): Remove variable.
32138 (x): Likewise.
32139 (FAIL): Remove macro.
32140 (NO_INLINE): Likewise.
32141 (fn): Use match function instead of strstr.
32142 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32143 (ret): Remove variable.
32144 (x): Likewise.
32145 (FAIL): Remove macro.
32146 (NO_INLINE): Likewise.
32147 (handle_signal): Use match function instead of strstr.
32148 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32149 (ret): Remove variable.
32150 (x): Likewise.
32151 (FAIL): Remove macro.
32152 (NO_INLINE): Likewise.
32153 (handle_signal): Use match function instead of strstr.
32154
4858fa2a
RM
321552013-01-23 Roland McGrath <roland@hack.frob.com>
32156
32157 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32158
bae8e7f5
DM
321592013-01-23 David S. Miller <davem@davemloft.net>
32160
32161 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32162 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32163 argument of CAS if possible.
32164 * sysdeps/sparc/sparc64/bits/atomic.h
32165 (__arch_compare_and_exchange_val_32_acq): Likewise.
32166 (__arch_compare_and_exchange_val_64_acq): Likewise.
32167
9cbbc4ae
PT
321682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32169
32170 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32171 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32172 Include <limits.h>.
67b3f58c 32173 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32174
5655a0b5
AC
321752013-01-23 Adam Conrad <adconrad@0c3.net>
32176
32177 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32178 (LDFLAGS-tst-array5): Likewise.
32179
052aff95
JM
321802013-01-23 Joseph Myers <joseph@codesourcery.com>
32181
32182 [BZ #15036]
32183 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32184 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32185 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32186 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32187
7c1e01aa
DM
321882013-01-21 David S. Miller <davem@davemloft.net>
32189
32190 * sysdeps/sparc/backtrace.c: New file.
32191 * sysdeps/sparc/sparc32/backtrace.h: New file.
32192 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32193 * sysdeps/sparc/sparc64/backtrace.h: New file.
32194 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32195 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32196 -funwind-tables.
32197
ab087e0a
AS
321982013-01-21 Andreas Schwab <schwab@suse.de>
32199
32200 [BZ #15020]
32201 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32202 closed its stdout.
32203
ed689c2f
AS
322042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32205
32206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32207 "mpa2.h".
32208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32209
31d470ac
JM
322102013-01-18 Joseph Myers <joseph@codesourcery.com>
32211 Mark Mitchell <mark@codesourcery.com>
32212 Tom de Vries <tom@codesourcery.com>
32213 Paul Pluzhnikov <ppluzhnikov@google.com>
32214
32215 * debug/tst-backtrace2.c: New file.
32216 * debug/tst-backtrace3.c: Likewise.
32217 * debug/tst-backtrace4.c: Likewise.
32218 * debug/tst-backtrace5.c: Likewise.
32219 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32220 (CFLAGS-tst-backtrace3.c): Likewise.
32221 (CFLAGS-tst-backtrace4.c): Likewise.
32222 (CFLAGS-tst-backtrace5.c): Likewise.
32223 (LDFLAGS-tst-backtrace2): Likewise.
32224 (LDFLAGS-tst-backtrace3): Likewise.
32225 (LDFLAGS-tst-backtrace4): Likewise.
32226 (LDFLAGS-tst-backtrace5): Likewise.
32227 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32228 tst-backtrace4 and tst-backtrace5.
32229
90567f30 322302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32231 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32232
32233 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32234 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32236 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32238 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32239 "+r" and remove output regs list as redundant. Add explicit inline
32240 asm to specify register of return val to work around compiler codegen
32241 bug. Remove (int) cast on return value. Add return type parameter to
32242 use in macro so that this macro does not truncate return value for
32243 64-bit values.
32244 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32245 pass to INTERNAL_VSYSCALL_NCS.
32246 (INLINE_VSYSCALL): Add 'long int' as return type to
32247 INTERNAL_VSYSCALL_NCS macro invocation.
32248 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32249 INTERNAL_VSYSCALL_NCS macro invocation.
32250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32251
d3b9ea61
SP
322522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32253
0b57daeb
SP
32254 [BZ #14496]
32255 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32256 Fix application of SIMD FP exception mask.
32257
caa99d06
SP
32258 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32259 mp_no from a power of two.
32260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32261 __mpexp_twomm1. Use __pow_mp.
32262
d3b9ea61
SP
32263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32264 multiplication.
32265
1dbaee3c
DM
322662013-01-17 David S. Miller <davem@davemloft.net>
32267
32268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32269
728d7b43
JM
322702013-01-17 Joseph Myers <joseph@codesourcery.com>
32271
32272 [BZ #15023]
32273 * include/complex.h: Condition contents on [!_COMPLEX_H].
32274 (__kernel_casinhf): New prototype.
32275 (__kernel_casinh): Likewise.
32276 (__kernel_casinhl): Likewise.
32277 * math/Makefile (libm_calls): Add k_casinh.
32278 * math/k_casinh.c: New file.
32279 * math/k_casinhf.c: Likewise.
32280 * math/k_casinhl.c: Likewise.
32281 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32282 finite nonzero arguments.
32283 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32284 finite nonzero arguments.
32285 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32286 finite nonzero arguments.
32287 * math/s_casinh.c: Do not include <float.h>.
32288 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32289 * math/s_casinhf.c: Do not include <float.h>.
32290 (__casinhf): Move code for finite nonzero arguments to
32291 k_casinhf.c.
32292 * math/s_casinhl.c: Do not include <float.h>.
32293 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32294 redefine.
32295 (__casinhl): Move code for finite nonzero arguments to
32296 k_casinhl.c.
32297 * math/libm-test.inc (cacos_test): Add more tests.
32298 * sysdeps/i386/fpu/libm-test-ulps: Update.
32299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32300
2a26ef3a
PT
323012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32302
32303 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32304 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32305 [!HAVE_MREMAP]: Remove [defined linux] case.
32306 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32307
a897655d
SP
323082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32309
32310 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32311
881ebe89 323122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32313
32314 * elf/elf.h (R_386_SIZE32): New relocation.
32315 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32316 R_386_SIZE32.
32317 (elf_machine_rela): Likewise.
32318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32319 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32320
59981e9b
JM
323212013-01-17 Joseph Myers <joseph@codesourcery.com>
32322
32323 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32324 (FP_FAST_FMA): Do not define.
32325 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32326 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32327 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32328 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32329 !_SOFT_FLOAT]: Likewise.
32330 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32332 value.
32333 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32334 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32337 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32338 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32339 file.
32340
cfa8054f
AS
323412013-01-16 Andreas Schwab <schwab@suse.de>
32342
32343 [BZ #14327]
32344 * include/stdlib.h (__mktemp): Add declaration.
32345 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32346 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32347
dd930cc5
SP
323482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32349
881ebe89
SP
32350 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32351 definitions.
32352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32353 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32354 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32355 definitions here.
32356 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32357 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32358 definitions.
32359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32360 and ONE.
32361 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32362 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32364 definitions.
32365 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32366 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32367 definitions.
32368 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32369
dd930cc5
SP
32370 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32371
c19a9f89
DM
323722013-01-15 David S. Miller <davem@davemloft.net>
32373
1aa61767
DM
32374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32375 trunc{,f} to libm-sysdep_routes.
32376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32378 file.
32379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32381 file.
32382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32383 file.
32384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32386 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32387 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32388 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32390 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32391 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32392
c42d5e98
DM
32393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32394 nearbyint{,f} to libm-sysdep_routes.
32395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32397 New file.
32398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32399 file.
32400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32401 New file.
32402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32403 file.
32404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32407 file.
32408 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32410 file.
32411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32412 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32413 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32414
c19a9f89
DM
32415 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32416 libc_feholdexcept and libc_fesetenv.
32417
357679d2
MF
324182013-01-15 Mike Frysinger <vapier@gentoo.org>
32419
32420 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32421
65a82e3d
DM
324222013-01-14 David S. Miller <davem@davemloft.net>
32423
8b954ab9
DM
32424 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32425 (SPARC_ASM_VIS2_IFUNC): Likewise.
32426 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32428 use of 'siam' instruction.
32429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32430 Likewise.
32431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32432 Likewise.
32433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32434 Likewise.
32435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32440 file.
32441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32442 file.
32443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32444 file.
32445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32446 file.
32447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32452 new VIS2 routines.
32453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32456 Likewise.
32457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32462 routines to libm-sysdep_routines.
32463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32464
65a82e3d
DM
32465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32466 fdim/fdimf to libm-sysdep_routines.
32467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32468 file.
32469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32471 file.
32472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32475 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32476 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32477 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32478 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32479
e34ab705
SP
324802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32481
2a91b573
SP
32482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32483 to optimize copies.
32484
1066a534
SP
32485 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32488
e34ab705
SP
32489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32490 local variable MPTWO.
32491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32492 Likewise.
32493
aba5e596
MF
324942013-01-13 Mike Frysinger <vapier@gentoo.org>
32495
32496 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32497 GLOB_NOESCAPE.
32498
e557e9e5
MF
324992013-01-13 Mike Frysinger <vapier@gentoo.org>
32500
32501 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32502
0428cec9
MF
325032013-01-13 Mike Frysinger <vapier@gentoo.org>
32504
32505 * manual/pattern.texi (glob_t): Document gl_flags.
32506 (glob64_t): Likewise.
32507
8794a964
DM
325082013-01-11 David S. Miller <davem@davemloft.net>
32509
66438c3f
RM
32510 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32511 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32512 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32513 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32514 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32515 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32516 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32517 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32518 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32519 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32520 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32521 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32522 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32523
4ae4244d
DM
32524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32525 sparc V9 rather than using V8 code.
32526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32528
8794a964
DM
32529 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32530 Move to...
32531 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32532 Here.
32533
6270516e
RM
325342013-01-11 Roland McGrath <roland@hack.frob.com>
32535
32536 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32537 not in the main loop.
32538 * configure: Regenerated.
32539
6a57d931
JM
325402013-01-11 Joseph Myers <joseph@codesourcery.com>
32541
32542 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32543 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32544 to just #else.
32545 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32546 [!__GLIBC_HAVE_LONG_LONG] case.
32547 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32548 condition to just #else.
32549 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32550 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32551 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32552 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32553 unconditional.
32554 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32555 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32556 #elif condition to just #else.
32557 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32558 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32559 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32560 #elif condition to just #else.
32561
0e8529e9
SE
325622013-01-11 Steve Ellcey <sellcey@mips.com>
32563
32564 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32565 (EF_MIPS_ARCH_64): Fix value.
32566 (EF_MIPS_ARCH_32R2): New.
32567 (EF_MIPS_ARCH_64R2): New.
32568
740b3dbe
L
325692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32570
32571 * Makeconfig (+link-pie-before-libc): New.
32572 (+link-pie-after-libc): Likewise.
32573 (+link-pie-tests): Likewise.
32574 (+link-pie): Rewritten.
32575 (link-before-libc): Remove $(config-LDFLAGS).
32576 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32577 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32578 (config-LDFLAGS): Renamed to ...
32579 (rtld-LDFLAGS): This.
32580 (rtld-tests-LDFLAGS): New macro.
32581 (link-libc-rpath-link): Likewise.
32582 (link-libc-tests-rpath-link): Likewise.
32583 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32584 (link-libc): Prepand $(link-libc-rpath-link).
32585 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32586 (test-program-prefix): New macro.
32587 (test-via-rtld-prefix): Likewise.
32588 (test-program-cmd): Likewise.
32589 (host-test-program-cmd): Likewise.
32590 * Makefile ($(common-objpfx)testrun.sh): Replace
32591 $(run-program-prefix) with $(test-program-prefix).
32592 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32593 $(rtld-LDFLAGS).
32594 ($(common-objpfx)shlib.lds): Likewise.
32595 (build-module-helper): Likewise.
32596 ($(common-objpfx)format.lds): Likewise.
32597 * Rules (binaries-pie-tests): New.
32598 (binaries-pie-notests): Likewise.
32599 (binaries-pie): Rewritten.
32600 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32601 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32602 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32603 (make-test-out): Replace $(host-built-program-cmd) with
32604 $(host-test-program-cmd).
32605 * config.make.in (build-hardcoded-path-in-tests): New variable.
32606 * configure.in (--enable-hardcoded-path-in-tests): New configure
32607 option.
32608 (hardcoded_path_in_tests): New AC_SUBST.
32609 * configure: Regenerated.
32610 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32611 $(built-program-cmd) with $(test-program-cmd).
32612 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32613 (test_program_cmd): This.
32614 * elf/Makefile ($(objpfx)order.out): Run test with
32615 $(test-program-prefix).
32616 ($(objpfx)order2.out): Likewise.
32617 ($(objpfx)tst-initorder.out): Likewise.
32618 ($(objpfx)tst-initorder2.out): Likewise.
32619 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32620 $(test-program-cmd).
32621 ($(objpfx)tst-array1-static.out): Likewise.
32622 ($(objpfx)tst-array2.out): Likewise.
32623 ($(objpfx)tst-array3.out): Likewise.
32624 ($(objpfx)tst-array4.out): Likewise.
32625 ($(objpfx)tst-array5.out): Likewise.
32626 ($(objpfx)tst-array5-static.out): Likewise.
32627 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32628 $(test-program-cmd).
32629 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32630 $(run-program-prefix) with $(test-program-prefix).
32631 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32632 (test_program_prefix): This.
32633 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32634 $(run-program-prefix) with $(test-program-prefix).
32635 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32636 (test_program_prefix): This.
32637 * iconvdata/tst-tables.sh: Likewise.
32638 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32639 $(run-program-prefix) with $(test-program-prefix).
32640 ($(objpfx)tst-translit.out): Likewise.
32641 ($(objpfx)tst-gettext2.out): Likewise.
32642 ($(objpfx)tst-gettext4.out): Likewise.
32643 ($(objpfx)tst-gettext6.out): Likewise.
32644 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32645 (test_program_prefix): This.
32646 * intl/tst-gettext2.sh: Likewise.
32647 * intl/tst-gettext4.sh Likewise.
32648 * intl/tst-gettext6.sh: Likewise.
32649 * intl/tst-translit.sh: Likewise.
32650 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32651 with $(test-program-cmd).
32652 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32653 $(run-program-prefix) with $(test-program-prefix).
32654 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32655 (test_program_prefix): This.
32656 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32657 $(run-program-prefix) with $(test-program-prefix).
32658 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32659 (test_program_prefix): This.
32660 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32661 * posix/Makefile ($(objpfx)globtest.out): Replace
32662 $(run-via-rtld-prefix) and $(test-wrapper) with
32663 $(test-program-prefix) and $(test-via-rtld-prefix).
32664 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32665 $(test-program-prefix).
32666 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32667 $(host-test-program-cmd).
32668 (tst-spawn-ARGS): Likewise.
32669 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32670 $(test-program-prefix).
32671 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32672 (test_via_rtld_prefix): This.
32673 (test_wrapper): Renamed to ...
32674 (test_program_prefix): This.
32675 (run_program_prefix): Replaced by test_program_prefix.
32676 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32677 (test_program_prefix): This.
32678 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32679 with $(host-test-program-cmd).
32680 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32681 $(run-program-prefix) with $(test-program-prefix).
32682 ($(objpfx)tst-printf.out): Likewise.
32683 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32684 $(test-program-cmd).
32685 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32686 (test_program_prefix): This.
32687 * stdio-common/tst-unbputc.sh: Likewise.
32688 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32689 $(run-program-prefix) with $(test-program-prefix).
32690 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32691 (test_program_prefix): This.
32692 * string/Makefile ($(objpfx)tst-svc.out): Replace
32693 $(built-program-cmd) with $(test-program-cmd).
32694
c6fe55cf
AJ
326952013-01-11 Andreas Jaeger <aj@suse.de>
32696
32697 [BZ #15003]
32698 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32699 value. Sync with Linux 3.7.
32700
9e6919c8
DM
327012013-01-10 David S. Miller <davem@davemloft.net>
32702
32703 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32706
1c9f1a02
RM
327072013-01-10 Roland McGrath <roland@hack.frob.com>
32708
32709 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32710 never set.
32711 * configure: Regenerated.
32712
b9de2dde
DM
327132013-01-10 David S. Miller <davem@davemloft.net>
32714
32715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32716 sparc V9 rather than using V8 code.
32717 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32718 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32719
e7f68ef4
RM
327202013-01-10 Roland McGrath <roland@hack.frob.com>
32721
32722 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32723 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32724 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32725 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32726 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32727 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32728 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32729 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32730 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32731 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32732 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32733 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32734 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32735 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32736 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32737 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32738 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32739 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32740 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32741 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32742 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32743 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32744 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32745 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32746 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32747 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32748 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32749
5a47cc9c
DM
327502013-01-10 David S. Miller <davem@davemloft.net>
32751
32752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32753
4cf8f209
L
327542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32755
32756 * posix/Makefile (tests-static): New variable.
32757 (tests): Add $(tests-static).
32758 (tst-exec-static-ARGS): New variable.
32759 (tst-spawn-static-ARGS): Likewise.
32760 * posix/tst-exec-static.c: New file.
32761 * posix/tst-spawn-static.c: Likewise.
32762 * posix/tst-exec.c: Support run directly.
32763 * posix/tst-spawn.c: Likewise.
32764
fed0faa1
JM
327652013-01-10 Joseph Myers <joseph@codesourcery.com>
32766
828beb13
JM
32767 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32768 long.
32769 * math/bits/mathcalls.h (llrint): Likewise.
32770 (llround): Likewise.
32771 * stdlib/stdlib.h (struct drand48_data): Likewise.
32772 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32773 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32774 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32775 Likewise.
32776 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32777 Likewise.
32778 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32779 (elf_greg_t): Likewise.
32780 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32781 (__jmp_buf): Likewise.
32782 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32783 definitions.
32784 (llrint): Likewise, for all definitions.
32785 (llrintl): Likewise.
32786
fed0faa1
JM
32787 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32788 Remove [__GNUC__] condition.
32789 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32790 condition to just [__USE_ISOC99].
32791 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32792
1a20cb20
L
327932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32794
32795 [BZ #14200]
32796 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32797 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32798 defined.
32799 (_POSIX_V6_ILP32_OFF32): Likewise.
32800 (_XBS5_ILP32_OFF32): Likewise.
32801 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32802 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32803
751b85f7
SP
328042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32805
7490eb81
SP
32806 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32807
751b85f7
SP
32808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32809 doubles __mpexp_twomm1. Adjust usage.
32810 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32811 Remove.
32812
988197f0
AS
328132013-01-10 Andreas Schwab <schwab@suse.de>
32814
32815 [BZ #14964]
32816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32817 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32818
e83d7298
DM
328192013-01-09 David S. Miller <davem@davemloft.net>
32820
034ed64b 32821 [BZ #15003]
57f41c40
AS
32822 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32823 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32824 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32825 (TCP_FASTOPEN): Define.
e83d7298
DM
32826 (tcp_repair_opt): New structure.
32827 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32828 enum values.
57f41c40
AS
32829 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32830 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32831 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32832 (tcp_cookie_transactions): New structure.
32833
d5e0b9bd
AB
328342013-01-09 Anton Blanchard <anton@samba.org>
32835
32836 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32837 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32839 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32840
0c07e3ea
JM
328412013-01-09 Joseph Myers <joseph@codesourcery.com>
32842
32843 * include/features.h (__USE_ANSI): Remove.
32844
232f7002
RM
328452013-01-09 Roland McGrath <roland@hack.frob.com>
32846
ad98e30c
RM
32847 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32848
232f7002
RM
32849 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32850
950c99ca
SP
328512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32852
b5792741
SP
32853 * sysdeps/s390/fpu/libm-test-ulps: Update.
32854
47cf2278
SP
32855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32856
950c99ca
SP
32857 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32858 (__acr): Likewise.
32859 (__cpy): Likewise.
32860 (norm): Likewise.
32861 (denorm): Likewise.
32862 (__mp_dbl): Likewise.
32863 (__dbl_mp): Likewise.
32864 (add_magnitudes): Likewise.
32865 (sub_magnitudes): Likewise.
32866 (__add): Likewise.
32867 (__sub): Likewise.
32868 (__mul): Likewise.
32869 (__inv): Likewise.
32870 (__dvd): Likewise.
32871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32872 (__acr): Likewise.
32873 (__cpy): Likewise.
32874 (norm): Likewise.
32875 (denorm): Likewise.
32876 (__mp_dbl): Likewise.
32877 (__dbl_mp): Likewise.
32878 (add_magnitudes): Likewise.
32879 (sub_magnitudes): Likewise.
32880 (__add): Likewise.
32881 (__sub): Likewise.
32882 (__mul): Likewise.
32883 (__inv): Likewise.
32884 (__dvd): Likewise.
32885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32886 (__acr): Likewise.
32887 (__cpy): Likewise.
32888 (norm): Likewise.
32889 (denorm): Likewise.
32890 (__mp_dbl): Likewise.
32891 (__dbl_mp): Likewise.
32892 (add_magnitudes): Likewise.
32893 (sub_magnitudes): Likewise.
32894 (__add): Likewise.
32895 (__sub): Likewise.
32896 (__mul): Likewise.
32897 (__inv): Likewise.
32898 (__dvd): Likewise.
32899
eede9df9
JM
329002013-01-08 Joseph Myers <joseph@codesourcery.com>
32901
32902 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32903 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32904 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32905 2 && __USE_EXTERN_INLINES]: Likewise.
32906
c40ea3d9
AJ
329072013-01-08 Andreas Jaeger <aj@suse.de>
32908
32909 [BZ# 14985]
32910 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32911 Remove.
32912 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32913 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32914
2ccdea26
AB
329152013-01-07 Anton Blanchard <anton@samba.org>
32916
32917 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32918 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32919 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32920 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32921 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32923 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32924 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32929 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32931 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32932 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32935 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32938 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32940 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32941 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32942 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32943 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32944 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32946 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32947 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32949 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32950 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32951 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32953 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32955 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32956 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32957 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32959 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32960
a9708fed
JM
329612013-01-07 Joseph Myers <joseph@codesourcery.com>
32962
375607b9
JM
32963 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32964 (__MALLOC_PMT): Likewise.
32965 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32966 [__GNUC__], only on [_LIBC].
32967 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32968 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32969 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32970 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32971 forward declaration.
32972 (realloc_hook_ini): Likewise.
32973 (memalign_hook_ini): Likewise.
32974 (__libc_memalign): Do not use __MALLOC_PMT in variable
32975 declaration.
32976 (__libc_valloc): Likewise.
32977 (__libc_pvalloc): Likewise.
32978 (__libc_calloc): Likewise.
32979 (__posix_memalign): Likewise.
32980
a9708fed
JM
32981 [BZ #14996]
32982 * math/s_casinh.c: Include <float.h>.
32983 (__casinh): Do not do computation with squaring and square root
32984 for large arguments.
32985 * math/s_casinhf.c: Include <float.h>.
32986 (__casinhf): Do not do computation with squaring and square root
32987 for large arguments.
32988 * math/s_casinhl.c: Include <float.h>.
32989 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32990 (__casinhl): Do not do computation with squaring and square root
32991 for large arguments.
32992 * math/libm-test.inc (casin_test): Add more tests.
32993 (casinh_test): Likewise.
32994 * sysdeps/i386/fpu/libm-test-ulps: Update.
32995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32996
afec409a
L
329972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32998
32999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33000 (__x86_64_raw_data_cache_size): Likewise.
33001 (__x86_64_data_cache_size_half): Likewise.
33002 (__x86_64_raw_data_cache_size_half): Likewise.
33003 (__x86_64_shared_cache_size): Likewise.
33004 (__x86_64_raw_shared_cache_size): Likewise.
33005 (__x86_64_shared_cache_size_half): Likewise.
33006 (__x86_64_raw_shared_cache_size_half): Likewise.
33007 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33008 to ...
33009 (__x86_data_cache_size): This.
33010 (__x86_64_raw_data_cache_size): Renamed to ...
33011 (__x86_raw_data_cache_size): This.
33012 (__x86_64_data_cache_size_half): Renamed to ...
33013 (__x86_data_cache_size_half): This.
33014 (__x86_64_raw_data_cache_size_half): Renamed to ...
33015 (__x86_raw_data_cache_size_half): This.
33016 (__x86_64_shared_cache_size): Renamed to ...
33017 (__x86_shared_cache_size): This.
33018 (__x86_64_raw_shared_cache_size): Renamed to ...
33019 (__x86_raw_shared_cache_size): This.
33020 (__x86_64_shared_cache_size_half): Renamed to ...
33021 (__x86_shared_cache_size_half): This.
33022 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33023 (__x86_raw_shared_cache_size_half): This.
33024 * sysdeps/x86_64/memcpy.S: Updated.
33025 * sysdeps/x86_64/memset.S: Likewise.
33026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33029
0b3986d0
DM
330302013-01-04 David S. Miller <davem@davemloft.net>
33031
33032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33033
e47686e9
AS
330342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33035
d643bac1
AS
33036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33037 1 to avoid redefinition warning.
33038 (__USE_GNU): Don't define.
33039 (init_signaling_nan): Protoize.
33040
e47686e9
AS
33041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33042
b18decba
SP
330432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33044
fffb407f
SP
33045 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33047 (__cpymn): Likewise.
33048 (norm): Remove commented code.
33049 (denorm): Likewise.
33050 (__mp_dbl): Likewise.
33051 (__inv): Likewise.
33052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33053 (__cpymn): Likewise.
33054 (norm): Remove commented code.
33055 (denorm): Likewise.
33056 (__mp_dbl): Likewise.
33057 (__inv): Likewise.
33058
b18decba
SP
33059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33060 mp_no value for 1.0 and 2.0.
33061 (norm): Use RADIXI instead of radixi.d.
33062 (denorm): Likewise.
33063 (__mul): Use 0.0 instead of zero.d.
33064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33065 mp_no value for 1.0 and 2.0.
33066 (norm): Use RADIXI instead of radixi.d.
33067 (denorm): Likewise.
33068 (__mul): Use 0.0 instead of zero.d.
33069
cdc1c96f
JM
330702013-01-04 Joseph Myers <joseph@codesourcery.com>
33071
33072 [BZ #14994]
33073 * math/s_casinh.c (__casinh): Reduce finite argument to first
33074 quadrant then set signs of results at the end.
33075 * math/s_casinhf.c (__casinhf): Likewise.
33076 * math/s_casinhl.c (__casinhl): Likewise.
33077 * math/libm-test.inc (casin_test): Add more tests.
33078 (casinh_test): Likewise.
33079 * sysdeps/i386/fpu/libm-test-ulps: Update.
33080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33081
302913e1
SP
330822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33083
6420d207
SP
33084 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33085
a9e48ab4
SP
33086 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33087
b7837264
SP
33088 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33089 declarations.
33090 (denorm): Likewise.
33091 (__mp_dbl): Likewise.
33092 (__inv): Likewise.
33093
f8af25d2
SP
33094 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33095 and adjust the header comment.
33096
302913e1
SP
33097 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33098 variable name from declaration.
33099
5d7dd1ca
L
331002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33101
33102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33103 Initialize COMMON_CPUID_INDEX_7 element.
33104 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33105 (CPUID_RTM): Likewise.
33106 (HAS_RTM): Likewise.
33107 (COMMON_CPUID_INDEX_7): New enum.
33108
2f5f40f4
AS
331092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33110
33111 [BZ #14981]
33112 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33113 size is zero, record memory as freed.
33114
4056f4a0
AJ
331152013-01-03 Andreas Jaeger <aj@suse.de>
33116
33117 * po/ia.po: Add new Interlingua translation.
33118
ab15736f 331192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33120
33121 * locale/programs/localedef.c: Fix description of '--posix' flag.
33122
568035b7
JM
331232013-01-02 Joseph Myers <joseph@codesourcery.com>
33124
e6898b8d
JM
33125 * NEWS: Update dates in second copyright notice.
33126 * README: Update copyright dates in example.
33127 * manual/libc.texinfo: Update copyright dates.
33128 * scripts/test-installation.pl: Update copyright date in --version
33129 output.
33130
0e2f9562
JM
33131 * hurd/ctty-input.c: Fix copyright notice formatting.
33132 * hurd/ctty-output.c: Likewise.
33133 * hurd/dtable.c: Likewise.
33134 * hurd/hurd-raise.c: Likewise.
33135 * hurd/hurdprio.c: Likewise.
33136 * hurd/msgportdemux.c: Likewise.
33137 * misc/sys/file.h: Likewise.
33138 * misc/sys/ioctl.h: Likewise.
33139 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33140 * sysdeps/mach/hurd/chdir.c: Likewise.
33141 * sysdeps/mach/hurd/fchdir.c: Likewise.
33142 * sysdeps/mach/hurd/rename.c: Likewise.
33143 * sysdeps/mach/hurd/rmdir.c: Likewise.
33144 * sysdeps/mach/hurd/seekdir.c: Likewise.
33145 * sysdeps/mach/hurd/setsid.c: Likewise.
33146 * sysdeps/posix/wait3.c: Likewise.
33147
568035b7
JM
33148 * All files with FSF copyright notices: Update copyright dates
33149 using scripts/update-copyrights.
33150 * intl/plural.c: Regenerated.
33151 * locale/programs/charmap-kw.h: Likewise.
33152 * locale/programs/locfile-kw.h: Likewise.
33153
da08f647
SP
331542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33155
0f5477af
SP
33156 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33157 four values.
33158
44e0d4c2
SP
33159 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33160 calculation loop and add branch prediction.
33161
4d55b4e5
SP
33162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33163 check access beyond bounds of m1np.
33164
da08f647
SP
33165 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33166 MPTWO.
33167 (__inv): Remove local variable MPTWO to use the global
33168 constant.
33169 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33171 variable MPTWO.
33172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33173 MP3HALFS static const.
33174
8e051029
DM
331752013-01-01 David S. Miller <davem@davemloft.net>
33176
33177 * po/ca.po: Update from translation team.
33178
f4cf5f2d
JM
331792013-01-01 Joseph Myers <joseph@codesourcery.com>
33180
33181 * scripts/update-copyrights: New file.
33182 * Makeconfig: Reformat copyright notice.
33183 * ctype/ctype.h: Likewise.
33184 * debug/swprintf_chk.c: Likewise.
33185 * elf/dl-cache.c: Likewise.
33186 * elf/dl-debug.c: Likewise.
33187 * elf/dl-object.c: Likewise.
33188 * grp/initgroups.c: Likewise.
33189 * hurd/Makefile: Likewise.
33190 * hurd/hurd/signal.h: Likewise.
33191 * hurd/hurdfault.c: Likewise.
33192 * hurd/hurdioctl.c: Likewise.
33193 * hurd/hurdlookup.c: Likewise.
33194 * hurd/intr-msg.c: Likewise.
33195 * iconv/gconv_open.c: Likewise.
33196 * libio/swprintf.c: Likewise.
33197 * locale/lc-ctype.c: Likewise.
33198 * locale/nl_langinfo.c: Likewise.
33199 * mach/Machrules: Likewise.
33200 * mach/Makefile: Likewise.
33201 * malloc/obstack.h: Likewise.
33202 * manual/Makefile: Likewise.
33203 * manual/tsort.awk: Likewise.
33204 * misc/bits/stab.def: Likewise.
33205 * nis/nis_print_group_entry.c: Likewise.
33206 * nis/nis_table.c: Likewise.
33207 * nis/nss_compat/compat-pwd.c: Likewise.
33208 * nis/nss_compat/compat-spwd.c: Likewise.
33209 * po/Makefile: Likewise.
33210 * posix/fnmatch.c: Likewise.
33211 * posix/regex.h: Likewise.
33212 * resolv/Makefile: Likewise.
33213 * resolv/nss_dns/dns-network.c: Likewise.
33214 * resolv/res_hconf.c: Likewise.
33215 * scripts/gen-sorted.awk: Likewise.
33216 * soft-fp/soft-fp.h: Likewise.
33217 * stdio-common/printf.h: Likewise.
33218 * stdlib/monetary.h: Likewise.
33219 * stdlib/random.c: Likewise.
33220 * stdlib/random_r.c: Likewise.
33221 * sysdeps/generic/Makefile: Likewise.
33222 * sysdeps/gnu/Makefile: Likewise.
33223 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33233 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33234 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33235 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33236 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33237 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33251 * sysdeps/mach/hurd/errnos.awk: Likewise.
33252 * sysdeps/mach/hurd/fork.c: Likewise.
33253 * sysdeps/mach/hurd/getcwd.c: Likewise.
33254 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33255 * sysdeps/mach/hurd/mmap.c: Likewise.
33256 * sysdeps/mach/hurd/utimes.c: Likewise.
33257 * sysdeps/mach/hurd/xmknod.c: Likewise.
33258 * sysdeps/posix/profil.c: Likewise.
33259 * sysdeps/posix/readdir_r.c: Likewise.
33260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33261 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33262 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33263 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33265 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33266 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33269 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33270 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33271 * sysdeps/pthread/lio_listio.c: Likewise.
33272 * sysdeps/sparc/dl-procinfo.h: Likewise.
33273 * sysdeps/unix/i386/sysdep.S: Likewise.
33274 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33275 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33276 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33277 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33279 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33280 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33281 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33282 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33283 * sysdeps/wordsize-32/divdi3.c: Likewise.
33284 * time/sys/time.h: Likewise.
33285 * wcsmbs/Makefile: Likewise.
33286
0549fbba
DM
332872013-01-01 David S. Miller <davem@davemloft.net>
33288
a141f1a7
DM
33289 * po/fr.po: Update from translation team.
33290
0549fbba
DM
33291 * catgets/gencat.c: Update copyright year.
33292 * csu/version.c: Likewise.
33293 * debug/catchsegv.sh: Likewise.
33294 * debug/pcprofiledump.c: Likewise.
33295 * debug/xtrace.sh: Likewise.
33296 * elf/ldconfig.c: Likewise.
33297 * elf/ldd.bash.in: Likewise.
33298 * elf/pldd.c: Likewise.
33299 * elf/sotruss.ksh: Likewise.
33300 * elf/sprof.c: Likewise.
33301 * iconv/iconv_prog.c: Likewise.
33302 * iconv/iconvconfig.c: Likewise.
33303 * locale/programs/locale.c: Likewise.
33304 * locale/programs/localedef.c: Likewise.
33305 * login/programs/pt_chown.c: Likewise.
33306 * malloc/memusage.sh: Likewise.
33307 * malloc/memusagestat.c: Likewise.
33308 * malloc/mtrace.pl: Likewise.
33309 * nscd/nscd.c: Likewise.
33310 * nss/getent.c: Likewise.
33311 * nss/makedb.c: Likewise.
33312 * posix/getconf.c: Likewise.
33313
18ea052c
SP
333142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33315
33316 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33317 numbers.
33318
9c89fca6
MF
333192012-12-30 Mike Frysinger <vapier@gentoo.org>
33320
33321 * math/bits/mathcalls.h (modf): Use __nonnull.
33322
085ec079
SP
333232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33324
33325 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33326 (split): Use macro CN instead of the bare value.
33327 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33328 could be used.
33329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33330 instead of the bare value.
33331 (power1): Likewise.
33332
6d9f97e1
SP
333332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33334
d63f73be
SP
33335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33336 __ATAN_TWOM.
33337 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33338
6d9f97e1
SP
33339 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33340 their values.
33341 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33342 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33343 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33344 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33345
4c4febf5
AJ
333462012-12-28 Andreas Jaeger <aj@suse.de>
33347
af5843ef
AJ
33348 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33349 values are from Linux 3.7.
33350
4c4febf5
AJ
33351 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33352 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33353
99136f82
SP
333542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33355
2f216c3c 33356 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33357 TRUE case.
33358
99136f82
SP
33359 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33360 (norm): Likewise.
33361 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33362 variables with preprocessor constants.
33363 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33364 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33365 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33366
7fffbdff
BH
333672012-12-27 Bruno Haible <bruno@clisp.org>
33368
33369 [BZ #14317]
33370 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33371 only if needed.
33372
b76eb5f0
SP
333732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33374
31a7fe5c
SP
33375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33376 and use variable directly.
33377 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33378
b76eb5f0
SP
33379 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33380 MPONE.
33381 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33383 variable MPONE.
33384 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33386 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33387 include directive. Remove local variable MPONE.
33388 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33391
2c8bfe7d
DM
333922012-12-25 David S. Miller <davem@davemloft.net>
33393
33394 * version.h (RELEASE): Set to "development".
33395 (VERSION): Set to "2.17.90".
33396 * NEWS: Add 2.18 section.
33397
147d03b0
DM
333982012-12-21 David S. Miller <davem@davemloft.net>
33399
33400 * po/hr.po: Update from translation team.
33401
a8ebb2b9
AK
334022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33403
33404 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33405
95b4f1b6
SE
334062012-12-19 Steve Ellcey <sellcey@mips.com>
33407
b2d94007 33408 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33409
cedb2a90
MS
334102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33411
33412 * manual/contrib.texi (Contributors): Spelling correction.
33413
bbf527d6
DM
334142012-12-15 David S. Miller <davem@davemloft.net>
33415
33416 * po/ru.po: Update from translation team.
33417
bc38c906
DM
334182012-12-13 David S. Miller <davem@davemloft.net>
33419
85429b1a
DM
33420 * NEWS: Mention IFUNC testsuite enhancements.
33421
d283e353
DM
33422 * po/pl.po: Update from translation team.
33423 * po/bg.po: Likewise.
33424
bc38c906
DM
33425 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33426 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33427
a181b0d7
DM
334282012-12-11 David S. Miller <davem@davemloft.net>
33429
4641d57e
DM
33430 * po/sv.po: Update from translation team.
33431
f7bc6495
DM
33432 * po/vi.po: Update from translation team.
33433
6fc9048f
DM
33434 * po/cs.po: Update from translation team.
33435
a181b0d7
DM
33436 * po/de.po: Update from translation team.
33437 * po/eo.po: Likewise.
33438 * po/nl.po: Likewise.
33439
f70bfe80
SP
334402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33441
3c8b4190
SP
33442 [BZ #14246]
33443 * manual/argp.texi (Argp Helper Functions): Move node to follow
33444 Argp Parsing State.
33445
f70bfe80
SP
33446 [BZ #14872]
33447 * manual/conf.texi (Limits on File System Capacity): Mention if
33448 terminating null is included in the max size.
33449
188f0adf
AJ
334502012-12-10 Andreas Jaeger <aj@suse.de>
33451
33452 * po/cs.po: Update from translation team.
33453
56e7d3ad
SP
334542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33455
33456 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33457 void pointer and cast to uintptr_t.
33458 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33459 path.
33460 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33461 * sysdeps/s390/s390-64/memset.S: Likewise.
33462
76f2d2ea 334632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33464
33465 [BZ #14833]
33466 * menual/message.texi (Message Translation): Fix typos.
33467 (Helper programs for gettext): Likewise.
33468
67cbf9a2
AS
334692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33470
33471 [BZ #14898]
33472 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33473 Change to -1.
33474
682d0e9a
DM
334752012-12-07 David S. Miller <davem@davemloft.net>
33476
33477 * po/libc.pot: Update.
33478
573cd484
RH
334792012-12-07 Richard Henderson <rth@redhat.com>
33480
7e9da188 33481 [BZ #10114]
573cd484
RH
33482 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33483 normal/normal case to before the switch.
33484 (_FP_DIV): Likewise.
33485
e933a943
MF
334862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33487 Mike Frysinger <vapier@gentoo.org>
33488
33489 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33490 check for __NR_fadvise64_64.
33491
82123268
CM
334922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33493
33494 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33495 0, not just to plain "0" as a statement.
33496 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33497 with cw.
33498
d9814526
JM
334992012-12-06 Joseph Myers <joseph@codesourcery.com>
33500
33501 * NEWS: Use sourceware.org in Bugzilla URL.
33502
7728c574
SP
335032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33504
f16946dd
SP
33505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33506 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33507
5704bbcb
SP
33508 * stdio-common/tst-put-error.c (do_test): Add newline to the
33509 padded test to ensure flush.
33510
17aa0516
JL
335112012-12-05 Jeff Law <law@redhat.com>
33512
33513 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33514
363313b5
JM
335152012-12-05 Joseph Myers <joseph@codesourcery.com>
33516
effbd42a
JM
33517 * README: Don't refer to ports add-on as distributed separately.
33518 Mention AArch64 in list of systems supported in the ports add-on.
33519
87600365
JM
33520 * LICENSES: Add more non-FSF copyright and license notices.
33521
a0d7066a
JM
33522 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33523 ((unused)).
33524
66ca5a5b
JM
33525 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33526
363313b5
JM
33527 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33528 10000 as width of padded output.
33529
b37984ad
JM
335302012-12-04 Joseph Myers <joseph@codesourcery.com>
33531
9003570a
JM
33532 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33533
b37984ad
JM
33534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33535 variable LX with __attribute__ ((unused)).
33536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33537 Likewise.
33538 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33540 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33541 with __attribute__ ((unused)).
33542
c8df52ec
DM
335432012-12-04 David S. Miller <davem@abraco.davemloft.net>
33544
33545 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33546
b3b099af
JM
335472012-12-04 Joseph Myers <joseph@codesourcery.com>
33548
c33aa6e3
JM
33549 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33550 (CFLAGS-nldbl-acos.c): New variable.
33551 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33552 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33553 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33554 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33555 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33556 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33557 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33558 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33559 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33560 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33561 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33562 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33563 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33564 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33565 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33566 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33567 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33568 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33569 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33570 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33571 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33572 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33573 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33574 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33575 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33576 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33577 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33578 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33579 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33580 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33581 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33582 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33583 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33584 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33585 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33586 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33587 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33588 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33589 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33590 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33591 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33592 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33593 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33594 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33595 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33596 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33597 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33598 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33599 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33600 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33601 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33602 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33603 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33604 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33605 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33606 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33607 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33608 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33609 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33610 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33611 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33612 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33613 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33614 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33615 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33616 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33617 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33618 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33619 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33620 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33621 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33622 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33623 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33624 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33625 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33626 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33627 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33628 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33629 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33630 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33631 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33632 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33633 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33634 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33635 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33636 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33637 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33638 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33639 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33640 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33641 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33642 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33643 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33644 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33645 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33646 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33647 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33648
20f0018d
JM
33649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33650 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33651
b3b099af
JM
33652 [BZ #14914]
33653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33654 whole low double instead of just low 47 bits when splitting values
33655 into two parts.
33656
029264d1
AM
336572012-12-03 Allan McRae <allan@archlinux.org>
33658
33659 * manual/stdio.texi (Predefined Printf Handlers): Remove
33660 @hsep and @vsep usage.
33661
c9d6789e
MF
336622012-12-03 Mike Frysinger <vapier@gentoo.org>
33663
33664 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33665 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33666
4b7634a5
JL
336672012-12-03 Jeff Law <law@redhat.com>
33668
33669 * time/sys/time.h (settimeofday): Do not mark TV argument
33670 as __nonnull.
33671
eb6cbd24
MF
336722012-12-01 Mike Frysinger <vapier@gentoo.org>
33673
33674 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33675 when currently writing and seek to current position when not.
33676 * libio/Makefile (tests): Remove bug-fclose1.
33677 * libio/bug-fclose1.c: Delete.
33678
f638872a
JM
336792012-12-01 Joseph Myers <joseph@codesourcery.com>
33680
33681 * manual/arith.texi (feenableexcept): Fix typo.
33682 (fedisableexcept): Likewise.
33683
48085d14
RM
336842012-11-30 Roland McGrath <roland@hack.frob.com>
33685
33686 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33687 second, differently-typed declaration, rather than a cast.
33688
1a538b9f
SP
336892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33690
33691 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33692 * include/rpc/svc.h: ... here.
33693
d07f2ff1 336942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33695
33696 [BZ #13013]
33697 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33698 depending n and resplen2 to catch cases where answer
33699 equals answerp2.
33700
c93ec1f0
CD
337012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33702
33703 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33704 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33705
37db69de
MF
337062012-11-29 Mike Frysinger <vapier@gentoo.org>
33707
33708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33709
e10c4e4f
RM
337102012-11-29 Roland McGrath <roland@hack.frob.com>
33711
33712 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33713
2af1b328
JL
337142012-11-28 Jeff Law <law@redhat.com>
33715
33716 [BZ #13761]
33717 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33718 dataset_temporary. Track alloca usage into alloca_used.
33719 If dataset is large allocate and release it via malloc/free.
33720
111db5b1
FW
337212012-06-04 Florian Weimer <fweimer@redhat.com>
33722
f06cc227 33723 [BZ #14197]
111db5b1
FW
33724 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33725
dd694abd
DM
337262012-11-28 David S. Miller <davem@davemloft.net>
33727
33728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33729
9984dd01
JM
337302012-11-28 Joseph Myers <joseph@codesourcery.com>
33731
33732 [BZ #14803]
33733 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33734 of pi/2 rounded to nearest to 64 bits.
33735 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33736 nearest to 64 bits.
33737 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33738 bits.
33739
14bc93a9
JL
337402012-11-28 Jeff Law <law@redhat.com>
33741 Martin Osvald <mosvald@redhat.com>
33742
33743 [BZ #14889]
33744 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33745 * sunrpc/svc.c: Include time.h.
33746 (__svc_accept_failed): New function.
33747 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33748 any reason other than EINTR, call __svc_accept_failed.
33749 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33750 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33751
e3c6aa3a
AS
337522012-11-28 Andreas Schwab <schwab@suse.de>
33753
33754 * scripts/abilist.awk: Also handle indirect functions in .opd
33755 section.
33756
1bead169
JM
337572012-11-28 Joseph Myers <joseph@codesourcery.com>
33758
33759 [BZ #13881]
33760 * sysdeps/x86/fpu/powl_helper.c: New file.
33761 * sysdeps/x86/fpu/Makefile: Likewise.
33762 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33763 (p3): New object.
33764 (__ieee754_powl): Use __powl_helper for finite arguments except
33765 integer exponents below 8.
33766 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests and enable some
33771 previously disabled tests.
33772 * sysdeps/i386/fpu/libm-test-ulps: Update.
33773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33774
0817d63d
SP
337752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33776 Carlos O'Donell <carlos_odonell@mentor.com>
33777
33778 * nss/makedb.c (is_prime): Assert that input is odd and greater
33779 than 4. Note that fact in a comment too.
33780 (next_prime): Add 4 to input.
33781
de2fd463
SP
337822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33783
33784 [BZ #11741]
33785 * libio/Makefile (tests): Add test case tst-fwrite-error.
33786 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33787 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33788 * libio/tst-fwrite-error.c: New test case.
33789
c515fb51
L
337902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33791
33792 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33793 before casting to void *.
33794 * include/libc-internal.h (__pointer_type): New macro.
33795 (__integer_if_pointer_type_sub): Likewise.
33796 (__integer_if_pointer_type): Likewise.
33797 (cast_to_integer): Likewise.
33798 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33799 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33800 before casting to atomic64_t.
33801 (atomic_exchange_acq): Likewise.
33802 (__arch_exchange_and_add_body): Likewise.
33803 (__arch_add_body): Likewise.
33804 (atomic_add_negative): Likewise.
33805 (atomic_add_zero): Likewise.
33806
4cf77aa9
JM
338072012-11-26 Joseph Myers <joseph@codesourcery.com>
33808
33809 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33810 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33811 (add_fdes): Likewise.
33812 (linear_search_fdes): Likewise.
33813 (binary_search_unencoded_fdes): Likewise.
33814
d260b3b4
AS
338152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33816
33817 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33818
67060746
AC
338192012-11-24 Adam Conrad <adconrad@0c3.net>
33820
33821 * configure.in: Autodetect C++ header directories.
33822 * configure: Regenerated.
33823
800938a1
MF
338242012-11-23 Mike Frysinger <vapier@gentoo.org>
33825
33826 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33827
4e6e34e6
AS
338282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33829
33830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33831
7c7feb47
JM
338322012-11-22 Joseph Myers <joseph@codesourcery.com>
33833
7184dcdf
JM
33834 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33835 LDBL_MANT_DIG == 106]: Disable some tests.
33836 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33837 Likewise.
33838 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33839 Likewise.
33840
0a42601f
JM
33841 [BZ #14871]
33842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33843 input for small inputs. Return +/- pi/2 for large inputs.
33844 * math/libm-test.inc (atan_test): Add more tests.
33845
79c9b9fe
JM
33846 * sysdeps/generic/unwind-dw2-fde-glibc.c
33847 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33848 __attribute__ ((unused)).
33849
c60d3bf2
JM
33850 [BZ #14645]
33851 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33852 x * y if x and y are nonzero and z is zero.
33853
ef1e0867
JM
33854 [BZ #14811]
33855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33856 nonzero exponents with absolute value below 0x1p-117 to +/-
33857 0x1p-117.
33858
1468ded3
JM
33859 [BZ #14869]
33860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33861 up arguments below 2**-450, not just those below 2**-500.
33862 * math/libm-test.inc (hypot_test): Add another test.
33863
8e27e3cc
JM
33864 [BZ #14868]
33865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33866 Return a+b for ratio over 2**120, not 2**60.
33867 * math/libm-test.inc (hypot_test): Add another test.
33868
c9c0279b
JM
33869 * math/libm-test.inc (clog_test): Use
33870 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33871 (clog10_test): Likewise.
33872
7c7feb47
JM
33873 [BZ #6778]
33874 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33875
fff1530e
AS
338762012-11-22 Andreas Schwab <schwab@suse.de>
33877
33878 * sysdeps/i386/fpu/libm-test-ulps: Update.
33879
94558d30
PT
338802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33881
33882 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33883 printf output with newline.
33884
7e1be741
L
338852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33886
6bfea974
L
33887 [BZ #14865]
33888 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33889 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33890 -z nodlopen, -z initfirst and -z execstack support.
33891 * configure: Regenerated.
33892
7e1be741
L
33893 * elf/elf.h (DF_1_NODIRECT): New macro.
33894 (DF_1_IGNMULDEF): Likewise.
33895 (DF_1_NOKSYMS): Likewise.
33896 (DF_1_NOHDR): Likewise.
33897 (DF_1_EDITED): Likewise.
33898 (DF_1_NORELOC): Likewise.
33899 (DF_1_SYMINTPOSE): Likewise.
33900 (DF_1_GLOBAUDIT): Likewise.
33901 (DF_1_SINGLETON): Likewise.
33902 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33903 DT_1_SUPPORTED_MASK bits.
33904 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33905
105ce2ce
CD
339062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33907
33908 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33909
123be9de
TS
339102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33911
d072f3f7
TS
33912 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33913 macro.
33914
123be9de
TS
33915 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33916 (sendmmsg): Move declarations...
33917 * socket/sys/socket.h: ... here.
33918 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33919 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33920 include it from...
33921 * socket/recvmmsg.c: ... this new file.
33922 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33923 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33924 definition of __sendmmsg hidden.
33925 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33926 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33927 Move ENOSYS stub into and include it from...
33928 * socket/sendmmsg.c: ... this new file.
33929 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33930 (sysdep_routines): Move recvmmsg and sendmmsg...
33931 * socket/Makefile (routines): ... here.
33932 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33933 (GLIBC_PRIVATE): Add __sendmmsg.
33934 * include/sys/socket.h (__sendmmsg): Add declarations.
33935 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33936 sendmmsg.
33937
cf9a5d18
JM
339382012-11-20 Joseph Myers <joseph@codesourcery.com>
33939
33940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33941 variable I1 with __attribute__ ((unused)).
33942 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33943
ecd4caf9
JM
339442012-11-19 Joseph Myers <joseph@codesourcery.com>
33945
be14d48f
JM
33946 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33947 DUMMY variables with __attribute__ ((unused)).
33948
ecd4caf9
JM
33949 * bits/byteswap.h: Include <bits/types.h>.
33950 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33951
986cab95
PT
339522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33953
33954 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33955 string_t. Do not manually set errno.
33956 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33957 length with __strnlen. Make sure to both set errno and return it on
33958 failure.
33959
6d33cc9d
DM
339602012-11-19 David S. Miller <davem@davemloft.net>
33961
33962 With help from Joseph Myers.
33963 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33964 very large arguments properly.
33965 * math/libm-test.inc (atan_test): New tests.
33966 (atan2_test): New tests.
33967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33969
ee663277
JM
339702012-11-19 Joseph Myers <joseph@codesourcery.com>
33971
877f2d8e
JM
33972 [BZ #14856]
33973 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33974 Define to 3.
33975
116fc08a
JM
33976 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33977 [POSIX] (EADDRNOTAVAIL): Likewise.
33978 [POSIX] (EAFNOSUPPORT): Likewise.
33979 [POSIX] (EALREADY): Likewise.
33980 [POSIX] (ECONNABORTED): Likewise.
33981 [POSIX] (ECONNREFUSED): Likewise.
33982 [POSIX] (ECONNRESET): Likewise.
33983 [POSIX] (EDESTADDRREQ): Likewise.
33984 [POSIX] (EDQUOT): Likewise.
33985 [POSIX] (EHOSTUNREACH): Likewise.
33986 [POSIX] (EIDRM): Likewise.
33987 [POSIX] (EISCONN): Likewise.
33988 [POSIX] (ELOOP): Likewise.
33989 [POSIX] (EMULTIHOP): Likewise.
33990 [POSIX] (ENETDOWN): Likewise.
33991 [POSIX] (ENETUNREACH): Likewise.
33992 [POSIX] (ENOBUFS): Likewise.
33993 [POSIX] (ENODATA): Likewise.
33994 [POSIX] (ENOLINK): Likewise.
33995 [POSIX] (ENOMSG): Likewise.
33996 [POSIX] (ENOPROTOOPT): Likewise.
33997 [POSIX] (ENOSR): Likewise.
33998 [POSIX] (ENOSTR): Likewise.
33999 [POSIX] (ENOTCONN): Likewise.
34000 [POSIX] (ENOTSOCK): Likewise.
34001 [POSIX] (EOPNOTSUPP): Likewise.
34002 [POSIX] (EOVERFLOW): Likewise.
34003 [POSIX] (EPROTO): Likewise.
34004 [POSIX] (EPROTONOSUPPORT): Likewise.
34005 [POSIX] (EPROTOTYPE): Likewise.
34006 [POSIX] (ESTALE): Likewise.
34007 [POSIX] (ETIME): Likewise.
34008 [POSIX] (ETXTBSY): Likewise.
34009 [POSIX] (EWOULDBLOCK): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34011 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34012 [POSIX] (SEEK_CUR): Likewise.
34013 [POSIX] (SEEK_END): Likewise.
34014 [POSIX || UNIX98] (mode_t): Do not require.
34015 [POSIX] (off_t): Likewise.
34016 [POSIX] (pid_t): Likewise.
34017 [POSIX] (sys/stat.h): Do not allow header.
34018 [POSIX] (unistd.h): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34020 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34022 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34023 require.
34024 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34025 sigevent): Specify elements.
34026 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34027 entry.
34028 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34029 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34030
a483863f
JM
34031 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34032 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34033 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34034 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34035 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34036 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34037 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34038 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34041 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34042 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34043 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34044 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34045 Likewise.
34046 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34047 Likewise.
34048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34049 Likewise.
34050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34051 Likewise.
34052 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34053 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34055 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34056 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34057 Specify lower bound on value.
34058 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34059 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34060 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34061 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34062 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34063 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34064 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34065 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34066 value.
34067 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34068 as optional.
34069 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34070 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34071 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34072 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34073 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34074 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34075 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34076 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34077 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34078 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34079 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34080 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34081 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34082 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34083 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34084 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34085 entry.
34086 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34087 optional.
34088 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34089 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34090 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34091 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34092 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34093 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34094 Likewise.
34095 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34096 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34097 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34098 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34099 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34100 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34101 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34102 as optional.
34103 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34106 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34107 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34108 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34109 specify as optional.
34110 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34111 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34112 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34113 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34114 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34115 [XPG3] (NL_LANGMAX): Likewise.
34116 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34117 [POSIX || XPG3] (NL_NMAX): Likewise.
34118 [POSIX || XPG3] (NL_SETMAX): Likewise.
34119 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34120 [XPG3] (NZERO): Likewise.
34121 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34122 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34123 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34124 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34125 (REG_ERANGE): Expect.
34126 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34127 optional-constant.
34128 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34129 Use (void) in prototype.
34130 [POSIX] (*_t): Allow.
34131 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34132 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34133 (WRDE_BADVAL): Expect.
34134
5ba924e3
JM
34135 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34136 expect.
34137 [XPG3 || XPG4] (O_RSYNC): Likewise.
34138 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34139 Likewise.
34140 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34141 [XPG3 || XPG4] (sigqueue): Likewise.
34142 [XPG3 || XPG4] (sigtimedwait): Likewise.
34143 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34144 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34145 [XPG3 || XPG4] (vsnprintf): Likewise.
34146 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34147 Likewise.
34148 [XPG3 || XPG4] (blksize_t): Likewise.
34149 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34150 Likewise.
34151 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34152 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34153 [XPG3 || XPG4] (struct itimerspec): Likewise.
34154 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34155 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34156 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34157 [XPG3 || XPG4] (clockid_t): Likewise.
34158 [XPG3 || XPG4] (timer_t): Likewise.
34159 [XPG3 || XPG4] (clock_getres): Likewise.
34160 [XPG3 || XPG4] (clock_gettime): Likewise.
34161 [XPG3 || XPG4] (clock_settime): Likewise.
34162 [XPG3 || XPG4] (nanosleep): Likewise.
34163 [XPG3 || XPG4] (timer_create): Likewise.
34164 [XPG3 || XPG4] (timer_delete): Likewise.
34165 [XPG3 || XPG4] (timer_gettime): Likewise.
34166 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34167 [XPG3 || XPG4] (timer_settime): Likewise.
34168 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34169 [XPG3 || XPG4] (getlogin_r): Likewise.
34170 [XPG3 || XPG4] (pread): Likewise.
34171 [XPG3 || XPG4] (pthread_atfork): Likewise.
34172 [XPG3 || XPG4] (pwrite): Likewise.
34173
ee663277
JM
34174 [BZ #14835]
34175 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34176 <bits/siginfo.h>.
34177
942caa16
PT
341782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34179
e19af380
PT
34180 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34181 finalizing MALLSTREAM.
34182
942caa16
PT
34183 * sysdeps/mach/hurd/syncfs.c: New file.
34184
cfde9b46
SP
341852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34186
34187 [BZ #14719]
34188 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34189 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34190 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34191 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34192 (_nss_dns_gethostbyname4_r): Likewise.
34193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34194 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34195
f6da27e5
PH
341962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34197
34198 [BZ #13763]
34199 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34200
6665d4a2
SM
342012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34202
1f51ee92
SM
34203 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34204 * elf/cache.c (print_entry): Print ",AArch64" for
34205 FLAG_AARCH64_LIB64
34206
6665d4a2
SM
34207 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34208 * elf/cache.c (print_entry): Print ",hard-float" for
34209 FLAG_ARM_LIBHF.
34210
05b227bd
DM
342112012-11-18 David S. Miller <davem@davemloft.net>
34212
34213 With help from Joseph Myers.
34214 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34215 cutoff to 2**-13.
34216 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34217 cutoff to 2**-25.
34218 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34219 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34220 small.
34221 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34222 * math/libm-test.inc (y0_test): New tests.
34223 (y1_test): New tests.
34224 * sysdeps/i386/fpu/libm-test-ulps: Update.
34225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34227
786b0b67
AS
342282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34229
34230 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34231 64-bit targets.
34232 * configure: Regenerated.
34233
8e18b86d
DM
342342012-11-17 David S. Miller <davem@davemloft.net>
34235
34236 [BZ #14811]
34237 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34238 nonzero exponents with absolute value below 0x1p-128 to +/-
34239 0x1p-128.
34240
531f1ae0
JM
342412012-11-17 Joseph Myers <joseph@codesourcery.com>
34242
12df29e2
JM
34243 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34244
150dc1a0
JM
34245 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34246
531f1ae0
JM
34247 * posix/getconf-speclist.c: New file.
34248 * posix/posix-envs.def: Likewise.
34249 * posix/confstr.c (START_ENV_GROUP): New macro.
34250 (END_ENV_GROUP): Likewise.
34251 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34252 (KNOWN_PRESENT_ENV_STRING): Likewise.
34253 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34254 (UNKNOWN_ENVIRONMENT): Likewise.
34255 (confstr): Include posix-envs.def instead of handling
34256 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34257 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34258 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34259 (END_ENV_GROUP): Likewise.
34260 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34261 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34262 (UNKNOWN_ENVIRONMENT): Likewise.
34263 (__sysconf): Include posix-envs.def instead of handling associated
34264 cases directly here.
34265 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34266 preprocessing getconf-speclist.c rather than running getconf or
34267 generating empty file.
34268
a93f9cbc
PT
342692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34270
34271 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34272
d64d9f87
AL
342732012-11-16 Andrej Lajovic <natrij@gmail.com>
34274
34275 [BZ #14672]
34276 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34277
447885eb
DM
342782012-11-16 David S. Miller <davem@davemloft.net>
34279
34280 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34281 smaller than LDBL_EPSILON/2.0L, just return xm1.
34282
bcbf9830
L
342832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34284
34285 * elf/tst-array1.c (init): Set constructor priority to 1000.
34286 (fini): Set destructor priority to 1000.
34287 * elf/tst-array2dep.c: Likewise.
34288
2b766585
SP
342892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34290
34291 [BZ #11741]
34292 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34293 (_IO_new_file_xsputn): Also return EOF if none of the input
34294 data was written when overflow failed.
34295 * libio/iopadn.c (_IO_padn): Likewise.
34296 * libio/iowpadn.c (_IO_wpadn): Likewise.
34297 * stdio-common/tst-put-error.c: Add copyright notice.
34298 (do_test): Add case for printing padded string.
34299 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34300 _IO_padn returned error.
34301 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34302 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34303 return EOF.
34304
b1848fde
SP
343052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34306
34307 * libio/libioP.h: Add comment note that the references to C++
34308 bits are now obsolete.
34309
2fd89785
MS
343102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34311
34312 * math/libm-test.inc (check_complex): Use asprintf.
34313
e3ea5409
JM
343142012-11-14 Joseph Myers <joseph@codesourcery.com>
34315
34316 * debug/pcprofiledump.c (print_version): Update copyright year.
34317 * malloc/memusagestat.c (print_version): Likewise.
34318
2e64d265
L
343192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34320
34321 [BZ #14831]
34322 * elf/Makefile (tests): Add tst-audit8.
34323 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34324 ($(objpfx)tst-audit8.out): New target.
34325 (tst-audit8-ENV): New variable.
34326 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34327 audit if l_reloc_result is NULL.
34328 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34329 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34330 * elf/tst-audit8.c: New file.
34331
c485e4d2
MS
343322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34333
34334 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34335 * misc/Makefile (CFLAGS-select.c): Define.
34336 * posix/Makefile (CFLAGS-pause.c): Define.
34337
3a0d900a
DM
343382012-11-13 David S. Miller <davem@davemloft.net>
34339
34340 * crypt/Makefile: Move test targets after toplevel Rules
34341 inclusion. Grab any necessary sysdep routines when linking.
34342 * crypt/md5.c (md5_process_block): Remove define, we will always
34343 name it __md5_process_block.
34344 (md5_finish_ctx): Update md5_process_block call.
34345 (md5_stream): Likewise.
34346 (md5_process_bytes): Likewise.
34347 (md5_process_block): Rename to __md5_process_block and move to ...
34348 * crypt/md5-block.c: ... here.
34349 * crypt/sha256.c (sha256_process_block): Move to ...
34350 * crypt/sha256-block.c: ... here.
34351 * crypt/sha512.c (sha512_process_block): Move to ...
34352 * crypt/sha512-block.c: ... here.
34353 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34354 path.
34355 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34356 * sysdeps/sparc/sparc64/multiarch/Makefile
34357 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34358 crypt subdir.
34359 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34360 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34361 multiarch changes.
34362 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34363 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34364 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34365 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34366 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34367 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34368 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34369 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34370 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34371 file.
34372 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34373 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34374 file.
34375 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34376
8ca89318
JM
343772012-11-13 Joseph Myers <joseph@codesourcery.com>
34378
e27d476a
JM
34379 * timezone/tzselect.ksh: Update from tzcode git revision
34380 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34381 * timezone/zdump.c: Likewise.
34382 * timezone/zic.c: Likewise.
34383 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34384 in TZVERSION setting, not $(PKGVERSION).
34385 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34386 REPORT_BUGS_TO settings.
34387
8ca89318
JM
34388 [BZ #14838]
34389 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34390 macro.
34391
47594329
MS
343922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34393
34394 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34395 detection to immediately after _FP_ROUND().
34396 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34397 bits are 0.
34398
640ac3f1
DM
343992012-11-11 David S. Miller <davem@davemloft.net>
34400
34401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34402 inttypes.h
34403 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34404 __close rather than their public counterparts.
34405
3d2577bb
JM
344062012-11-10 Joseph Myers <joseph@codesourcery.com>
34407
34408 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34409 file.
34410 [UNIX98] (sem_timedwait): Do not expect.
34411 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34412 [XPG4 || UNIX98] (sockatmark): Do not expect.
34413 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34414 (clock_getcpuclockid): Do not expect.
34415 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34416 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34417 Do not expect.
34418 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34419 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34420 [UNIX98] (vwscanf): Likewise.
34421 [UNIX98] (vswscanf): Likewise.
34422
fb1ae1ee
JM
344232012-11-09 Joseph Myers <joseph@codesourcery.com>
34424
9ec6f8bd
JM
34425 * timezone/version.h: Remove file.
34426 * timezone/README: Do not refer to version.h.
34427 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34428 $(objpfx)version.h.
34429 ($(objpfx)zdump.o): Likewise.
c3f81911 34430 ($(objpfx)version.h): New target.
9ec6f8bd 34431
0aa8f8a1
JM
34432 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34433 2012i.
34434 * timezone/README: Don't mention modification to tzselect.ksh.
34435 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34436 work on unmodified tzselect.ksh. Substitute version numbers in
34437 tzselect.ksh.
34438
4e87147f
JM
34439 * Makefile (format-me): Remove.
34440 (INSTALL): Adjust indentation. Use commands directly instead of
34441 using $(format-me).
34442
8b748aed
JM
34443 * aclocal.m4 (ACX_PKGVERSION): New macro.
34444 (ACX_BUGURL): Likewise.
34445 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34446 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34447 (REPORT_BUGS_TO): Likewise.
34448 * configure: Regenerated.
34449 * config.h.in (PKGVERSION): New macro.
34450 (REPORT_BUGS_TO): Likewise.
34451 * config.make.in (PKGVERSION): New variable.
34452 (PKGVERSION_TEXI): Likewise.
34453 (REPORT_BUGS_TO): Likewise.
34454 (REPORT_BUGS_TEXI): Likewise.
34455 * Makefile (format-me): Use -I$(common-objpfx)manual.
34456 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34457 ($(common-objpfx)manual/%): New target.
34458 (manual/%): Remove target.
34459 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34460 (print_version): Use PKGVERSION.
34461 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34462 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34463 and REPORT_BUGS_TO.
34464 ($(objpfx)xtrace): Likewise.
34465 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34466 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34467 (print_version): Use PKGVERSION.
34468 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34469 (do_version): Use PKGVERSION.
34470 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34471 REPORT_BUGS_TO.
34472 (common-ldd-rewrite): Likewise.
34473 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34474 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34475 (print_version): Use PKGVERSION.
34476 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34477 * elf/pldd.c (argp_program_bug_address): Remove variable.
34478 (more_help): New function.
34479 (argp): Use more_help.
34480 (print_version): Use PKGVERSION.
34481 * elf/sln.c (main): Use PKGVERSION.
34482 (usage): Use REPORT_BUGS_TO.
34483 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34484 (top level): Use PKGVERSION.
34485 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34486 (print_version): Use PKGVERSION.
34487 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34488 (print_version): Use PKGVERSION.
34489 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34490 (print_version): Use PKGVERSION.
34491 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34492 (print_version): Use PKGVERSION.
34493 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34494 (print_version): Use PKGVERSION.
34495 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34496 (print_version): Use PKGVERSION.
34497 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34498 and BUGURL.
34499 ($(objpfx)memusage): Likewise.
34500 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34501 (do_version): Use PKGVERSION.
34502 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34503 (print_version): Use PKGVERSION.
34504 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34505 ($PKGVERSION): New variable.
34506 ($REPORT_BUGS_TO): Likewise.
34507 (usage): Use $REPORT_BUGS_TO.
34508 (top level): Use $PKGVERSION.
34509 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34510 ($(objpfx)pkgvers.texi): New rule.
34511 ($(objpfx)stamp-pkgvers): Likewise.
34512 * manual/install.texi: Include pkgvers.texi.
34513 (--with-pkgversion): Document new configure option.
34514 (--with-bugurl): Likewise.
34515 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34516 than necessarily for this particular distribution. Use
34517 REPORT_BUGS_TO for where to report bugs.
34518 * INSTALL: Regenerated.
34519 * manual/libc.texinfo: Include pkgvers.texi.
34520 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34521 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34522 (print_version): Use PKGVERSION.
34523 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34524 (print_version): Use PKGVERSION.
34525 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34526 (print_version): Use PKGVERSION.
34527 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34528 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34529 macro.
34530 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34531 (print_version): Use PKGVERSION.
34532 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34533 (print_version): Use PKGVERSION.
34534 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34535 and PKGVERSION.
34536
92e4b6a9
JM
34537 * timezone/checktab.awk: Update from tzcode 2012i.
34538 * timezone/ialloc.c: Likewise.
34539 * timezone/private.h: Likewise.
34540 * timezone/scheck.c: Likewise.
34541 * timezone/tzfile.h: Likewise.
34542 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34543 (TZVERSION): Hardcode tzcode version number.
34544 * timezone/zdump.c: Update from tzcode 2012i.
34545 * timezone/zic.c: Likewise.
34546 * timezone/version.h: New file.
34547 * timezone/README: Describe version.h. Update upstream location.
34548
9bde902c
JM
34549 [BZ #14824]
34550 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34551 (mktemp): Enable declaration.
34552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34556 Likewise.
34557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34558 Likewise.
34559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34560 Likewise.
34561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34562 Likewise.
34563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34564 Likewise.
34565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34566 Likewise.
34567
fb1ae1ee
JM
34568 [BZ #14821]
34569 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34570 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34571 for copies of such integer values.
34572 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34573 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34574
2c1adbcb
AJ
345752012-11-09 Andreas Jaeger <aj@suse.de>
34576
34577 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34578 definitions and declarations that are provided by
34579 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34580
d0f8457e
AK
345812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34582
3a235abb 34583 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34584 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34585 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34586 definition.
34587
57241e26
MS
345882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34589
34590 * elf/elf.h: Update comment before AArch64 relocations.
34591
60e8270d
DM
345922012-11-07 David S. Miller <davem@davemloft.net>
34593
34594 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34595 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34596 (__start_context): Declare.
34597 (__makecontext_ret): Delete.
34598 (__makecontext): Hook up __start_context instead of
34599 __makecontext_ret.
34600 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34601 (sysdep_routines): Add __start_context when in stdlib.
34602
0fbb0fbc
JM
346032012-11-07 Joseph Myers <joseph@codesourcery.com>
34604
34605 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34606 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34607 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34608 hardcoded "nm".
34609 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34610 (READELF): New variable. Use it instead of hardcoded "readelf".
34611
eb48db7e
L
346122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34613
34614 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34615 * sysdeps/x86/Makefile: Here.
34616 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34617 * sysdeps/x86/tst-xmmymm.sh: This.
34618
05bcf62a
JM
346192012-11-07 Joseph Myers <joseph@codesourcery.com>
34620
c4b6cf53
JM
34621 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34622 expectations.
34623 [UNIX98] (pthread_barrier_t): Do not expect.
34624 [UNIX98] (pthread_barrierattr_t): Likewise.
34625 [UNIX98] (pthread_spinlock_t): Likewise.
34626 [UNIX98] (pthread_barrier_destroy): Likewise.
34627 [UNIX98] (pthread_barrier_init): Likewise.
34628 [UNIX98] (pthread_barrier_wait): Likewise.
34629 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34630 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34631 [UNIX98] (pthread_barrierattr_init): Likewise.
34632 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34633 [UNIX98] (pthread_getcpuclockid): Likewise.
34634 [UNIX98] (pthread_mutex_timedlock): Likewise.
34635 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34636 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34637 [UNIX98] (pthread_sigmask): Likewise.
34638 [UNIX98] (pthread_spin_destroy): Likewise.
34639 [UNIX98] (pthread_spin_init): Likewise.
34640 [UNIX98] (pthread_spin_lock): Likewise.
34641 [UNIX98] (pthread_spin_trylock): Likewise.
34642 [UNIX98] (pthread_spin_unlock): Likewise.
34643 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34644 Do not expect.
34645 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34646 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34647 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34648 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34649 [XPG3 || XPG4] (pthread_key_t): Likewise.
34650 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34651 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34652 [XPG3 || XPG4] (pthread_once_t): Likewise.
34653 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34654 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34655 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34656 [XPG3 || XPG4] (pthread_t): Likewise.
34657
cbe6e120
JM
34658 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34659 not expect.
34660 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34661
1b126443
JM
34662 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34663 Change function return type to int.
34664
b961a573
JM
34665 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34666 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34667 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34668 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34669 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34670 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34671 [!POSIX] (posix_madvise): Likewise.
34672 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34673 && !UNIX98].
34674 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34675 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34676 (mode_t): Likewise.
34677 (posix_mem_offset): Likewise.
34678 (posix_typed_mem_get_info): Likewise.
34679 (posix_typed_mem_open): Likewise.
34680
9e188909
JM
34681 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34682 Change condition to [XOPEN2K8].
34683
05bcf62a
JM
34684 * conform/conformtest.pl: Preprocess allow-header data with -x c
34685 instead of from stdin.
34686 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34687 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34688 [C99-based standards] (cerfc): Likewise.
34689 [C99-based standards] (cexp2): Likewise.
34690 [C99-based standards] (cexpm1): Likewise.
34691 [C99-based standards] (clog10): Likewise.
34692 [C99-based standards] (clog1p): Likewise.
34693 [C99-based standards] (clog2): Likewise.
34694 [C99-based standards] (clgamma): Likewise.
34695 [C99-based standards] (ctgamma): Likewise.
34696 [C99-based standards] (cerff): Likewise.
34697 [C99-based standards] (cerfcf): Likewise.
34698 [C99-based standards] (cexp2f): Likewise.
34699 [C99-based standards] (cexpm1f): Likewise.
34700 [C99-based standards] (clog10f): Likewise.
34701 [C99-based standards] (clog1pf): Likewise.
34702 [C99-based standards] (clog2f): Likewise.
34703 [C99-based standards] (clgammaf): Likewise.
34704 [C99-based standards] (ctgammaf): Likewise.
34705 [C99-based standards] (cerfl): Likewise.
34706 [C99-based standards] (cerfcl): Likewise.
34707 [C99-based standards] (cexp2l): Likewise.
34708 [C99-based standards] (cexpm1l): Likewise.
34709 [C99-based standards] (clog10l): Likewise.
34710 [C99-based standards] (clog1pl): Likewise.
34711 [C99-based standards] (clog2l): Likewise.
34712 [C99-based standards] (clgammal): Likewise.
34713 [C99-based standards] (ctgammal): Likewise.
34714 * conform/data/inttypes.h-data [C99-based standards]: Include
34715 stdint.h-data. Remove all expectations for stdint.h contents.
34716 [C99-based standards] (PRI*): Do not allow.
34717 [C99-based standards] (SCN*): Likewise.
34718 [C99-based standards] (*_t): Likewise.
34719 [C99-based-standards] (PRId8): Expect macro.
34720 [C99-based-standards] (PRIi8): Likewise.
34721 [C99-based-standards] (PRIo8): Likewise.
34722 [C99-based-standards] (PRIu8): Likewise.
34723 [C99-based-standards] (PRIx8): Likewise.
34724 [C99-based-standards] (PRIX8): Likewise.
34725 [C99-based-standards] (SCNd8): Likewise.
34726 [C99-based-standards] (SCNi8): Likewise.
34727 [C99-based-standards] (SCNo8): Likewise.
34728 [C99-based-standards] (SCNu8): Likewise.
34729 [C99-based-standards] (SCNx8): Likewise.
34730 [C99-based-standards] (PRIdLEAST8): Likewise.
34731 [C99-based-standards] (PRIiLEAST8): Likewise.
34732 [C99-based-standards] (PRIoLEAST8): Likewise.
34733 [C99-based-standards] (PRIuLEAST8): Likewise.
34734 [C99-based-standards] (PRIxLEAST8): Likewise.
34735 [C99-based-standards] (PRIXLEAST8): Likewise.
34736 [C99-based-standards] (SCNdLEAST8): Likewise.
34737 [C99-based-standards] (SCNiLEAST8): Likewise.
34738 [C99-based-standards] (SCNoLEAST8): Likewise.
34739 [C99-based-standards] (SCNuLEAST8): Likewise.
34740 [C99-based-standards] (SCNxLEAST8): Likewise.
34741 [C99-based-standards] (PRIdFAST8): Likewise.
34742 [C99-based-standards] (PRIiFAST8): Likewise.
34743 [C99-based-standards] (PRIoFAST8): Likewise.
34744 [C99-based-standards] (PRIuFAST8): Likewise.
34745 [C99-based-standards] (PRIxFAST8): Likewise.
34746 [C99-based-standards] (PRIXFAST8): Likewise.
34747 [C99-based-standards] (SCNdFAST8): Likewise.
34748 [C99-based-standards] (SCNiFAST8): Likewise.
34749 [C99-based-standards] (SCNoFAST8): Likewise.
34750 [C99-based-standards] (SCNuFAST8): Likewise.
34751 [C99-based-standards] (SCNxFAST8): Likewise.
34752 [C99-based-standards] (PRId16): Likewise.
34753 [C99-based-standards] (PRIi16): Likewise.
34754 [C99-based-standards] (PRIo16): Likewise.
34755 [C99-based-standards] (PRIu16): Likewise.
34756 [C99-based-standards] (PRIx16): Likewise.
34757 [C99-based-standards] (PRIX16): Likewise.
34758 [C99-based-standards] (SCNd16): Likewise.
34759 [C99-based-standards] (SCNi16): Likewise.
34760 [C99-based-standards] (SCNo16): Likewise.
34761 [C99-based-standards] (SCNu16): Likewise.
34762 [C99-based-standards] (SCNx16): Likewise.
34763 [C99-based-standards] (PRIdLEAST16): Likewise.
34764 [C99-based-standards] (PRIiLEAST16): Likewise.
34765 [C99-based-standards] (PRIoLEAST16): Likewise.
34766 [C99-based-standards] (PRIuLEAST16): Likewise.
34767 [C99-based-standards] (PRIxLEAST16): Likewise.
34768 [C99-based-standards] (PRIXLEAST16): Likewise.
34769 [C99-based-standards] (SCNdLEAST16): Likewise.
34770 [C99-based-standards] (SCNiLEAST16): Likewise.
34771 [C99-based-standards] (SCNoLEAST16): Likewise.
34772 [C99-based-standards] (SCNuLEAST16): Likewise.
34773 [C99-based-standards] (SCNxLEAST16): Likewise.
34774 [C99-based-standards] (PRIdFAST16): Likewise.
34775 [C99-based-standards] (PRIiFAST16): Likewise.
34776 [C99-based-standards] (PRIoFAST16): Likewise.
34777 [C99-based-standards] (PRIuFAST16): Likewise.
34778 [C99-based-standards] (PRIxFAST16): Likewise.
34779 [C99-based-standards] (PRIXFAST16): Likewise.
34780 [C99-based-standards] (SCNdFAST16): Likewise.
34781 [C99-based-standards] (SCNiFAST16): Likewise.
34782 [C99-based-standards] (SCNoFAST16): Likewise.
34783 [C99-based-standards] (SCNuFAST16): Likewise.
34784 [C99-based-standards] (SCNxFAST16): Likewise.
34785 [C99-based-standards] (PRId32): Likewise.
34786 [C99-based-standards] (PRIi32): Likewise.
34787 [C99-based-standards] (PRIo32): Likewise.
34788 [C99-based-standards] (PRIu32): Likewise.
34789 [C99-based-standards] (PRIx32): Likewise.
34790 [C99-based-standards] (PRIX32): Likewise.
34791 [C99-based-standards] (SCNd32): Likewise.
34792 [C99-based-standards] (SCNi32): Likewise.
34793 [C99-based-standards] (SCNo32): Likewise.
34794 [C99-based-standards] (SCNu32): Likewise.
34795 [C99-based-standards] (SCNx32): Likewise.
34796 [C99-based-standards] (PRIdLEAST32): Likewise.
34797 [C99-based-standards] (PRIiLEAST32): Likewise.
34798 [C99-based-standards] (PRIoLEAST32): Likewise.
34799 [C99-based-standards] (PRIuLEAST32): Likewise.
34800 [C99-based-standards] (PRIxLEAST32): Likewise.
34801 [C99-based-standards] (PRIXLEAST32): Likewise.
34802 [C99-based-standards] (SCNdLEAST32): Likewise.
34803 [C99-based-standards] (SCNiLEAST32): Likewise.
34804 [C99-based-standards] (SCNoLEAST32): Likewise.
34805 [C99-based-standards] (SCNuLEAST32): Likewise.
34806 [C99-based-standards] (SCNxLEAST32): Likewise.
34807 [C99-based-standards] (PRIdFAST32): Likewise.
34808 [C99-based-standards] (PRIiFAST32): Likewise.
34809 [C99-based-standards] (PRIoFAST32): Likewise.
34810 [C99-based-standards] (PRIuFAST32): Likewise.
34811 [C99-based-standards] (PRIxFAST32): Likewise.
34812 [C99-based-standards] (PRIXFAST32): Likewise.
34813 [C99-based-standards] (SCNdFAST32): Likewise.
34814 [C99-based-standards] (SCNiFAST32): Likewise.
34815 [C99-based-standards] (SCNoFAST32): Likewise.
34816 [C99-based-standards] (SCNuFAST32): Likewise.
34817 [C99-based-standards] (SCNxFAST32): Likewise.
34818 [C99-based-standards] (PRId64): Likewise.
34819 [C99-based-standards] (PRIi64): Likewise.
34820 [C99-based-standards] (PRIo64): Likewise.
34821 [C99-based-standards] (PRIu64): Likewise.
34822 [C99-based-standards] (PRIx64): Likewise.
34823 [C99-based-standards] (PRIX64): Likewise.
34824 [C99-based-standards] (SCNd64): Likewise.
34825 [C99-based-standards] (SCNi64): Likewise.
34826 [C99-based-standards] (SCNo64): Likewise.
34827 [C99-based-standards] (SCNu64): Likewise.
34828 [C99-based-standards] (SCNx64): Likewise.
34829 [C99-based-standards] (PRIdLEAST64): Likewise.
34830 [C99-based-standards] (PRIiLEAST64): Likewise.
34831 [C99-based-standards] (PRIoLEAST64): Likewise.
34832 [C99-based-standards] (PRIuLEAST64): Likewise.
34833 [C99-based-standards] (PRIxLEAST64): Likewise.
34834 [C99-based-standards] (PRIXLEAST64): Likewise.
34835 [C99-based-standards] (SCNdLEAST64): Likewise.
34836 [C99-based-standards] (SCNiLEAST64): Likewise.
34837 [C99-based-standards] (SCNoLEAST64): Likewise.
34838 [C99-based-standards] (SCNuLEAST64): Likewise.
34839 [C99-based-standards] (SCNxLEAST64): Likewise.
34840 [C99-based-standards] (PRIdFAST64): Likewise.
34841 [C99-based-standards] (PRIiFAST64): Likewise.
34842 [C99-based-standards] (PRIoFAST64): Likewise.
34843 [C99-based-standards] (PRIuFAST64): Likewise.
34844 [C99-based-standards] (PRIxFAST64): Likewise.
34845 [C99-based-standards] (PRIXFAST64): Likewise.
34846 [C99-based-standards] (SCNdFAST64): Likewise.
34847 [C99-based-standards] (SCNiFAST64): Likewise.
34848 [C99-based-standards] (SCNoFAST64): Likewise.
34849 [C99-based-standards] (SCNuFAST64): Likewise.
34850 [C99-based-standards] (SCNxFAST64): Likewise.
34851 [C99-based-standards] (PRIdMAX): Likewise.
34852 [C99-based-standards] (PRIiMAX): Likewise.
34853 [C99-based-standards] (PRIoMAX): Likewise.
34854 [C99-based-standards] (PRIuMAX): Likewise.
34855 [C99-based-standards] (PRIxMAX): Likewise.
34856 [C99-based-standards] (PRIXMAX): Likewise.
34857 [C99-based-standards] (SCNdMAX): Likewise.
34858 [C99-based-standards] (SCNiMAX): Likewise.
34859 [C99-based-standards] (SCNoMAX): Likewise.
34860 [C99-based-standards] (SCNuMAX): Likewise.
34861 [C99-based-standards] (SCNxMAX): Likewise.
34862 [C99-based-standards] (PRIdPTR): Likewise.
34863 [C99-based-standards] (PRIiPTR): Likewise.
34864 [C99-based-standards] (PRIoPTR): Likewise.
34865 [C99-based-standards] (PRIuPTR): Likewise.
34866 [C99-based-standards] (PRIxPTR): Likewise.
34867 [C99-based-standards] (PRIXPTR): Likewise.
34868 [C99-based-standards] (SCNdPTR): Likewise.
34869 [C99-based-standards] (SCNiPTR): Likewise.
34870 [C99-based-standards] (SCNoPTR): Likewise.
34871 [C99-based-standards] (SCNuPTR): Likewise.
34872 [C99-based-standards] (SCNxPTR): Likewise.
34873 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34874 allow.
34875 * conform/data/stdint.h-data: Update comments to clarify
34876 requirements.
34877 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34878 type.
34879 [C99-based standards] (INT8_MAX): Likewise.
34880 [C99-based standards] (INT16_MIN): Likewise.
34881 [C99-based standards] (INT16_MAX): Likewise.
34882 [C99-based standards] (INT32_MIN): Likewise.
34883 [C99-based standards] (INT32_MAX): Likewise.
34884 [C99-based standards] (INT64_MIN): Likewise.
34885 [C99-based standards] (INT64_MAX): Likewise.
34886 [C99-based standards] (UINT8_MAX): Likewise.
34887 [C99-based standards] (UINT16_MAX): Likewise.
34888 [C99-based standards] (UINT32_MAX): Likewise.
34889 [C99-based standards] (UINT64_MAX): Likewise.
34890 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34891 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34892 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34893 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34894 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34895 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34896 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34897 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34898 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34899 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34900 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34901 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34902 [C99-based standards] (INT_FAST8_MIN): Likewise.
34903 [C99-based standards] (INT_FAST8_MAX): Likewise.
34904 [C99-based standards] (INT_FAST16_MIN): Likewise.
34905 [C99-based standards] (INT_FAST16_MAX): Likewise.
34906 [C99-based standards] (INT_FAST32_MIN): Likewise.
34907 [C99-based standards] (INT_FAST32_MAX): Likewise.
34908 [C99-based standards] (INT_FAST64_MIN): Likewise.
34909 [C99-based standards] (INT_FAST64_MAX): Likewise.
34910 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34911 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34912 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34913 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34914 [C99-based standards] (INTPTR_MIN): Likewise.
34915 [C99-based standards] (INTPTR_MAX): Likewise.
34916 [C99-based standards] (UINTPTR_MAX): Likewise.
34917 [C99-based standards] (INTMAX_MIN): Likewise.
34918 [C99-based standards] (INTMAX_MAX): Likewise.
34919 [C99-based standards] (UINTMAX_MAX): Likewise.
34920 [C99-based standards] (PTRDIFF_MIN): Likewise.
34921 [C99-based standards] (PTRDIFF_MAX): Likewise.
34922 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34923 [C99-based standards] (SIZE_MAX): Likewise.
34924 [C99-based standards] (WCHAR_MAX): Likewise.
34925 [C99-based standards] (WINT_MAX): Likewise.
34926 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34927 constraint on value.
34928 [C99-based standards] (WCHAR_MIN): Likewise.
34929 [C99-based standards] (WINT_MIN): Likewise.
34930 [C99-based standards] (*_t): Allow.
34931 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34932 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34933 Include math.h-data and complex.h-data. Remove all expectations
34934 of math.h and complex.h contents.
34935 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34936 at end of line.
34937 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34938 (struct tm): Expect tag.
34939 [C99-based-standards] (wcstof): Expect function.
34940 [C99-based-standards] (wcstold): Likewise.
34941 [C99-based-standards] (wcstoll): Likewise.
34942 [C99-based-standards] (wcstoull): Likewise.
34943 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34944 macro-int-constant. Specify type.
34945 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34946 constraint on value.
34947 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34948 Specify type.
34949 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34950 Specify value.
34951 [ISO C standards]: Do not allow headers.
34952 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34953 wcs[abcdefghijklmnopqrstuvwxyz]*.
34954 [ISO C standards] (*_t): Do not allow.
34955 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34956 Expect function.
34957 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34958 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34959 Specify type.
34960 [ISO C standards]: Do not allow headers.
34961 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34962 is[abcdefghijklmnopqrstuvwxyz]*.
34963 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34964 to[abcdefghijklmnopqrstuvwxyz]*.
34965 [ISO C standards] (*_t): Do not allow.
34966 * conform/data/stdalign.h-data: New file.
34967 * conform/data/stdbool.h-data: Likewise.
34968 * conform/data/stdnoreturn.h-data: Likewise.
34969
7514feb8
RM
349702012-11-07 Roland McGrath <roland@hack.frob.com>
34971
34972 [BZ #14815]
34973 * manual/filesys.texi (Directory Entries): Typo fix.
34974 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34975
19b2ecfc
MS
349762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34977
34978 * elf/elf.h (EM_AARCH64): New macro.
34979 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34980 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34981 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34982 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34983 (R_AARCH64_TLSDESC): Likewise.
34984 (NT_ARM_TLS): Likewise.
34985 (NT_ARM_HW_BREAK): Likewise.
34986 (NT_ARM_HW_WATCH): Likewise.
34987
60e235ee
JM
349882012-11-07 Joseph Myers <joseph@codesourcery.com>
34989
34990 [BZ #14811]
34991 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34992 (__ieee754_powl): Saturate nonzero exponents with absolute value
34993 below 0x1p-79 to +/- 0x1p-79.
34994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34995 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34996 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34997 nonzero exponents with absolute value below 0x1p-32 to +/-
34998 0x1p-32.
34999 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35000 (__ieee754_powl): Saturate nonzero exponents with absolute value
35001 below 0x1p-79 to +/- 0x1p-79.
35002 * math/libm-test.inc (pow_test): Add more tests.
35003
0ab234b7
AK
350042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35005
35006 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35007 _dl_s390_cap_flags with kernel. Increase string length.
35008 (_dl_s390_platforms): Add z196 and zEC12.
35009
45832f74
JM
350102012-11-07 Joseph Myers <joseph@codesourcery.com>
35011
35012 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35013 Change XOPEN21K to XOPEN2K.
35014
19218757
MK
350152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35016
35017 * string/memmove.c: Use memcpy when possible.
35018
c5f45721
AJ
350192012-11-06 Andreas Jaeger <aj@suse.de>
35020
35021 * po/eo.po: Update from translation team.
35022
82477c28
JM
350232012-11-06 Joseph Myers <joseph@codesourcery.com>
35024
35025 [BZ #14793]
35026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35027 exponent and small x and y exponents, scale x or y up. Increase
35028 by 2 the exponent used in scaling up.
35029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35031 * math/libm-test.inc (fma_test): Add more tests.
35032 (fma_test_towardzero): Likewise.
35033 (fma_test_downward): Likewise.
35034 (fma_test_upward): Likewise.
35035
99252c8c
JM
350362012-11-05 Joseph Myers <joseph@codesourcery.com>
35037
acfa885f
JM
35038 [BZ #14805]
35039 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35040 fenv_t *.
35041
99252c8c
JM
35042 [BZ #14801]
35043 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35044 namespace for names of struct fields.
35045 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35046 fenv_t fields.
35047 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35048 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35049
d6d98dea
ST
350502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35051
35052 [BZ #3665]
35053 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35054
e10bb107
TS
350552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35056
35057 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35058 PTR_DEMANGLE.
35059
35060 [BZ #5246]
35061 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35062 PTR_DEMANGLE.
35063
a0c2940d
JM
350642012-11-04 Joseph Myers <joseph@codesourcery.com>
35065
35066 [BZ #14797]
35067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35068 definitely overflow as x * y not x * y + z.
35069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35071 * math/libm-test.inc (fma_test): Add more tests.
35072 (fma_test_towardzero): Likewise.
35073 (fma_test_downward): Likewise.
35074 (fma_test_upward): Likewise.
35075
b830319d
TS
350762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35077
35078 [BZ #157]
35079
35080 * include/stub-tag.h: Remove file.
35081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35082 '#include' of it.
35083 * manual/maint.texi (Porting): Don't reference it.
35084 * Makerules ($(objpfx)stubs): Likewise.
35085 * dirent/closedir.c: Don't include <stub-tag.h>.
35086 * dirent/dirfd.c: Likewise.
35087 * dirent/fdopendir.c: Likewise.
35088 * dirent/getdents.c: Likewise.
35089 * dirent/getdents64.c: Likewise.
35090 * dirent/opendir.c: Likewise.
35091 * dirent/readdir.c: Likewise.
35092 * dirent/readdir64.c: Likewise.
35093 * dirent/readdir64_r.c: Likewise.
35094 * dirent/readdir_r.c: Likewise.
35095 * dirent/rewinddir.c: Likewise.
35096 * dirent/seekdir.c: Likewise.
35097 * dirent/telldir.c: Likewise.
35098 * gmon/profil.c: Likewise.
35099 * grp/setgroups.c: Likewise.
35100 * inet/if_index.c: Likewise.
35101 * io/access.c: Likewise.
35102 * io/chdir.c: Likewise.
35103 * io/chmod.c: Likewise.
35104 * io/chown.c: Likewise.
35105 * io/close.c: Likewise.
35106 * io/dup.c: Likewise.
35107 * io/dup2.c: Likewise.
35108 * io/dup3.c: Likewise.
35109 * io/euidaccess.c: Likewise.
35110 * io/faccessat.c: Likewise.
35111 * io/fchdir.c: Likewise.
35112 * io/fchmod.c: Likewise.
35113 * io/fchmodat.c: Likewise.
35114 * io/fchown.c: Likewise.
35115 * io/fchownat.c: Likewise.
35116 * io/fcntl.c: Likewise.
35117 * io/flock.c: Likewise.
35118 * io/fstatfs.c: Likewise.
35119 * io/fstatfs64.c: Likewise.
35120 * io/fstatvfs.c: Likewise.
35121 * io/fstatvfs64.c: Likewise.
35122 * io/futimens.c: Likewise.
35123 * io/fxstat.c: Likewise.
35124 * io/fxstat64.c: Likewise.
35125 * io/fxstatat.c: Likewise.
35126 * io/fxstatat64.c: Likewise.
35127 * io/getcwd.c: Likewise.
35128 * io/isatty.c: Likewise.
35129 * io/lchmod.c: Likewise.
35130 * io/lchown.c: Likewise.
35131 * io/link.c: Likewise.
35132 * io/linkat.c: Likewise.
35133 * io/lseek.c: Likewise.
35134 * io/lseek64.c: Likewise.
35135 * io/lxstat64.c: Likewise.
35136 * io/mkdir.c: Likewise.
35137 * io/mkdirat.c: Likewise.
35138 * io/mkfifo.c: Likewise.
35139 * io/mkfifoat.c: Likewise.
35140 * io/open.c: Likewise.
35141 * io/open64.c: Likewise.
35142 * io/openat.c: Likewise.
35143 * io/openat64.c: Likewise.
35144 * io/pipe.c: Likewise.
35145 * io/pipe2.c: Likewise.
35146 * io/poll.c: Likewise.
35147 * io/posix_fadvise.c: Likewise.
35148 * io/posix_fadvise64.c: Likewise.
35149 * io/posix_fallocate.c: Likewise.
35150 * io/posix_fallocate64.c: Likewise.
35151 * io/read.c: Likewise.
35152 * io/readlink.c: Likewise.
35153 * io/readlinkat.c: Likewise.
35154 * io/rmdir.c: Likewise.
35155 * io/sendfile.c: Likewise.
35156 * io/sendfile64.c: Likewise.
35157 * io/statfs.c: Likewise.
35158 * io/statfs64.c: Likewise.
35159 * io/statvfs.c: Likewise.
35160 * io/statvfs64.c: Likewise.
35161 * io/symlink.c: Likewise.
35162 * io/symlinkat.c: Likewise.
35163 * io/ttyname.c: Likewise.
35164 * io/ttyname_r.c: Likewise.
35165 * io/umask.c: Likewise.
35166 * io/unlink.c: Likewise.
35167 * io/unlinkat.c: Likewise.
35168 * io/utime.c: Likewise.
35169 * io/utimensat.c: Likewise.
35170 * io/write.c: Likewise.
35171 * io/xmknod.c: Likewise.
35172 * io/xmknodat.c: Likewise.
35173 * io/xstat.c: Likewise.
35174 * io/xstat64.c: Likewise.
35175 * login/getpt.c: Likewise.
35176 * login/grantpt.c: Likewise.
35177 * login/unlockpt.c: Likewise.
35178 * math/e_acoshl.c: Likewise.
35179 * math/e_acosl.c: Likewise.
35180 * math/e_asinl.c: Likewise.
35181 * math/e_atan2l.c: Likewise.
35182 * math/e_atanhl.c: Likewise.
35183 * math/e_coshl.c: Likewise.
35184 * math/e_expl.c: Likewise.
35185 * math/e_fmodl.c: Likewise.
35186 * math/e_gammal_r.c: Likewise.
35187 * math/e_hypotl.c: Likewise.
35188 * math/e_j0l.c: Likewise.
35189 * math/e_j1l.c: Likewise.
35190 * math/e_jnl.c: Likewise.
35191 * math/e_lgammal_r.c: Likewise.
35192 * math/e_log10l.c: Likewise.
35193 * math/e_log2l.c: Likewise.
35194 * math/e_logl.c: Likewise.
35195 * math/e_powl.c: Likewise.
35196 * math/e_rem_pio2l.c: Likewise.
35197 * math/e_sinhl.c: Likewise.
35198 * math/e_sqrtl.c: Likewise.
35199 * math/fclrexcpt.c: Likewise.
35200 * math/fedisblxcpt.c: Likewise.
35201 * math/feenablxcpt.c: Likewise.
35202 * math/fegetenv.c: Likewise.
35203 * math/fegetexcept.c: Likewise.
35204 * math/fegetround.c: Likewise.
35205 * math/feholdexcpt.c: Likewise.
35206 * math/fesetenv.c: Likewise.
35207 * math/fesetround.c: Likewise.
35208 * math/feupdateenv.c: Likewise.
35209 * math/fgetexcptflg.c: Likewise.
35210 * math/fraiseexcpt.c: Likewise.
35211 * math/fsetexcptflg.c: Likewise.
35212 * math/ftestexcept.c: Likewise.
35213 * math/k_cosl.c: Likewise.
35214 * math/k_rem_pio2l.c: Likewise.
35215 * math/k_sinl.c: Likewise.
35216 * math/k_tanl.c: Likewise.
35217 * math/s_asinhl.c: Likewise.
35218 * math/s_atanl.c: Likewise.
35219 * math/s_cbrtl.c: Likewise.
35220 * math/s_erfl.c: Likewise.
35221 * math/s_expm1l.c: Likewise.
35222 * math/s_log1pl.c: Likewise.
35223 * math/s_tanhl.c: Likewise.
35224 * misc/acct.c: Likewise.
35225 * misc/brk.c: Likewise.
35226 * misc/chflags.c: Likewise.
35227 * misc/chroot.c: Likewise.
35228 * misc/fchflags.c: Likewise.
35229 * misc/fgetxattr.c: Likewise.
35230 * misc/flistxattr.c: Likewise.
35231 * misc/fremovexattr.c: Likewise.
35232 * misc/fsetxattr.c: Likewise.
35233 * misc/fsync.c: Likewise.
35234 * misc/ftruncate.c: Likewise.
35235 * misc/futimes.c: Likewise.
35236 * misc/futimesat.c: Likewise.
35237 * misc/getdomain.c: Likewise.
35238 * misc/getdtsz.c: Likewise.
35239 * misc/gethostid.c: Likewise.
35240 * misc/gethostname.c: Likewise.
35241 * misc/getloadavg.c: Likewise.
35242 * misc/getpagesize.c: Likewise.
35243 * misc/getsysstats.c: Likewise.
35244 * misc/getxattr.c: Likewise.
35245 * misc/gtty.c: Likewise.
35246 * misc/ioctl.c: Likewise.
35247 * misc/lgetxattr.c: Likewise.
35248 * misc/listxattr.c: Likewise.
35249 * misc/llistxattr.c: Likewise.
35250 * misc/lremovexattr.c: Likewise.
35251 * misc/lsetxattr.c: Likewise.
35252 * misc/lutimes.c: Likewise.
35253 * misc/madvise.c: Likewise.
35254 * misc/mincore.c: Likewise.
35255 * misc/mlock.c: Likewise.
35256 * misc/mlockall.c: Likewise.
35257 * misc/mmap.c: Likewise.
35258 * misc/mprotect.c: Likewise.
35259 * misc/msync.c: Likewise.
35260 * misc/munlock.c: Likewise.
35261 * misc/munlockall.c: Likewise.
35262 * misc/munmap.c: Likewise.
35263 * misc/preadv.c: Likewise.
35264 * misc/preadv64.c: Likewise.
35265 * misc/ptrace.c: Likewise.
35266 * misc/pwritev.c: Likewise.
35267 * misc/pwritev64.c: Likewise.
35268 * misc/readv.c: Likewise.
35269 * misc/reboot.c: Likewise.
35270 * misc/remap_file_pages.c: Likewise.
35271 * misc/removexattr.c: Likewise.
35272 * misc/revoke.c: Likewise.
35273 * misc/select.c: Likewise.
35274 * misc/setdomain.c: Likewise.
35275 * misc/setegid.c: Likewise.
35276 * misc/seteuid.c: Likewise.
35277 * misc/sethostid.c: Likewise.
35278 * misc/sethostname.c: Likewise.
35279 * misc/setregid.c: Likewise.
35280 * misc/setreuid.c: Likewise.
35281 * misc/setxattr.c: Likewise.
35282 * misc/sstk.c: Likewise.
35283 * misc/stty.c: Likewise.
35284 * misc/swapoff.c: Likewise.
35285 * misc/swapon.c: Likewise.
35286 * misc/sync.c: Likewise.
35287 * misc/syncfs.c: Likewise.
35288 * misc/syscall.c: Likewise.
35289 * misc/truncate.c: Likewise.
35290 * misc/ualarm.c: Likewise.
35291 * misc/usleep.c: Likewise.
35292 * misc/ustat.c: Likewise.
35293 * misc/utimes.c: Likewise.
35294 * misc/vhangup.c: Likewise.
35295 * misc/writev.c: Likewise.
35296 * posix/_exit.c: Likewise.
35297 * posix/alarm.c: Likewise.
35298 * posix/execve.c: Likewise.
35299 * posix/fexecve.c: Likewise.
35300 * posix/fork.c: Likewise.
35301 * posix/fpathconf.c: Likewise.
35302 * posix/getaddrinfo.c: Likewise.
35303 * posix/getegid.c: Likewise.
35304 * posix/geteuid.c: Likewise.
35305 * posix/getgid.c: Likewise.
35306 * posix/getgroups.c: Likewise.
35307 * posix/getlogin.c: Likewise.
35308 * posix/getlogin_r.c: Likewise.
35309 * posix/getpgid.c: Likewise.
35310 * posix/getpid.c: Likewise.
35311 * posix/getppid.c: Likewise.
35312 * posix/getresgid.c: Likewise.
35313 * posix/getresuid.c: Likewise.
35314 * posix/getsid.c: Likewise.
35315 * posix/getuid.c: Likewise.
35316 * posix/glob64.c: Likewise.
35317 * posix/nanosleep.c: Likewise.
35318 * posix/pathconf.c: Likewise.
35319 * posix/pause.c: Likewise.
35320 * posix/posix_madvise.c: Likewise.
35321 * posix/pread.c: Likewise.
35322 * posix/pread64.c: Likewise.
35323 * posix/pwrite.c: Likewise.
35324 * posix/pwrite64.c: Likewise.
35325 * posix/sched_getaffinity.c: Likewise.
35326 * posix/sched_getp.c: Likewise.
35327 * posix/sched_gets.c: Likewise.
35328 * posix/sched_primax.c: Likewise.
35329 * posix/sched_primin.c: Likewise.
35330 * posix/sched_rr_gi.c: Likewise.
35331 * posix/sched_setaffinity.c: Likewise.
35332 * posix/sched_setp.c: Likewise.
35333 * posix/sched_sets.c: Likewise.
35334 * posix/sched_yield.c: Likewise.
35335 * posix/setgid.c: Likewise.
35336 * posix/setlogin.c: Likewise.
35337 * posix/setpgid.c: Likewise.
35338 * posix/setresgid.c: Likewise.
35339 * posix/setresuid.c: Likewise.
35340 * posix/setsid.c: Likewise.
35341 * posix/setuid.c: Likewise.
35342 * posix/sleep.c: Likewise.
35343 * posix/spawni.c: Likewise.
35344 * posix/sysconf.c: Likewise.
35345 * posix/times.c: Likewise.
35346 * posix/wait.c: Likewise.
35347 * posix/wait3.c: Likewise.
35348 * posix/wait4.c: Likewise.
35349 * posix/waitpid.c: Likewise.
35350 * resolv/gai_sigqueue.c: Likewise.
35351 * resource/getpriority.c: Likewise.
35352 * resource/getrlimit.c: Likewise.
35353 * resource/getrusage.c: Likewise.
35354 * resource/nice.c: Likewise.
35355 * resource/setpriority.c: Likewise.
35356 * resource/setrlimit.c: Likewise.
35357 * resource/ulimit.c: Likewise.
35358 * rt/aio_cancel.c: Likewise.
35359 * rt/aio_fsync.c: Likewise.
35360 * rt/aio_read.c: Likewise.
35361 * rt/aio_sigqueue.c: Likewise.
35362 * rt/aio_suspend.c: Likewise.
35363 * rt/aio_write.c: Likewise.
35364 * rt/clock_getres.c: Likewise.
35365 * rt/clock_gettime.c: Likewise.
35366 * rt/clock_nanosleep.c: Likewise.
35367 * rt/clock_settime.c: Likewise.
35368 * rt/lio_listio.c: Likewise.
35369 * rt/mq_close.c: Likewise.
35370 * rt/mq_getattr.c: Likewise.
35371 * rt/mq_notify.c: Likewise.
35372 * rt/mq_open.c: Likewise.
35373 * rt/mq_receive.c: Likewise.
35374 * rt/mq_send.c: Likewise.
35375 * rt/mq_setattr.c: Likewise.
35376 * rt/mq_timedreceive.c: Likewise.
35377 * rt/mq_timedsend.c: Likewise.
35378 * rt/mq_unlink.c: Likewise.
35379 * rt/shm_open.c: Likewise.
35380 * rt/shm_unlink.c: Likewise.
35381 * rt/timer_create.c: Likewise.
35382 * rt/timer_delete.c: Likewise.
35383 * rt/timer_getoverr.c: Likewise.
35384 * rt/timer_gettime.c: Likewise.
35385 * rt/timer_settime.c: Likewise.
35386 * setjmp/__longjmp.c: Likewise.
35387 * setjmp/setjmp.c: Likewise.
35388 * signal/kill.c: Likewise.
35389 * signal/killpg.c: Likewise.
35390 * signal/raise.c: Likewise.
35391 * signal/sigaction.c: Likewise.
35392 * signal/sigaltstack.c: Likewise.
35393 * signal/sigblock.c: Likewise.
35394 * signal/sigignore.c: Likewise.
35395 * signal/sigintr.c: Likewise.
35396 * signal/signal.c: Likewise.
35397 * signal/sigpause.c: Likewise.
35398 * signal/sigpending.c: Likewise.
35399 * signal/sigqueue.c: Likewise.
35400 * signal/sigreturn.c: Likewise.
35401 * signal/sigset.c: Likewise.
35402 * signal/sigsetmask.c: Likewise.
35403 * signal/sigstack.c: Likewise.
35404 * signal/sigsuspend.c: Likewise.
35405 * signal/sigtimedwait.c: Likewise.
35406 * signal/sigvec.c: Likewise.
35407 * signal/sigwait.c: Likewise.
35408 * signal/sigwaitinfo.c: Likewise.
35409 * signal/sysv_signal.c: Likewise.
35410 * socket/accept.c: Likewise.
35411 * socket/accept4.c: Likewise.
35412 * socket/bind.c: Likewise.
35413 * socket/connect.c: Likewise.
35414 * socket/getpeername.c: Likewise.
35415 * socket/getsockname.c: Likewise.
35416 * socket/getsockopt.c: Likewise.
35417 * socket/isfdtype.c: Likewise.
35418 * socket/listen.c: Likewise.
35419 * socket/recv.c: Likewise.
35420 * socket/recvfrom.c: Likewise.
35421 * socket/recvmsg.c: Likewise.
35422 * socket/send.c: Likewise.
35423 * socket/sendmsg.c: Likewise.
35424 * socket/sendto.c: Likewise.
35425 * socket/setsockopt.c: Likewise.
35426 * socket/shutdown.c: Likewise.
35427 * socket/sockatmark.c: Likewise.
35428 * socket/socket.c: Likewise.
35429 * socket/socketpair.c: Likewise.
35430 * stdio-common/ctermid.c: Likewise.
35431 * stdio-common/cuserid.c: Likewise.
35432 * stdio-common/remove.c: Likewise.
35433 * stdio-common/rename.c: Likewise.
35434 * stdio-common/renameat.c: Likewise.
35435 * stdio-common/tempname.c: Likewise.
35436 * stdlib/getcontext.c: Likewise.
35437 * stdlib/makecontext.c: Likewise.
35438 * stdlib/setcontext.c: Likewise.
35439 * stdlib/swapcontext.c: Likewise.
35440 * stdlib/system.c: Likewise.
35441 * streams/fattach.c: Likewise.
35442 * streams/fdetach.c: Likewise.
35443 * streams/getmsg.c: Likewise.
35444 * streams/getpmsg.c: Likewise.
35445 * streams/putmsg.c: Likewise.
35446 * streams/putpmsg.c: Likewise.
35447 * sysdeps/unix/bsd/getpt.c: Likewise.
35448 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35449 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35450 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35452 Likewise.
35453 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35455 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35456 * sysvipc/msgctl.c: Likewise.
35457 * sysvipc/msgget.c: Likewise.
35458 * sysvipc/msgrcv.c: Likewise.
35459 * sysvipc/msgsnd.c: Likewise.
35460 * sysvipc/semctl.c: Likewise.
35461 * sysvipc/semget.c: Likewise.
35462 * sysvipc/semop.c: Likewise.
35463 * sysvipc/semtimedop.c: Likewise.
35464 * sysvipc/shmat.c: Likewise.
35465 * sysvipc/shmctl.c: Likewise.
35466 * sysvipc/shmdt.c: Likewise.
35467 * sysvipc/shmget.c: Likewise.
35468 * termios/tcdrain.c: Likewise.
35469 * termios/tcflow.c: Likewise.
35470 * termios/tcflush.c: Likewise.
35471 * termios/tcgetattr.c: Likewise.
35472 * termios/tcgetpgrp.c: Likewise.
35473 * termios/tcsendbrk.c: Likewise.
35474 * termios/tcsetattr.c: Likewise.
35475 * termios/tcsetpgrp.c: Likewise.
35476 * time/adjtime.c: Likewise.
35477 * time/clock.c: Likewise.
35478 * time/getitimer.c: Likewise.
35479 * time/gettimeofday.c: Likewise.
35480 * time/setitimer.c: Likewise.
35481 * time/settimeofday.c: Likewise.
35482 * time/stime.c: Likewise.
35483 * time/time.c: Likewise.
35484
354852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35486
a20492cf
PT
35487 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35488 /usr/old/bin.
35489
72e182e3
PT
35490 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35491 instead of spaces.
35492 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35493
fbeafede
JM
354942012-11-03 Joseph Myers <joseph@codesourcery.com>
35495
5b5b04d6
JM
35496 [BZ #14796]
35497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35498 FE_TONEAREST before applying Dekker multiplication and Knuth
35499 addition. Clear inexact exceptions and check for exact zero
35500 results afterwards.
35501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35504 * math/libm-test.inc (fma_test): Add more tests.
35505 (fma_test_towardzero): Likewise.
35506 (fma_test_downward): Likewise.
35507 (fma_test_upward): Likewise.
35508 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35509 function.
35510 (libc_fesetround): New macro.
35511 (libc_fesetroundf): Likewise.
35512 (libc_fesetroundl): Likewise.
35513 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35514 function.
35515 (libc_fesetround_387): Likewise.
35516 (libc_fesetroundf): New macro.
35517 (libc_fesetround): Likewise.
35518 (libc_fesetroundl): Likewise.
35519 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35520 function.
35521 (libc_fesetroundf): New macro.
35522 (libc_fesetround): Likewise.
35523 (libc_fesetroundl): Likewise.
35524 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35525 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35526 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35527 libm_hidden_ver.
35528 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35529 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35530 libm_hidden_def.
35531 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35532 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35533 libm_hidden_ver.
35534 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35535 libm_hidden_def.
35536
fbeafede
JM
35537 [BZ #3439]
35538 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35539 integer constant usable in #if and use that to give value to enum
35540 constant.
35541 (FE_DIVBYZERO): Likewise.
35542 (FE_UNDERFLOW): Likewise.
35543 (FE_OVERFLOW): Likewise.
35544 (FE_INVALID): Likewise.
35545 (FE_INVALID_SNAN): Likewise.
35546 (FE_INVALID_ISI): Likewise.
35547 (FE_INVALID_IDI): Likewise.
35548 (FE_INVALID_ZDZ): Likewise.
35549 (FE_INVALID_IMZ): Likewise.
35550 (FE_INVALID_COMPARE): Likewise.
35551 (FE_INVALID_SOFTWARE): Likewise.
35552 (FE_INVALID_SQRT): Likewise.
35553 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35554 (FE_TONEAREST): Likewise.
35555 (FE_TOWARDZERO): Likewise.
35556 (FE_UPWARD): Likewise.
35557 (FE_DOWNWARD): Likewise.
35558 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35559 (FE_DIVBYZERO): Likewise.
35560 (FE_OVERFLOW): Likewise.
35561 (FE_UNDERFLOW): Likewise.
35562 (FE_INEXACT): Likewise.
35563 (FE_TONEAREST): Likewise.
35564 (FE_DOWNWARD): Likewise.
35565 (FE_UPWARD): Likewise.
35566 (FE_TOWARDZERO): Likewise.
35567 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35568 (FE_UNDERFLOW): Likewise.
35569 (FE_OVERFLOW): Likewise.
35570 (FE_DIVBYZERO): Likewise.
35571 (FE_INVALID): Likewise.
35572 (FE_TONEAREST): Likewise.
35573 (FE_TOWARDZERO): Likewise.
35574 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35575 (FE_OVERFLOW): Likewise.
35576 (FE_UNDERFLOW): Likewise.
35577 (FE_DIVBYZERO): Likewise.
35578 (FE_INEXACT): Likewise.
35579 (FE_TONEAREST): Likewise.
35580 (FE_TOWARDZERO): Likewise.
35581 (FE_UPWARD): Likewise.
35582 (FE_DOWNWARD): Likewise.
35583 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35584 (FE_DIVBYZERO): Likewise.
35585 (FE_OVERFLOW): Likewise.
35586 (FE_UNDERFLOW): Likewise.
35587 (FE_INEXACT): Likewise.
35588 (FE_TONEAREST): Likewise.
35589 (FE_DOWNWARD): Likewise.
35590 (FE_UPWARD): Likewise.
35591 (FE_TOWARDZERO): Likewise.
35592
105ca950
CM
355932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35594
35595 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35596
a542b389
AS
355972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35598
35599 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35600 commands. Quote $PWD.
35601 (blacklist_exports): Don't use remove_newlines. Replace "declare
35602 -x" by "export".
35603 (remove_newlines): Remove.
35604
f62c8abc
L
356052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35606
35607 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35608 * stdlib/stdlib.h (atof): Moved to ...
35609 * include/bits/stdlib-float.h: Here. New file.
35610 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35611 * stdlib/bits/stdlib-float.h: New file.
35612 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35613 -mno-sse -mno-mmx.
35614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35615 <xmmintrin.h>.
35616
0155d5b2
JM
356172012-11-02 Joseph Myers <joseph@codesourcery.com>
35618
a68d0680
JM
35619 * conform/conformtest.pl (@headers): Add fenv.h.
35620 * conform/data/fenv.h-data: New file.
35621 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35622 include of <math/fenv.h>.
35623
caf7f573
JM
35624 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35625 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35626 && !UNIX98]. Enables tests for XOPEN2K8.
35627 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35628 POSIX2008]: Likewise.
35629
6c073ad6
JM
35630 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35631 (struct rusage): Do not expect type or its members.
35632
0155d5b2
JM
35633 [BZ #3439]
35634 * math/math.h (FP_NAN): Define macro to integer constant usable in
35635 #if and use that to give value to enum constant.
35636 (FP_INFINITE): Likewise.
35637 (FP_ZERO): Likewise.
35638 (FP_SUBNORMAL): Likewise.
35639 (FP_NORMAL): Likewise.
35640
b5dcacb4
AS
356412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35642
35643 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35644 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35645 arguments.
35646
f7934be8
RM
356472012-11-02 Roland McGrath <roland@hack.frob.com>
35648
35649 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35650 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35651 autoconf-time if not.
35652 * configure.in: Remove AC_PREREQ.
35653
d7d08bde
TMQMF
356542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35655
35656 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35657 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35658 of the internal implementation.
35659
dcdae19a
JM
356602012-11-02 Joseph Myers <joseph@codesourcery.com>
35661
35662 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35663 except include of <misc/sys/syslog.h>.
35664
d6cffd3e
AS
356652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35666
35667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35668 function returns with a NULL context exit with zero.
35669
b3563932
TMQMF
356702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35671
35672 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35673
b288a93d
L
356742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35675
35676 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35677 (run_program_cmd): This.
35678 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35679 (tst_langinfo): New variable. Use it.
35680
a2421a68
SAS
356812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35682
35683 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35684 floating point opcodes.
35685
6f796e1b
TS
356862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35687
7402596b
TS
35688 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35689 variable.
35690
d0d4f868
TS
35691 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35692
6f796e1b
TS
35693 * sysdeps/mach/hurd/powerpc: Remove directory.
35694 * sysdeps/mach/powerpc: Likewise.
35695
4da224a2
AS
356962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35697
35698 * scripts/check-local-headers.sh: Ignore c++ headers.
35699
341dd673
TS
357002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35701
35702 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35703 __libc_cleanup_region_start argument.
35704
473611b2
JM
357052012-11-01 Joseph Myers <joseph@codesourcery.com>
35706
35707 [BZ #14784]
35708 [BZ #14785]
35709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35710 x * y using scaling, not as x * y + z.
35711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35713 * math/libm-test.inc (fma_test): Add more tests.
35714 (fma_test_towardzero): Likewise.
35715 (fma_test_downward): Likewise.
35716 (fma_test_upward): Likewise.
35717
4078da3d
TS
357182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35719
35720 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35721
903252aa
JM
357222012-10-31 Joseph Myers <joseph@codesourcery.com>
35723
35724 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35725 New variable.
35726
cbc818d0
TS
357272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35728
35729 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35730
5a03cb1e
AS
357312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35732
35733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35734 Fix sort order.
35735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35736 Likewise.
35737
90aff2ff
TMQMF
357382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35739
35740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35741 Fix the order of the list for glibc 2.17.
35742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35743 Likewise.
35744
1818fcb7
AS
357452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35746
35747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35748
ef82f4da
JM
357492012-10-31 Joseph Myers <joseph@codesourcery.com>
35750
16a0e2ec
JM
35751 [BZ #14610]
35752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35753 for low part of x being zero before using __atanl (y).
35754 * math/libm-test.inc (atan2_test): Add another test.
35755
0eb69512
JM
35756 * manual/install.texi (Configuring and compiling): Document
35757 general use of test-wrapper and test-wrapper-env.
35758 * INSTALL: Regenerated.
35759
ef82f4da
JM
35760 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35761 (__fma): Do not extract and scale down low bits on after-rounding
35762 systems when result rounded to normal precision would have normal
35763 exponent.
35764 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35765 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35773 macro.
35774 (fma_test): Add more tests.
35775 (fma_test_towardzero): Likewise.
35776 (fma_test_downward): Likewise.
35777 (fma_test_upward): Likewise.
35778
954ef0d9
L
357792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35780
35781 * sysdeps/i386/tininess.h: Renamed to ...
35782 * sysdeps/x86/tininess.h: This.
35783 * sysdeps/x86_64/tininess.h: Removed.
35784
df61ffb2
JM
357852012-10-30 Joseph Myers <joseph@codesourcery.com>
35786
35787 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35788 input. Use $(build-program-cmd).
35789 ($(objpfx)tst-array1-static.out): Likewise.
35790 ($(objpfx)tst-array2.out): Likewise.
35791 ($(objpfx)tst-array3.out): Likewise.
35792 ($(objpfx)tst-array4.out): Likewise.
35793 ($(objpfx)tst-array5.out): Likewise.
35794 ($(objpfx)tst-array5-static.out): Likewise.
35795
01767843
CM
357962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35797
47cc1490
CM
35798 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35799 if defined.
35800
01767843
CM
35801 * nss/nsswitch.h (nss_interface_function): Provide new
35802 macro for use with NSS functions.
35803 * grp/initgroups.c: Use new macro.
35804 * nss/getXXbyYY.c: Likewise.
35805 * nss/getXXbyYY_r.c: Likewise.
35806 * nss/getXXent.c: Likewise.
35807 * nss/getXXent_r.c: Likewise.
35808 * sysdeps/posix/getaddrinfo.c: Likewise.
35809
8321aa97
AJ
358102012-10-30 Andreas Jaeger <aj@suse.de>
35811
35812 * po/ru.po: Update Russion translation from translation project.
35813
2a27fd6d
JM
358142012-10-30 Joseph Myers <joseph@codesourcery.com>
35815
8627a232
JM
35816 [BZ #14152]
35817 [BZ #14783]
35818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35819 result and shift together with sticky bit instead of replicating
35820 round-to-nearest rounding.
35821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35823 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35824 missing underflow exceptions.
35825 (fma_test_towardzero): Add more tests.
35826 (fma_test_downward): Likewise.
35827 (fma_test_upward): Likewise.
35828
2a27fd6d
JM
35829 [BZ #14047]
35830 * sysdeps/generic/tininess.h: New file.
35831 * sysdeps/i386/tininess.h: Likewise.
35832 * sysdeps/sh/tininess.h: Likewise.
35833 * sysdeps/x86_64/tininess.h: Likewise.
35834 * stdlib/tst-strtod-underflow.c: Likewise.
35835 * stdlib/tst-tininess.c: Likewise.
35836 * stdlib/strtod_l.c: Include <tininess.h>.
35837 (round_and_return): Do not set errno for exact underflow cases.
35838 Force an underflow exception when setting errno for underflow.
35839 Determine underflow based on rounding to normal precision if
35840 TININESS_AFTER_ROUNDING.
35841 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35842 ERANGE for exact underflow cases.
35843 * stdlib/Makefile (tests): Add tst-tininess and
35844 tst-strtod-underflow.
35845 ($(objpfx)tst-tininess): Use $(link-libm).
35846 ($(objpfx)tst-strtod-underflow): Likewise.
35847
e7170363
AJ
358482012-10-30 Andreas Jaeger <aj@suse.de>
35849
e5088dc6
AJ
35850 [BZ#14767]
35851 * elf/Makefile (tests): Remove conditional for have-initfini-array
35852 since this is now always required and the variable does not exist
35853 anymore.
35854 (tests-static): Likewise.
35855 (modules-names): Likewise.
35856
e7170363 35857 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35858
35859 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35860 merged with constructor/destructor.
35861 (init_array): Likewise.
35862 * elf/tst-array2dep.c (fini_array): Likewise.
35863 (init_array): Likewise.
35864
60457d8a
MF
358652012-10-29 Mike Frysinger <vapier@gentoo.org>
35866
35867 * manual/message.texi: Delete @cartouche tags.
35868
8bece752
PT
358692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35870
94ce799f
PT
35871 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35872 EOPNOTSUPP.
35873 * sysdeps/mach/hurd/fsync.c: Likewise.
35874
8bece752
PT
35875 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35876 [_POSIX_REALTIME_SIGNALS]: Change condition to
35877 [_POSIX_REALTIME_SIGNALS > 0].
35878
86ebe6b1
AJ
358792012-10-27 Andreas Jaeger <aj@suse.de>
35880
35881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35882 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35884 [__WORDSIZE != 64]: Likewise.
35885
54399c08
L
358862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35887
35888 * iconvdata/tst-table.sh: Remove ${SHELL}.
35889 * iconvdata/tst-tables.sh: Likewise.
35890
e2211bed
DM
358912012-10-25 David S. Miller <davem@davemloft.net>
35892
35893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35894 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35895 of strtoull.
35896
f303f97c
DM
35897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35898 ifunc-impl-list.c
35899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35900 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35901 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35902 file.
35903
1e9d84cd
RM
359042012-10-25 Roland McGrath <roland@hack.frob.com>
35905
35906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35907 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35908 __getdirentries.
35909
df381762
JM
359102012-10-25 Joseph Myers <joseph@codesourcery.com>
35911 Jim Blandy <jimb@codesourcery.com>
35912
35913 * scripts/cross-test-ssh.sh: New file.
35914 * manual/install.texi (Configuring and compiling): Document use of
35915 cross-test-ssh.sh.
35916 * INSTALL: Regenerated.
35917
bff64913
PT
359182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35919
35920 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35921 EOPNOTSUPP.
35922
25fe8932
JM
359232012-10-25 Joseph Myers <joseph@codesourcery.com>
35924
35925 * Makeconfig (run-program-prefix): Fix comment.
35926
cc1290d0
JM
359272012-10-24 Joseph Myers <joseph@codesourcery.com>
35928 Jim Blandy <jimb@codesourcery.com>
35929
35930 * Makeconfig (test-wrapper): New variable,
35931 (test-wrapper-env): Likewise.
35932 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35933 (run-built-tests): Define to yes.
35934 (run-program-prefix): Use $(test-wrapper).
35935 (built-program-cmd): Likewise.
35936 * Rules (make-test-out): Use $(test-wrapper-env) and
35937 $(host-built-program-cmd).
35938 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35939 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35940 tst-pathopt.sh.
35941 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35942 $(test-wrapper-env) to tst-rtld-load-self.sh.
35943 ($(objpfx)order2.out): Use $(test-wrapper).
35944 ($(objpfx)tst-initorder.out): Likewise.
35945 ($(objpfx)tst-initorder2.out): Likewise.
35946 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35947 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35948 (test_wrapper_env): New variable. Use it to run ld.so.
35949 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35950 Use it to run ld.so.
35951 (test_wrapper_env): Likewise.
35952 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35953 $(test-wrapper) to run-iconv-test.sh.
35954 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35955 (ICONV): Use $test_wrapper.
35956 * posix/Makefile ($(objpfx)globtest.out): Pass
35957 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35958 globtest.sh, not $(run-program-prefix).
35959 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35960 (test_wrapper): Likewise.
35961 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35962 set together with run_via_rtld_prefix.
35963 (run_program_prefix): Define in terms of test_wrapper and
35964 run_via_rtld_prefix.
35965
6e6249d0
RM
359662012-10-24 Roland McGrath <roland@hack.frob.com>
35967
35968 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35969 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35970 Targets removed.
35971
35972 [BZ #14743]
35973 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35974 Declare __clock_getres, __clock_gettime, __clock_settime,
35975 __clock_nanosleep, and __clock_getcpuclockid.
35976 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35977 Remove librt_hidden_def (clock_gettime).
35978 * sysdeps/unix/clock_gettime.c: Likewise.
35979 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35981 * rt/clock_getres.c: Define __clock_getres as an alias.
35982 * sysdeps/posix/clock_getres.c: Likewise.
35983 * rt/clock_settime.c: Define __clock_settime as an alias.
35984 * sysdeps/unix/clock_settime.c: Likewise.
35985 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35986 * sysdeps/unix/clock_nanosleep.c: Likewise.
35987 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35988 * rt/clock-compat.c: New file.
35989 * rt/Makefile (librt-routines): Add clock-compat and move
35990 $(clock-routines) to ...
35991 (routines): ... here, new variable.
35992 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35993 Don't add get_clockfreq here.
35994 * rt/Versions (libc: GLIBC_2.17): New version set.
35995 Add clock_* symbols here.
35996 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35998 (GLIBC_2.17): Add clock_* symbols.
35999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36003 Likewise.
36004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36005 Likewise.
36006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36010 * NEWS: Mention the move.
36011
36012 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36013 Use __open, __read, __close rather than their public counterparts.
36014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36015 (__get_clockfreq_via_cpuinfo): Likewise.
36016 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36017 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36018
36019 * config.h.in (HAVE_IFUNC): New #undef.
36020 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36021 was successful.
36022 * configure: Regenerated.
36023
0cae3f4b
MF
360242012-10-24 Mike Frysinger <vapier@gentoo.org>
36025
36026 * configure.in: Move READELF check to start of file.
36027 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36028 libc_cv_asm_gnu_indirect_function in the process.
36029 * configure: Regenerated.
36030
8175a253
MF
360312012-10-24 Mike Frysinger <vapier@gentoo.org>
36032
36033 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36034 send the output to /dev/null.
36035 (libc_cv_cc_with_libunwind): Likewise.
36036 (libc_cv_as_noexecstack): Likewise.
36037 * configure: Regenerate.
36038
0708a7d1
JM
360392012-10-24 Joseph Myers <joseph@codesourcery.com>
36040
10b40d85
JM
36041 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36042
0708a7d1
JM
36043 * posix/globtest.sh (TMPDIR): Do not set.
36044 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36045 (testout): Likewise.
36046
9fddec1a
AJ
360472012-10-24 Andreas Jaeger <aj@suse.de>
36048
3a8db22f
AJ
36049 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36050 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36051 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36052 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36053 posix_fadvise64, posix_fallocate64.
36054
9fddec1a
AJ
36055 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36056 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36057 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36058 Likewise.
36059 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36060 Likewise.
36061 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36062
36063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36064 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36065 <bits/fcntl-linux.h>.
36066 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36067
36068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36069 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36070 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36071 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36072 [__WORDSIZE != 64]: Likewise.
36073
ebfd1bbd
JM
360742012-10-23 Joseph Myers <joseph@codesourcery.com>
36075
03ac099f
JM
36076 * Makeconfig (run-built-tests): New variable.
36077 * Rules [$(cross-compiling) = yes]: Change condition to
36078 [$(run-built-tests) = no].
36079 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36080 to [$(run-built-tests) = yes].
36081 * elf/Makefile [$(cross-compiling) = no]: Likewise
36082 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36083 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36084 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36085 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36086 * io/Makefile [$(cross-compiling) = no]: Likewise.
36087 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36088 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36089 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36090 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36091 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36092 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36093 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36094 * string/Makefile [$(cross-compiling) = no]: Likewise.
36095
ebfd1bbd
JM
36096 * posix/Makefile ($(objpfx)globtest.out): Pass
36097 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36098 $(rtld-installed-name).
36099 * posix/globtest.sh (elf_objpfx): Remove variable.
36100 (rtld_installed_name): Likewise.
36101 (library_path): Likewise.
36102 (run_program_prefix): New variable. Use for running globtest
36103 binary.
36104
166bca24
JB
361052012-10-23 Jim Blandy <jimb@codesourcery.com>
36106 Joseph Myers <joseph@codesourcery.com>
36107
36108 * Makeconfig (host-built-program-cmd): New variable.
36109 * elf/Makefile (tst-stackguard1-ARGS): Use
36110 $(host-built-program-cmd).
36111 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36112 (tst-spawn-ARGS): Likewise.
36113 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36114
88866099
JM
361152012-10-23 Joseph Myers <joseph@codesourcery.com>
36116 Jim Blandy <jimb@codesourcery.com>
36117
36118 * Makeconfig (run-via-rtld-prefix): New variable.
36119 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36120 (built-program-cmd): Likewise.
36121
b4b4c296
AJ
361222012-10-22 Andreas Jaeger <aj@suse.de>
36123
36124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36125 __O_RSYNC if it exists, otherwise to O_SYNC.
36126
6fb54a22
JB
361272012-10-22 Jim Blandy <jimb@codesourcery.com>
36128 Joseph Myers <joseph@codesourcery.com>
36129
36130 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36131 /dev/null.
36132 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36133 from /dev/null
36134 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36135 /dev/null.
36136
481b90b9
AJ
361372012-10-22 Andreas Jaeger <aj@suse.de>
36138
2a0e2669
AJ
36139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36140 Define always.
36141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36142
76e38f9a
AJ
36143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36144 bits/fcntl-linux.h.
36145
7cd37b43
AJ
36146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36147 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36148
481b90b9
AJ
36149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36150 to __O_LARGEFILE.
36151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36152 to __O_LARGEFILE.
36153
aba75984
JB
361542012-10-21 Jim Blandy <jimb@codesourcery.com>
36155 Joseph Myers <joseph@codesourcery.com>
36156
36157 * config.make.in (NM): New variable.
36158
88d4247f
AJ
361592012-10-21 Andreas Jaeger <aj@suse.de>
36160
36161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36162 definitions and declarations that are provided by
36163 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36164
f2eed205
L
361652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36166
36167 [BZ #14683]
36168 * elf/Makefile (tests-static): Add tst-leaks1-static.
36169 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36170 ($(objpfx)tst-leaks1-static): New rule.
36171 ($(objpfx)tst-leaks1-static-mem): Likewise.
36172 (tst-leaks1-static-ENV): New macro.
36173 * elf/dl-open.c (dl_open_worker): Check the main application
36174 only if SHARED is defined.
36175 * elf/tst-leaks1-static.c: New file.
36176
335e6931
AJ
361772012-10-20 Andreas Jaeger <aj@suse.de>
36178
36179 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36180 generic values for Linux.
36181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36182 and declarations that are provided by <bits/fcntl-linux.h> and
36183 include <bits/fcntl-linux.h>.
36184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36186
ac5c94d3
RM
361872012-10-20 Roland McGrath <roland@hack.frob.com>
36188
36189 * io/fcntl.h: Move include of <bits/types.h> to the top and
36190 include it unconditionally.
36191
de54b33a
L
361922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36193
228cfb01
L
36194 * wcsmbs/Makefile (tests-ifunc): New variable.
36195 (tests): Add $(tests-ifunc).
36196 * wcsmbs/test-wcschr-ifunc.c: New file.
36197 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36198 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36199 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36200 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36201 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36202
69f07e5f
L
36203 * string/Makefile (tests-ifunc): New variable.
36204 (tests): Add $(tests-ifunc).
36205 * string/test-memccpy.c (TEST_NAME): New macro.
36206 * string/test-memchr.c (TEST_NAME): Likewise.
36207 * string/test-memcmp.c (TEST_NAME): Likewise.
36208 * string/test-memcpy.c (TEST_NAME): Likewise.
36209 * string/test-memmem.c (TEST_NAME): Likewise.
36210 * string/test-memmove.c (TEST_NAME): Likewise.
36211 * string/test-memset.c (TEST_NAME): Likewise.
36212 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36213 * string/test-stpcpy.c (TEST_NAME): Likewise.
36214 * string/test-stpncpy.c (TEST_NAME): Likewise.
36215 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36216 * string/test-strcasestr.c (TEST_NAME): Likewise.
36217 * string/test-strcat.c (TEST_NAME): Likewise.
36218 * string/test-strchr.c (TEST_NAME): Likewise.
36219 * string/test-strcmp.c(TEST_NAME): Likewise.
36220 * string/test-strcpy.c (TEST_NAME): Likewise.
36221 * string/test-strcspn.c (TEST_NAME): Likewise.
36222 * string/test-strlen.c (TEST_NAME): Likewise.
36223 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36224 * string/test-strncmp.c (TEST_NAME): Likewise.
36225 * string/test-strncpy.c (TEST_NAME): Likewise.
36226 * string/test-strnlen.c (TEST_NAME): Likewise.
36227 * string/test-strpbrk.c (TEST_NAME): Likewise.
36228 * string/test-strrchr.c (TEST_NAME): Likewise.
36229 * string/test-strspn.c (TEST_NAME): Likewise.
36230 * string/test-strstr.c (TEST_NAME): Likewise.
36231 * string/test-bcopy-ifunc.c: New file.
36232 * string/test-bzero-ifunc.c: Likewise.
36233 * string/test-memccpy-ifunc.c: Likewise.
36234 * string/test-memchr-ifunc.c: Likewise.
36235 * string/test-memcmp-ifunc.c: Likewise.
36236 * string/test-memcpy-ifunc.c: Likewise.
36237 * string/test-memmem-ifunc.c: Likewise.
36238 * string/test-memmove-ifunc.c: Likewise.
36239 * string/test-mempcpy-ifunc.c: Likewise.
36240 * string/test-memset-ifunc.c: Likewise.
36241 * string/test-rawmemchr-ifunc.c: Likewise.
36242 * string/test-stpcpy-ifunc.c: Likewise.
36243 * string/test-stpncpy-ifunc.c: Likewise.
36244 * string/test-strcasecmp-ifunc.c: Likewise.
36245 * string/test-strcasestr-ifunc.c: Likewise.
36246 * string/test-strcat-ifunc.c: Likewise.
36247 * string/test-strchr-ifunc.c: Likewise.
36248 * string/test-strchrnul-ifunc.c: Likewise.
36249 * string/test-strcmp-ifunc.c: Likewise.
36250 * string/test-strcpy-ifunc.c: Likewise.
36251 * string/test-strcspn-ifunc.c: Likewise.
36252 * string/test-strlen-ifunc.c: Likewise.
36253 * string/test-strncasecmp-ifunc.c: Likewise.
36254 * string/test-strncat-ifunc.c: Likewise.
36255 * string/test-strncmp-ifunc.c: Likewise.
36256 * string/test-strncpy-ifunc.c: Likewise.
36257 * string/test-strnlen-ifunc.c: Likewise.
36258 * string/test-strpbrk-ifunc.c: Likewise.
36259 * string/test-strrchr-ifunc.c: Likewise.
36260 * string/test-strspn-ifunc.c: Likewise.
36261 * string/test-strstr-ifunc.c: Likewise.
36262
de54b33a
L
36263 * debug/Makefile (tests-ifunc): New variable.
36264 (tests): Add $(tests-ifunc).
36265 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36266 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36267 * debug/test-stpcpy_chk-ifunc.c: New file.
36268 * debug/test-strcpy_chk-ifunc.c: Likewise.
36269
88481c16
SP
362702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36271
36272 [BZ #13601]
36273 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36274 header is not read in.
36275
135948bd
JM
362762012-10-19 Joseph Myers <joseph@codesourcery.com>
36277
89f1c388
JM
36278 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36279 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36280 directly. Pass built executable to script as
36281 $(built-program-cmd).
36282 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36283 $testprogram without using LD_LIBRARY_PATH and $ldso.
36284
e40a0d21
JM
36285 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36286 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36287 $(rtld-installed-name).
36288 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36289 (rtld_installed_name): Likewise.
36290 (library_path): Likewise.
36291 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36292 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36293 $(run-program-prefix) to tst-tables.sh.
36294 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36295 it to run tst-table-from and tst-table-to.
36296 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36297 Pass it to tst-table.sh.
36298 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36299 $(run-program-prefix) to tst-gettext.sh.
36300 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36301 tst-translit.sh.
36302 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36303 tst-gettext2.sh.
36304 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36305 to run tst-gettext.
36306 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36307 to run tst-gettext2.
36308 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36309 to run tst-translit.
36310 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36311 $(run-program-prefix) to tst-mtrace.sh.
36312 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36313 to run tst-mtrace.
36314 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36315 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36316 $(rtld-installed-name).
36317 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36318 (rtld_installed_name): Likewise.
36319 (run_program_prefix): New variable. Use it to run wordexp-test.
36320
728e272a
JM
36321 * Makeconfig (ARCH): Remove all definitions.
36322 (machine): Likewise.
36323 [ARCH]: Remove conditional code.
36324 [!objdir]: Give error.
36325 [!objdir] (objpfx): Remove.
36326 [!objdir] (common-objpfx): Likewise.
36327 [!objdir] (common-objdir): Likewise.
36328 * configure.in (config_makefile): Remove. Hardcode Makefile in
36329 AC_CONFIG_FILES call.
36330 * configure: Regenerated.
36331
d528cdcf
JM
36332 [BZ #13888]
36333 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36334 or TMPDIR.
36335 (testout): Likewise.
36336
135948bd
JM
36337 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36338 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36339 $(rtld-installed-name).
36340 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36341 (rtld_installed_name): Likwise.
36342 (runit): Remove function.
36343 (run_getconf): New variable, Use it for running getconf binary.
36344
38c78296
L
363452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36346
36347 [BZ #14716]
36348 * string/test-memmem.c (check_result): New function.
36349 (do_one_test): Use it.
36350 (check1): New function.
36351 (test_main): Use it.
36352
d077f65f
MT
363532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36354
36355 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36356
ced52c71
JM
363572012-10-18 Joseph Myers <joseph@codesourcery.com>
36358
36359 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36360 (_G_LSEEK64): Likewise.
36361 (_G_MMAP64): Likewise.
36362 (_G_FSTAT64): Likewise.
36363 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36364 (_G_LSEEK64): Likewise.
36365 (_G_MMAP64): Likewise.
36366 (_G_FSTAT64): Likewise.
36367 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36368 unconditional. Call __mmap64 directly.
36369 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36370 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36371 __lseek64 directly.
36372 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36373 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36374 __mmap64 directly.
36375 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36376 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36377 __lseek64 directly.
36378 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36379 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36380 __lseek64 directly.
36381 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36382 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36383 __lseek64 directly.
36384 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36385 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36386 __fxstat64 directly.
36387 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36388 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36389 unconditional.
36390 (freopen64) [!_G_OPEN64]: Remove conditional code.
36391 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36392 unconditional.
36393 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36394 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36395 unconditional.
36396 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36397 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36398 unconditional.
36399 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36400 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36401 unconditional.
36402 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36403 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36404 unconditional.
36405 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36406 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36407 unconditional.
36408 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36409 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36410 unconditional.
36411 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36412
b741de23
SP
364132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36414
36415 [BZ #12140]
36416 * manual/memory.texi (Malloc Tunable Parameters): Add note
36417 about free list pointers overwriting some perturb bytes.
36418 Wording suggested by Roland McGrath.
36419
f9b9d9c9
JM
364202012-10-17 Joseph Myers <joseph@codesourcery.com>
36421
36422 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36423 (lgamma_test): Likewise.
36424 (tgamma_test): Likewise.
36425
172a631a
FW
364262012-10-16 Florian Weimer <fweimer@redhat.com>
36427
36428 [BZ #14700]
36429 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36430 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36431
e9f37252
MK
364322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36433
36434 * NEWS: Mention BZ #14716.
36435 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36436 when removing AVAILABLE1_USES_J macro.
36437
d394eb74
L
364382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36439
36440 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36441 (__bswap_64): __uint64_t for unsigned 64-bit int.
36442
ca38dc17
AS
364432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36444
36445 * include/string.h (memmem): Declare libc hidden alias.
36446 * string/memmem.c (memmem): Define libc hidden alias.
36447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36448 __read, __close instead of open, read, close.
36449
9a387d1f
L
364502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36451
ac49ecaf
L
36452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36453 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36454 global and hidden.
36455 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36456 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36457 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36458 Likewise.
36459 (__rawmemchr_sse2): Likewise.
36460 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36461 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36462 (__strchr_sse2): Likewise.
36463 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36464 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36465 (__strcasecmp_sse2): Likewise.
36466 (__strncasecmp_sse2): Likewise.
36467 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36468 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36469 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36470 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36471 (__strrchr_sse2): Likewise.
36472 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36473 ifunc-impl-list.c.
36474 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36475 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36476 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36477 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36478 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36479 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36480 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36481 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36482 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36483 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36484 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36485 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36486 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36487 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36488 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36489 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36490 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36491 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36492 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36493 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36494 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36495 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36496 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36497 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36498 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36500 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36501 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36502 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36503 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36504
b090e8ea
L
36505 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36506 global and hidden.
36507 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36508 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36509 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36510 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36511 Likewise.
36512 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36513 Likewise.
36514 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36515 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36516 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36517 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36518 ifunc-impl-list.c.
36519 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36520 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36522 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36523 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36524 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36525 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36526 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36527 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36528 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36532 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36533 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36536 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36537 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36538 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36540 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36541 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36542 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36544 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36545 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36546 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36547 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36549 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36550 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36551 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36552 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36553 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36554 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36555 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36556 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36557 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36558 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36559 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36560
11dd4af6
L
36561 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36562 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36563 * include/ifunc-impl-list.h: New file.
36564 * misc/ifunc-impl-list.c: Likewise.
36565 * misc/Makefile (routines): Add ifunc-impl-list.
36566 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36567 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36568 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36569 TEST_NAME]: New variables.
11dd4af6
L
36570 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36571 are defined.
36572 (test_init): Call __libc_ifunc_impl_list to initialize
36573 func_list if TEST_IFUNC and TEST_NAME are defined.
36574
9a387d1f
L
36575 * string/Makefile (strop-tests): Add bcopy and bzero.
36576 * string/test-bcopy.c: New file.
36577 * string/test-bzero.c: Likewise.
36578 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36579 defined.
36580 * string/test-memset.c: Support bzero test if TEST_BZERO is
36581 defined.
36582 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36583 __libc_memmove.
36584 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36585 __libc_memset.
36586 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36587 of memset.
36588
472371b9
JM
365892012-10-10 Joseph Myers <joseph@codesourcery.com>
36590
1e4a9536
JM
36591 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36592 * configure: Regenerated.
36593
d173d12e
JM
36594 * Makeconfig (+link-static-before-libc): Don't include
36595 $(link-static-libc).
36596
472371b9
JM
36597 * libio/libio.h (_IO_pos_t): Remove.
36598
89a3ad0b
AO
365992012-10-10 Alexandre Oliva <aoliva@redhat.com>
36600
36601 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36602 McGrath.
36603
e7451425
AO
366042012-10-10 Alexandre Oliva <aoliva@redhat.com>
36605
36606 * crypt/crypt-entry.c: Include fips-private.h.
36607 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36608 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36609 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36610 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36611
4ba74a35
AO
366122012-10-10 Alexandre Oliva <aoliva@redhat.com>
36613
36614 * crypt/crypt-private.h: Include stdbool.h.
36615 (_ufc_setup_salt_r): Return bool.
36616 * crypt/crypt-entry.c: Include errno.h.
36617 (__crypt_r): Return NULL with EINVAL for bad salt.
36618 * crypt/crypt_util.c (bad_for_salt): New.
36619 (_ufc_setup_salt_r): Check that salt is long enough and within
36620 the specified alphabet.
36621 * crypt/badsalttest.c: New file.
36622 * crypt/Makefile (tests): Add it.
36623 ($(objpfx)badsalttest): New.
36624
f96f1242
MK
366252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36626
36627 * NEWS: Add entry for BZ #14602.
36628
0e8e0c1c
JM
366292012-10-09 Joseph Myers <joseph@codesourcery.com>
36630
36631 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36632 type-generic.
36633 * math/libm-test.inc: Update comment listing what functions and
36634 macros are tested.
36635 (isgreater_test): New function.
36636 (isgreaterequal_test): Likewise.
36637 (isless_test): Likewise.
36638 (islessequal_test): Likewise.
36639 (islessgreater_test): Likewise.
36640 (isunordered_test): Likewise.
36641 (main): Call the new functions.
36642
273edc5e
RM
366432012-10-09 Roland McGrath <roland@hack.frob.com>
36644
b8493de0
RM
36645 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36646 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36647 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36648 * sysdeps/i386/configure: Regenerated.
36649 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36650 * sysdeps/mach/configure: Regenerated.
36651 * sysdeps/mach/hurd/configure: Regenerated.
36652 * sysdeps/powerpc/configure: Regenerated.
36653 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36654 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36655 * sysdeps/s390/s390-32/configure: Regenerated.
36656 * sysdeps/s390/s390-64/configure: Regenerated.
36657 * sysdeps/sh/configure: Regenerated.
36658 * sysdeps/sparc/configure: Regenerated.
36659 * sysdeps/unix/sysv/linux/configure: Regenerated.
36660 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36661 * sysdeps/x86_64/configure: Regenerated.
36662
273edc5e
RM
36663 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36664 defined. Don't check if MAP is NULL.
36665
c8450f70
JM
366662012-10-09 Joseph Myers <joseph@codesourcery.com>
36667
36668 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36669 (_G_stat64): Likewise.
36670 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36671 (_G_stat64): Likewise.
36672 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36673 instead of struct _G_stat64.
36674 * libio/fileops.c (mmap_remap_check): Likewise.
36675 (decide_maybe_mmap): Likewise.
36676 (_IO_new_file_seekoff): Likewise.
36677 (_IO_file_stat): Likewise.
36678 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36679 _G_off64_t.
36680 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36681 instead of struct _G_stat64.
36682 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36683
57e605ba
MK
366842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36685
36686 [BZ #14602]
36687 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36688 Replace with ...
36689 (CHECK_EOL): New macro.
36690 (two_way_short_needle): Check beginning of haystack for EOL. Use
36691 CHECK_EOL.
36692 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36693 Replace with CHECK_EOL.
36694 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36695 Replace with CHECK_EOL.
36696
ef1bb361
JM
366972012-10-08 Joseph Myers <joseph@codesourcery.com>
36698
36699 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36700 type-generic.
36701 * math/libm-test.inc: Update comment listing what functions and
36702 macros are tested.
36703 (finite_test): New function.
36704 (isinf_test): Likewise.
36705 (isnan_test): Likewise.
36706 (fpclassify_test): Test subnormal input.
36707 (isfinite_test): Likewise.
36708 (isnormal_test): Likewise.
36709 (main): Call the new functions.
36710
55f11534
JN
367112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36712
36713 [BZ #14660]
36714 * Makerules (%.dynsym): Force C locale when running
36715 $(OBJDUMP) --dynamic-syms.
36716
1ab29350
AS
367172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36718
36719 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36720 <stdint.h>.
36721
f1ecb7ef
DM
367222012-10-06 David S. Miller <davem@davemloft.net>
36723
36724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36725 upper 32-bits of the length value in %o2 since we use branch-on-register
36726 tests which consider the entire 64-bit register.
36727
5d41d91a
L
367282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36729
36730 * string/test-strstr.c (check2): Add a test for page boundary.
36731
3baddb72
DM
367322012-10-05 David S. Miller <davem@davemloft.net>
36733
36734 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36735 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36736 file.
36737 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36738 sysdep_routines.
36739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36740 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36741 and bzero when HWCAP_SPARC_CRYPTO is present.
36742
9cee5585
L
367432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36744
d7e0dab9
L
36745 [BZ #14602]
36746 * string/test-strstr.c (check2): New function.
36747 (test_main): Call check2.
36748
03759f47
L
36749 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36750 and bug-strchr1.
36751 * string/bug-strcasestr1.c (do_test): Moved to ...
36752 * string/test-strcasestr.c (check1): Here. New function.
36753 (do_one_test): Break out result checking code into ...
36754 (check_result): This. New function.
36755 (do_one_test): Call check_result.
36756 (test_main): Call check1.
36757 * string/bug-strchr1.c (do_test): Moved to ...
36758 * string/test-strchr.c (check1): Here. New function.
36759 (do_one_test): Break out result checking code into ...
36760 (check_result): This. New function.
36761 (do_one_test): Call check_result.
36762 (test_main): Call check1.
36763 * string/bug-strstr1.c (main): Moved to ...
046f153e 36764 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36765 (do_one_test): Break out result checking code into ...
36766 (check_result): This. New function.
36767 (do_one_test): Call check_result.
36768 (test_main): Call check1.
36769 * string/bug-strcasestr1.c: Removed.
36770 * string/bug-strchr1.c: Likewise.
36771 * string/bug-strstr1.c: Likewise.
36772
53cea63e
L
36773 * elf/Makefile (dl-routines): Add hwcaps.
36774 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36775 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36776 (_dl_important_hwcaps): Moved to ...
36777 * elf/dl-hwcaps.c: Here. New file.
36778 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36779
9cee5585 36780 [BZ #14557]
bb859b06
L
36781 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36782 if IS_IN_rtld isn't defined.
36783
9cee5585
L
36784 * elf/dl-support.c (_dl_sysinfo_map): New.
36785 Include "get-dynamic-info.h" and "setup-vdso.h".
36786 (_dl_non_dynamic_init): Call setup_vdso.
36787 * elf/dynamic-link.h: Don't include <assert.h>.
36788 (elf_get_dynamic_info): Moved to ...
36789 * elf/get-dynamic-info.h: Here. New file.
36790 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36791 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36792 * elf/setup-vdso.h: Here. New file.
36793 * elf/rtld.c: Include "setup-vdso.h".
36794 (dl_main): Call setup_vdso.
36795
23c31b76
JM
367962012-10-05 Joseph Myers <joseph@codesourcery.com>
36797
28234b07
JM
36798 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36799 creal in comment listing functions tested. List finite, isinf,
36800 isnan, isless, islessequal, isgreater, isgreaterequal,
36801 islessgreater, isunordered, lgamma_r and pow10 as functions and
36802 macros not tested. Mention which functions not tested are aliases
36803 for other functions. Fix typo. Note that signs of NaNs are not
36804 tested.
36805
23c31b76
JM
36806 * scripts/config.guess: Update from config.git.
36807 * scripts/config.sub: Likewise.
36808
9043e228
RM
368092012-10-04 Roland McGrath <roland@hack.frob.com>
36810
36811 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36812 * misc/madvise.c (madvise): Renamed to __madvise.
36813 Make madvise a weak alias.
36814 * include/sys/mman.h: Declare __madvise.
36815 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36816 * sysdeps/unix/syscalls.list
36817 (madvise): Make __madvise the strong name, and madvise a weak alias.
36818 * sysdeps/unix/sysv/linux/syscalls.list
36819 (madvise, mmap): Remove redundant entries.
36820 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36821 * malloc/malloc.c (mtrim): Likewise.
36822 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36823
f57f8055
RM
368242012-10-03 Roland McGrath <roland@hack.frob.com>
36825
36826 * sysdeps/mach/hurd/dl-cache.c: File removed.
36827 * config.h.in (USE_LDCONFIG): New #undef.
36828 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36829 * configure: Regenerated.
36830 * elf/Makefile (dl-routines): Add dl-cache only under
36831 [$(use-ldconfig) = yes].
36832 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36833 cache on [USE_LDCONFIG].
36834 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36835 [USE_LDCONFIG].
36836 * elf/rtld.c (dl_main): Likewise.
36837
5bb0c10a
PT
368382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36839
36840 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36841 _SC_LEVEL4_CACHE_LINESIZE.
36842
010188c6
RM
368432012-10-03 Roland McGrath <roland@hack.frob.com>
36844
36845 * sysdeps/unix/bsd/confstr.h: File removed.
36846
b6c5ec07
AO
368472012-10-02 Alexandre Oliva <aoliva@redhat.com>
36848
36849 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36850 sys/sdt-config.h.
36851
408223d4
RM
368522012-10-02 Roland McGrath <roland@hack.frob.com>
36853
36854 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36855 Make 'mapoff' field ElfW(Off) rather than off_t.
36856
bb9510dc
DL
368572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36858
fc997c6e
DL
36859 * nscd/Makefile: Remove nscd-cflags and all its users.
36860 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36861 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36862
bb9510dc
DL
36863 [BZ #10631]
36864 * malloc.c (malloc_printerr): Clarify error message.
36865
05699367
L
368662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36867
36868 [BZ #14648]
36869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36870 Set bit_FMA_Usable if FMA is supported.
36871 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36872 macro.
36873 (bit_FMA4_Usable): Updated.
36874 (index_FMA_Usable): New macro.
36875 (CPUID_FMA): Likewise
36876 (HAS_FMA): Defined with bit_FMA_Usable.
36877
51367701
RM
368782012-10-01 Roland McGrath <roland@hack.frob.com>
36879
36880 * bits/types.h (__swblk_t): Type removed.
36881 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36882 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36884 (__SWBLK_T_TYPE): Likewise.
36885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36886 (__SWBLK_T_TYPE): Likewise.
36887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36888 (__SWBLK_T_TYPE): Likewise.
36889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36890 (__SWBLK_T_TYPE): Likewise.
36891
4d57bf63 368922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36893 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36894
36895 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36896 (xdr_mapname): Use YPMAXMAP as maxsize.
36897 (xdr_peername): Use YPMAXPEER as maxsize.
36898 (xdr_keydat): Use YPAXRECORD as maxsize.
36899 (xdr_valdat): Use YPMAXRECORD as maxsize.
36900
93c65d43
RM
369012012-10-01 Roland McGrath <roland@hack.frob.com>
36902
497a03d6
RM
36903 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36904
93c65d43
RM
36905 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36906 * csu/init-first.c: ... here.
36907 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36908 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36909 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36910 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36911 * sysdeps/i386/init-first.c: File removed.
36912 * sysdeps/sh/init-first.c: File removed.
36913
bec749fd
JM
369142012-10-01 Joseph Myers <joseph@codesourcery.com>
36915
36916 [BZ #14645]
36917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36918 if x * y might underflow to zero and z is zero.
36919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36921 * math/libm-test.inc (min_subnorm_value): New variable.
36922 (fma_test): Add more tests.
36923 (fma_test_towardzero): Likewise.
36924 (fma_test_downward): Likewise
36925 (fma_test_upward): Likewise.
36926 (initialize): Set min_subnorm_value.
36927
8ec5b013
JM
369282012-09-29 Joseph Myers <joseph@codesourcery.com>
36929
36930 [BZ #14638]
36931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36932 0 + 0.
36933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36934 mode for addition resulting in exact zero.
36935 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36937 exact 0 + 0.
36938 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36939 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36940 * math/libm-test.inc (fma_test): Add more tests.
36941 (fma_test_towardzero): New function.
36942 (fma_test_downward): Likewise.
36943 (fma_test_upward): Likewise.
36944 (main): Call the new functions.
36945
b1fa802e
DM
369462012-09-28 David S. Miller <davem@davemloft.net>
36947
36948 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36949
d3b9fd9e
RM
369502012-09-28 Roland McGrath <roland@hack.frob.com>
36951
ea4d37b3
RM
36952 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36953 instead of SIGALRM.
36954
ac51c949
RM
36955 * sysdeps/gnu/_G_config.h: Moved to ...
36956 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36957 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36958 * sysdeps/generic/_G_config.h: ... here.
36959
28c195f7
RM
36960 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36961
848917f9
RM
36962 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36963
6bacf05b
RM
36964 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36965 Conditionalize target on [libnss_test1.so-version].
36966
91363dbb
RM
36967 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36968
cc87f7d8
RM
36969 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36970 (elfobjdir): Move out of conditionals.
36971
b1c608fe
RM
36972 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36973 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36974 (__nss_lookup_function): Conditionalize label remove_from_tree on
36975 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36976
1d9a6d96
DM
369772012-09-28 David S. Miller <davem@davemloft.net>
36978
36979 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36980 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36981 file.
36982 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36983 sysdep_routines.
36984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36986 when HWCAP_SPARC_CRYPTO is present.
36987
72581615
PT
369882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36989
36990 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36991
715a900c
JL
369922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36993
36994 [BZ #6530]
36995 * stdio-common/vfprintf.c (process_string_arg): Revert
36996 2000-07-22 change.
36997
369982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36999
37000 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37001 for testcase.
37002 * stdio-common/tst-sprintf.c: Include <locale.h>
37003 (main): Test sprintf's handling of incomplete multibyte
37004 characters.
37005
9bac1d86
L
370062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37007
37008 * elf/dl-runtime.c (VERSYMIDX): Removed.
37009 * elf/dl-version.c (VERSYMIDX): Likewise.
37010 * elf/do-rel.h (VERSYMIDX): Likewise.
37011 (VALIDX): Likewise.
37012 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37013 * elf/rtld.c (VALIDX): Likewise.
37014 (ADDRIDX): Likewise.
9bac1d86
L
37015 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37016 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37017 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37018 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37019 (VALIDX): Likewise.
37020 (ADDRIDX): Likewise.
9bac1d86 37021
b31606c0
PT
370222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37023
37024 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37025
11541177
JL
370262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37027
37028 [BZ #11438]
37029 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37030 to global scope.
37031 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37032 addresses are in the same scope as 192.0.2/24.
37033 * posix/gai.conf: Document new scope table defaults.
37034
adb26fae
SP
370352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37036
37037 [BZ #5298]
37038 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37039 for ftell. Compute offsets from write pointers instead.
37040 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37041
4573c6b0
SP
370422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37043
37044 [BZ #14543]
37045 * libio/Makefile (tests): New test case tst-fseek.
37046 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37047 combination works in wide mode.
37048 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37049 state when the external buffer state changes.
37050
aa9bbfe6
DM
370512012-09-27 David S. Miller <davem@davemloft.net>
37052
37053 [BZ #14376]
37054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37055 pass reloc->r_addend in as the 'high' argument to
37056 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37057
784421e7
DM
37058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37059
c39bc8b8
PT
370602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37061
37062 * rt/tst-aio2.c: Include <pthread.h>.
37063 * rt/tst-aio3.c: Likewise.
37064
1ccc2399
SE
370652012-09-27 Steve Ellcey <sellcey@mips.com>
37066
37067 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37068
31ed4153
L
370692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37070
25f5f885
L
37071 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37072 contents on [SHARED].
31ed4153 37073
b7bfe116
MP
370742012-09-26 Marek Polacek <polacek@redhat.com>
37075
37076 [BZ #14530]
37077 [BZ #13741]
37078 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37079 for C++ and GCC <4.3 as well as for non GCC compilers.
37080
43c4edba
MT
370812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37082
37083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37084
6a1bf82f
RM
370852012-09-25 Roland McGrath <roland@hack.frob.com>
37086
37087 * Makefile.in (all, install): Declare with .PHONY.
37088 Reported by Michael Hope <michael.hope@linaro.org>.
37089
8ad11b9a
TMQMF
370902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37091
37092 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37093 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37094 system header.
37095 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37096 Likewise.
37097 (sydep_routines): Add the new and the internal functions.
37098 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37099 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37101 (GLIBC_2.17): Add the new function.
37102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37103 (GLIBC_2.17): Likewise.
37104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37105 (GLIBC_2.17): Likewise.
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37107 (GLIBC_2.17): Likewise.
37108 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37109
7e2fca8d
AM
371102012-09-25 Alan Modra <amodra@gmail.com>
37111
37112 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37113 Add release barrier before setting once_control to say
37114 initialisation is done. Add hints on lwarx. Use macro in
37115 place of isync.
37116 (clear_once_control): Add release barrier.
37117
b87c4b24
JM
371182012-09-25 Joseph Myers <joseph@codesourcery.com>
37119
d032e0d2
JM
37120 [BZ #13629]
37121 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37122 specially.
37123 * math/s_clog10.c (__clog10): Likewise.
37124 * math/s_clog10f.c (__clog10f): Likewise.
37125 * math/s_clog10l.c (__clog10l): Likewise.
37126 * math/s_clogf.c (__clogf): Likewise.
37127 * math/s_clogl.c (__clogl): Likewise.
37128 * math/Makefile (libm-calls): Add x2y2m1.
37129 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37130 (__x2y2m1): Likewise.
37131 (__x2y2m1l): Likewise.
37132 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37133 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37136 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37137 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37138 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37139 * sysdeps/i386/fpu/libm-test-ulps: Update.
37140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37141
b87c4b24
JM
37142 [BZ #14621]
37143 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37144 int as type of variable DEPTH.
37145 (glob): Use size_t instead of int as type of variables NEWCOUNT
37146 and OLD_PATHC.
37147
6d3bf199
LD
371482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37149
22bf5c17
LD
37150 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37151 Add s_sincosf-sse2.
37152 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37153 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37154 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37155 macros for using routine as __sincosf_ia32.
37156 Use macro for function declaration and weak_alias.
37157 * sysdeps/i386/fpu/libm-test-ulps: Update.
37158
37159 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37161
37162 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37163 subnormal argument.
37164 * math/s_cexpf.c (__cexpf): Likewise.
37165 * math/s_csinf.c (__csinf): Likewise.
37166 * math/s_csinhf.c (__csinhf): Likewise.
37167 * math/s_ctanf.c (__ctanf): Likewise.
37168 * math/s_ctanhf.c (__ctanhf): Likewise.
37169 * math/s_ccosh.c (__ccoshf): Likewise.
37170 * math/s_cexp.c (__cexpl): Likewise.
37171 * math/s_csin.c (__csin): Likewise.
37172 * math/s_csinh.c (__csinh): Likewise.
37173 * math/s_ctan.c (__ctan): Likewise.
37174 * math/s_ctanh.c (ctanh): Likewise.
37175 * math/s_ccoshl.c (__ccoshl): Likewise.
37176 * math/s_cexpl.c (__cexpl): Likewise.
37177 * math/s_csinl.c (__csinl): Likewise.
37178 * math/s_csinhl.c (__csinhl): Likewise.
37179 * math/s_ctanl.c (__ctanl): Likewise.
37180 * math/s_ctanhl.c (__ctanhl): Likewise.
37181
203e5603
JM
371822012-09-25 Joseph Myers <joseph@codesourcery.com>
37183
37184 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37185 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37186 (_IO_off_t): Define to __off_t, not _G_off_t.
37187 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37188 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37189 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37190 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37191 type of __dummy and __dummy2 fields.
37192 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37193 (_G_ssize_t): Likewise.
37194 (_G_off_t): Likewise.
37195 (_G_pid_t): Likewise.
37196 (_G_uid_t): Likewise.
37197 (_G_wchar_t): Likewise.
37198 (_G_wint_t): Likewise.
37199 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37200 (_G_ssize_t): Likewise.
37201 (_G_off_t): Likewise.
37202 (_G_pid_t): Likewise.
37203 (_G_uid_t): Likewise.
37204 (_G_wchar_t): Likewise.
37205 (_G_wint_t): Likewise.
37206 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37207 (_G_ssize_t): Likewise.
37208 (_G_off_t): Likewise.
37209 (_G_pid_t): Likewise.
37210 (_G_uid_t): Likewise.
37211 (_G_wchar_t): Likewise.
37212 (_G_wint_t): Likewise.
37213
9fab36eb
SP
372142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37215
37216 * malloc/arena.c: Include malloc-sysdep.h.
37217 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37218 is sufficient to shrink the heap or an unmap is needed.
37219 * sysdeps/generic/malloc-sysdep.h: New file. Define
37220 new function check_may_shrink_heap.
37221 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37222 new function check_may_shrink_heap.
37223
2b4f00d1
SP
372242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37225
37226 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37227 comments.
37228
9a9028b1
DL
372292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37230
57c69bef
DL
37231 * catgets/test-gencat.sh: Add "set -e".
37232 * elf/tst-pathopt.sh: Likewise.
37233 * grp/tst_fgetgrent.sh: Likewise.
37234 * iconvdata/run-iconv-test.sh: Likewise.
37235 * intl/tst-gettext.sh: Likewise.
37236 * intl/tst-gettext2.sh: Likewise.
37237 * intl/tst-gettext4.sh: Likewise.
37238 * intl/tst-gettext6.sh: Likewise.
37239 * intl/tst-translit.sh: Likewise.
37240 * io/ftwtest-sh: Likewise.
37241 * libio/test-freopen.sh: Likewise.
37242 * malloc/tst-mtrace.sh: Likewise.
37243 * posix/globtest.sh: Likewise.
37244 * posix/tst-getconf.sh: Likewise.
37245 * posix/wordexp-tst.sh: Likewise.
37246 * stdio-common/tst-printf.sh: Likewise.
37247 * stdio-common/tst-unbputc.sh: Likewise.
37248 * stdlib/tst-fmtmsg.sh: Likewise.
37249 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37250 * catgets/Makefile: Do not specify -e option when running
37251 testsuite shell scripts.
37252 * elf/Makefile: Likewise.
37253 * grp/Makefile: Likewise.
37254 * iconvdata/Makefile: Likewise.
37255 * intl/Makefile: Likewise.
37256 * io/Makefile: Likewise.
37257 * libio/Makefile: Likewise.
37258 * malloc/Makefile: Likewise.
37259 * posix/Makefile: Likewise.
37260 * stdio-common/Makefile: Likewise.
37261 * stdlib/Makefile: Likewise.
37262 * sysdeps/x86_64/Makefile: Likewise.
37263
9a9028b1
DL
37264 * io/ftwtest-sh: Add copyright header.
37265 * posix/globtest.sh: Likewise.
37266 * posix/tst-getconf.sh: Likewise.
37267 * posix/wordexp-tst.sh: Likewise.
37268 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37269
ced6f16e
L
372702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37271
94b32c39
L
37272 [BZ #13679]
37273 * Makeconfig (+link): Defined as $(+link-static) if
37274 $(build-shared) isn't yes.
37275 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37276 isn't yes.
37277 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37278
189e935b
L
37279 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37280
ced6f16e
L
37281 [BZ #14562]
37282 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37283 new chunk size with MALLOC_ALIGN_MASK.
37284
a9f8e53a
JM
372852012-09-24 Joseph Myers <joseph@codesourcery.com>
37286
37287 [BZ #5044]
37288 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37289 <rounding-mode.h>.
37290 (__printf_fphex): Determine rounding using get_rounding_mode and
37291 round_away.
37292 * stdio-common/tst-printf-round.c (struct hex_test): New
37293 structure.
37294 (hex_tests): New variable.
37295 (test_hex_in_one_mode): New function.
37296 (do_test): Also run tests for hex float output.
37297
43153109
JM
372982012-09-21 Joseph Myers <joseph@codesourcery.com>
37299
37300 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37301 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37302 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37303 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37304 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37305 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37306 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37307 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37308
8a26625d
JM
373092012-09-20 Joseph Myers <joseph@codesourcery.com>
37310
37311 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37312 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37313 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37314 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37315
f3fd569c
DL
373162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37317
37318 [BZ #14579]
37319 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37320 mode only.
37321 * elf/tst-rtld-load-self.sh: New test.
37322 * elf/Makefile: Run it.
37323
63bbedd4
JM
373242012-09-18 Joseph Myers <joseph@codesourcery.com>
37325
37326 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37327 (tst-writev-ENV): Remove.
37328 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37329
626f8b6a
CM
373302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37331
37332 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37333
b7aaa4d6
JM
373342012-09-17 Joseph Myers <joseph@codesourcery.com>
37335
37336 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37337 unconditional.
37338 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37339 Likewise.
37340 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37341 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37343 Likewise.
37344
65513990
L
373452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37346
37347 [BZ #14587]
37348 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37349 * config.make.in (have-cpp-asm-debuginfo): Removed.
37350 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37351 * configure: Regenerated.
37352
784761be
JM
373532012-09-14 Joseph Myers <joseph@codesourcery.com>
37354
37355 [BZ #5044]
37356 * stdio-common/printf_fp.c: Include <stdbool.h> and
37357 <rounding-mode.h>.
37358 (___printf_fp): Determine rounding using get_rounding_mode and
37359 round_away.
37360 * stdio-common/tst-printf-round.c: New file.
37361 * stdio-common/Makefile (tests): Add tst-printf-round.
37362 (link-libm): New variable.
37363 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37364
9503345f
L
373652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37366
37367 [BZ #14576]
37368 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37369 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37370 Likewise.
37371 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37372 Likewise.
37373
ad35fc00
JM
373742012-09-13 Joseph Myers <joseph@codesourcery.com>
37375
37376 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37377 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37378 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37380
6c9b0f68
JM
373812012-09-12 Joseph Myers <joseph@codesourcery.com>
37382
37383 [BZ #14518]
37384 * include/rounding-mode.h: New file.
37385 * sysdeps/generic/get-rounding-mode.h: Likewise.
37386 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37387 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37388 (MAX_VALUE): New macro.
37389 (MIN_VALUE): Likewise.
37390 (overflow_value): New function.
37391 (underflow_value): Likewise.
37392 (round_and_return): Use overflow_value and underflow_value to
37393 determine return values in overflow and underflow cases. Use
37394 round_away to determine rounding depending on rounding mode.
37395 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37396 determine return values in overflow and underflow cases.
37397 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37398 (struct test_results): New structure.
37399 (struct test): Use struct test_results to store expected results
37400 for all rounding modes.
37401 (TEST): Include expected results for all rounding modes.
37402 (test_in_one_mode): New function.
37403 (do_test): Use test_in_one_mode to compute and check results.
37404 Check results for all rounding modes.
37405 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37406 $(link-libm).
37407
19fcedd5
AM
374082012-12-09 Allan McRae <allan@archlinux.org>
37409
1e9d84cd 37410 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37411
8bbfd2f1
JM
374122012-09-11 Joseph Myers <joseph@codesourcery.com>
37413
37414 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37415 (_G_int32_t): Likewise.
37416 (_G_uint16_t): Likewise.
37417 (_G_uint32_t): Likewise.
37418 (_G_HAVE_BOOL): Likewise.
37419 (_G_HAVE_ATEXIT): Likewise.
37420 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37421 (_G_HAVE_IO_FILE_OPEN): Likewise.
37422 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37423 (_G_int32_t): Likewise.
37424 (_G_uint16_t): Likewise.
37425 (_G_uint32_t): Likewise.
37426 (_G_HAVE_BOOL): Likewise.
37427 (_G_HAVE_ATEXIT): Likewise.
37428 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37429 (_G_HAVE_IO_FILE_OPEN): Likewise.
37430 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37431 (_G_int32_t): Likewise.
37432 (_G_uint16_t): Likewise.
37433 (_G_uint32_t): Likewise.
37434 (_G_HAVE_BOOL): Likewise.
37435 (_G_HAVE_ATEXIT): Likewise.
37436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37437 (_G_HAVE_IO_FILE_OPEN): Likewise.
37438
b1dc5912
L
374392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37440
37441 * csu/libc-tls.c: Update copyright years.
37442
0e886ef9
JM
374432012-09-10 Joseph Myers <joseph@codesourcery.com>
37444
28361c5e
JM
37445 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37446 [!_G_USING_THUNKS]: Remove conditional code.
37447 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37448 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37449
0e886ef9
JM
37450 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37451 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37452 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37453 (_G_VTABLE_LABEL_PREFIX): Likewise.
37454 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37455 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37456 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37457 (_G_VTABLE_LABEL_PREFIX): Likewise.
37458 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37459 * sysdeps/mach/hurd/_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
bcba7aa2
L
374642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37465
37466 * libio/Makefile: Include ../Makeconfig before tests.
37467 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37468 only if $(build-shared) is yes.
37469
06585ee8
L
37470 * iconv/gconv_db.c: Update copyright years.
37471
80ccd52c
LD
374722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37473
37474 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37475 unwind info if defined PIC. Fix special cases description.
37476 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37477
37478 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37479 DP_HI_MASK entry.
37480 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37481
691bc9c1
L
374822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37483
3d9b46b3
L
37484 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37485
de2139a9
L
37486 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37487 is NULL.
37488
5ca78dd0
L
37489 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37490 (LDLIBS-tst-chk4): This.
37491 (LDFLAGS-tst-chk5): Renamed to ...
37492 (LDLIBS-tst-chk5): This.
37493 (LDFLAGS-tst-chk6): Renamed to ...
37494 (LDLIBS-tst-chk6): This.
37495 (LDFLAGS-tst-lfschk4): Renamed to ...
37496 (LDLIBS-tst-lfschk4): This.
37497 (LDFLAGS-tst-lfschk5): Renamed to ...
37498 (LDLIBS-tst-lfschk5): This.
37499 (LDFLAGS-tst-lfschk6): Renamed to ...
37500 (LDLIBS-tst-lfschk6): This.
37501
691bc9c1
L
37502 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37503 on $(common-objpfx)soversions.mk.
37504
65cafb1c
JM
375052012-09-07 Joseph Myers <joseph@codesourcery.com>
37506
37507 [BZ #10014]
37508 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37509 example host name.
37510
c78ab094
SP
375112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37512
37513 * malloc/arena.c (arena_get_retry): New function that gets
37514 another arena for the caller to try its request on.
37515 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37516 current arena cannot fulfill the request.
37517 (__libc_memalign): Likewise.
37518 (__libc_memalign): Likewise.
37519 (__libc_pvalloc): Likewise.
37520 (__libc_calloc): Likewise.
37521
01f49f59
JT
375222012-09-05 John Tobey <john.tobey@gmail.com>
37523
37524 [BZ #13542]
37525 * manual/arith.texi (Operations on Complex): Fix description
37526 of carg branch cut.
37527
4c23fed5
JM
375282012-09-06 Joseph Myers <joseph@codesourcery.com>
37529
1d3c8572
JM
37530 [BZ #10014]
37531 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37532 host name.
37533
4c23fed5
JM
37534 [BZ #10038]
37535 * manual/memory.texi (Memory): Make order of menu items match
37536 order of sections.
37537
04570aaa
L
375382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37539
37540 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37541 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37542 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37543
b80af2f4
L
375442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37545
37546 * csu/libc-tls.c (static_dtv): Renamed to ...
37547 (_dl_static_dtv): This. Make it global.
37548 (_dl_initial_dtv): Removed.
37549 (__libc_setup_tls): Updated.
37550 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37551 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37552 DL_INITIAL_DTV.
37553
2abe9f15
PM
375542012-09-06 Petr Machata <pmachata@redhat.com>
37555
37556 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37557 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37558 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37559 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37560
0948c3af
L
375612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37562
37563 [BZ #14545]
37564 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37565 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37566 freeing dtv[-1].
37567
a5055ad1
L
375682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37569
37570 [BZ #14544]
37571 * Makeconfig (link-static-before-libc): Replace $(+prector)
37572 with $(+prectorT).
37573 (link-static-after-libc): Replace $(+postctor) with
37574 $(+postctorT).
37575 (link-bounded): Replace $(+prector)/$(+postctor) with
37576 $(+prectorT)/$(+postctorT).
37577 (+prectorT): New macro.
37578 (+postctorT): Likewise.
37579
ed8c2ecd
JM
375802012-09-06 Joseph Myers <joseph@codesourcery.com>
37581
37582 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37583 (round_str): Handle values above the maximum for IBM long double
37584 as inexact.
37585 * stdlib/tst-strtod-round.c (tests): Regenerated.
37586
14c996c8
AK
375872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37588
37589 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37590 assembler flag.
37591 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37592 zarch_nohighgprs around the zarch optimized routines.
37593 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37594 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37596 for zarch.
37597
430d6ce6
DM
375982012-09-05 David S. Miller <davem@davemloft.net>
37599
37600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37601
57f41c40
AS
37602 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37603 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37604 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37605 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37606 entries.
37607
24d4e01b
AO
376082012-09-05 Alexandre Oliva <aoliva@redhat.com>
37609
37610 * malloc/arena.c: Fold copyright years.
37611 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37612
61d58174
AO
376132012-09-05 Alexandre Oliva <aoliva@redhat.com>
37614
37615 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37616
20196a5e
AO
376172012-09-05 Alexandre Oliva <aoliva@redhat.com>
37618
37619 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37620
5c447383
AO
376212012-09-05 Alexandre Oliva <aoliva@redhat.com>
37622
37623 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37624 change internal state upon failure.
37625
fad64255
AO
376262012-09-05 Alexandre Oliva <aoliva@redhat.com>
37627
37628 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37629 * malloc/memusage.c (mmap): Likewise.
37630 (mmap64, mremap): Likewise. Adjust name in comment.
37631
1ffb8c90
SP
376322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37633
37634 * libio/fileops.c: Fix typos in comments.
37635 * libio/oldfileops.c: Likewise.
37636 * libio/wfileops.c: Likewise.
37637
6ef9cc37
SP
376382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37639
37640 [BZ #1349]
37641 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37642 (tst-malloc-usable-ENV): Set environment for test case.
37643 * malloc/hooks.c (malloc_check_get_size): New function to get
37644 requested size.
37645 * malloc/malloc.c (musable): Use malloc_check_get_size.
37646 * malloc/tst-malloc-usable.c: New test case.
37647
4d038ae3
AS
376482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37649
37650 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37651
c4e85184
AM
376522012-09-05 Allan McRae <allan@archlinux.org>
37653
b9dafc56 37654 [BZ #13966]
c4e85184
AM
37655 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37656 determine header location.
37657 * configure: Regenerated.
37658
e1343020
AS
376592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37660
37661 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37662 float format.
37663 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37664 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37665 format.
e1343020
AS
37666 (test): Regenerate.
37667
0a9f1987
DM
376682012-09-04 David S. Miller <davem@davemloft.net>
37669
37670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37673
29237804
FW
376742012-09-04 Florian Weimer <fweimer@redhat.com>
37675
37676 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37677 failures.
37678
edb3cb88
FW
37679 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37680
60160d83
JM
376812012-09-04 Joseph Myers <joseph@codesourcery.com>
37682
37683 [BZ #9914]
37684 * libio/iogetdelim.c: Include <limits.h>.
37685 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37686 + len + 1 would overflow.
37687
bcd6c8dc
AJ
376882012-09-03 Andreas Jaeger <aj@suse.de>
37689
37690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37691 * sysdeps/i386/fpu/libm-test-ulps: Update.
37692
4ffffbd2
LD
376932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37694
37695 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37696 Add s_sinf-sse2, s_conf-sse2.
37697
37698 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37699 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37700 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37701 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37702
37703 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37704 for using routine as __sinf_ia32.
37705 Use macro for function declaration and weak_alias.
37706 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37707 for using routine as __cosf_ia32.
37708 Use macro for function declaration and weak_alias.
37709
37710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37711 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37712
37713 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37714 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37716
37717 * math/libm-test.inc (cos_test): Add more test cases.
37718 (sin_test): Likewise.
37719 (sincos_test): Likewise.
37720
511fa286
AK
377212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37722
37723 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37724 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37725 hidden.
37726 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37727
5f30cfec
L
377282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37729
37730 [BZ #14538]
37731 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37732 first element of the GOT.
37733 (elf_machine_load_address): Return the difference between
37734 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37735
0786794f
AM
377362012-09-01 Allan McRae <allan@archlinux.org>
37737
5f30cfec
L
37738 [BZ #13412]
37739 * configure.in (AWK): Require gawk version 3.0 or later.
37740 * configure: Regenerated.
0786794f 37741
26889eac
JM
377422012-09-01 Joseph Myers <joseph@codesourcery.com>
37743
37744 * sysdeps/unix/sysv/linux/kernel-features.h
37745 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37747 [__NR_clock_getres]: Make code unconditional.
37748 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37749 (clock_getcpuclockid): Remove code left unreachable by removal of
37750 conditionals.
37751 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37752 code unconditional.
37753 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37754 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37755 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37756 Make code unconditional.
37757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37759 * sysdeps/unix/sysv/linux/clock_settime.c
37760 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37761 conditional code.
37762 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37764
d22e28b0
L
377652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37766
37767 [BZ #14476]
37768 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37769 scripts/test-installation.pl.
37770
37771 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37772 and $ld_so_version if it is set.
37773
050af9c4
SP
377742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37775
37776 [BZ #14516]
37777 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37778 failure if reading from procfs failed.
37779 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37780
ad845c0b
JM
377812012-08-27 Joseph Myers <joseph@codesourcery.com>
37782
37783 * sysdeps/unix/sysv/linux/kernel-features.h
37784 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37785 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37786 Remove conditional code.
37787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37788 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37789 Remove conditional code.
37790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37791 * sysdeps/unix/sysv/linux/i386/fxstat.c
37792 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37794 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37795 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37797 * sysdeps/unix/sysv/linux/i386/lxstat.c
37798 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37800 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37801 Remove conditional code.
37802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37803 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37804 Remove conditional code.
37805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37806 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37807 <kernel-features.h>.
37808 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37809 Remove.
37810 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37811 Remove conditional code.
37812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37813 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37814 Remove conditional.
37815
5dbf56af
MF
378162012-08-27 Mike Frysinger <vapier@gentoo.org>
37817
37818 [BZ #5400]
37819 * NEWS: Add fixed bug number.
37820
d6e70f43
JM
378212012-08-27 Joseph Myers <joseph@codesourcery.com>
37822
7efb4737
JM
37823 [BZ #14519]
37824 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37825 underflowing exponent in case of negative sign.
37826 * stdlib/tst-strtod-round-data: Add more tests.
37827 * stdlib/tst-strtod-round.c (tests): Regenerated.
37828
af92131a
JM
37829 [BZ #3479]
37830 * stdlib/strtod_l.c (NDIG): Remove.
37831 (HEXNDIG): Likewise.
37832 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37833 smallest representable value.
37834 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37835 lie within an exact representation of 1/2 ulp of the result.
37836 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37837 unconditionally.
37838 (TENS_P9_IDX): Define unconditionally.
37839 (TENS_P9_SIZE): Likewise.
37840 (TENS_P10_IDX): Likewise.
37841 (TENS_P10_SIZE): Likewise.
37842 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37843 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37844 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37845 entries for 10^2^13 and 10^2^14.
37846 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37847 (TENS_P13_IDX): Define.
37848 (TENS_P13_SIZE): Likewise.
37849 (TENS_P14_IDX): Likewise.
37850 (TENS_P14_SIZE): Likewise.
37851 (_fpioconst_pow10): Change array size to
37852 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37853 unconditional.
37854 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37855 1024]: Add entries for 10^2^13 and 10^2^14.
37856 [LAST_POW10 > _LAST_POW10]: Remove #error.
37857 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37858 (_fpioconst_pow10): Change array size to
37859 FPIOCONST_POW10_ARRAY_SIZE.
37860 * stdlib/gen-fpioconst.c: New file.
37861 * stdlib/gen-tst-strtod-round.c: Likewise.
37862 * stdlib/tst-strtod-round-data: Likewise.
37863 * stdlib/tst-strtod-round.c: Likewise.
37864 * stdlib/Makefile (tests): Add tst-strtod-round.
37865
d6e70f43
JM
37866 [BZ #14459]
37867 * stdlib/strtod_l.c: Include <stdint.h>.
37868 (NDEBUG): Do not define.
37869 (round_and_return): Change EXPONENT parameter to type intmax_t.
37870 Rearrange calculations to avoid internal overflow possibilities.
37871 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37872 Rearrange calculations to avoid internal overflow possibilities.
37873 Assert that number fits inside MPNSIZE limbs.
37874 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37875 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37876 calculations and add assertions to avoid internal overflow
37877 possibilities. Add casts to avoid signed/unsigned operations.
37878 * stdlib/tst-strtod-overflow.c: New file.
37879 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37880
1f529f7d
MP
378812012-08-25 Marek Polacek <polacek@redhat.com>
37882
37883 * time/time.h: Fix some typos in comments.
37884
59a629f1
RM
378852012-08-23 Roland McGrath <roland@hack.frob.com>
37886
37887 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37888 * posix/tst-rfc3484-2.c: Likewise.
37889 * posix/tst-rfc3484-3.c: Likewise.
37890
d3bafbc9
SM
378912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37892
37893 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37894 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37895
4efcc022
JM
378962012-08-23 Joseph Myers <joseph@codesourcery.com>
37897
37898 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37899 #include of fxstatat64.c.
37900
3cc3ef96
RM
379012012-08-22 Roland McGrath <roland@hack.frob.com>
37902
f04e2132
RM
37903 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37904 * shadow/getspent_r.c: Likewise.
37905 * shadow/getspnam.c: Likewise.
37906 * shadow/getspnam_r.c: Likewise.
37907 * gshadow/getsgent.c: Likewise.
37908 * gshadow/getsgent_r.c: Likewise.
37909 * gshadow/getsgnam.c: Likewise.
37910 * gshadow/getsgnam_r.c: Likewise.
37911 * inet/getnetbyad.c: Likewise.
37912 * inet/getnetbyad_r.c: Likewise.
37913 * inet/getnetbynm.c: Likewise.
37914 * inet/getnetbynm_r.c: Likewise.
37915 * inet/getnetent.c: Likewise.
37916 * inet/getnetent_r.c: Likewise.
37917 * inet/getproto.c: Likewise.
37918 * inet/getproto_r.c: Likewise.
37919 * inet/getprtent.c: Likewise.
37920 * inet/getprtent_r.c: Likewise.
37921 * inet/getprtname.c: Likewise.
37922 * inet/getprtname_r.c: Likewise.
37923 * inet/getrpcbyname.c: Likewise.
37924 * inet/getrpcbyname_r.c: Likewise.
37925 * inet/getrpcbynumber.c: Likewise.
37926 * inet/getrpcbynumber_r.c: Likewise.
37927 * inet/getrpcent.c: Likewise.
37928 * inet/getrpcent_r.c: Likewise.
37929 * inet/getaliasent.c: Likewise.
37930 * inet/getaliasent_r.c: Likewise.
37931 * inet/getaliasname.c: Likewise.
37932 * inet/getaliasname_r.c: Likewise.
37933 * nscd/getgrgid_r.c: Likewise.
37934 * nscd/getgrnam_r.c: Likewise.
37935 * nscd/gethstbyad_r.c: Likewise.
37936 * nscd/gethstbynm3_r.c: Likewise.
37937 * nscd/getpwnam_r.c: Likewise.
37938 * nscd/getpwuid_r.c: Likewise.
37939 * nscd/getsrvbynm_r.c: Likewise.
37940 * nscd/getsrvbypt_r.c: Likewise.
37941 * nscd/gai.c: Likewise.
37942
c53d909c
RM
37943 * configure.in (build_nscd): New substituted variable, set
37944 by --disable-build-nscd and defaults to $use_nscd.
37945 * configure: Regenerated.
37946 * config.make.in (build-nscd): New substituted variable.
37947 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37948 Change conditional to require [$(build-nscd) = yes] as well.
37949 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37950
3cc3ef96
RM
37951 [BZ# 13696]
37952 * configure.in (use_nscd): New substituted variable, set by
37953 --disable-nscd. If enabled, define USE_NSCD.
37954 * configure: Regenerated.
37955 * config.h.in: Add USE_NSCD.
37956 * config.make.in (use-nscd): New substituted variable.
37957 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37958 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37959 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37960 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37961 (CFLAGS-getgrnam_r.c): Likewise.
37962 (CFLAGS-initgroups.c): Likewise.
37963 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37964 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37965 Variables removed.
37966 * inet/getnetgrent_r.c
37967 (nscd_setnetgrent): New function, broken out of ...
37968 (setnetgrent): ... here. Call it.
37969 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37970 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37971 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37972 * nscd/Makefile (routines, aux): Move definitions after include of
37973 Makeconfig. Conditionalize on [$(use-nscd) != no].
37974 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37975 Conditionalize on [USE_NSCD].
37976 (is_nscd, nscd_init_cb): Likewise.
37977 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37978 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37979 * nss/nss_db/db-init.c: Likewise.
37980 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37981 [USE_NSCD].
37982 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37983 (make_request): Use it.
37984 (cache_valid_p): New function.
37985 (__check_pf): Use it.
37986 * NEWS: Add item for --disable-nscd.
37987
07e51550
DL
379882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37989
37990 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37991 to support sed >= 4.2.1-20-ga9bf076.
37992 * configure: Regenerated.
37993
35a5b08b
RM
379942012-08-22 Roland McGrath <roland@hack.frob.com>
37995
37996 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37997 Conditionalize whole body on [IREL].
37998
8479f23a
JL
379992012-08-22 Jeff Law <law@redhat.com>
38000
38001 [BZ #14505]
38002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38003 if the family is PF_UNSPEC.
38004
48da0b21
MF
380052012-08-22 Mike Frysinger <vapier@gentoo.org>
38006
38007 * Makerules (lib-version): Rename from V.
38008 (install-lib-nosubdir): Change V to lib-version.
38009
15d0da8c
WS
380102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38011
38012 [BZ #14252]
38013 * powerpc32/power6/wcschr.c: New file.
38014 * powerpc32/power6/wcscpy.c: New file.
38015 * powerpc32/power6/wcsrchr.c: New file.
38016 * powerpc64/power6/wcschr.c: New file.
38017 * powerpc64/power6/wcscpy.c: New file.
38018 * powerpc64/power6/wcsrchr.c: New file.
38019
bcca0895
MK
380202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38021
38022 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38023 (two_way_short_needle): Use it.
5a4aaa33
RM
38024 * string/strstr.c (AVAILABLE1_USES_J): Define.
38025 * string/strcasestr.c: Likewise.
99677e57
MK
38026
38027 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38028 array references.
38029 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38030
400726de
MK
38031 [BZ #11607]
38032 * NEWS: Add an entry.
38033 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38034 define their defaults.
38035 (two_way_short_needle): Detect end-of-string on-the-fly.
38036 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38037 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38038 * string/bug-strcasestr1.c: New test.
38039 * string/Makefile: Run it.
38040
20a71f2c
MK
380412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38042
38043 [BZ #11607]
38044 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38045 the first character.
38046
21ad0558
RM
380472012-08-21 Roland McGrath <roland@hack.frob.com>
38048
38049 * csu/elf-init.c (__libc_csu_irel): Function removed.
38050 * csu/libc-start.c (apply_irel): New function.
38051 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38052
0e1d9911
JM
380532012-08-21 Joseph Myers <joseph@codesourcery.com>
38054
38055 * sysdeps/unix/sysv/linux/kernel-features.h
38056 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38057 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38058 <kernel-features.h>.
38059 [__NR_fadvise64_64]: Make code unconditional.
38060 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38061 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38062 !__NR_fadvise64_64)]: Likewise.
38063 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38064 !__NR_fadvise64_64))]: Likewise.
38065 [__NR_fadvise64]: Make code unconditional.
38066 [!__NR_fadvise64]: Remove conditional code.
38067 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38068 <kernel-features.h>.
38069 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38070 unconditional.
38071 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38072 conditional code.
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38074 not include <kernel-features.h>.
38075 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38076 unconditional.
38077 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38078 conditional code.
38079 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38080 include <kernel-features.h>.
38081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38082 unconditional.
38083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38084 conditional code.
38085
14a50c9d
WS
380862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38087
38088 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38089 slight instruction rearrangements per scrollpipe analysis.
38090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38091
c0f4faf0
RM
380922012-08-20 Roland McGrath <roland@hack.frob.com>
38093
696da859
RM
38094 * manual/syslog.texi (syslog; vsyslog, closelog):
38095 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38096 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38097
c0f4faf0
RM
38098 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38099 DSOCAPS to match condition on defining it.
38100
348363b2
JM
381012012-08-20 Joseph Myers <joseph@codesourcery.com>
38102
a35cbf28
JM
38103 * sysdeps/unix/sysv/linux/kernel-features.h
38104 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38106 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38107 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38109 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38110 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38112 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38113 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38114
445f7ecd
JM
38115 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38116 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38117
348363b2
JM
38118 * sysdeps/unix/sysv/linux/kernel-features.h
38119 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38120 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38121 unconditional.
38122 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38123 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38124 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38125 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38126 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38127 Make code unconditional.
38128 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38129 (__mmap64) [!__NR_mmap2]: Likewise.
38130 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38131 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38132 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38133 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38134 [__NR_mmap2]: Make code unconditional.
38135 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38136 (__mmap64) [!__NR_mmap2]: Likewise.
38137
bc5bc0e5
AK
381382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38139
38140 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38141
88d506de
AJ
381422012-08-18 Andreas Jaeger <aj@suse.de>
38143
38144 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38145
493387d2
MF
381462012-08-18 Mike Frysinger <vapier@gentoo.org>
38147
38148 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38149 * include/unistd.h (__have_sock_cloexec): Likewise.
38150 (__have_pipe2): Likewise.
38151 (__have_dup3): Likewise.
38152
a277af22
MF
381532012-08-18 Mike Frysinger <vapier@gentoo.org>
38154
38155 [BZ #9685]
38156 * include/unistd.h (__have_pipe2): Change define into an extern int.
38157 (__have_dup3): Likewise.
38158 * socket/have_sock_cloexec.c: Include fcntl.h.
38159 (__have_pipe2): New variable.
38160 (__have_dup3): Likewise.
38161
fdab8fd3
MF
381622012-08-17 Mike Frysinger <vapier@gentoo.org>
38163
38164 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38165
31035e80
MP
381662012-08-17 Marek Polacek <polacek@redhat.com>
38167
38168 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38169 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38170
3bd9e993
RM
381712012-08-17 Roland McGrath <roland@hack.frob.com>
38172
c91c505f
RM
38173 * configure.in: Add AC_SUBST for sysheaders.
38174 * configure: Regenerated.
38175 * config.make.in (sysheaders): New substituted variable.
38176
7c6f9d53
RM
38177 * sysdeps/unix/mkfifo.c: Moved ...
38178 * sysdeps/posix/mkfifo.c: ... here.
38179 * sysdeps/unix/mkfifoat.c: Moved ...
38180 * sysdeps/posix/mkfifoat.c: ... here.
38181
38182 * sysdeps/unix/utime.c: Moved ...
38183 * sysdeps/posix/utime.c: ... here.
38184
38185 * sysdeps/unix/time.c: Moved ...
38186 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38187 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38188 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38189
38190 * sysdeps/unix/nice.c: Moved ...
38191 * sysdeps/posix/nice.c: ... here.
38192
38193 * sysdeps/unix/alarm.c: Moved ...
38194 * sysdeps/posix/alarm.c: ... here.
38195
3bd9e993
RM
38196 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38197
d1f09384
JL
381982012-08-17 Jeff Law <law@redhat.com>
38199
38200 * intl/Makefile (codeset_mo): New variable.
38201 ($(codeset_mo)): New target.
38202 (tst-codeset.out): Depend on that. Remove explicit rule.
38203 (tst-gettext3.out, tst-gettext5.out): Likewise.
38204 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38205 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38206 * intl/tst-codeset.sh: Remove.
38207 * intl/tst-gettext3.sh: Likewise.
38208 * intl/tst-gettext5.sh: Likewise.
38209
2ae1ae5c
RM
382102012-08-17 Roland McGrath <roland@hack.frob.com>
38211
c31fdb83
RM
38212 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38213 * sysdeps/unix/syscalls.list: ... here.
38214
a0844057
RM
38215 * sysdeps/posix/getaddrinfo.c
38216 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38217 (gaiconf_init, gaiconf_reload): Use them.
38218 [!_STATBUF_ST_NSEC]
38219 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38220 Define using time_t rather than struct timespec.
38221
750c1f2a
RM
38222 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38223 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38224 Macros removed.
38225 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38226 [!NO_THREADS].
38227 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38228 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38229 Likewise.
38230
2ae1ae5c
RM
38231 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38232 __libc_cleanup_push argument.
38233
e66a42f5
RM
38234 * bits/param.h: New file.
38235 * misc/sys/param.h: New file.
38236 * include/sys/param.h: New file.
38237 * misc/Makefile (headers): Add bits/param.h.
38238 * sysdeps/generic/sys/param.h: File removed.
38239 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38240 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38241 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38242 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38243
b7c08a66
RM
38244 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38245 last change.
38246
b2e1c562
RM
38247 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38248 [_IO_MTSAFE_IO].
38249 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38250 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38251 New macros.
38252
c75ccd4c
RM
38253 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38254 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38255 rather than -D_IO_MTSAFE_IO conditionally.
38256 * stdio-common/Makefile (CPPFLAGS): Likewise.
38257 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38258 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38259 Use $(libio-mtsafe).
38260 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38261 of -D_IO_MTSAFE_IO.
38262 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38263 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38264 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38265 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38266 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38267 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38268 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38269 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38270 (CFLAGS-fread_u_chk.c): Likewise.
38271 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38272 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38273 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38274 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38275 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38276 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38277 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38278 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38279 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38280
38281 * libio/Makefile: Test [$(libc-reentrant) = yes]
38282 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38283
38284 * Makeconfig
38285 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38286 * sysdeps/pthread/configure: File removed.
38287 * sysdeps/pthread/Makeconfig: New file.
38288 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38289 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38290
d9195db8
GB
382912012-08-16 Gary Benson <gbenson@redhat.com>
38292
38293 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38294 unmapping the first object in a namespace.
38295
86466cd9
RM
382962012-08-16 Roland McGrath <roland@hack.frob.com>
38297
38298 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38299 (__internal_setnetgrent): ... this. Add internal_function to
38300 definition. Add libc_hidden_def.
38301 (setnetgrent): Update caller.
38302 (internal_endnetgrent): Renamed to ...
38303 (__internal_endnetgrent): ... this. Add internal_function to
38304 definition. Add libc_hidden_def.
38305 (endnetgrent): Update caller.
38306 (internal_getnetgrent_r): Renamed to ...
38307 (__internal_getnetgrent_r): ... this. Add internal_function to
38308 definition. Add libc_hidden_def.
38309 (__getnetgrent_r): Update caller.
38310 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38311
c3c8283c
JM
383122012-08-16 Joseph Myers <joseph@codesourcery.com>
38313
38314 * stdlib/longlong.h: Update from GCC.
38315
db1ee0a8
RM
383162012-08-16 Roland McGrath <roland@hack.frob.com>
38317
38318 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38319 on _QL, which is set by umul_ppmm but never used.
38320 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38321 variables, which are set by GMP macros but never used.
38322 * stdio-common/_itowa.c (_itowa): Likewise.
38323 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38324 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38325
30f69637
CD
383262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38327
38328 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38329 struct La_sh_regs is not constant.
38330 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38331 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38332 and struct La_sparc64_regs are not constant.
38333
93a78ac4
JM
383342012-08-16 Joseph Myers <joseph@codesourcery.com>
38335
38336 * sysdeps/unix/sysv/linux/kernel-features.h
38337 (__ASSUME_POSIX_TIMERS): Remove.
38338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38340 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38341 Make code unconditional.
38342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38343 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38344 Make code unconditional.
38345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38346 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38347 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38349 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38350 Make code unconditional.
38351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38352 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38353 (__libc_missing_posix_timers): Remove.
38354
dd924cd7
RM
383552012-08-15 Roland McGrath <roland@hack.frob.com>
38356
4b4f2771
RM
38357 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38358 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38359
601c888b
RM
38360 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38361
176790a7
RM
38362 * elf/dl-sym.c: Include <stdlib.h>.
38363
329bc018
RM
38364 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38365 constants, which avoids warnings in 32-bit builds.
38366
e04e272d
RM
38367 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38368 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38369
952bf94a
RM
38370 * misc/lseek.c: File moved to ...
38371 * io/lseek.c: ... here.
38372
7c99b50a
RM
38373 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38374
dd924cd7
RM
38375 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38376 shifting LEN more than 31 bits at once.
38377
b3f479a8
LD
383782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38379
38380 [BZ #14195]
8c4ae0d4
RM
38381 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38382 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38383 * string/test-strncasecmp.c (check1): Renamed to...
38384 (bz12205): ...this.
38385 (bz14195): Add new testcase for two empty input strings and N > 0.
38386 (test_main): Call new testcase, adapt for renamed function.
38387
9c55864e
AJ
383882012-08-15 Andreas Jaeger <aj@suse.de>
38389
38390 [BZ #14090]
38391 * crypt/md5test2.c: New test, based on test supplied by Serge
38392 Belyshev <belyshev@depni.sinp.msu.ru>.
38393 * crypt/Makefile (xtests): Add md5test-giant..
38394 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38395
02dcb6c5
PE
383962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38397
38398 [BZ #14090]
38399 * crypt/md5.c (md5_process_block): Don't assume the buffer
38400 length is less than 2**32.
38401 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38402 length is less than 2**64.
38403
a3f95dcc
RM
384042012-08-15 Roland McGrath <roland@hack.frob.com>
38405
be75d758
RM
38406 * string/str-two-way.h: Include <sys/param.h>.
38407 (MAX): Macro removed.
38408
7312ca90
RM
38409 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38410 Move #define and #undef of memmove to just before and after
38411 including <string.h>.
38412
9a0a5486
RM
38413 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38414 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38415 and after including <string.h>. Move declarations of
38416 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38417 to before #include "string/memmove.c".
38418
67cc348d
RM
38419 * include/dirent.h: Declare __getdirentries.
38420
a3f95dcc
RM
38421 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38422 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38423
ca98e171
MF
384242012-08-14 Mike Frysinger <vapier@gentoo.org>
38425
38426 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38427 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38428 * sysdeps/i386/configure: Regenerated.
38429 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38430 STABS_CURRENT_FILE, and STABS_FUN.
38431 (END): Remove call to STABS_FUN_END.
38432 (STABS_CURRENT_FILE1): Delete.
38433 (STABS_CURRENT_FILE): Likewise.
38434 (STABS_FUN): Likewise.
38435 (STABS_FUN_END): Likewise.
38436 (STABS_FUN2): Likewise.
38437 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38438 * sysdeps/x86_64/configure: Regenerated.
38439
5908bf46
RM
384402012-08-14 Roland McGrath <roland@hack.frob.com>
38441
38442 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38443 * elf/dl-lookup.c: Likewise.
5908bf46 38444
f2c05b9e
JM
384452012-08-14 Joseph Myers <joseph@codesourcery.com>
38446
38447 * sysdeps/unix/sysv/linux/kernel-features.h
38448 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38449 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38450 unconditionally.
38451 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38452 unconditionally.
38453 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38454 condition on __ASSUME_CLONE_THREAD_FLAGS.
38455
e11f5155
AJ
384562012-08-14 Andreas Jaeger <aj@suse.de>
38457
38458 * sysdeps/i386/fpu/libm-test-ulps: Update.
38459
51a9ba86
MK
384602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38461
2fdd4f78
AJ
38462 * include/atomic.h (atomic_exchange_and_add): Split into ...
38463 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38464 New atomic macros.
51a9ba86 38465
ba6cba9e
MT
384662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38467
38468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38469
42443a47
JL
384702012-08-13 Jeff Law <law@redhat.com>
38471
38472 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38473 null byte in the output string.
38474
121dce05
JM
384752012-08-10 Joseph Myers <joseph@codesourcery.com>
38476
38477 * sysdeps/unix/sysv/linux/kernel-features.h
38478 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38479 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38480 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38481 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38482 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38483 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38484 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38485
bf51f568
JL
384862012-08-09 Jeff Law <law@redhat.com>
38487
38488 [BZ #13939]
38489 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38490 When avoid_arena is set, don't retry in the that arena. Pick the
38491 next one, whatever it might be.
38492 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38493 (arena_lock): Pass in new parameter to arena_get2.
38494 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38495 arena_get2.
38496 (__libc_malloc): Unify retrying after main arena failure with
38497 __libc_memalign version.
38498 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38499
f85fa270
L
385002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38501
38502 [BZ #14166]
38503 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38504 to __redirect_strstr.
38505 (__strstr_sse42): Use typeof __redirect_strstr.
38506 (__strstr_ia32): Likewise.
38507 (__libc_strstr): New prototype.
38508 (strstr): Renamed to ...
38509 (__libc_strstr): This.
38510 (strstr): New strong alias of __libc_strstr.
38511 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38512 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38513 __redirect_time.
38514 Include <time.h>.
38515 (__libc_time): New prototype.
38516 (time_ifunc): Replace time with __libc_time.
38517 (time): New strong alias and hidden definition of __libc_time.
38518 (__GI_time): Remove strong alias.
38519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38520 Include <stddef.h>.
38521 (memmove): Redefined to __redirect_memmove.
38522 (__memmove_sse2): Use typeof __redirect_memmove.
38523 (__memmove_ssse3): Likewise.
38524 (__memmove_ssse3_back): Likewise.
38525 (__libc_memmove): New prototype.
38526 (memmove): Renamed to ...
38527 (__libc_memmove): This.
38528 (memmove): New strong alias of __libc_memmove.
38529
33b4a91e
MS
385302012-08-08 Mark Salter <msalter@redhat.com>
38531
38532 * elf/elf.h
38533 (R_MN10300_TLS_GD): Define.
38534 (R_MN10300_TLS_LD): Likewise.
38535 (R_MN10300_TLS_LDO): Likewise.
38536 (R_MN10300_TLS_GOTIE): Likewise.
38537 (R_MN10300_TLS_IE): Likewise.
38538 (R_MN10300_TLS_LE): Likewise.
38539 (R_MN10300_TLS_DTPMOD): Likewise.
38540 (R_MN10300_TLS_DTPOFF): Likewise.
38541 (R_MN10300_TLS_TPOFF): Likewise.
38542 (R_MN10300_SYM_DIFF): Likewise.
38543 (R_MN10300_ALIGN): Likewise.
38544 (R_MN10300_NUM): Update.
38545
b36137f1
JM
385462012-08-08 Joseph Myers <joseph@codesourcery.com>
38547
38548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38549 Remove.
38550
cdd915fd
RM
385512012-08-08 Roland McGrath <roland@hack.frob.com>
38552
a2433aac
RM
38553 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38554
cdd915fd
RM
38555 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38556 sysdeps/unix -> sysdeps/posix move.
38557 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38558
bf9b740a
AM
385592012-08-07 Allan McRae <allan@archlinux.org>
38560
38561 [BZ #14303]
38562 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38563 (SUNOS_CPP): Likewise.
38564 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38565 not found.
38566 (open_input): Call CPP using execvp.
38567
93df14ee
JM
385682012-08-07 Joseph Myers <joseph@codesourcery.com>
38569
38570 * sysdeps/unix/sysv/linux/kernel-features.h
38571 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38572 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38573 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38574 (__ASSUME_WAITID_SYSCALL): Likewise.
38575 * sysdeps/unix/sysv/linux/dl-execstack.c
38576 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38577 code unconditional.
38578 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38579 conditional code.
38580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38581 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38582 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38583 code.
38584 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38585 unconditional.
38586 [__ASSUME_WAITID_SYSCALL]: Likewise.
38587 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38588
d34689de
RM
385892012-08-07 Roland McGrath <roland@hack.frob.com>
38590
a281decc
RM
38591 * sysdeps/unix/closedir.c: Renamed to ...
38592 * sysdeps/posix/closedir.c: ... here.
38593 * sysdeps/unix/dirfd.c: Renamed to ...
38594 * sysdeps/posix/dirfd.c: ... here.
38595 * sysdeps/unix/dirstream.h: Renamed to ...
38596 * sysdeps/posix/dirstream.h: ... here.
38597 * sysdeps/unix/fdopendir.c: Renamed to ...
38598 * sysdeps/posix/fdopendir.c: ... here.
38599 * sysdeps/unix/opendir.c: Renamed to ...
38600 * sysdeps/posix/opendir.c: ... here.
38601 * sysdeps/unix/readdir.c: Renamed to ...
38602 * sysdeps/posix/readdir.c: ... here.
38603 * sysdeps/unix/readdir_r.c: Renamed to ...
38604 * sysdeps/posix/readdir_r.c: ... here.
38605 * sysdeps/unix/rewinddir.c: Renamed to ...
38606 * sysdeps/posix/rewinddir.c: ... here.
38607 * sysdeps/unix/seekdir.c: Renamed to ...
38608 * sysdeps/posix/seekdir.c: ... here.
38609 * sysdeps/unix/telldir.c: Renamed to ...
38610 * sysdeps/posix/telldir.c: ... here.
38611 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38612 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38613 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38614 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38615
22895b47
RM
38616 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38617 * bits/fcntl.h: ... here.
38618
707a53b6
RM
38619 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38620 not 0.
38621 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38622 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38623 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38624 (struct flock): Move l_start, l_len to the beginning.
38625 Use __pid_t for l_pid.
38626 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38627 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38628 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38629 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38630 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38631 [__USE_LARGEFILE64] (struct flock64): New type.
38632 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38633
f0bd3e25
RM
38634 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38635 * bits/dirent.h: ... here.
38636
d34689de
RM
38637 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38638 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38639
6dad2c06
JM
386402012-08-07 Joseph Myers <joseph@codesourcery.com>
38641
38642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38643 Change from 2.6.0 to 2.6.16.
38644 * sysdeps/unix/sysv/linux/configure: Regenerated.
38645 * sysdeps/unix/sysv/linux/kernel-features.h
38646 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38647 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38648 version.
38649 (__ASSUME_UTIMES): Likewise.
38650 (__ASSUME_CLONE_STOPPED): Remove.
38651 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38652 architectures, not kernel version.
38653 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38654 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38655 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38656 (__ASSUME_WAITID_SYSCALL): Likewise.
38657 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38658 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38659 * README: State 2.6.16 as minimum Linux kernel version. Do not
38660 refer to older versions.
38661
03af9520
RM
386622012-08-06 Roland McGrath <roland@hack.frob.com>
38663
8e49df1d
RM
38664 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38665 Define alphasort64 as an alias.
38666 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38667 Define versionsort64 as an alias.
38668 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38669 Define scandir64 as an alias.
38670 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38671 Define scandirat64 as an alias.
38672 * dirent/alphasort64.c (alphasort64):
38673 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38674 * dirent/versionsort64.c: Likewise.
38675 * dirent/scandir64.c: Likewise.
38676 * dirent/scandirat64.c: Likewise.
38677 * sysdeps/wordsize-64/alphasort.c: File removed.
38678 * sysdeps/wordsize-64/alphasort64.c: File removed.
38679 * sysdeps/wordsize-64/scandir.c: File removed.
38680 * sysdeps/wordsize-64/scandir64.c: File removed.
38681 * sysdeps/wordsize-64/scandirat.c: File removed.
38682 * sysdeps/wordsize-64/scandirat64.c: File removed.
38683 * sysdeps/wordsize-64/versionsort.c: File removed.
38684 * sysdeps/wordsize-64/versionsort64.c: File removed.
38685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38687 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38689 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38693
38694 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38696 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38698 [defined __arch64__ || defined __sparcv9]
38699 (__INO_T_MATCHES_INO64_T): New macro.
38700 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38701 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38702 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38703 * sysdeps/unix/sysv/linux/bits/dirent.h
38704 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38705 (_DIRENT_MATCHES_DIRENT64): New macro.
38706
03af9520
RM
38707 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38708 Define lockf64 as an alias.
38709 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38710 Define fseeko64 as an alias.
38711 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38712 Define ftello64 as an alias.
38713 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38714 Define _IO_fgetpos64 and fgetpos64 as aliases.
38715 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38716 Define _IO_fsetpos64 and fsetpos64 as aliases.
38717 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38718 Conditionalize body on this.
38719 * libio/fseeko64.c: Likewise.
38720 * libio/ftello64.c: Likewise.
38721 * libio/iofgetpos64.c: Likewise.
38722 * libio/iofsetpos64.c: Likewise.
38723 * sysdeps/wordsize-64/lockf.c: File removed.
38724 * sysdeps/wordsize-64/lockf64.c: File removed.
38725 * sysdeps/wordsize-64/fseeko.c: File removed.
38726 * sysdeps/wordsize-64/fseeko64.c: File removed.
38727 * sysdeps/wordsize-64/ftello.c: File removed.
38728 * sysdeps/wordsize-64/ftello64.c: File removed.
38729 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38730 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38731 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38732 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38733 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38735 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38737 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38739 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38741 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38743
38744 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38746 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38748 [defined __arch64__ || defined __sparcv9]
38749 (__OFF_T_MATCHES_OFF64_T): New macro.
38750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38751 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38753 (__OFF_T_MATCHES_OFF64_T): New macro.
38754
c5757acd
L
387552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38756
38757 * stdlib/secure-getenv.c (__secure_getenv): Replace
38758 GLIBC_2_16 with GLIBC_2_17.
38759
3a31811e
L
387602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38761
38762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38764
faa2bccb
DM
387652012-08-03 David S. Miller <davem@davemloft.net>
38766
38767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38768
85fe1997
JM
387692012-08-03 Joseph Myers <joseph@codesourcery.com>
38770
38771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38772 Remove.
38773 (__ASSUME_CORRECT_SI_PID): Likewise.
38774 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38775 (__ASSUME_TMPFS_NAME): Likewise.
38776 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38777 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38778 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38779 (HAVE_AUX_SECURE): Make definition unconditional.
38780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38781 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38782
4f75b7a0
RM
387832012-08-03 Roland McGrath <roland@hack.frob.com>
38784
38785 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38786 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38787 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38788 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38789 __eloop_threshold instead of SYMLOOP_MAX.
38790
38791 * sysdeps/generic/eloop-threshold.h: New file.
38792 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38793 of MAXSYMLINKS.
38794 * elf/chroot_canon.c (chroot_canon): Likewise.
38795
7aab07e4
JM
387962012-08-03 Joseph Myers <joseph@codesourcery.com>
38797
38798 [BZ #13717]
38799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38800 Change to 2.6.0 everywhere.
38801 * sysdeps/unix/sysv/linux/configure: Regenerated.
38802 * sysdeps/unix/sysv/linux/kernel-features.h
38803 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38804 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38805 kernel versions.
38806 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38807 (__ASSUME_FUTEX_REQUEUE): Remove.
38808 (__ASSUME_STATFS64): Define unconditionally.
38809 (__ASSUME_AT_SECURE): Likewise.
38810 (__ASSUME_CORRECT_SI_PID): Likewise.
38811 (__ASSUME_TGKILL): Define without depending on kernel version for
38812 i386.
38813 (__ASSUME_UTIMES): Likewise.
38814 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38815 kernel version.
38816 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38817 (__ASSUME_TMPFS_NAME): Likewise.
38818 * README: Update reference to Linux kernel versions.
38819
b67e9372
MP
388202012-08-02 Marek Polacek <polacek@redhat.com>
38821
1f529f7d 38822 [BZ# 14150]
b67e9372
MP
38823 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38824 libc_cv_asm_type_prefix with %.
38825 * configure: Regenerated.
d2441631
RM
38826 * include/libc-symbols.h: Remove comment about
38827 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38828 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38829 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38830 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38831 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38832 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38833 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38834 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38835 * elf/tst-unique2mod1.c: Likewise.
38836 * elf/tst-unique1mod2.c: Likewise.
38837 * elf/tst-unique1mod1.c: Likewise.
38838 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38839 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38840 Replace ASM_TYPE_DIRECTIVE with .type.
38841 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38842 * sysdeps/i386/sysdep.h: Likewise.
38843 * sysdeps/x86_64/sysdep.h: Likewise.
38844 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38846 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38847 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38848 * sysdeps/powerpc/powerpc32/sysdep.h:
38849 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38850 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38851 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38852 * sysdeps/i386/fpu/e_powf.S: Likewise.
38853 * sysdeps/i386/fpu/e_expl.S: Likewise.
38854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38856 * sysdeps/i386/fpu/e_pow.S: Likewise.
38857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38861 * sysdeps/i386/fpu/e_log2.S: Likewise.
38862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38864 * sysdeps/i386/fpu/e_powl.S: Likewise.
38865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38867 * sysdeps/i386/fpu/e_logl.S: Likewise.
38868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38869 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38870 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38871 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38873 * sysdeps/i386/fpu/e_log.S: Likewise.
38874 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38875 * sysdeps/i386/fpu/e_logf.S: Likewise.
38876 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38877 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38878 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38879 * sysdeps/i386/fpu/e_log10.S: Likewise.
38880 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38882 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38883 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38885 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38886 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38887 * sysdeps/i386/i686/strtok.S: Likewise.
38888 * sysdeps/i386/i386-mcount.S: Likewise.
38889 * sysdeps/i386/strtok.S: Likewise.
38890 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38891 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38893 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38894 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38895 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38896 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38897 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38898 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38899 * sysdeps/x86_64/_mcount.S: Likewise.
38900 * sysdeps/x86_64/strtok.S: Likewise.
38901 * sysdeps/sh/_mcount.S: Likewise.
38902
2747bf9a
RM
389032012-08-01 Roland McGrath <roland@hack.frob.com>
38904
38905 * libio/iofopen.c: Include <fcntl.h>.
38906 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38907 (_IO_fopen64, fopen64): Define as aliases.
38908 * libio/iofopen64.c: Include <fcntl.h>.
38909 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38910 Conditionalize body on this.
38911 * sysdeps/wordsize-64/iofopen.c: File removed.
38912 * sysdeps/wordsize-64/iofopen64.c: File removed.
38913
3fb791b8
MP
389142012-08-01 Marek Polacek <polacek@redhat.com>
38915
38916 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38917 Use dlfcn directly instead of a variable.
38918 (binfmt-subdir): Do not define.
38919 (dlfcn): Likewise.
38920
a9f1039f
JM
389212012-08-01 Joseph Myers <joseph@codesourcery.com>
38922
23bddc06
JM
38923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38924 Remove all definitions.
38925 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38926 <kernel-features.h>.
38927 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38928 (miss_F_GETOWN_EX): Remove all definitions.
38929 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38930 macro definition.
38931 [!__ASSUME_FCNTL64]: Remove conditional code.
38932 [__ASSUME_FCNTL64]: Make code unconditional.
38933 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38934 <kernel-features.h>.
38935 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38936 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38937 (lockf64) [__NR_fcntl64]: Make code unconditional.
38938 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38939
a9f1039f
JM
38940 * sysdeps/unix/sysv/linux/kernel-features.h
38941 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38942 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38943 Make code unconditional.
38944 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38945 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38947 [__NR_vfork]: Make code unconditional.
38948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38951 [__NR_vfork]: Make code unconditional.
38952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38954
09c0ee5f
RM
389552012-08-01 Roland McGrath <roland@hack.frob.com>
38956
48aec5b9
RM
38957 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38958 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38959
cd97c966
RM
38960 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38961 Define mkstemp64 as an alias.
3f55550c
RM
38962 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38963 Define mkstemps64 as an alias.
cd97c966
RM
38964 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38965 Define mkostemp64 as an alias.
b8625cfc
RM
38966 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38967 Define mkostemps64 as an alias.
cd97c966
RM
38968 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38969 Conditionalize body on this.
38970 * misc/mkostemp64.c: Likewise.
b8625cfc 38971 * misc/mkostemps64.c: Likewise.
3f55550c 38972 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38973 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38974 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38975 * sysdeps/wordsize-64/mkostemp.c: File removed.
38976 * sysdeps/wordsize-64/mkstemp.c: File removed.
38977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38981
09c0ee5f
RM
38982 [BZ #14138]
38983 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38984 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38985 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38986 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38987
38988 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38989 compat_symbol macros from <shlib-compat.h> rather than the underlying
38990 default_symbol_version and symbol_version macros, so that DEFAULT
38991 lines in shlib-versions are respected.
38992 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38993
7e66ee51
FW
389942012-08-01 Florian Weimer <fweimer@redhat.com>
38995
38996 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38997 Declare with warn_unused_result.
38998 (setgid, setregid, setegid, setresgid): Likewise.
38999 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39000 Likewise.
39001 * WUR-REPORT: Remove set*id functions.
39002
d2a54255
PT
390032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39004
39005 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39006
7ecdb005
RM
390072012-07-31 Roland McGrath <roland@hack.frob.com>
39008
b4180a5e 39009 [BZ #10191]
789bd351
RM
39010 * include/sys/socket.h (__libc_accept, __libc_accept4):
39011 Add attribute_hidden.
39012 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39013
40ce302d
RM
39014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39015 use of PTR_MANGLE.
39016 * inet/getnetgrent_r.c (setup): Likewise.
39017
7ecdb005
RM
39018 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39019
e2eabb2c
DM
390202012-07-31 David S. Miller <davem@davemloft.net>
39021
39022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39023
d0419dbf
JM
390242012-07-31 Joseph Myers <joseph@codesourcery.com>
39025
39026 [BZ #13629]
39027 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39028 value between 1.0 and 2.0 and smaller part has absolute value less
39029 than 1.0.
39030 * math/s_clog10.c (__clog10): Likewise.
39031 * math/s_clog10f.c (__clog10f): Likewise.
39032 * math/s_clog10l.c (__clog10l): Likewise.
39033 * math/s_clogf.c (__clogf): Likewise.
39034 * math/s_clogl.c (__clogl): Likewise.
39035 * math/libm-test.inc (clog_test): Add more tests.
39036 (clog10_test): Likewise.
39037 * sysdeps/i386/fpu/libm-test-ulps: Update.
39038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39039
2bc13872
FW
390402012-07-31 Florian Weimer <fweimer@redhat.com>
39041
39042 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39043 Exit with zero in case no suitable GID is found, and write a
39044 message to standard error.
39045
bea9b193
RM
390462012-07-30 Roland McGrath <roland@hack.frob.com>
39047
39048 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39049 rather than to 1.
39050 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39051 (MAXPATHLEN): Removed.
39052 (NOGROUP, NODEV): New macros.
39053 (setbit, clrbit, isset, isclr): New macros.
39054 (howmany, roundup, powerof2): New macros.
39055 (DEV_BSIZE): New macro.
39056
39057 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39058 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39059
39060 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39061 definition on [!__NO_LONG_DOUBLE_MATH].
39062
39063 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39064 PTR_MANGLE and PTR_DEMANGLE.
39065
39066 * socket/accept4.c (accept4): Rename to __libc_accept4.
39067 Define accept4 as a weak alias.
39068
39069 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39070 on [_DIRENT_HAVE_D_TYPE].
39071 * io/ftw.c (ftw_dir): Likewise.
39072
39073 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39074
39075 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39076
39077 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39078 Use the BSD numbers rather than the arbitrary ones we had.
39079 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39080 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39081 (SIGXCPU, SIGXFSZ): New macros.
39082 (_NSIG): Now 32.
39083
39084 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39085 initializer on [_LIBC_REENTRANT].
39086
39087 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39088 definitions inside [_POSIX_MAPPED_FILES].
39089
39090 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39091
39092 * dirent/opendir.c: Include <fcntl.h>.
39093
39094 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39095 (__libc_getspecific): Likewise.
39096 (__libc_key_create): Likewise.
39097
39098 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39099 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39100 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39101 (tmpfile64): Define as alias.
39102 * sysdeps/wordsize-64/tmpfile.c: File removed.
39103 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39106
39107 * stdio-common/vfscanf.c: Include <stdbool.h>.
39108 * nss/makedb.c: Likewise.
39109 * stdio-common/_i18n_number.h: Likewise.
39110 * argp/argp-help.c: Likewise.
39111 * posix/wordexp.c: Likewise.
39112 * sysdeps/posix/spawni.c: Likewise.
39113 * nss/nss_files/files-initgroups.c: Likewise.
39114 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39115 * nss/nss_files/files-initgroups.c: Likewise.
39116 * nss/nss_db/db-netgrp.c: Likewise.
39117 * nss/nss_db/db-initgroups.c: Likewise.
39118 * io/fchmodat.c: Include <sys/stat.h>.
39119
39120 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39121 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39122
39123 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39124 [HAVE_MMAP].
39125
39126 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39127 Add multiple inclusion protection.
39128
e5abc686
DM
391292012-07-27 David S. Miller <davem@davemloft.net>
39130
39131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39132
815e6fa3
GB
391332012-07-27 Gary Benson <gbenson@redhat.com>
39134
39135 [BZ #14298]
39136 * elf/rtld.c: Include <stap-probe.h>.
39137 (dl_main): Added static probes "init_start" and "init_complete".
39138 * elf/dl-load.c: Include <stap-probe.h>.
39139 (lose): Take new parameter "nsid".
39140 Added static probe "map_failed".
39141 (_dl_map_object_from_fd): Pass namespace id to lose.
39142 Added static probe "map_start".
39143 (open_verify): Pass namespace id to lose.
39144 * elf/dl-open.c: Include <stap-probe.h>.
39145 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39146 and "reloc_complete".
39147 * elf/dl-close.c: Include <stap-probe.h>.
39148 (_dl_close_worker): Added static probes "unmap_start" and
39149 "unmap_complete".
39150 * elf/rtld-debugger-interface.txt: New file documenting the above.
39151
9f98c16c
RM
391522012-07-26 Roland McGrath <roland@hack.frob.com>
39153
39154 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39155 rather than a string variable.
39156 * sunrpc/rpc_main.c (h_output): Likewise.
39157 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39158
f3c22df3
PT
391592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39160
39161 * inet/check_native.c: New file.
39162
3129cfc6
JM
391632012-07-26 Joseph Myers <joseph@codesourcery.com>
39164
da865e95
JM
39165 [BZ #13629]
39166 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39167 if larger part has absolute value 1.0.
39168 * math/s_clog10.c (__clog10): Likewise.
39169 * math/s_clog10f.c (__clog10f): Likewise.
39170 * math/s_clog10l.c (__clog10l): Likewise.
39171 * math/s_clogf.c (__clogf): Likewise.
39172 * math/s_clogl.c (__clogl): Likewise.
39173 * math/libm-test.inc (clog_test): Add more tests.
39174 (clog10_test): Likewise.
39175 * sysdeps/i386/fpu/libm-test-ulps: Update.
39176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39177
3129cfc6
JM
39178 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39179 (pltexit): Likewise.
39180 (La_regs): Likewise.
39181 (La_retval): Likewise.
39182 (int_retval): Likewise.
39183 Update #error for removed macros to refer only to definitions in
39184 tst-audit.h.
39185 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39186 macro.
39187 (pltexit): Likewise.
39188 (La_regs): Likewise.
39189 (La_retval): Likewise.
39190 (int_retval): Likewise.
39191 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39192 macro.
39193 (pltexit): Likewise.
39194 (La_regs): Likewise.
39195 (La_retval): Likewise.
39196 (int_retval): Likewise.
39197 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39198 macro.
39199 (pltexit): Likewise.
39200 (La_regs): Likewise.
39201 (La_retval): Likewise.
39202 (int_retval): Likewise.
39203 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39204 macro.
39205 (pltexit): Likewise.
39206 (La_regs): Likewise.
39207 (La_retval): Likewise.
39208 (int_retval): Likewise.
39209 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39210 macro.
39211 (pltexit): Likewise.
39212 (La_regs): Likewise.
39213 (La_retval): Likewise.
39214 (int_retval): Likewise.
39215 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39216 macro.
39217 (pltexit): Likewise.
39218 (La_regs): Likewise.
39219 (La_retval): Likewise.
39220 (int_retval): Likewise.
39221 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39222 macro definitions in tst-audit.h.
39223 * sysdeps/i386/tst-audit.h: New file.
39224 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39225 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39226 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39227 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39228 * sysdeps/sh/tst-audit.h: Likewise.
39229 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39230 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39231 * sysdeps/x86_64/tst-audit.h: Likewise.
39232
bfc07087
AJ
392332012-07-26 Andreas Jaeger <aj@suse.de>
39234
b1b2aaf8
AJ
39235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39236 ptrace.
39237
39238 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39239 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39240 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39241 PTRACE_O_MASK.
39242 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39243 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39244 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39245
bfc07087
AJ
39246 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39247 value.
39248
39249 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39250 _sigsys.
39251 (si_call_addr, si_syscall, si_arch): Define new macro.
39252 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39253 _sigsys.
39254 (si_call_addr, si_syscall, si_arch): Define new marcro.
39255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39256 _sigsys.
39257 (si_call_addr, si_syscall, si_arch): Define new macro.
39258 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39259 _sigsys.
39260 (si_call_addr, si_syscall, si_arch): Define new macro.
39261
89b4b02f
JM
392622012-07-25 Joseph Myers <joseph@codesourcery.com>
39263
39264 [BZ #13717]
39265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39266 Change to 2.4.21 where previously 2.4.1.
39267 * sysdeps/unix/sysv/linux/configure: Regenerated.
39268 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39269 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39270 Linux kernel version.
39271 (__ASSUME_STD_AUXV): Remove.
39272 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39273 kernel version.
39274 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39275 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39276 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39277 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39278 (__ASSUME_NETLINK_SUPPORT): Likewise.
39279 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39280 (__no_netlink_support): Remove conditional definition.
39281 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39282 Remove.
39283 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39284 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39285 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39286 (if_nameindex_ioctl): Remove.
39287 (if_nameindex_netlink): Do not handle __no_netlink_support.
39288 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39289 code.
39290 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39291 Remove conditional code.
39292 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39293 code.
39294 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39295 unconditional.
39296 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39297 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39298 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39299 Remove.
39300 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39301 [!__ASSUME_STD_AUXV]: Remove conditional code.
39302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39303 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39304 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39306 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39307 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39308 code.
39309 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39311 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39312 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39313 conditional code.
39314 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39316 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39317 code.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39319 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39320 conditional code.
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39322 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39323 code unconditional.
39324 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39325 conditional code.
39326 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39327 unconditional.
39328 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39329 conditional code.
39330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39331 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39332 unconditional.
39333 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39334 conditional code.
39335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39336 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39337 code unconditional.
39338 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39339 conditional code.
39340 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39341 unconditional.
39342 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39343 conditional code.
39344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39345 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39346 code unconditional.
39347 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39348 conditional code.
39349 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39350 unconditional.
39351 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39352 conditional code.
39353
842a39cd
AS
393542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39355
39356 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39357 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39358 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39359 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39360 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39361 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39362 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39363 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39364 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39365 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39366 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39367 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39368 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39369 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39370 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39372 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39373 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39374 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39376 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39377 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39378 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39379
84b3fd84
FW
393802012-07-25 Florian Weimer <fweimer@redhat.com>
39381
39382 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39383 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39384 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39385 Introduce __libc_secure_getenv.
0c7936d5
FW
39386 * stdlib/Versions (2.17): Add secure_getenv
39387 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39388 * stdlib/secure-getenv.c: Rename __secure_getenv to
39389 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39390 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39391 * stdlib/tst-secure-getenv.c: New.
39392 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39393 * manual/startup.texi (Environment Access): Document
39394 secure_getenv.
84b3fd84
FW
39395 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39396 __libc_secure_getenv.
39397 * inet/ruserpass.c (ruserpass): Likewise.
39398 * malloc/mtrace.c (mtrace): Likewise.
39399 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39400 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39401 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39402 * sysdeps/posix/tempname.c: Likewise. Evaluate
39403 HAVE_SECURE_GETENV.
39404 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39405 __secure_getenv to __libc_secure_getenv.
84b3fd84 39406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39408 Likewise.
39409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39410 Likewise.
39411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39418
56e49b71
JM
394192012-07-25 Joseph Myers <joseph@codesourcery.com>
39420
39421 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39422 (struct La_i86_retval): Likewise.
39423 (struct La_x86_64_regs): Likewise.
39424 (struct La_x86_64_retval): Likewise.
39425 (struct La_x32_regs): Likewise.
39426 (struct La_x32_retval): Likewise.
39427 (struct La_ppc32_regs): Likewise.
39428 (struct La_ppc32_retval): Likewise.
39429 (struct La_ppc64_regs): Likewise.
39430 (struct La_ppc64_retval): Likewise.
39431 (struct La_sh_regs): Likewise.
39432 (struct La_sh_retval): Likewise.
39433 (struct La_s390_32_regs): Likewise.
39434 (struct La_s390_32_retval): Likewise.
39435 (struct La_s390_64_regs): Likewise.
39436 (struct La_s390_64_retval): Likewise.
39437 (struct La_sparc32_regs): Likewise.
39438 (struct La_sparc32_retval): Likewise.
39439 (struct La_sparc64_regs): Likewise.
39440 (struct La_sparc64_retval): Likewise.
39441 (struct audit_ifaces): Remove architecture-specific pltenter and
39442 pltexit members.
39443 * sysdeps/i386/ldsodefs.h: New file.
39444 * sysdeps/powerpc/ldsodefs.h: Likewise.
39445 * sysdeps/s390/ldsodefs.h: Likewise.
39446 * sysdeps/sh/ldsodefs.h: Likewise.
39447 * sysdeps/sparc/ldsodefs.h: Likewise.
39448 * sysdeps/x86_64/ldsodefs.h: Likewise.
39449
354691b7
MP
394502012-07-25 Marek Polacek <polacek@redhat.com>
39451
39452 [BZ #6808]
39453 * math/libm-test.inc (yn_test): Add another test.
39454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39455 to ERANGE when the result is +-Inf.
39456 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39457 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39459 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39460
bf9e2071
JM
394612012-07-24 Joseph Myers <joseph@codesourcery.com>
39462
39463 * conform/data/time.h-data (NULL): Use macro-constant. Require
39464 equal to 0.
39465 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39466 clock_t.
39467 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39468
57633811
TS
394692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39470
39471 * configure.in <sysdeps resolving>: Correct printing
39472 Implies_before.
39473 * configure: Regenerate.
39474
c23c33b0
TS
394752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39476
39477 * math/w_ilogb.c: Include <limits.h>.
39478 * math/w_ilogbl.c: Likewise.
39479
b5982523
JM
394802012-07-20 Joseph Myers <joseph@codesourcery.com>
39481
39482 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39483 va_copy. Document allowing for unavailable va_copy only as
39484 pre-C99 compatibility.
39485 * manual/string.texi (Copying and Concatenation): Use va_copy
39486 instead of __va_copy in concat example.
39487
ac4ea442
PT
394882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39489
39490 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39491 (__sendto): Use create_address_port. Initialize APORT and deallocate
39492 it if not null.
39493
f98eafbd
PT
39494 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39495 with O_NOLINK passed to __file_name_lookup.
39496
898c7aab
PT
39497 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39498 with O_NOLINK passed to __file_name_lookup.
39499
0ced335a
PT
39500 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39501 negative N or less than NGIDS.
39502
b3404dbd
PT
39503 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39504 type to string_t. Set ERANGE as errno and return it if NAME is not big
39505 enough. Use memcpy instead of strncpy.
39506
0f48659e
JM
395072012-07-20 Joseph Myers <joseph@codesourcery.com>
39508
39509 * elf/Makefile (check-data): Remove.
39510 (localplt.data): New vpath directive.
39511 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39512 instead of $(check-data).
39513 * scripts/data/localplt-generic.data: Move to ...
39514 * sysdeps/generic/localplt.data: ... here.
39515 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39516 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39517 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39519 ... here.
39520 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39522 ... here.
39523 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39525 ... here.
39526 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39528 ... here.
39529 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39531 ... here.
39532 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39534 ... here.
39535
d37cbdaa
AZ
395362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39537
39538 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39539 PPC32 and PPC64 files.
39540 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39541 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39542
46f85fc2
AK
395432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39544
39545 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39546 __makecontext_ret to ...
39547 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39548 ... here and call exit if uc_link is NULL. New file.
39549 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39550 __makecontext_ret.S.
39551 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39552 __makecontext_ret to ...
39553 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39554 ... here and call exit if uc_link is NULL. New file.
39555 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39556 __makecontext_ret.S.
39557
08f43f9b
AK
395582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39559
39560 * elf/elf.h (R_390_IRELATIVE): New definition.
39561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39562 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39563 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39564 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39565 (elf_machine_lazy_rel): Likewise.
39566 * sysdeps/s390/dl-irel.h: New file.
39567 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39568 * sysdeps/s390/s390-64/memset.S: New asm code.
39569 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39570 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39571 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39572 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39573 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39574 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39575 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39576 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39577 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39578 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39579 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39580 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39581 * sysdeps/s390/s390-32/memset.S: New asm code.
39582 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39583
3b05db33
MP
395842012-07-17 Marek Polacek <polacek@redhat.com>
39585
39586 [BZ #14349]
39587 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39588 * sysdeps/s390/s390-64/configure.in: Likewise.
39589 * sysdeps/sparc/configure.in: Likewise.
39590 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39591 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39592 * sysdeps/i386/configure.in: Likewise.
39593 * sysdeps/x86_64/configure.in: Likewise.
39594 * sysdeps/sh/configure.in: Likewise.
39595 * sysdeps/s390/s390-32/configure: Regenerated.
39596 * sysdeps/s390/s390-64/configure: Likewise.
39597 * sysdeps/x86_64/configure: Likewise.
39598 * sysdeps/sh/configure: Likewise.
39599 * sysdeps/powerpc/powerpc64/configure: Likewise.
39600 * sysdeps/powerpc/powerpc32/configure: Likewise.
39601 * sysdeps/sparc/configure: Likwise.
39602 * sysdeps/i386/configure: Likewise.
39603
a66877c6
MP
39604 * elf/dl-open.c: Comment fixes.
39605
cfc82fd8
JM
396062012-07-17 Joseph Myers <joseph@codesourcery.com>
39607
bd29910a
JM
39608 * Makefile [CXX] (check-data): Remove.
39609 [CXX] (c++-types.data): New vpath directive.
39610 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39611 vpath. Do not allow for C++ type data being missing.
39612 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39613 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39614 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39615 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39616 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39617 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39618 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39620 ... here.
39621 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39623 ... here.
39624 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39626 ... here.
39627 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39629 ... here.
39630 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39632 ... here.
39633 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39635 ... here.
39636 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39638 ... here.
39639 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39641
cfc82fd8
JM
39642 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39643 definitions to architecture-specific files.
39644 (TLS_IE): Likewise.
39645 (TLS_LD): Likewise.
39646 (TLS_GD): Likewise.
39647 * sysdeps/i386/tls-macros.h: New file.
39648 * sysdeps/powerpc/tls-macros.h: Likewise.
39649 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39650 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39651 * sysdeps/sh/tls-macros.h: Likewise.
39652 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39653 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39654 * sysdeps/x86_64/tls-macros.h: Likewise.
39655
f7db3170
TS
396562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39657
07cbfc23
TS
39658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39659 zero value for regular exit case.
39660
f7db3170
TS
39661 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39662 (__start_context): Preserve zero value for regular exit case.
39663
dc97c227
TS
396642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39665 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39666
39667 * manual/setjmp.texi (setcontext): Clarify normal process
39668 termination when uc_link is the null pointer.
39669 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39670 exit call.
39671
d0cd7d02
AS
396722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39673
39674 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39675 preprocessor. Test for each exception mask separately.
39676
dd318934
AJ
396772012-07-16 Andreas Jaeger <aj@suse.de>
39678
39679 * po/ru.po: Update from translation team.
39680
8048311a
JM
396812012-07-15 Joseph Myers <joseph@codesourcery.com>
39682
39683 * conform/data/string.h-data (NULL): Use macro-constant. Require
39684 equal to 0.
39685 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39686 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39687 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39688 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39690
b637d46e
AJ
396912012-07-13 Andreas Jaeger <aj@suse.de>
39692
39693 * po/fr.po: Update from translation team.
39694
541428fe
MP
396952012-07-12 Marek Polacek <polacek@redhat.com>
39696
39697 [BZ #14173]
39698 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39700 loop condition.
39701
ec332e94
JM
397022012-07-12 Joseph Myers <joseph@codesourcery.com>
39703
39704 [BZ #13717]
39705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39706 Change to 2.4.1 where previously 2.4.0.
39707 * sysdeps/unix/sysv/linux/configure: Regenerated.
39708 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39709 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39710 version.
39711 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39712 (__ASSUME_AT_CLKTCK): Remove.
39713 (__ASSUME_AT_PAGESIZE): Likewise.
39714 (__ASSUME_AT_XID): Likewise.
39715 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39716 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39717 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39718 unconditionally.
39719 (HAVE_AUX_PAGESIZE): Likewise.
39720 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39721 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39722 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39723
7b6e99be
JB
397242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39725
39726 [BZ #14307]
39727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39728 the temporary buffer used to invoke __gethostbyname2_r,
39729 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39730 host_data / struct gaih_addrtuple.
39731 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39732 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39733 header file nss/nsswitch.h.
39734 * nss/nsswitch.h (global scope): Add definition of implementation
39735 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39736 resolv/nss_dns/dns-host.c).
39737
608404eb
AJ
397382012-07-11 Andreas Jaeger <aj@suse.de>
39739
39740 * po/fr.po: Update from translation team.
39741
71220aca
AJ
39742 * po/sv.po: Update from translation team
39743 * po/fr.po: Another update from translation team.
39744
28cfe843
AZ
397452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39746
39747 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39748 for subnormals or multiply small sinh result by itself.
39749 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39751
6b90f981
DM
397522012-07-11 David S. Miller <davem@davemloft.net>
39753
39754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39755
c6825772
AS
397562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39757
39758 [BZ #14347]
39759 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39760 (INTERNAL_MARK): Shift it here.
39761
7b8e0d49
MP
397622012-07-10 Marek Polacek <polacek@redhat.com>
39763
39764 [BZ #14151]
39765 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39766 libc_cv_asm_global_directive with .globl.
39767 * configure: Regenerated.
39768 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39769 with .globl.
39770 * sysdeps/i386/configure: Regenerated.
39771 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39772 with .globl.
39773 * sysdeps/x86_64/configure: Regenerated.
39774 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39775 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39776 * elf/tst-unique2mod2.c: Likewise.
39777 * elf/tst-unique2mod1.c: Likewise.
39778 * elf/tst-unique1mod2.c: Likewise.
39779 * elf/tst-unique1mod1.c: Likewise.
39780 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39781 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39782 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39784 * sysdeps/mach/sysdep.h: Likewise.
39785 * sysdeps/i386/sysdep.h: Likewise.
39786 * sysdeps/i386/i386-mcount.S: Likewise.
39787 * sysdeps/x86_64/_mcount.S: Likewise.
39788 * sysdeps/x86_64/sysdep.h: Likewise.
39789 * sysdeps/sh/_mcount.S: Likewise.
39790 * sysdeps/sh/sysdep.h: Likewise.
39791 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39792 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39793 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39795 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39796 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39797 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39798 * locale/localeinfo.h: Likewise.
39799 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39800 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39801
6c55cda3
RM
398022012-07-09 Roland McGrath <roland@hack.frob.com>
39803
39804 [BZ #14336]
39805 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39806 system".
39807 * manual/message.texi (The Uniforum approach): Likewise.
39808 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39809 (glibc iconv Implementation): Likewise.
39810
638a572e
JM
398112012-07-09 Joseph Myers <joseph@codesourcery.com>
39812
39813 [BZ #14337]
39814 * math/s_clog.c (__clog): Avoid scaling a value down where that
39815 could result in underflow.
39816 * math/s_clog10.c (__clog10): Likewise.
39817 * math/s_clog10f.c (__clog10f): Likewise.
39818 * math/s_clog10l.c (__clog10l): Likewise.
39819 * math/s_clogf.c (__clogf): Likewise.
39820 * math/s_clogl.c (__clogl): Likewise.
39821 * math/libm-test.inc (clog_test): Add more tests.
39822 (clog10_test): Likewise.
39823 * sysdeps/i386/fpu/libm-test-ulps: Update.
39824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39825
261f4859
AS
398262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39827
0abaf3e4
AS
39828 [BZ #14283]
39829 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39830 by 7 not 8 to examine high bit of fractional part.
39831
261f4859
AS
39832 [BZ #14042]
39833 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39834 for call to __mcount_internal.
39835 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39836 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39837 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39838
f17ac40d
JM
398392012-07-06 Joseph Myers <joseph@codesourcery.com>
39840
9ad63c23
JM
39841 [BZ #14154]
39842 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39843 approximation for values within 0x1p-13f of an odd multiple of
39844 pi/4.
39845 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39846 exception. Add more tests.
39847 * sysdeps/i386/fpu/libm-test-ulps: Update.
39848
f17ac40d
JM
39849 [BZ #6778]
39850 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39851 inputs and return -1 for them. Do not check for +Inf in case not
39852 reachable for +Inf.
39853 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39854 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39855 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39856 and return -1 for them. Do not check for +Inf in case not
39857 reachable for +Inf.
39858 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39859 define.
39860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39861 and return -1 for them. Do not check for +Inf in case not
39862 reachable for +Inf.
39863 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39864 spurious underflow.
39865 * sysdeps/i386/fpu/libm-test-ulps: Update.
39866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39867
fb21f89b
MF
398682012-07-06 Mike Frysinger <vapier@gentoo.org>
39869
39870 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39871
cdfe2c5e
JM
398722012-07-05 Joseph Myers <joseph@codesourcery.com>
39873
39874 [BZ #14157]
39875 [BZ #14331]
39876 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39877 could result in spurious underflow. Scale down values above
39878 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39879 * math/s_csqrtf.c (__csqrtf): Likewise.
39880 * math/s_csqrtl.c (__csqrtl): Likewise.
39881 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39882 spurious underflow.
39883 * sysdeps/i386/fpu/libm-test-ulps: Update.
39884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39885
70d35b67
AS
398862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39887
704bc459
AS
39888 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39889 xopen-msg.sed.
39890 * catgets/xopen-msg.awk: New file.
39891 * catgets/xopen-msg.sed: Removed.
39892
70d35b67
AS
39893 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39894 po2text.sed.
39895 * intl/po2test.awk: New file.
39896 * intl/po2test.sed: Removed.
39897
ca61cf32
JM
398982012-07-04 Joseph Myers <joseph@codesourcery.com>
39899
39900 [BZ #14328]
39901 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39902 or multiply small sinh result by itself.
39903 * math/s_ctanf.c (__ctanf): Likewise.
39904 * math/s_ctanh.c (__ctanh): Likewise.
39905 * math/s_ctanhf.c (__ctanhf): Likewise.
39906 * math/s_ctanhl.c (__ctanhl): Likewise.
39907 * math/s_ctanl.c (__ctanl): Likewise.
39908 * math/libm-test.inc (ctan_test_tonearest): New function.
39909 (ctan_test_towardzero): Likewise.
39910 (ctan_test_downward): Likewise.
39911 (ctan_test_upward): Likewise.
39912 (ctanh_test_tonearest): Likewise.
39913 (ctanh_test_towardzero): Likewise.
39914 (ctanh_test_downward): Likewise.
39915 (ctanh_test_upward): Likewise.
39916 (main): Call these new functions.
39917 * sysdeps/i386/fpu/libm-test-ulps: Update.
39918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39919
ca48a46a
MF
399202012-07-03 Mike Frysinger <vapier@gentoo.org>
39921
39922 * .gitignore: Delete /ports entry.
39923
9d63d37d
AJ
399242012-07-03 Andreas Jaeger <aj@suse.de>
39925
39926 * po/bg.po: Update from translation team.
39927 * po/cs.po: Likewise.
39928 * po/de.po: Likewise.
39929 * po/hr.po: Likewise.
39930 * po/nl.pl: Likewise.
39931 * po/pl.po: Likewise.
39932 * po/vi.po: Likewise.
39933
370ca3d2
JM
399342012-07-03 Joseph Myers <joseph@codesourcery.com>
39935
95f5a9a8
JM
39936 * Makeconfig [!+link] (+link-before-libc): New variable.
39937 [!+link] (+link-after-libc): Likewise.
39938 [!+link] (+link-tests): Likewise.
39939 [!+link] (+link): Define in terms of $(+link-before-libc) and
39940 $(+link-after-libc).
39941 [!+link-static] (+link-static-before-libc): New variable.
39942 [!+link-static] (+link-static-after-libc): Likewise.
39943 [!+link-static] (+link-static-tests): Likewise.
39944 [!+link-static] (+link-static): Define in terms of
39945 $(+link-static-before-libc) and $(+link-static-after-libc).
39946 [build-shared] (link-libc-before-gnulib): New variable.
39947 [build-shared] (link-libc-tests): Likewise.
39948 [build-shared] (link-libc): Define in terms of
39949 $(link-libc-before-gnulib).
39950 [!build-shared] (link-libc-tests): New variable.
39951 (link-libc-static-tests): New variable.
39952 [!gnulib] (gnulib-arch): New variable.
39953 [!gnulib] (gnulib-tests): Likewise.
39954 [!gnulib] (static-gnulib-arch): Likewise.
39955 [!gnulib] (static-gnulib-tests): Likewise.
39956 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39957 Define with "=" instead of ":=".
39958 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39959 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39960 * Rules (binaries-all-notests): New variable.
39961 (binaries-all-tests): Likewise.
39962 (binaries-static-notests): Likewise.
39963 (binaries-static-tests): Likewise.
39964 (binaries-all): Define using $(binaries-all-notests) and
39965 $(binaries-all-tests).
39966 (binaries-static): Define using $(binaries-static-notests) and
39967 $(binaries-static-tests).
39968 (binaries-shared-tests): New variable.
39969 (binaries-shared-notests): Likewise.
39970 (binaries-shared): Remove variable.
39971 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39972 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39973 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39974 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39975 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39976 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39977 * elf/Makefile (sln-modules): New variable.
39978 (extra-objs): Add $(sln-modules:=.o).
39979 (ldconfig-modules): Add static-stubs.
39980 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39981 * elf/static-stubs.c: New file.
39982
7a845b2c
JM
39983 [BZ #14283]
39984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39985 by 7 not 8 to examine high bit of fractional part. Use volatile
39986 variables when splitting into final array of floats if
39987 __FLT_EVAL_METHOD__ != 0.
39988 * math/libm-test.inc (cos_test): Add another test.
39989 (sin_test): Likewise.
39990 * sysdeps/i386/fpu/libm-test-ulps: Update.
39991
e2283f38
JM
39992 [BZ #14273]
39993 * math/libm-test.inc (cosh_test): Add more tests.
39994
370ca3d2
JM
39995 * version.h (RELEASE): Set to "development".
39996 (VERSION): Set to "2.16.90".
39997
ee9247c3
CD
399982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39999
40000 * NEWS: Update copyright. Remove last-updated date.
40001 Mention math library bug fixes and timezone data changes.
40002 * README: Mention GNU/Hurd, x32, and HPPA support status.
40003
4648c381
TS
400042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40005
40006 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40007
aac78a43
AJ
400082012-06-27 Andreas Jaeger <aj@suse.de>
40009
40010 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40011
ed3dbfad
AJ
400122012-06-25 Andreas Jaeger <aj@suse.de>
40013
40014 * sysdeps/s390/fpu/libm-test-ulps: Update.
40015
4d0ee855
AS
400162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40017 Thomas Schwinge <thomas@codesourcery.com>
40018
40019 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40020 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40022 fanotify_mark.
40023
af1bce34
TS
400242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40025
a9fa33ba
TS
40026 * sysdeps/mach/start.c: Remove file.
40027 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40028 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40029 * sysdeps/sh/init-first.c: Likewise.
40030
58f902b8
TS
40031 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40032 registers for frame unwinding purposes, add CFI directives.
40033 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40034 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40035 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40036 Likewise.
40037
1518f58b
TS
40038 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40039 __fortify_fail returning.
40040 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40041
db9b5059
TS
40042 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40043 sysdeps/sh/____longjmp_chk.S.
40044 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40045 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40046 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40047 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40048
967705fe
TS
40049 * sysdeps/sh/abort-instr.h: New file.
40050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40051 process in case exit returns.
40052
a9def8c4
TS
40053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40054 initialize the GOT register before use.
40055
2a649725
TS
40056 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40057 calculation of ARGC > 4.
40058
af1bce34
TS
40059 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40060 meaningful names to some local labels.
40061
d230f50a
KK
400622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40063 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40064
40065 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40066 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40067 (__arch_compare_and_exchange_val_16_acq): Likewise.
40068 (__arch_compare_and_exchange_val_32_acq): Likewise.
40069 (atomic_exchange_and_add): Fix gUSA sequence.
40070 (atomic_add): Likewise.
40071 (atomic_add_negative): Likewise.
40072 (atomic_add_zero): Likewise.
40073 (atomic_bit_test_set): Likewise.
40074
0479b305
AS
400752012-06-22 Andreas Schwab <schwab@redhat.com>
40076
40077 [BZ #13579]
40078 * include/link.h (struct link_map): Add l_free_initfini.
40079 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40080 l_initfini.
40081 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40082 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40083 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40084 set.
40085
0e3933b9
CD
400862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40087
40088 * configure.in: Use AC_LANG_SOURCE.
40089 * configure: Regenerate.
40090
4248b1b1
RM
400912012-06-22 Roland McGrath <roland@hack.frob.com>
40092
40093 * configure.in (libc_cv_localstatedir): New substituted variable.
40094 * configure: Regenerated.
40095 * config.make.in (localstatedir): New variable, substituted from
40096 libc_cv_localstatedir.
40097 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40098 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40099 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40100 * sysdeps/gnu/configure: Regenerated.
40101
006dd861
JL
401022012-06-21 Jeff Law <law@redhat.com>
40103
40104 [BZ #14277]
40105 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40106 free. Simplify list management for _LIBC case.
40107
79662d42
JM
401082012-06-21 Joseph Myers <joseph@codesourcery.com>
40109
b7abb4bf
JM
40110 [BZ #14273]
40111 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40112 Clear sign bit of 64-bit integer value before comparing against
40113 overflow value.
40114
79662d42
JM
40115 * sysdeps/mach/configure: Regenerated.
40116
1f150908
L
401172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40118
40119 [BZ #14278]
40120 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40121
28363bbf
JL
401222012-06-21 Jeff Law <law@redhat.com>
40123
40124 [BZ #13882]
40125 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40126 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40127 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40128 * elf/dl-open.c (dl_open_worker): Likewise.
40129
09615db4
CD
401302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40131
40132 * scripts/list-sources.sh: Scan PORTS for translations.
40133 * po/libc.pot: Regenerated.
40134
2174c6dd
AJ
401352012-06-21 Andreas Jaeger <aj@suse.de>
40136
40137 [BZ #12194]
40138 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40139 warning.
40140 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40141 * bits/byteswap-16.h (__bswap_16): Likewise.
40142 * bits/byteswap.h (__bswap_constant_16): Likewise.
40143
3ee947b1
L
401442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40145
40146 [BZ #14117]
a2f34833
L
40147 * sysdeps/i386/fpu_control.h: Removed.
40148 * sysdeps/x86_64/fpu_control.h: Moved to ...
40149 * sysdeps/x86/fpu_control.h: Here.
40150
3ee947b1
L
40151 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40152 (_FPU_SETCW): Likewise.
40153
ed1825f8
L
401542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40155
25f1282a
L
40156 [BZ #14117]
40157 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40158 * sysdeps/x86/fpu/bits/mathinline.h: This.
40159 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40160
ed1825f8
L
40161 [BZ #14050]
40162 [BZ #14117]
40163 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40164 functions if __x86_64__ is defined.
40165
36d54b74
CLT
401662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40167
40168 * string/endian.h: Add !__ASSEMBLER__ condition for including
40169 conversion interfaces.
40170
10285c21
JM
401712012-06-15 Joseph Myers <joseph@codesourcery.com>
40172
40173 [BZ #14241]
40174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40175 of ABS(x) in calculating zero to negative powers other than odd
40176 integers.
40177 * math/libm-test.inc (pow_test): Add more tests.
40178
06c5abbd
AJ
401792012-06-15 Andreas Jaeger <aj@suse.de>
40180
40181 * manual/contrib.texi (Contributors): Update entry of Liubov
40182 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40183 Machado Filho.
40184
a3aeac40
CH
401852012-06-15 Cyril Hrubis <metan@ucw.cz>
40186
40187 * string/string.h: Add __wur to GNU version of strerror_r.
40188
49bdf4c1
L
401892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40190
40191 [BZ #14229]
40192 * string/Makefile (tests): Add tst-strtok_r.
40193 * string/tst-strtok_r.c: New file.
40194 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40195 RAX_LP/RDX_LP on SAVE_PTR.
40196
834f9b8d
RM
401972012-06-14 Roland McGrath <roland@hack.frob.com>
40198
40199 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40200
75fa1921
JM
402012012-06-14 Joseph Myers <joseph@codesourcery.com>
40202
40203 * libm_test.inc (csqrt_test): Allow more spurious underflow
40204 exceptions.
40205 (j0_test): Likewise.
40206 (j1_test): Likewise.
40207 (y0_test): Likewise.
40208 (y1_test): Likewise.
40209
771766df
CD
402102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40211
40212 * po/Makefile (libc.pot): Use UTF-8 charset.
40213
ceb9e56b
PP
402142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40215
40216 [BZ #14210]
40217 Suppress sign-conversion warning from FD_SET.
40218 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40219 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40220 not unsigned long int.
40221 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40222
ddb28975
L
402232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40224
40225 [BZ #14050]
40226 [BZ #14117]
40227 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40228 __extern_always_inline instead of __extern_inline.
40229 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40230 (__signbit): Likewise.
40231 (__signbitl): Support C++ namespace.
40232 (lrintf): New inline function.
40233 (lrint): Likewise.
40234 (llrintf): Likewise.
40235 (llrint): Likewise.
40236 (fmaxf): Likewise.
40237 (fmax): Likewise.
40238 (fminf): Likewise.
40239 (fmin): Likewise.
40240 (rint): Likewise.
40241 (rintf): Likewise.
40242 (ceil): Likewise.
40243 (ceilf): Likewise.
40244 (floor): Likewise.
40245 (floorf): Likewise.
40246 (nearbyint): Likewise.
40247 (nearbyintf): Likewise.
40248
d7b4fb26
TS
402492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40250
40251 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40252 non-default versions.
40253
eb55f5c2
RM
402542012-06-11 Roland McGrath <roland@hack.frob.com>
40255
40256 [BZ #14218]
40257 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40258
366af02c
TS
402592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40260
99ff6e5c
TS
40261 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40262 (FE_UPWARD, FE_DOWNWARD): Don't define.
40263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40264 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40265
366af02c
TS
40266 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40267 reading it.
40268 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40270
793ea851
KK
402712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40272
40273 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40275 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40276 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40277
a728a38f
L
402782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40279
40280 [BZ #14117]
c08010c7
L
40281 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40282 * sysdeps/i386/fpu/Implies: New file.
40283 * sysdeps/x86_64/fpu/Implies: Likewise.
40284 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40285 * sysdeps/x86/fpu/bits/fenv.h: This.
40286
a728a38f
L
40287 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40288 __SSE_MATH__.
40289
6e230d11
SP
402902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40291
40292 [BZ #14134]
40293 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40294 character 0xffff that matches the last element of the
40295 conversion table.
40296
1b671feb
AZ
402972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40298
40299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40300 fmodl commit.
40301
6043738b
AZ
403022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40303
40304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40305 values higher than 25.6283.
40306
34ae0b32
AZ
403072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40308
40309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40310 subnormal exponent extraction and add some __builtin_expect.
40311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40312 Fix for subnormal mantissa calculation.
40313
1214ec8f
MF
403142012-06-04 Mike Frysinger <vapier@gentoo.org>
40315
40316 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40317 cpu2 is -1 and errno is not ENOSYS.
40318
f3d1f93c
L
403192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40320
40321 [BZ #14117]
0e4a3cd7
L
40322 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40323 * sysdeps/x86/bits/string.h: This.
40324 * sysdeps/x86_64/bits/string.h: Removed.
40325
6704c645
L
40326 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40327 if not compiling for x86-64, but compiling for >= i486.
40328
48495318
L
40329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40330 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40331
14adcbfc
L
40332 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40333 New macro from Linux kernel 3.4.0.
40334 (FP_XSTATE_MAGIC2): Likewise.
40335 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40336 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40337 (struct _fpx_sw_bytes): New struct.
40338 (struct _xsave_hdr): Likewise.
40339 (struct _ymmh_state): Likewise.
40340 (struct _xstate): Likewise.
40341
68e408ab
L
40342 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40343 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40344 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40345 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40346 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40347 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40348
f3d1f93c
L
40349 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40351 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40352 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40353 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40354 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40355
d9dc34cd
TMQMF
403562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40357
40358 [BZ #13743]
40359 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40360 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40361 (sysdep_headers): Include sys/platform/ppc.h.
40362 * sysdeps/powerpc/test-gettimebase.c: Test for
40363 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40364 * manual/Makefile (appendices): Include platform.texi.
40365 * manual/contrib.texi (Contributors): Update @node pointers.
40366 * manual/maint.texi (Maintenance): Likewise.
40367 (Platform): New node.
40368 * manual/platform.texi: New file. Document the new features.
40369
4af3879c
SP
403702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40371 Jakub Jelinek <jakub@redhat.com>
40372
40373 [BZ #14188]
40374 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40375 where __builtin_expect is unavailable.
40376
2fd6ff13
DM
403772012-06-03 David S. Miller <davem@davemloft.net>
40378
40379 * stdlib/longlong.h: Updated from GCC.
40380
173f7220
AS
403812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40382
40383 [BZ #14042]
40384 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40385 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40386 __mcount_internal.
40387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40388 (GLIBC_2.16): Likewise.
40389
f34a1c6f
L
403902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40391
40392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40393
88a4576f
JM
403942012-06-01 Joseph Myers <joseph@codesourcery.com>
40395
ea32bcdd
JM
40396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40397 (default-abi): New variable.
40398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40399 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40400 variable.
40401 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40402 Likewise.
40403 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40404 Likewise.
40405 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40406 Likewise.
40407
88a4576f
JM
40408 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40409 definition. Document in comment.
40410
402fe938
DM
404112012-06-01 David S. Miller <davem@davemloft.net>
40412
40413 * stdlib/longlong.h: Updated from GCC.
40414
3553723f
L
404152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40416
40417 [BZ #14117]
3bd872c4
L
40418 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40419 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40420 sys/debugreg.h sys/io.h here.
40421 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40422 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40423 sys/io.h.
40424 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40425 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40426 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40427 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40428 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40429 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40430
3553723f
L
40431 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40432 Define only if __x86_64__ is defined.
40433
4842e4fe
JM
404342012-06-01 Joseph Myers <joseph@codesourcery.com>
40435
c5bfe3d5
JM
40436 [BZ #14048]
40437 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40438 Use int64_t for variable i.
40439 * math/libm-test.inc (fmod_test): Add more tests.
40440
4842e4fe
JM
40441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40442 z computation is not scheduled after fetestexcept.
40443 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40444 Use math_force_eval instead of asm to ensure calculation scheduled
40445 before exception test.
40446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40447 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40448
efb73488
AJ
404492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40450
40451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40452 computation is not scheduled after fetestexcept.
40453
29bcce7c
L
404542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40455
40456 [BZ #14117]
40457 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40458 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40459
73a68f94
AZ
404602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40461
40462 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40463 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40464
67b6df78
L
404652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40466
edf2933a 40467 [BZ #14117]
ebc64a18
L
40468 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40469 <bits/wordsize.h>.
40470 (__WCHAR_MIN): Support __WORDSIZE == 64.
40471 (__WCHAR_MAX): Likewise.
40472
edf2933a
L
40473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40475
57c6cf40
L
40476 [BZ #14183]
40477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40478 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40479
67b6df78 40480 [BZ #14117]
8eb6281e
L
40481 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40482 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40483
aac639f4
L
40484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40485 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40486
67b6df78
L
40487 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40488 Defined to 1 if __x86_64__ isn't defined.
40489 (_STAT_VER_LINUX_OLD): New.
40490 (st_atime): Remove duplicate.
40491 (st_mtime): Likewise.
40492 (st_ctime): Likewise.
40493
1c2cfe81
DM
404942012-05-31 David S. Miller <davem@davemloft.net>
40495
40496 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40497 entries.
40498
5be8418c
AS
404992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40500
e7725326
AS
40501 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40502 gen-libm-test.pl.
40503
5be8418c
AS
40504 [BZ #14132]
40505 * elf/dl-reloc.c: Include <_itoa.h>.
40506 (_dl_reloc_bad_type): Remove use of INTUSE.
40507 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40508 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40509 * stdio-common/psiginfo.c (psiginfo): Likewise.
40510 * stdio-common/psignal.c (psignal): Likewise.
40511 * string/strsignal.c (strsignal): Likewise.
40512 * include/signal.h (_sys_siglist): Declare hidden proto.
40513 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40514 INTVARDEF with libc_hidden_data_def.
40515 * stdio-common/itoa-udigits.c: Likewise.
40516 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40517 (_itoa_lower_digits_internal): Remove declaration.
40518 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40519 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40520 (_sys_sigabbrev_internal): Remove aliases.
40521 (_sys_siglist): Define hidden alias.
40522
507352f1
MT
405232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40524
40525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40526 bits/sysctl.h.
40527
42bbb1c3
L
405282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40529
40530 [BZ #14117]
6bd784b6
L
40531 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40532 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40533
8bca20f0
L
40534 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40535 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40536 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40537 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40539 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40540
f9e890a9
L
40541 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40542 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40543 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40544
471101a1
L
40545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40546 with __addr.
40547 (insw): Likewise.
40548 (insl): Likewise.
40549 (outsb): Likewise.
40550 (outsw): Likewise.
40551 (outsl): Likewise.
40552
6451c862
L
40553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40555 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40556
a254b8c9
L
40557 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40558 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40560 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40561 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40562 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40563
b8dfdd92
L
40564 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40565 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40566
578cd270
L
40567 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40568 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40569
de662f5f
L
40570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40573
25653439
L
40574 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40575 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40576 to ...
40577 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40578
6bad24a0
L
40579 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40580 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40581 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40582
42bbb1c3
L
40583 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40584 for x86-64.
40585 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40586
2d10d547
JM
405872012-05-31 Joseph Myers <joseph@codesourcery.com>
40588
40589 * math/math.h (M_El): Use two more decimal places.
40590 (M_LOG2El): Likewise.
40591 (M_LOG10El): Likewise.
40592 (M_LN2l): Likewise.
40593 (M_LN10l): Likewise.
40594 (M_PIl): Likewise.
40595 (M_PI_2l): Likewise.
40596 (M_PI_4l): Likewise.
40597 (M_1_PIl): Likewise.
40598 (M_2_PIl): Likewise.
40599 (M_2_SQRTPIl): Likewise.
40600 (M_SQRT2l): Likewise.
40601 (M_SQRT1_2l): Likewise.
40602
f230c29b
DM
406032012-05-31 David S. Miller <davem@davemloft.net>
40604
40605 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40606 values between float registers.
40607 * sysdeps/sparc/sparc64/memset.S: Likewise.
40608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40609
fed806c3
MF
406102012-05-31 Mike Frysinger <vapier@gentoo.org>
40611
40612 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40613 -D_FORTIFY_SOURCE=1.
40614 (CPPFLAGS-tst-longjmp_chk.c): Define.
40615 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40616 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40617 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40618 CFLAGS-tst-wchar-h.c.
40619
30917259
MP
406202012-05-31 Marek Polacek <polacek@redhat.com>
40621
40622 [BZ #14132]
40623 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40624 __endmntent_internal): Remove declaration.
40625 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40626 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40627 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40628
1c58d5dc
DM
406292012-05-30 David S. Miller <davem@davemloft.net>
40630
40631 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40632 (___Q_simulate_exceptions): Use real FP ops rather than writing
40633 into the %fsr.
40634 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40635 Likewise.
40636
7dc00e0d
L
406372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40638
40639 [BZ #14117]
0bd53985
L
40640 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40641 * sysdeps/x86/bits/xtitypes.h: This.
40642
3a257e66
L
40643 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40644 * sysdeps/x86/bits/wordsize.h: This.
40645
62f62904
L
40646 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40647 * sysdeps/x86/bits/huge_vall.h: This.
40648
404fe9d9
L
40649 * sysdeps/i386/bits/select.h: Removed.
40650 * sysdeps/x86_64/bits/select.h: Renamed to ...
40651 * sysdeps/x86/bits/select.h: This.
40652
d48d0446
L
40653 * sysdeps/i386/bits/setjmp.h: Removed.
40654 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40655 * sysdeps/x86/bits/setjmp.h: This.
40656
7dc00e0d
L
40657 * sysdeps/i386/bits/mathdef.h: Removed.
40658 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40659 * sysdeps/x86/bits/mathdef.h: This.
40660
03277f8f
AS
406612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40662
40663 [BZ #14132]
40664 * include/sys/socket.h (__connect_internal)
40665 (__libc_sa_len_internal): Remove declaration.
40666 (__connect, __libc_sa_len): Declare hidden_proto.
40667 (SA_LEN): Remove use of INTUSE.
40668 * socket/connect.c: Add libc_hidden_def.
40669 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40670 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40671 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40672 alias.
40673 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40674 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40675 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40676 of adding _internal alias.
40677
13764867
L
406782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40679
40680 [BZ #14117]
6bd97696
L
40681 * sysdeps/i386/bits/link.h: Removed.
40682 * sysdeps/i386/bits/linkmap.h: Likewise.
40683 * sysdeps/x86_64/bits/link.h: Renamed to ...
40684 * sysdeps/x86/bits/link.h: This.
40685 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40686 * sysdeps/x86/bits/linkmap.h: This.
40687
f726f0bb
L
40688 * sysdeps/i386/bits/endian.h: Removed.
40689 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40690 * sysdeps/x86/bits/endian.h: This.
40691
13764867
L
40692 * sysdeps/i386/bits/byteswap.h: Removed.
40693 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40694 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40695 * sysdeps/x86/bits/byteswap.h: This.
40696 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40697 * sysdeps/x86/bits/byteswap-16.h: This.
40698 * sysdeps/i386/Implies: Add x86.
40699 * sysdeps/x86_64/Implies: Likewise.
40700
ae251b0b
DM
407012012-05-30 David S. Miller <davem@davemloft.net>
40702
40703 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40704 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40705 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40706 (FP_TRAPPING_EXCEPTIONS): Define.
40707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40708 (FP_TRAPPING_EXCEPTIONS): Define.
40709 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40710 subnormals only when inexact has been signalled or underflow
40711 exceptions are enabled.
40712 (_FP_PACK_CANONICAL): Likewise.
40713
d5c90867
L
407142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40715
40716 [BZ #14183]
40717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40718 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40719
63f1549e
RH
407202012-05-30 Richard Henderson <rth@twiddle.net>
40721
8d8f2279
RH
40722 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40723 with #ifndef NOT_IN_libc.
40724
63f1549e
RH
40725 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40726 marked to avoid plt entry.
40727
0ab0291b
L
407282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40729
40730 [BZ #14112]
40731 * Makeconfig (default-abi): New macro.
40732 (abi-includes): Likewise.
40733 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40734 $(abi-$(default-abi)-lib-soname) for soname if defined.
40735 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40736 abi-variants.
40737 * Makefile (installed-stubs): Likewise.
40738 * include/stubs-biarch.h: Removed.
40739 * scripts/lib-names.awk: Only handle one library at a time.
40740 * scripts/soversions.awk: Remove WORDSIZE support.
40741 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40742 entries.
40743 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40744 Removed.
40745 (syscall-list-default-condition): Likewise.
40746 (syscall-list-default-condition): Likewise.
40747 (syscall-list-includes): Likewise.
40748 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40749 syscall-list-* with abi-*. Handle undefined abi-variants.
40750 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40751 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40752 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40753 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40754 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40755 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40756 Removed.
40757 (syscall-list-32-options): Likewise.
40758 (syscall-list-32-condition): Likewise.
40759 (syscall-list-64-options): Likewise.
40760 (syscall-list-64-condition): Likewise.
40761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40762 macro.
40763 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40764 Renamed to ...
40765 (abi-*): This.
40766 (abi-64-ld-soname): New macro.
40767 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40768 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40769 Renamed to ...
40770 (abi-*): This.
40771 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40772 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40773
4da0431d
JM
407742012-05-30 Joseph Myers <joseph@codesourcery.com>
40775
3a85279c
JM
40776 * sysdeps/unix/sysv/linux/kernel-features.h
40777 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40778 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40779 include <kernel-features.h>.
40780 [!__NR_ftruncate64]: Remove conditional code.
40781 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40782 [__NR_ftruncate64]: Make code unconditional.
40783 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40784 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40785 include <kernel-features.h>.
40786 [!__NR_ftruncate64]: Remove conditional code.
40787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40788 [__NR_ftruncate64]: Make code unconditional.
40789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40791 include <kernel-features.h>.
40792 [!__NR_ftruncate64]: Remove conditional code.
40793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40794 [__NR_ftruncate64]: Make code unconditional.
40795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40797 include <kernel-features.h>.
40798 [!__NR_ftruncate64]: Remove conditional code.
40799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40800 [__NR_ftruncate64]: Make code unconditional.
40801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40802
4da0431d
JM
40803 * configure.in (libc_cv_fpie): Weaken to a compile test using
40804 LIBC_TRY_CC_OPTION.
40805 * configure: Regenerated.
40806
11ef492c
AK
408072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40808
40809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40813 Refreshed.
40814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40820 Refreshed.
40821
d66ef399
DM
408222012-05-27 David S. Miller <davem@davemloft.net>
40823
40824 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40825 (___Q_zero): New.
40826 (__Q_simulate_exceptions): Return void. Change to simulate
40827 exceptions by writing into the %fsr.
40828 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40829 (__Qp_handle_exceptions): Likewise.
40830 (numbers): Delete.
40831 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40832 __Qp_handle_exceptions.
40833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40834 __Qp_handle_exceptions.
40835 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40836 as unused and give dummy FP_RND_NEAREST initializer.
40837 (FP_INHIBIT_RESULTS): Define.
40838 (___Q_simulate_exceptions): Update declaration.
40839 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40840 formatting.
40841 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40842 as unused and give dummy FP_RND_NEAREST initializer.
40843 (__Qp_handle_exceptions): Update declaration.
40844 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40845 formatting.
40846
04fb54b5
TS
408472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40848
40849 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40850 the temporary FPU control word.
40851 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40852 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40854 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40856 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40857 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40859 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40860 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40861 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40862
3f99608f
KK
408632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40864
40865 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40866 fields.
40867
65a4de4e
CLT
408682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40869
40870 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40871 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40872 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40873 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40874 Likewise.
40875 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40876 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40877 Likewise.
40878
15749d40
UD
408792012-05-27 Ulrich Drepper <drepper@gmail.com>
40880
40881 * po/h.po: Update from translation team.
40882
25dbcb27
AS
408832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40884
3d3f8e55
AS
40885 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40886
25dbcb27
AS
40887 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40888 handling of denormals.
40889 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40890 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40891 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40892 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40896 Likewise.
40897
7ad47a80 408982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40899
40900 [BZ #14152]
40901 * math/libm-test.inc (fma_test): Don't always expect underflow
40902 exception.
40903
9c6ea9fa
SP
409042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40905
40906 [BZ #12416]
40907 * elf/tst-execstack.c: Include stackinfo.h.
40908 (do_test): Adjust test case to ensure that pthread_getattr_np
40909 behaviour remains the same after marking stack executable.
40910
a8239222
JM
409112012-05-25 Joseph Myers <joseph@codesourcery.com>
40912
40913 * sysdeps/unix/sysv/linux/kernel-features.h
40914 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40915 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40916 kernel-features.h.
40917 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40918 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40919 * sysdeps/unix/sysv/linux/i386/setrlimit.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
918b5606
L
409242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40925
40926 * configure.in: Define the default includes to being none.
40927 * configure: Regenerated.
40928
3a097cc7
RM
409292012-05-25 Roland McGrath <roland@hack.frob.com>
40930
8422c9a5
RM
40931 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40932 * sysdeps/x86_64/setjmp.S: Likewise.
40933 * sysdeps/i386/bsd-setjmp.S: Likewise.
40934 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40935 * sysdeps/i386/setjmp.S: Likewise.
40936 * sysdeps/i386/__longjmp.S: Likewise.
40937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40938 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40939
3a097cc7
RM
40940 * include/stap-probe.h: New file.
40941 * configure.in: Handle --enable-systemtap.
40942 * configure: Regenerated.
40943 * config.h.in (USE_STAP_PROBE): New #undef.
40944 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40945 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40946 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40947
21708942
JM
409482012-05-25 Joseph Myers <joseph@codesourcery.com>
40949
40950 [BZ #13717]
40951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40952 to 2.4.0 where earlier.
40953 * sysdeps/unix/sysv/linux/configure: Regenerated.
40954 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40955 <kernel-features.h>.
40956 [__ASSUME_32BITUIDS]: Make code unconditional.
40957 [!__ASSUME_32BITUIDS]: Remove conditional code.
40958 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
40963 [__ASSUME_32BITUIDS]: Make code unconditional.
40964 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40965 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40966 <kernel-features.h>.
40967 [__ASSUME_32BITUIDS]: Make code unconditional.
40968 [!__ASSUME_32BITUIDS]: Remove conditional code.
40969 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
41006 <kernel-features.h>.
41007 [__NR_setresgid] (__setresgid): Do not declare.
41008 [__ASSUME_32BITUIDS]: Make code unconditional.
41009 [!__ASSUME_32BITUIDS]: Remove conditional code.
41010 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41011 <kernel-features.h>.
41012 [__NR_setresuid] (__setresuid): Do not declare.
41013 [__ASSUME_32BITUIDS]: Make code unconditional.
41014 [!__ASSUME_32BITUIDS]: Remove conditional code.
41015 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41016 <kernel-features.h>.
41017 [__ASSUME_32BITUIDS]: Make code unconditional.
41018 [!__ASSUME_32BITUIDS]: Remove conditional code.
41019 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
41056 (__ASSUME_SETRESUID_SYSCALL): Remove.
41057 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41058 (__ASSUME_32BITUIDS): Likewise.
41059 (__ASSUME_LDT_WORKS): Likewise.
41060 (__ASSUME_O_DIRECTORY): Likewise.
41061 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41062 architecture but not kernel version.
41063 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41064 (__ASSUME_MMAP2_SYSCALL): Likewise.
41065 (__ASSUME_STAT64_SYSCALL): Likewise.
41066 (__ASSUME_IPC64): Likewise.
41067 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41068 <kernel-features.h>.
41069 [__ASSUME_32BITUIDS]: Make code unconditional.
41070 [!__ASSUME_32BITUIDS]: Remove conditional code.
41071 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41072 <kernel-features.h>.
41073 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41074 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41075 132096]: Remove conditional code.
41076 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41078 <kernel-features.h>.
41079 [__ASSUME_32BITUIDS]: Make code unconditional.
41080 [!__ASSUME_32BITUIDS]: Remove conditional code.
41081 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
41086 <kernel-features.h>.
41087 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41088 unconditional.
41089 (__setresgid): Do not declare.
41090 [__ASSUME_32BITUIDS]: Make code unconditional.
41091 [!__ASSUME_32BITUIDS]: Remove conditional code.
41092 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41093 <kernel-features.h>.
41094 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41095 unconditional.
41096 (__setresuid): Do not declare.
41097 [__ASSUME_32BITUIDS]: Make code unconditional.
41098 [!__ASSUME_32BITUIDS]: Remove conditional code.
41099 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41100 <kernel-features.h>.
41101 [__ASSUME_32BITUIDS]: Make code unconditional.
41102 [!__ASSUME_32BITUIDS]: Remove conditional code.
41103 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41104 <kernel-features.h>.
41105 [__ASSUME_32BITUIDS]: Make code unconditional.
41106 [!__ASSUME_32BITUIDS]: Remove conditional code.
41107
a386f1cc
RH
411082012-05-25 Richard Henderson <rth@twiddle.net>
41109
41110 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41111 dl_hwcap to ifunc resolver.
41112 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41113 elf_ifunc_invoke.
41114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41115 dl_hwcap to ifunc resolver.
41116 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41117
b6550497
JM
411182012-05-24 Joseph Myers <joseph@codesourcery.com>
41119
41120 [BZ #14153]
41121 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41122 for |x| <= 2**-26, not 2**-57.
41123 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41124 exception.
41125
b0bc23a1
JL
411262012-05-24 Jeff Law <law@redhat.com>
41127
41128 * stdio-common/Makefile (tests): Add bug25.
41129 * stdio-common/bug25.c: New test.
41130
347c92e9
L
411312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41132
41133 [BZ #13576]
41134 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41135 multiple of MALLOC_ALIGNMENT in size.
41136 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41137
6bcc8b3f
JM
411382012-05-24 Joseph Myers <joseph@codesourcery.com>
41139
41140 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41141 Require >= 256.
41142 (FILENAME_MAX): Use macro-int-constant.
41143 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41144 (_IOFBF): Use macro-int-constant.
41145 (_IOLBF): Likewise.
41146 (_IONBF): Likewise.
41147 (SEEK_CUR): Likewise.
41148 (SEEK_END): Likewise.
41149 (SEEK_SET): Likewise.
41150 (TMP_MAX): Likewise.
41151 (EOF): Use macro-int-constant. Require < 0.
41152 (NULL): Use macro-constant. Require == 0.
41153 (stdin): Require type to be FILE *.
41154 (stdout): Likewise.
41155 (stderr): Likewise.
41156 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41157 macro-int-constant.
41158 (EXIT_SUCCESS): Likewise.
41159 (NULL): Use macro-constant. Require == 0.
41160 (RAND_MAX): Use macro-int-constant.
41161 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41162 [C99-based standards] (strtof): Require function.
41163 [C99-based standards] (strtold): Likewise.
41164 [C99-based standards] (strtoll): Likewise.
41165 [C99-based standards] (strtoull): Likewise.
41166 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41167 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41168 [ISO || ISO99 || ISO11] (math.h): Likewise.
41169 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41170 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41172
d18ea0c5
AS
411732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41174
41175 [BZ #14132]
56d25bb8
AS
41176 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41177 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41178 * intl/dgettext.c (DCGETTEXT): Likewise.
41179 * intl/gettext.c (DCGETTEXT): Likewise.
41180 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41181 * posix/regex_internal.h (gettext): Likewise.
41182 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41183 Remove declaration.
41184 * include/argz.h (__argz_count_internal)
41185 (__argz_stringify_internal): Remove declaration.
41186 (__argz_count, __argz_stringify): Declare hidden proto.
41187 * intl/dcgettext.c: Remove use of INTDEF.
41188 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41189 * string/argz-stringify.c: Likewise.
41190 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41191 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41192 Declare hidden proto.
d18ea0c5
AS
41193 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41194 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41195 Declare hidden proto.
41196 * include/stdio.h (__asprintf_internal): Don't declare.
41197 (__asprintf): Don't define as macro. Declare hidden proto.
41198 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41199 (__fsetlocking): Declare hidden proto.
41200 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41201 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41202 hidden proto.
41203 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41204 (_IO_setlinebuf): Remove use of INTUSE.
41205 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41206 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41207 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41208 Remove declaration.
41209 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41210 (_IO_do_flush): Remove use of INTUSE.
41211 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41212 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41213 (_IO_adjust_column, _IO_least_wmarker)
41214 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41215 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41216 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41217 (_IO_default_doallocate, _IO_wdefault_doallocate)
41218 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41219 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41220 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41221 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41222 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41223 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41224 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41225 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41226 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41227 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41228 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41229 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41230 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41231 proto.
41232 (_IO_flush_all_internal, _IO_adjust_column_internal)
41233 (_IO_default_uflow_internal, _IO_default_finish_internal)
41234 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41235 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41236 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41237 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41238 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41239 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41240 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41241 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41242 (_IO_file_close_internal, _IO_file_close_it_internal)
41243 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41244 (_IO_file_init_internal, _IO_file_attach_internal)
41245 (_IO_file_fopen_internal, _IO_file_read_internal)
41246 (_IO_file_sync_internal, _IO_file_seek_internal)
41247 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41248 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41249 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41250 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41251 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41252 (_IO_list_all_internal, _IO_link_in_internal)
41253 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41254 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41255 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41256 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41257 (_IO_do_write_internal, _IO_padn_internal)
41258 (_IO_getline_info_internal, _IO_getline_internal)
41259 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41260 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41261 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41262 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41263 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41264 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41265 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41266 with libc_hidden_ver, remove use of INTUSE.
41267 * libio/genops.c: Likewise.
41268 * libio/freopen.c: Likewise.
41269 * libio/freopen64.c: Likewise.
41270 * libio/iofclose.c: Likewise.
41271 * libio/iofdopen.c: Likewise.
41272 * libio/iofflush.c: Likewise.
41273 * libio/iofflush_u.c: Likewise.
41274 * libio/iofgets.c: Likewise.
41275 * libio/iofgets_u.c: Likewise.
41276 * libio/iofopen.c: Likewise.
41277 * libio/iofopncook.c: Likewise.
41278 * libio/iofread.c: Likewise.
41279 * libio/iofread_u.c: Likewise.
41280 * libio/ioftell.c: Likewise.
41281 * libio/iofwrite.c: Likewise.
41282 * libio/iogetline.c: Likewise.
41283 * libio/iogets.c: Likewise.
41284 * libio/iogetwline.c: Likewise.
41285 * libio/iopadn.c: Likewise.
41286 * libio/iopopen.c: Likewise.
41287 * libio/ioseekoff.c: Likewise.
41288 * libio/ioseekpos.c: Likewise.
41289 * libio/iosetbuffer.c: Likewise.
41290 * libio/iosetvbuf.c: Likewise.
41291 * libio/ioungetc.c: Likewise.
41292 * libio/ioungetwc.c: Likewise.
41293 * libio/iovdprintf.c: Likewise.
41294 * libio/iovsprintf.c: Likewise.
41295 * libio/iovsscanf.c: Likewise.
41296 * libio/memstream.c: Likewise.
41297 * libio/obprintf.c: Likewise.
41298 * libio/oldfileops.c: Likewise.
41299 * libio/oldiofclose.c: Likewise.
41300 * libio/oldiofdopen.c: Likewise.
41301 * libio/oldiofopen.c: Likewise.
41302 * libio/oldiopopen.c: Likewise.
41303 * libio/oldstdfiles.c: Likewise.
41304 * libio/putc.c: Likewise.
41305 * libio/setbuf.c: Likewise.
41306 * libio/setlinebuf.c: Likewise.
41307 * libio/stdfiles.c: Likewise.
41308 * libio/strops.c: Likewise.
41309 * libio/vasprintf.c: Likewise.
41310 * libio/vscanf.c: Likewise.
41311 * libio/vsnprintf.c: Likewise.
41312 * libio/vswprintf.c: Likewise.
41313 * libio/wfiledoalloc.c: Likewise.
41314 * libio/wfileops.c: Likewise.
41315 * libio/wgenops.c: Likewise.
41316 * libio/wmemstream.c: Likewise.
41317 * libio/wstrops.c: Likewise.
41318 * libio/__fpurge.c: Likewise.
41319 * libio/__fsetlocking.c: Likewise.
41320 * assert/assert.c: Likewise.
41321 * debug/fgets_chk.c: Likewise.
41322 * debug/fgets_u_chk.c: Likewise.
41323 * debug/fread_chk.c: Likewise.
41324 * debug/fread_u_chk.c: Likewise.
41325 * debug/gets_chk.c: Likewise.
41326 * debug/obprintf_chk.c: Likewise.
41327 * debug/vasprintf_chk.c: Likewise.
41328 * debug/vdprintf_chk.c: Likewise.
41329 * debug/vsnprintf_chk.c: Likewise.
41330 * debug/vsprintf_chk.c: Likewise.
41331 * malloc/mtrace.c: Likewise.
41332 * misc/error.c: Likewise.
41333 * misc/syslog.c: Likewise.
41334 * stdio-common/asprintf.c: Likewise.
41335 * stdio-common/fxprintf.c: Likewise.
41336 * stdio-common/getw.c: Likewise.
41337 * stdio-common/isoc99_fscanf.c: Likewise.
41338 * stdio-common/isoc99_scanf.c: Likewise.
41339 * stdio-common/isoc99_vfscanf.c: Likewise.
41340 * stdio-common/isoc99_vscanf.c: Likewise.
41341 * stdio-common/isoc99_vsscanf.c: Likewise.
41342 * stdio-common/printf-prs.c: Likewise.
41343 * stdio-common/printf_fp.c: Likewise.
41344 * stdio-common/printf_fphex.c: Likewise.
41345 * stdio-common/printf_size.c: Likewise.
41346 * stdio-common/putw.c: Likewise.
41347 * stdio-common/scanf.c: Likewise.
41348 * stdio-common/sprintf.c: Likewise.
41349 * stdio-common/tmpfile.c: Likewise.
41350 * stdio-common/vfprintf.c: Likewise.
41351 * stdio-common/vfscanf.c: Likewise.
41352 * stdlib/strfmon_l.c: Likewise.
41353 * sunrpc/openchild.c: Likewise.
41354 * sunrpc/xdr_stdio.c: Likewise.
41355 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41356 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41357
d6c33fda
RM
413582012-05-24 Roland McGrath <roland@hack.frob.com>
41359
c1487492
RM
41360 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41361
41362 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41363 in the third column, to generate for the shared library an IFUNC
41364 that uses _dl_vdso_vsym.
41365 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41366 * Makeconfig (object-suffixes-noshared): New variable.
41367
41368 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41369 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41370 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41371 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41372
d6c33fda
RM
41373 [BZ #14132]
41374 * include/sys/time.h (__gettimeofday): Remove macro.
41375 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41376 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41377 Remove INTDEF.
41378 (__gettimeofday): Add libc_hidden_def.
41379 (gettimeofday): Add libc_hidden_weak.
41380 * sysdeps/mach/gettimeofday.c: Likewise.
41381 * sysdeps/posix/gettimeofday.c: Likewise.
41382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41383 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41385 (__gettimeofday_internal): Remove strong_alias.
41386 (__gettimeofday): Add libc_hidden_def.
41387 (gettimeofday): Add libc_hidden_weak.
41388 * sysdeps/unix/syscalls.list (gettimeofday):
41389 Remove __gettimeofday_internal alias.
41390
b5a2bbe6
L
413912012-05-24 Daniel Jacobowitz <drow@false.org>
41392 H.J. Lu <hongjiu.lu@intel.com>
41393
41394 [BZ #12495]
41395 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41396 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41397 (largebin_index_32_big): New.
41398 (largebin_index): Use it for 16-byte alignment.
41399 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41400 correction with front_misalign.
41401
cfba4fda
L
414022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41403
7f907421
L
41404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41406 Likewise.
41407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41408 Likewise.
41409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41410 Likewise.
41411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41412 Likewise.
41413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41414 Likewise.
41415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41416 Likewise.
41417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41418 Likewise.
41419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41420 Likewise.
41421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41422 Likewise.
41423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41424 Likewise.
41425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41426 Likewise.
41427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41428 Likewise.
41429
cfba4fda
L
41430 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41431 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41432
80bad0cc
JM
414332012-05-24 Joseph Myers <joseph@codesourcery.com>
41434
7a25eb06
JM
41435 [BZ #10846]
41436 [BZ #14036]
41437 * math/libm-test.inc (exp_test): Add test from bug 14036.
41438 (pow_test): Add test from bug 10846.
41439
795405f9
JM
41440 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41441 and other flags.
41442 (special_function): Do not include flags in test name.
41443 (parse_args): Likewise.
41444 * sysdeps/i386/fpu/libm-test-ulps: Update.
41445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41449
80bad0cc
JM
41450 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41451 exceptions.
41452 * math/libm-test.inc ("Philosophy"): Update comment about
41453 exception testing.
41454 (UNDERFLOW_EXCEPTION): New macro.
41455 (UNDERFLOW_EXCEPTION_OK): Likewise.
41456 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41457 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41458 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41459 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41460 (INVALID_EXCEPTION_OK): Update value.
41461 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41462 (OVERFLOW_EXCEPTION_OK): Likewise.
41463 (IGNORE_ZERO_INF_SIGN): Likewise.
41464 (test_exceptions): Handle underflow exceptions.
41465 (acos_test): Update for underflow exception expectations.
41466 (cexp_test): Likewise.
41467 (clog_test): Likewise.
41468 (clog10_test): Likewise.
41469 (csqrt_test): Likewise.
41470 (ctan_test): Likewise.
41471 (ctanh_test): Likewise.
41472 (exp_test): Likewise.
41473 (exp10_test): Likewise.
41474 (exp2_test): Likewise.
41475 (expm1_test): Likewise.
41476 (fma_test): Likewise.
41477 (j0_test): Likewise.
41478 (jn_test): Likewise.
41479 (nexttoward_test): Likewise.
41480 (pow_test): Likewise.
41481 (scalbn_test): Likewise.
41482 (scalbln_test): Likewise.
41483 (tan_test): Likewise.
41484 (y1_test): Likewise.
41485 * sysdeps/i386/fpu/libm-test-ulps: Update.
41486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41487
9e0e3d0b
DM
414882012-05-23 David S. Miller <davem@davemloft.net>
41489
41490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41491 (__libc_sigaction): Remove unused local variables.
41492
ccd0a08f
L
414932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41494
41495 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41496
62bdf9a6
PE
414972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41498
f8591f80
PE
41499 mktime: avoid signed integer overflow
41500 * time/mktime.c (__mktime_internal): Do not mishandle the case
41501 where diff == INT_MIN.
41502
94c7d826
PE
41503 mktime: simplify computation of average
41504 * time/mktime.c (ranged_convert): Use new time_t_avg function
41505 instead of rolling our own (probably-slower) code.
41506
ce73d683
PE
41507 mktime: do not assume signed right shift propagates sign bit
41508 * time/mktime.c (isdst_differ): New static function.
41509 (__mktime_internal): No need to normalize tm_isdst now.
41510 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41511 tm_isdst values.
41512
72a22e59
PE
41513 mktime: merge another wrapv change from gnulib
41514 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41515 from some compilers.
41516
68605433
PE
41517 mktime: remove incorrect attempt at unusual arithmetics
41518 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41519 The code didn't really work on such machines anyway.
41520 (TYPE_MINIMUM): Assume two's complement.
41521 (twos_complement_arithmetic): Verify that long_int and time_t
41522 are two's complement (or unsigned, in the latter case).
41523
03cf7fe3
PE
41524 mktime: check signed shifts on long_int and time_t, too
41525 * time/mktime.c (SHR): Check that shifts work as desired
41526 on the types long_int and time_t too, as SHR is used on
41527 such types.
41528
f04dfbc2
PE
41529 mktime: do not assume 'long' is wide enough
41530 * time/mktime.c (verify): Move decl up.
41531 (long_int): New type.
41532 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41533 to remove assumption in the code that 'long' is wide enough to
41534 store year values. This assumption is not true on x32 and on
41535 some non-glibc platforms.
41536
62bdf9a6
PE
41537 mktime: merge wrapv change from gnulib
41538 * time/mktime.c (WRAPV): New macro.
41539 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41540 (guess_time_tm, __mktime_internal): Do not assume that signed
41541 integer overflow wraps around; modern compilers generate code
41542 where this assumption is no longer valid.
41543
5e292e4f
L
415442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41545
41546 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41547 Replace "jmp L(pseudo_end)" with "ret".
41548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41549 Likewise.
41550
8caf8c87
AJ
415512012-05-23 Andreas Jaeger <aj@suse.de>
41552
41553 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41554 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41555
1a09dc56
AJ
415562012-05-23 Andreas Jaeger <aj@suse.de>
41557 Maximilian Attems <max@stro.at>
41558
41559 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41560 New macros.
41561
1c87aba0
L
415622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41563
41564 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41565 code so that pseudo_end is just ret and the stack pointer is
41566 correct also for static library in error case.
41567
40e45bd5
JM
415682012-05-23 Joseph Myers <joseph@codesourcery.com>
41569
c2670533
JM
41570 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41571 move to syscalls.list.
41572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41576
40e45bd5
JM
41577 * manual/install.texi (Running make install): Do not mention Linux
41578 kernel version for which pt_chown is not needed.
41579 (Linux): Do not mention problems with nscd with 2.0 kernels.
41580 * INSTALL: Regenerated.
41581
be08eda5
AJ
415822012-05-23 Andreas Jaeger <aj@suse.de>
41583
41584 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41585 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41586 macro.
41587 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41588 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41589 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41590 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41591 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41592 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41593 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41595 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41597 * sysdeps/unix/sysv/linux/bits/in.h
41598 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41599
a6a056bb
RM
416002012-05-22 Roland McGrath <roland@hack.frob.com>
41601
41602 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41603 (PREPARE_VERSION): Just use assert instead, it will be elided
41604 under [NDEBUG] anyway.
41605
c9009328
L
416062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41607
41608 * sysdeps/unix/sysv/linux/Makefile: Include
41609 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41610 (sysdep_routines): Remove sysctl.
c9009328
L
41611 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41612 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41613 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41614 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41615 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41616
73338355
AJ
416172012-05-22 Andreas Jaeger <aj@suse.de>
41618
41619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41620 that pseudo_end is just ret and the stack pointer is correct also
41621 for static library in error case.
41622
d44638b0
PP
416232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41624
41625 [BZ #14122]
41626 * nss/nsswitch.c (defconfig_entries): New variable.
41627 (__nss_database_lookup): Don't leak defconfig entries.
41628 (nss_parse_service_list): Don't leak on error paths.
41629 (free_database_entries): New function.
41630 (free_defconfig): New function.
41631 (free_mem): Move common code to free_database_entries.
41632
31a39bd8
L
416332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41634
da0331a8
L
41635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41636 Add arch_prctl.
41637 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41638
31a39bd8
L
41639 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41640 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41642 New macro.
41643 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41644 (INTERNAL_SYSCALL_TYPES): Likewise.
41645 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41646 (LOAD_REGS_TYPES_[1-6]): Likewise.
41647 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41648 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41649
45470df3
AZ
416502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41651
41652 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41653 copysignl for GLIBC_2_0.
41654 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41655 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41657 logbl for GLIBC_2_0.
41658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41659 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41660
98a61bcb
L
416612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41662
a4f6e481
L
41663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41665
f63d5db6
L
41666 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41667 Use "neg %eax".
41668
98a61bcb
L
41669 * time/mktime.c: Update copyright years.
41670
95770f14
PE
416712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41672
6226efbd
PE
41673 mktime: merge comment-quoting-style change from gnulib
41674 * time/mktime.c: Quote 'like this' in comments.
41675 The GNU coding standards suggest that we no longer quote `like this',
41676 as "`" and "'" are typically rendered asymmetrically nowadays.
41677 The typical gnulib style is to quote 'like this' when quoting
41678 code, and "like this" when quoting English.
41679
b99e4f78
PE
41680 * time/mktime.c (compile-command): Add "-I.".
41681
643e01e6
PE
41682 mktime: merge mktime-internal.h change from gnulib
41683 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41684
2554247d
PE
41685 mktime: merge time_r change from gnulib
41686 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41687
826dd0ab
PE
41688 mktime: merge DEBUG change from gnulib
41689 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41690 case system <time.h> has a #define.
41691
bd83aabe
PE
41692 mktime: merge <sys/types.h> change from gnulib
41693 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41694 since <time.t> is now guaranteed to define time_t.
41695
95770f14
PE
41696 mktime: merge HAVE_CONFIG_H change from gnulib
41697 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41698
5e1a27a9
L
416992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41700
0e44a77e
L
41701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41702 Use "neg %eax".
41703
5e1a27a9
L
41704 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41705 __rlim_t cast.
41706 (struct rusage): Use anonymous union to pad each field to
41707 __syscall_slong_t.
41708
46259bec
DM
417092012-05-21 David S. Miller <davem@davemloft.net>
41710
41711 * Makefules (o-iterator): Remove .s cases.
41712 (compile-command.s): Delete.
41713 (COMPILE.s): Delete.
41714 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41715
59f0c22e
JM
417162012-05-21 Joseph Myers <joseph@codesourcery.com>
41717
41718 * configure.in (libc_cv_predef_stack_protector): Only consider
41719 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41720 * configure: Regenerated.
41721
20c07380
L
417222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41723
bbb3154b
L
41724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41725 New macro. Use R*LP on int and pointer.
41726 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41727 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41728 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41729 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41730
20c07380
L
41731 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41732 [__WORDSIZE_TIME64_COMPAT32] instead of
41733 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41734 (struct utmp): Likewise.
41735 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41736 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41737 Renamed to ...
41738 (__WORDSIZE_TIME64_COMPAT32): This.
41739 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41740 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41741 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41742 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41743 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41744 (__WORDSIZE_TIME64_COMPAT32): New macro.
41745
d8d1017e
AJ
417462012-05-21 Andreas Jaeger <aj@suse.de>
41747
41748 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41749 only if [SHARED]. Add prototype for __wcschr_ia32.
41750
6c7fb145
RM
417512012-05-21 Roland McGrath <roland@hack.frob.com>
41752
41753 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41754 of %rbp unmolested in the jmp_buf while mangling the low bits.
41755 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41756 unmolested high bits of %rbp while demangling the low bits.
41757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41758
66274218
AJ
417592012-05-21 Andreas Jaeger <aj@suse.de>
41760
07c58f8f
AJ
41761 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41762 * sunrpc/svc_simple.c: Use it for registerrpc.
41763 * sunrpc/xcrypt.c: Use it for passwd2des.
41764
66274218
AJ
41765 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41766
61f65140
L
417672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41768
41769 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41770 Don't define if [__SYSCALL_WORDSIZE != 32].
41771 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41772 New macro.
41773
5fefb436
AJ
417742012-05-21 Bruno Haible <bruno@clisp.org>
41775 Andreas Jaeger <aj@suse.de>
41776
41777 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41778 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41779 inptr and inend for must_buffer_ch.
41780 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41781 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41782 * stdio-common/Makefile (tests): Remove bug15.
41783 (bug15-ENV): Remove macro.
41784 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41785 anymore.
41786
d8e272ab
AJ
417872012-05-19 Andreas Jaeger <aj@suse.de>
41788 Roland McGrath <roland@hack.frob.com>
41789
41790 * manual/contrib.texi: Completely rewritten. It contains now an
41791 alphabetical list of contributors and their contributions.
41792
4a56a162
RH
417932012-05-21 Richard Henderson <rth@twiddle.net>
41794
41795 * misc/getauxval.c (__getauxval): Use unsigned long int.
41796 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41797 (getauxval): Use unsigned long int.
41798
d024d23c
L
417992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41800
41801 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41802
cbc00a03
RM
418032012-05-21 Roland McGrath <roland@hack.frob.com>
41804
41805 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41806 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41807 __alignof__ (long double).
41808
478143fa
AZ
418092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41810
41811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41812
c7683a6d
RH
418132012-05-20 Richard Henderson <rth@twiddle.net>
41814
41815 * misc/getauxval.c: New file.
41816 * misc/sys/auxv.h: New file.
41817 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41818 (routines): Add getauxval.
41819 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41821 * elf/dl-sysdep.c (_dl_auxv): Remove.
41822 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41823 * elf/dl-support.c (_dl_auxv): New variable.
41824 (_dl_aux_init): Initialize it.
41825 * manual/startup.texi (Auxiliary Vector): New node.
41826 * sysdeps/generic/bits/hwcap.h: New file.
41827 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41828 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41829 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41830 * sysdeps/sparc/sysdep.h: ... here. Include it.
41831 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41832 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41834 Update.
c7683a6d
RH
41835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41843
a6f1845d
AZ
418442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41845
41846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41847
cbcbe830
DM
418482012-05-19 David S. Miller <davem@davemloft.net>
41849
41850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41851
e0b16cc2
JM
418522012-05-19 Joseph Myers <joseph@codesourcery.com>
41853
41854 [BZ #14123]
41855 * math/s_ccosh.c: Include <float.h>
41856 (__ccosh): Avoid internal overflow calculating sinh and cosh
41857 values before multiplying by sin and cos values.
41858 * math/s_ccoshf.c: Likewise.
41859 * math/s_ccoshl.c: Likewise.
41860 * math/s_csin.c: Likewise.
41861 * math/s_csinf.c: Likewise.
41862 * math/s_csinl.c: Likewise.
41863 * math/s_csinh.c: Likewise.
41864 * math/s_csinhf.c: Likewise.
41865 * math/s_csinhl.c: Likewise.
41866 * math/libm-test.inc (ccos_test): Add more tests.
41867 (ccosh_test): Likewise.
41868 (csin_test): Likewise.
41869 (csinh_test): Likewise.
41870 * sysdeps/i386/fpu/libm-test-ulps: Update.
41871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41872
6ad13e08
L
418732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41874
f66f0ce8
L
41875 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41876 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41877
6ad13e08
L
41878 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41879
b1d072a7
JM
418802012-05-19 Joseph Myers <joseph@codesourcery.com>
41881
41882 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41883 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41884 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41885 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41886 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41887 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41888 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41889 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41890 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41891 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41892 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41893 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41894 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41895 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41896 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41897 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41898 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41899 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41900 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41901 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41902 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41903 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41904 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41905 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41906 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41907 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41908 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41909 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41910 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41911 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41912 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41913
9eae47cb
AJ
419142012-05-18 Andreas Jaeger <aj@suse.de>
41915
41916 * csu/.gitignore: Delete.
41917
bb07f69f
L
419182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41919
41920 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41921 (timex): Use __syscall_slong_t.
41922
e6bdb741
AJ
419232012-05-18 Andreas Jaeger <aj@suse.de>
41924 Carlos O'Donell <carlos_odonell@mentor.com>
41925
41926 * manual/install.texi (Configuring and compiling): Update
41927 description about files modified in the source directory.
d6c33fda 41928 * INSTALL: Regenerated.
e6bdb741 41929
1b74487e
L
419302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41931
41932 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41933 value. Use "or" to set return value to -1.
41934 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41935 negate return value.
41936
a88b64b9
TMQMF
419372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41938
57f41c40
AS
41939 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41940 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41941 failure if the compiler has Graphite support disabled.
41942 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41943 Likewise.
57f41c40
AS
41944 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41945 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41946 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41947 Likewise.
41948
3707636e
L
419492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41950
610b8622
L
41951 * sysdeps/x86_64/x32/_itoa.h: New file.
41952
7cd195df
L
41953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41954 getdents system call only if kernel and user dirents have the
41955 same d_ino and d_off.
41956
94b07d20
L
41957 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41958 LLONG_MAX != LONG_MAX.
41959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41960 (_fitoa_word): Likewise.
41961
18298070
L
41962 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41963 years.
41964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41965 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41967
553c7ea4
L
41968 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41969 include <bits/wordsize.h>. Check __x86_64__ instead of
41970 __WORDSIZE.
41971 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41972 if __x86_64__ is defined. Use anonymous union on fpstate.
41973
3707636e
L
41974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41975 anonymous union.
41976
b53ef01a
AS
419772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41978
37fb1dc0
AS
41979 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41980 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41981 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41982 Refer to _rtld_local_ro instead of _rtld_global_ro.
41983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41984 Likewise.
41985 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41986 Likewise.
41987 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41988 Likewise.
41989 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41990 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41991 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41992
b53ef01a
AS
41993 * sysdeps/powerpc/powerpc32/dl-machine.c
41994 (__elf_machine_runtime_setup) [PROF]: Don't reference
41995 _dl_prof_resolve.
41996
7a185db2
AJ
419972012-05-18 Andreas Jaeger <aj@suse.de>
41998
41999 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42000 function only available for GCCs before 3.4 since GCC 3.4
42001 introduced a builtin.
42002 (lrint): Likewise.
42003 (llrintf): Likewise.
42004 (llrint): Likewise.
42005 (fmaxf): Likewise.
42006 (fmax): Likewise.
42007 (fminf): Likewise.
42008 (fmin): Likewise.
42009 (rint): Likewise.
42010 (rintf): Likewise.
42011 (nearbyint): Likewise.
42012 (nearbyintf): Likewise.
42013 (ceil): Likewise.
42014 (ceilf): Likewise.
42015 (floor): Likewise.
42016 (floorf): Likewise.
42017
3e5aef87
L
420182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42019
428bd707
L
42020 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42021 on both fields and cast pointer to __syscall_ulong_t.
42022
3e5aef87
L
42023 * bits/types.h (__fsword_t): New type.
42024 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42025 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42027 (__FSWORD_T_TYPE): Likewise.
42028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42029 (__FSWORD_T_TYPE): Likewise.
42030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42031 (__FSWORD_T_TYPE): Likewise.
42032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42033 (__FSWORD_T_TYPE): Likewise.
42034 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42035 __SWORD_TYPE with __fsword_t.
42036 (statfs64): Likewise.
42037
1ba7c3dc
DM
420382012-05-17 David S. Miller <davem@davemloft.net>
42039
42040 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42041
59910343
AJ
420422012-05-17 Andreas Jaeger <aj@suse.de>
42043
42044 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42045 warning.
42046
2e4c1e9e
L
420472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42048
42049 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42050
de7f5ce7
AJ
420512012-05-17 Andreas Jaeger <aj@suse.de>
42052
42053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42054 when it is used.
42055
286abc3d
CM
420562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42057
42058 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42059
477cc68e
L
420602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42061
42062 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42063 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42064
1a0994f5
CD
420652012-05-17 Andreas Jaeger <aj@suse.de>
42066 Carlos O'Donell <carlos_odonell@mentor.com>
42067
42068 [BZ #14059]
42069 * sysdeps/x86_64/multiarch/init-arch.h
42070 (bit_YMM_Usable): Rename to...
42071 (bit_AVX_Usable): ... this.
42072 (bit_FMA4_Usable): New macro.
42073 (bit_XMM_state): New macro.
42074 (bit_YMM_state): New macro.
42075 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42076 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42077 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42078 (CPUID_OSXSAVE): New macro.
42079 (CPUID_AVX): New macro.
42080 (CPUID_FMA4): New macro.
42081 (index_YMM_Usable): Rename to...
42082 (index_AVX_Usable): ... this.
42083 (HAS_AVX): Use HAS_ARCH_FEATURE.
42084 (HAS_FMA4): Likewise.
42085 (HAS_YMM_USABLE): Remove.
42086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42087 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42088 are present.
42089 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42090 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42091 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42092 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42093 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42094
0af797de
CM
420952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42096
42097 * math/libm-test.c: Support platforms without multiple rounding modes.
42098 * math/bug-nextafter.c: Support platforms without FP exceptions.
42099 * math/bug-nexttoward.c: Likewise.
42100 * math/test-fenv.c: Likewise.
42101 * math/test-misc.c: Likewise.
42102 * stdlib/bug-getcontext.c: Likewise.
42103
e39745ff
AJ
421042012-05-17 Andreas Jaeger <aj@suse.de>
42105
42106 * manual/examples/search.c (critter_cmp): Change signature to
42107 avoid warnings.
42108 * manual/string.texi (Collation Functions): Likewise.
42109
48970aba
L
421102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42111
42112 * bits/types.h: Fold copyright years.
42113 * bits/typesizes.h: Likewise.
42114 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42118 * time/time.h: Likewise.
42119
bedee953
PP
421202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42121
42122 [BZ #208]
42123 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42124 in instead of returning them. Return void.
42125 (__libc_mallinfo): Accumulate over all arenas.
42126 (__malloc_stats): Adjust for change in int_mallinfo interface.
42127
61653dfb
RM
421282012-05-16 Roland McGrath <roland@hack.frob.com>
42129
30b99d79
RM
42130 [BZ #10375]
42131 * configure.in (NM): Add AC_CHECK_TOOL for it.
42132 (libc_extra_cflags): New substituted variable.
42133 Check for -fstack-protector being used implicitly.
42134 * configure: Regenerated.
42135 * config.make.in (config-extra-cflags): New variable,
42136 gets @libc_extra_cflags@.
42137 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42138
61653dfb
RM
42139 [BZ #10375]
42140 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42141 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42142 * configure: Regenerated.
42143 * config.make.in (CPPUNDEFS): New substituted variable.
42144 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42145 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42146 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42147
661768bb
L
421482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42149
42150 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42151 (mq_attr): Use __syscall_slong_t.
42152
d4261567
L
421532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42154
42155 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42156 Check __x86_64__ instead of __WORDSIZE.
42157 (_STAT_VER_LINUX): Likewise.
42158 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42159 __syscall_ulong_t and __syscall_slong_t.
42160 (stat64): Likewise.
42161
cf3ff365
L
421622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42163
42164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42165
76cf3e4d
L
421662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42167
42168 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42169
a637753a
L
421702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42171
42172 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42173 __syscall_ulong_t.
42174
d5e05119
L
42175 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42176 include <bits/wordsize.h>. Check __x86_64__ instead of
42177 __WORDSIZE.
42178 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42179 defined.
42180 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42181
f62ee380
L
42182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42183 include <bits/wordsize.h>. Check __x86_64__ instead of
42184 __WORDSIZE.
42185 (user_regs_struct): Use "__extension__ unsigned long long"
42186 instead of "unsigned long" if __x86_64__ is defined.
42187 (user): Likewise. Pad after pointer field if __ILP32__ is
42188 defined.
42189
4e124ced
JM
421902012-05-16 Joseph Myers <joseph@codesourcery.com>
42191
6a3951a0
JM
42192 * configure.in (makeinfo): Require version 4.5 or later. Allow
42193 versions 5 to 9.
42194 * configure: Regenerated.
42195 * manual/install.texi (texinfo): Increase version requirement to
42196 4.5 or later.
42197 * INSTALL: Regenerated.
42198
4e124ced
JM
42199 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42200
953ca31a
L
422012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42202
42203 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42204
617aca05
L
42205 * sysdeps/x86_64/x32/ffs.c: New file.
42206
5762f7ae
L
42207 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42208 __syscall_ulong_t.
42209 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42210 defined. Use __syscall_ulong_t.
42211 (shminfo): Use __syscall_ulong_t.
42212 (shm_info): Likewise.
42213
a26b6856
L
42214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42215 __syscall_ulong_t.
42216
cb2b9ef7
L
42217 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42218 <bits/wordsize.h>.
42219 (msgqnum_t): Use __syscall_ulong_t.
42220 (msglen_t): Likewise.
42221 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42222 __syscall_ulong_t.
42223
34683bb0
L
42224 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42225 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42226
84a68786
L
42227 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42228
48baa5f1
L
42229 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42230 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42231
180be88b
L
42232 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42233 __syscall_slong_t.
42234
5e90c8ad
L
42235 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42236 include <bits/wordsize.h>. Check __x86_64__ instead of
42237 __WORDSIZE.
42238
23dfb58b
L
42239 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42240 "unsigned long long int" if __x86_64__ is defined.
42241 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42242
ce5d54b0
L
42243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42244 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42245 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42246
13dc9eac
L
42247 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42248 <stdint.h>.
42249 (GET_PC): Cast to uintptr_t first.
42250 (GET_FRAME): Likewise.
42251 (GET_STACK): Likewise.
42252
a7895d15
L
42253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42259 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42260 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42261 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42266 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42268 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42270 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42274 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42276 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42278 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42282
656416c9
AS
422832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42284
5bd66283
AS
42285 * Makerules (+depfiles): Also collect depfiles from .oS in
42286 $(extra-objs).
42287 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42288 .oS, $(libnldbl-routines)).
42289
656416c9
AS
42290 * Makerules (native-compile-mkdep-flags): Define.
42291 * sunrpc/Makefile (extra-objs): Add $(addprefix
42292 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42293 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42294 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42295 calling $(make-target-directory).
42296
a46f2169
L
422972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42298
42299 * bits/types.h (__snseconds_t): Removed.
42300 * time/time.h (struct timespec): Replace __snseconds_t with
42301 __syscall_slong_t.
42302 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42303 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42304 Likewise.
42305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42306 (__SNSECONDS_T_TYPE): Likewise.
42307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42308 (__SNSECONDS_T_TYPE): Likewise.
42309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42310 (__SNSECONDS_T_TYPE): Likewise.
42311
6af6528b
L
423122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42313
42314 * sysdeps/mach/hurd/bits/typesizes.h
42315 (__SYSCALL_SLONG_TYPE): New macro.
42316 (__SYSCALL_ULONG_TYPE): Likewise.
42317
de986b56
L
423182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42319
42320 * bits/types.h (__syscall_slong_t): New type.
42321 (__syscall_ulong_t): Likewise.
42322
42323 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42324 (__SYSCALL_ULONG_TYPE): Likewise.
42325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42326 (__SYSCALL_SLONG_TYPE): Likewise.
42327 (__SYSCALL_ULONG_TYPE): Likewise.
42328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42329 (__SYSCALL_SLONG_TYPE): Likewise.
42330 (__SYSCALL_ULONG_TYPE): Likewise.
42331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42332 (__SYSCALL_SLONG_TYPE): Likewise.
42333 (__SYSCALL_ULONG_TYPE): Likewise.
42334
85736dc7
L
423352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42336
42337 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42338 Add sigaltstack-offsets.sym.
42339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42340 <sigaltstack-offsets.h>.
42341 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42342 longjmp_msg pointer.
42343 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42344 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42345 signal stack.
42346 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42347
cc03b296
JM
423482012-05-15 Joseph Myers <joseph@codesourcery.com>
42349
a9538892
JM
42350 * elf/stackguard-macros.h: Remove file.
42351 * sysdeps/generic/stackguard-macros.h: New file.
42352 * sysdeps/i386/stackguard-macros.h: Likewise.
42353 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42354 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42355 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42356 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42357 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42358 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42359 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42360 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42361 <elf/stackguard-macros.h>.
42362
cc03b296
JM
42363 [BZ #14109]
42364 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42365 __aligned__ in attribute.
42366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42367 (gregset_t): Likewise.
42368
93171016
L
423692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42370
42371 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42372 * sysdeps/x86_64/64/Implies-after: Here. New file.
42373 * sysdeps/x86_64/x32/Implies-after: New file.
42374
d86813a0
L
423752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42376
42377 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42378 and access return value for _dl_profile_fixup. Use R10_LP to
42379 load frame size.
42380
2953ec75
L
423812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42382
42383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42384
3b550e9e
L
423852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42386
42387 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42388 * sysdeps/x86_64/x32/sysdep.h: New file.
42389
eda41706
L
423902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42391
42392 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42393 * sysdeps/x86_64/setjmp.S: Likewise.
42394
9ea01d93
AZ
423952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42396
42397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42399 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42400 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42401 remove unused global constant.
42402
02a91938
CM
424032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42404
42405 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42406 include of <not-cancel.h>.
42407
6540185f
RM
424082012-05-15 Roland McGrath <roland@hack.frob.com>
42409
42410 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42411
509072a0
AJ
424122012-05-15 Jeff Law <law@redhat.com>
42413 Andreas Jaeger <aj@suse.de>
42414
42415 [BZ #13594]
42416 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42417 out from...
42418 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42419 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42420 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42421 code changing __hst_map_handle.map.
42422
ba75122d
RM
424232012-05-15 Roland McGrath <roland@hack.frob.com>
42424
42425 * configure.in (sysnames): Look for Implies-before and Implies-after
42426 files.
42427 * configure: Regenerated.
42428
890d8bd8
L
424292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42430
42431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42432 8-byte data alignment with LP_SIZE alignment.
42433
f6ee6623
L
424342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42435
42436 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42437 into R10_LP.
42438
ea2626f6
L
424392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42440
42441 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42442
085f715e
L
424432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42444
42445 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42446 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42447 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42448 Likewise.
42449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42450
be8498fc
L
424512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42452
42453 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42454 (stackinfo_sub_sp): Likewise.
42455
70bc83b9
L
424562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42457
42458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42459 RAX_LP.
42460
9bc0b730
L
424612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42462
42463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42464 into R*_LP.
42465
6d2850e7
L
424662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42467
42468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42469 sizes into R*_LP.
42470
3cb84561
L
424712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42472
42473 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42474
54e2ed81
L
424752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42476
42477 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42478 into R11_LP and load __x86_64_shared_cache_size_half into
42479 R8_LP.
42480
8a17f349
L
424812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42482
42483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42484 R8_LP.
42485
777b1eea
AZ
424862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42487
42488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42489 logb for POWER7.
42490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42491 logbf for POWER7.
42492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42493 logbl for POWER7.
42494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42495 powerpc32/power7/fpu/s_logb.c via #include.
42496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42497 powerpc32/power7/fpu/s_logbf.c via #include.
42498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42499 powerpc32/power7/fpu/s_logbl.c via #include.
42500
d20d4ac2
JM
425012012-05-15 Joseph Myers <joseph@codesourcery.com>
42502
42503 * README.libm: Remove file.
42504
6cdef1ab
L
425052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42506
42507 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42508 count for x32. Use R*_LP and omit operand-size suffix.
42509
0b254d8f
L
425102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42511
42512 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42513 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42514 * sysdeps/x86_64/x32/shlib-versions: New file.
42515
ceb809dc
RM
425162012-05-14 Roland McGrath <roland@hack.frob.com>
42517
42518 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42519 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42520 Use _dl_fatal_printf instead.
42521
37f1abd4
JM
425222012-05-14 Joseph Myers <joseph@codesourcery.com>
42523
42524 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42525 set if not set by the user. Do not allow for being unset.
42526 * sysdeps/unix/sysv/linux/configure: Regenerated.
42527
11de3a33
L
425282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42529
42530 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42531 the `q' suffix from lea and replace .quad with ASM_ADDR.
42532
e02f153a
L
425332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42534
42535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42536 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42537 instead of $17.
42538 (PTR_DEMANGLE): Likewise.
42539
520ae0fd
L
425402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42541
42542 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42543 (LP_OP): Likewise.
42544 (ASM_ADDR): Likewise.
42545 (RAX_LP): Likewise.
42546 (RBP_LP): Likewise.
42547 (RBX_LP): Likewise.
42548 (RCX_LP): Likewise.
42549 (RDI_LP): Likewise.
42550 (RSI_LP): Likewise.
42551 (RSP_LP): Likewise.
42552 (R8_LP): Likewise.
42553 (R9_LP): Likewise.
42554 (R10_LP): Likewise.
42555 (R10_LP): Likewise.
42556 (R11_LP): Likewise.
42557 (R12_LP): Likewise.
42558 (R13_LP): Likewise.
42559 (R14_LP): Likewise.
42560 (R15_LP): Likewise.
42561
b985be81
L
425622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42563
42564 * sysdeps/x86_64/x32/dl-machine.h: New file.
42565
6a4888ff
AJ
425662012-05-14 Andreas Jaeger <aj@suse.de>
42567
42568 * manual/Makefile (subdir): Remove export of subdir.
42569 (all): Remove target.
42570 (.PHONY): Remove all from list.
42571 (mkinstalldirs): Remove.
42572 (.PHONY): Remove installdirs from list.
42573 ($(inst_infodir)/libc.info): Use make-target-directory.
42574 (installdirs): Remove.
42575 (subdir_%): Remove.
42576 (glibc-targets): Remove.
42577 (lib): Remove.
42578 (stubs): Remove.
42579 ($(objpfx)stubs ../po/manual.pot): Remove.
42580 ($(objpfx)stamp%): Remove.
42581 (make-target-directory): Remove.
42582 (subdir_install): Remove.
42583 (routines): Remove.
42584 (aux): Remove.
42585 (sources): Remove.
42586 (objects): Remove.
42587 (headers): Remove.
42588
42589 [BZ #13750]
42590 * manual/.gitignore: Remove, it's not needed anymore.
42591 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42592 all files in it.
42593 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42594 directory.
42595 (texis): Renamed to $(objpfx)texis.
42596 (texis-path): New, contains path to generated files.
42597 (chapters.%): Use texis-path for complete path, add extra argument
42598 libc-texinfo.sh.
42599 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42600 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42601 (summary,texi, stamp-summary): Use complete path of
42602 files. Generate files in build dir.
42603 (dir-add.texi): Build in build dir.
42604 (libm-err.texi,stamp-libm-err): Likewise.
42605 (version.texi, stamp-version): Likewise.
42606 (.%c.texi): Likewise.
42607 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42608 (mostlyclean): Remove target.
42609 (realclean): Remove target.
42610 (generated): Add new variable with contents from mostlyclean and
42611 realclean, remove entries duplicated in common-mostlyclean, add
42612 stamp-libm-err and stamp-version.
42613 (generated-dirs): Add libc directory.
42614 ($(inst_infodir)/libc.info): Install files from build dir.
42615
42616 * manual/install.texi (Configuring and compiling): Adjust since
42617 the info files are not part of the tar ball anymore.
42618
7ac77294
AJ
426192012-05-14 Andreas Jaeger <aj@suse.de>
42620
42621 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42622 variable.
42623
ffb7875d
JM
426242012-05-14 Joseph Myers <joseph@codesourcery.com>
42625
42626 [BZ #13717]
42627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42628 to 2.2.0 where earlier.
42629 * sysdeps/unix/sysv/linux/configure: Regenerated.
42630 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42631 Remove conditional code.
42632 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42633 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42634 Remove conditional code.
42635 [!__NR_lchown]: Likewise.
42636 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42637 [__NR_lchown]: Likewise.
42638 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42639 comment referencing __ASSUME_LCHOWN_SYSCALL.
42640 * sysdeps/unix/sysv/linux/i386/sigaction.c
42641 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42642 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42644 Remove conditional code.
42645 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42646 (__protocol_available): Remove #if 0 code.
42647 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42648 conditional code.
42649 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42650 * sysdeps/unix/sysv/linux/kernel-features.h
42651 (__ASSUME_GETCWD_SYSCALL): Don't define.
42652 (__ASSUME_REALTIME_SIGNALS): Likewise.
42653 (__ASSUME_PREAD_SYSCALL): Likewise.
42654 (__ASSUME_PWRITE_SYSCALL): Likewise.
42655 (__ASSUME_POLL_SYSCALL): Likewise.
42656 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42657 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42658 non-SPARC.
42659 (__ASSUME_SIOCGIFNAME): Don't define.
42660 (__ASSUME_MSG_NOSIGNAL): Likewise.
42661 (__ASSUME_SENDFILE): Define unconditionally.
42662 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42663 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42664 conditional code.
42665 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42666 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42668 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42669 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42670 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42671 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42696 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42697 Remove conditional code.
42698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42699 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42700 Remove conditional code.
42701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42702 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42703 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42704 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42705 Remove conditional code.
42706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42707 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42708 Remove conditional code.
42709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42710 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42711 Remove conditional code.
42712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42713 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42714 Remove conditional code.
42715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42716 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42717 Remove conditional code.
42718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42719 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42722 * sysdeps/unix/sysv/linux/sigaction.c
42723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42725 * sysdeps/unix/sysv/linux/sigpending.c
42726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42728 * sysdeps/unix/sysv/linux/sigprocmask.c
42729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42731 * sysdeps/unix/sysv/linux/sigsuspend.c
42732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42735 (__libc_missing_rt_sigs): Remove.
42736 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42737 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42738 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42739 Remove conditional code.
42740 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42741 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42742 return 1.
42743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42744 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42746 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42747
1bfb7291
AJ
427482012-05-14 Andreas Jaeger <aj@suse.de>
42749
caae5a81
AJ
42750 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42751 it's not used in glibc.
42752 (__coshm1): Likewise.
42753 (__acosh1p): Likewise.
42754 (__sgn): Likewise.
42755
1bfb7291
AJ
42756 * manual/string.texi (Copying and Concatenation): Add missing
42757 variable in concat example.
42758 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42759
c044d724
L
427602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42761
144c5467 42762 [BZ #14103]
c044d724
L
42763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42764 __builtin_clzl with __builtin_clzll.
42765
2523c62b
L
427662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42767
42768 [BZ #14104]
42769 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42770 libc_freeres_ptr.
42771
d7bb4c42
LD
427722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42773
42774 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42775 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42776 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42778
9dc4e1fb
MF
427792012-05-14 Mike Frysinger <vapier@gentoo.org>
42780
42781 * NEWS: Update ia64 info.
42782
c7df0112
AS
427832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42784
42785 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42786 used as bcopy.
42787
dc70356c
TS
427882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42789
42790 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42791 * sysdeps/unix/syscalls.list (dup3): Likewise.
42792 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42793 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42794
9fb1a21f
L
427952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42796
42797 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42798 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42799
4822a2a5
L
428002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42801
42802 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42803 thread pointer.
42804 (TLS_IE): Use mov/add instead of movq/addq to load thread
42805 pointer.
42806 (TLS_GD_PREFIX): New.
42807 (TLS_GD): Use it.
42808
842b81d6
DM
428092012-05-11 David S. Miller <davem@davemloft.net>
42810
42811 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42812 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42813 (_FPU_SETCW): Likewise.
42814
1cf463cd
L
428152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42816
42817 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42818 is 32-byte aligned.
42819
60cc4a18
AS
428202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42821
42822 [BZ #11837]
42823 * iconvdata/gb18030.c: Update tables.
42824 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42825 characters specially.
42826 (BODY for TO_LOOP): Add encoding of missing ranges.
42827
febb44a4
TS
428282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42829
42830 [BZ #13673]
42831 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42832 * sysdeps/mach/hurd/dup3.c: Likewise.
42833 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42834 * sysdeps/powerpc/memmove.c:: Likewise.
42835
0a10fb9e
L
428362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42837
42838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42839 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42840
df8a552f
L
428412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42842
42843 * elf/elf.h (R_X86_64_RELATIVE64): New.
42844 (R_X86_64_NUM): Updated.
42845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42846 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42847 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42848 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42849 tst-quad1pie tst-quad2pie
42850 (modules-names): Add tst-quadmod1 tst-quadmod2.
42851 ($(objpfx)tst-quad1): New dependency.
42852 ($(objpfx)tst-quad2): Likewise.
42853 ($(objpfx)tst-quad1pie): Likewise.
42854 ($(objpfx)tst-quad2pie): Likewise.
42855 * sysdeps/x86_64/tst-quad1.c: New file.
42856 * sysdeps/x86_64/tst-quad1pie.c: New file.
42857 * sysdeps/x86_64/tst-quad2.c: Likewise.
42858 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42859 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42860 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42861 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42862 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42863
f34d6f84
ST
428642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42865
f42d41d1
ST
42866 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42867 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42868 * streams/stropts.h (t_scalar_t): Define type.
42869
3c3571fc
ST
42870 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42871 (_PATH_PRESERVE): Set to "/var/lib".
42872 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42873
61f06bd3
ST
42874 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42875 instead of int.
42876
918d4d71
ST
42877 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42878 if __dir_mkfile succeeded.
42879
f34d6f84
ST
42880 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42881 checking for _hurd_dtablesize. Unlock it right after having
42882 finished _hurd_dtable allocation.
42883
10589b4a
TS
428842012-05-10 Thomas Schwinge <thomas@schwinge.name>
42885
674cdbc7
TS
42886 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42887 * sysdeps/mach/hurd/configure: Regenerated.
42888 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42889 special-casing to...
42890 * sysdeps/gnu/configure.in: ... this new file.
42891 * sysdeps/unix/sysv/linux/configure: Regenerated.
42892 * sysdeps/gnu/configure: New generated file.
42893
8e41b99f
TS
42894 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42895 for Linux: use nsec instead of usec, as well as:
42896 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42897 members of type struct timespec.
42898 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42899 New macros.
42900 (struct stat64): Likewise.
42901 (_STATBUF_ST_NSEC): New macro.
42902 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42903
10589b4a
TS
42904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42905 __strtoul_internal rather than strtoul.
42906
63643c85
PT
429072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42908
42909 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42910 and reject them.
42911
3faebe6a
ST
429122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42913
42914 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42915 which preserves existing values.
42916 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42917
c6474b07
PT
429182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42919
42920 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42921 TIMEOUT values. Return EINVAL for NFDS values either negative or
42922 greater than FD_SETSIZE.
42923
1043890b
ST
429242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42925
42926 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42927 allocated, call __vm_protect to finish enabling the existing space, and
42928 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42929 allocate the remainder.
42930
37ed8b9b
PT
429312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42932
42933 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42934 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42935
db653660
ST
429362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42937
37ed8b9b
PT
42938 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42939 sysdeps/mach/hurd/readlink.c.
b29d4053 42940
db653660
ST
42941 * posix/tst-sysconf.c (posix_options): Only use
42942 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42943 _POSIX_SYNCHRONIZED_IO when they are defined
42944 * sysdeps/mach/hurd/bits/posix_opt.h:
42945 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42946 (_XOPEN_REALTIME): Undefine macro.
42947 (_XOPEN_REALTIME_THREADS): Undefine macro.
42948 (_XOPEN_SHM): Undefine macro.
42949 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42950 macro to -1.
42951 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42952 macro to -1.
42953 (_POSIX_ASYNC_IO): Undefine macro.
42954 (_POSIX_PRIORITIZED_IO): Undefine macro.
42955 (_POSIX_SPIN_LOCKS): Define macro to -1.
42956
ee16e894
ST
42957 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42958 SA_NODEFER, SA_RESETHAND.
42959 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42960 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42961 F_DUPFD_CLOEXEC.
42962
6103ae3b
TS
429632012-05-10 Thomas Schwinge <thomas@schwinge.name>
42964
42965 * elf/Makefile (pldd-modules): Define unconditionally.
42966
80b4e5f3
TS
429672012-05-10 Thomas Schwinge <thomas@schwinge.name>
42968
42969 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42970
edadcbd6
ST
429712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42972
42973 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42974 Return ENOENT when name is empty.
42975 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42976
80694780
TS
429772012-05-10 Thomas Schwinge <thomas@schwinge.name>
42978
1792c087
TS
42979 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42980
80694780
TS
42981 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42982
6b645f0d
ST
429832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42984
80694780
TS
42985 Fix mlock in all cases except non-readable pages.
42986 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42987 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42988
6b645f0d
ST
42989 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42990 (__mkdir): When path is `/', just fail with EEXIST.
42991 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42992
e468f8a3
TS
429932012-05-10 Thomas Schwinge <thomas@schwinge.name>
42994
42995 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42996 <sys/uio.h> (for writev).
42997 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42998 and <sys/param.h> (for MIN).
42999
a4186cff
PT
430002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43001
43002 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43003 REQUESTED_TIME. Properly set the remaining time and return EINTR
43004 if interrupted.
43005
510bbf14
TS
430062012-05-10 Thomas Schwinge <thomas@schwinge.name>
43007
43008 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43009 Depend on against $(link-rpcuserlibs).
43010
5d5722e8
ST
430112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43012
a4186cff
PT
43013 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43014 (__libc_stack_end): Do not use attribute_relro.
43015 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43016 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43017 to libthread-provided value.
a4186cff
PT
43018 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43019 attribute_relro.
5d5722e8 43020
37233df9
TS
430212012-05-10 Thomas Schwinge <thomas@schwinge.name>
43022
be971a2b
TS
43023 [BZ #3748]
43024 * bits/libc-lock.h (__libc_once_get): New macro.
43025 * sysdeps/mach/bits/libc-lock.h: Likewise.
43026 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43028 instead of using implementation details.
43029
37233df9
TS
43030 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43031 * libio/freopen.c: Likewise.
43032 * libio/freopen64.c: Likewise.
43033 * misc/syslog.c: Likewise.
43034 * nscd/connections.c: Likewise.
43035 * nscd/netgroupcache.c: Likewise.
43036 * sysdeps/posix/getcwd.c: Likewise.
43037
38de94a5
RM
430382012-05-10 Roland McGrath <roland@hack.frob.com>
43039
43040 * math/w_ilogbf.c: Add #include <limits.h>.
43041
67530489
ST
430422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43043
a4186cff 43044 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43045 path instead of returning without unlocking.
43046
67530489
ST
43047 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43048 immediate-write ioctls.
43049 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43050
5aa3a74a
TS
430512012-05-10 Thomas Schwinge <thomas@schwinge.name>
43052
18bad2ae
TS
43053 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43054 __builtin_frame_address instead of making assumptions about the
43055 location of the return address relative to DATA. Force early load of
43056 the return address.
43057 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43058 __builtin_frame_address.
43059
5aa3a74a
TS
43060 dup3 for GNU Hurd.
43061 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43062 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43063 implement dup3 and do some further code clean-ups.
43064 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43066
ecd0de9a
ST
430672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43068
cd9fa985
ST
43069 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43070
a4186cff
PT
43071 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43072 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43073 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43074 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43075 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43076 d->port.lock.
802ca5a5 43077
a4186cff
PT
43078 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43079 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43080 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43081
bcf55240
TS
430822012-05-10 Thomas Schwinge <thomas@schwinge.name>
43083
6960eb42
TS
43084 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43085 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43086 definitions.
43087
eb43375f
TS
43088 accept4 for GNU Hurd.
43089 * include/sys/socket.h (__libc_accept4): New prototype.
43090 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43091 to implement __libc_accept4.
43092 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43093 __libc_accept4.
43094 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43095
bcf55240
TS
43096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43097 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43098 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43099 signal-defines.sym.
43100
6178c55b
ST
431012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43102
a4186cff 43103 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43104
6f080c2f
TS
431052012-05-10 Thomas Schwinge <thomas@schwinge.name>
43106
43107 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43108 assertion on O_CLOEXEC flag.
43109 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43110 * hurd/intern-fd.c: Likewise.
43111 * hurd/port2fd.c: Likewise.
43112
bcfe3a54
ST
431132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43114
43115 [BZ #3906]
43116 * bits/in.h (IPV6_PKTINFO): Define new macro.
43117 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43118
89c9aa49
AZ
431192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43120
43121 [BZ #13954]
43122 [BZ #13955]
43123 [BZ #13956]
43124 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43126 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43127 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43129 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43130 * math/libm-test.inc (logb_test) : Additional logb tests.
43131
021db4be
AJ
431322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43133 Andreas Jaeger <aj@suse.de>
43134
43135 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43136 * configure: Regenerated.
43137 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43138 * config.make.in (link-obsolete-rpc): New substituted variable.
43139 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43140 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43141 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43142 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43143 so that libc.a contains the symbols.
43144 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43145 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43146 * sunrpc/auth_none.c: Likewise.
43147 * sunrpc/auth_unix.c: Likewise.
43148 * sunrpc/authdes_prot.c: Likewise.
43149 * sunrpc/authuxprot.c: Likewise.
43150 * sunrpc/clnt_gen.c: Likewise.
43151 * sunrpc/clnt_perr.c: Likewise.
43152 * sunrpc/clnt_raw.c: Likewise.
43153 * sunrpc/clnt_simp.c: Likewise.
43154 * sunrpc/clnt_tcp.c: Likewise.
43155 * sunrpc/clnt_udp.c: Likewise.
43156 * sunrpc/clnt_unix.c: Likewise.
43157 * sunrpc/des_crypt.c: Likewise.
43158 * sunrpc/des_soft.c: Likewise.
43159 * sunrpc/get_myaddr.c: Likewise.
43160 * sunrpc/key_call.c: Likewise.
43161 * sunrpc/key_prot.c: Likewise.
43162 * sunrpc/netname.c: Likewise.
43163 * sunrpc/pm_getmaps.c: Likewise.
43164 * sunrpc/pm_getport.c: Likewise.
43165 * sunrpc/pmap_clnt.c: Likewise.
43166 * sunrpc/pmap_prot.c: Likewise.
43167 * sunrpc/pmap_prot2.c: Likewise.
43168 * sunrpc/pmap_rmt.c: Likewise.
43169 * sunrpc/publickey.c: Likewise.
43170 * sunrpc/rpc_cmsg.c: Likewise.
43171 * sunrpc/rpc_common.c: Likewise.
43172 * sunrpc/rpc_dtable.c: Likewise.
43173 * sunrpc/rpc_prot.c: Likewise.
43174 * sunrpc/rpc_thread.c: Likewise.
43175 * sunrpc/rtime.c: Likewise.
43176 * sunrpc/svc.c: Likewise.
43177 * sunrpc/svc_auth.c: Likewise.
43178 * sunrpc/svc_raw.c: Likewise.
43179 * sunrpc/svc_run.c: Likewise.
43180 * sunrpc/svc_tcp.c: Likewise.
43181 * sunrpc/svc_udp.c: Likewise.
43182 * sunrpc/svc_unix.c: Likewise.
43183 * sunrpc/svcauth_des.c: Likewise.
43184 * sunrpc/xcrypt.c: Likewise.
43185 * sunrpc/xdr.c: Likewise.
43186 * sunrpc/xdr_array.c: Likewise.
43187 * sunrpc/xdr_float.c: Likewise.
43188 * sunrpc/xdr_intXX_t.c: Likewise.
43189 * sunrpc/xdr_mem.c: Likewise.
43190 * sunrpc/xdr_rec.c: Likewise.
43191 * sunrpc/xdr_ref.c: Likewise.
43192 * sunrpc/xdr_sizeof.c: Likewise.
43193 * sunrpc/xdr_stdio.c: Likewise.
43194
b5c086a2
RM
431952012-05-10 Roland McGrath <roland@hack.frob.com>
43196
43197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43198 change. Update copyright years.
43199
6d74dd09
JM
432002012-05-10 Joseph Myers <joseph@codesourcery.com>
43201
43202 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43203
28e72501
MK
432042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43205 Joseph Myers <joseph@codesourcery.com>
43206 Paul Pluzhnikov <ppluzhnikov@google.com>
43207
43208 [BZ #14012]
43209 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43210 requiring rpcgen.
43211 [cross-compiling] (extra-libs): Likewise.
43212 [cross-compiling] (extra-libs-others): Likewise.
43213 [cross-compiling] (librpcsvc-routines): Likewise.
43214 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43215 [cross-compiling] (omit-deps): Likewise.
43216 (sunrpc-CPPFLAGS): New variable.
43217 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43218 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43219 (cross-rpcgen-objs): New variable.
43220 (extra-objs): Append $(cross-rpcgen-objs).
43221 ($(cross-rpcgen-objs)): New rule.
43222 ($(objpfx)cross-rpcgen): Likewise.
43223 (rpcgen-cmd): Define to use $(built-program-file). Expand
43224 comment.
43225 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43226 ($(objpfx)x%.stmp): Likewise.
43227 * sunrpc/proto.h [IS_IN_build] (_): Define.
43228 [IS_IN_build] (_libc_intl_domainname): Likewise.
43229
c8c59454
L
432302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43231
43232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43233 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43234 and R_X86_64_TPOFF64.
43235
6f27cd16
JM
432362012-05-10 Joseph Myers <joseph@codesourcery.com>
43237
43238 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43239 sysdeps/unix/sysv/syscalls.list.
43240 (stime): Likewise.
43241 (utime): Likewise.
43242 * sysdeps/unix/sysv/syscalls.list: Remove file.
43243
02467e1c
PE
432442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43245
43246 [BZ #3440]
43247 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43248 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43249 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43250 (__LC_IDENTIFICATION): Make these macros useful in #if
43251 expressions, as required by C99.
43252
da392631
AS
432532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43254
43255 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43256 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43257 after this.
43258
8115f29b
L
432592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43260
43261 * stdlib/longlong.h: Updated from GCC.
43262
bdd74070
AJ
432632012-05-09 Andreas Jaeger <aj@suse.de>
43264
edfe0dbe
AJ
43265 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43266 default is first entry.
43267 (run_mode): Set type.
43268 (main): Remove informal message about syslog.
43269 (options): Fix typo.
43270
bcfe3a54
ST
43271 [BZ #14053]
43272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43273 to asm.
bcfe3a54
ST
43274 (lrint): Likewise.
43275 (llrintf): Likewise.
43276 (llrint): Likewise.
43277 (rint): Likewise.
43278 (rintf): Likewise.
43279 (nearbyint): Likewise.
43280 (nearbyintf): Likewise.
bdd74070 43281
91d8d69e
AJ
432822012-05-09 Andreas Jaeger <aj@suse.de>
43283 Pedro Alves <palves@redhat.com>
43284
43285 * nscd/nscd.c (run_mode): Use enum.
43286 (main): Cleanup coding style issue.
43287
bb90b80b
AJ
432882012-05-09 Alexandre Oliva <aoliva@redhat.com>
43289 Andreas Jaeger <aj@suse.de>
43290
bcfe3a54
ST
43291 * nscd/nscd.c (go_background): Replaced with...
43292 (run_mode): ... this.
bb90b80b 43293 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43294 (options): Add -F --foreground.
43295 (main): Implement it.
43296 (parse_opt): Parse it.
bb90b80b 43297
1a4b75a1
AJ
432982012-05-09 Andreas Jaeger <aj@suse.de>
43299
43300 [BZ #14083]
43301 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43302 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43303 -Wconversion warning.
43304 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43305 Likewise.
43306
b1cc2472
JM
433072012-05-09 Joseph Myers <joseph@codesourcery.com>
43308
43309 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43310 == 0.
43311 (LC_ALL): Use macro-int-constant.
43312 (LC_COLLATE): Likewise.
43313 (LC_CTYPE): Likewise.
43314 (LC_MESSAGES): Likewise.
43315 (LC_MONETARY): Likewise.
43316 (LC_NUMERIC): Likewise.
43317 (LC_TIME): Likewise.
43318 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43319 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43321 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43322 Specify type.
43323 [C99-based standards] (float_t): Expect type.
43324 [C99-based standards] (double_t): Expect type.
43325 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43326 type.
43327 [C99-based standards] (HUGE_VALL): Likewise.
43328 [C99-based standards] (INFINITY): Likewise.
43329 [C99-based standards] (NAN): Likewise.
43330 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43331 [C99-based standards] (FP_NAN): Likewise.
43332 [C99-based standards] (FP_NORMAL): Likewise.
43333 [C99-based standards] (FP_SUBNORMAL): Likewise.
43334 [C99-based standards] (FP_ZERO): Likewise.
43335 [C99-based standards] (FP_FAST_FMA): Use
43336 optional-macro-int-constant. Specify type. Require == 1.
43337 [C99-based standards] (FP_FAST_FMAF): Likewise.
43338 [C99-based standards] (FP_FAST_FMAL): Likewise.
43339 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43340 [C99-based standards] (FP_ILOGBNAN): Likewise.
43341 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43342 Specify type.
43343 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43344 [C99-based standards] (math_errhandling): Specify type.
43345 [ISO99 || ISO11] (signgam): Do not allow.
43346 [non-C99-based standards] (copysignf): Do not allow.
43347 [non-C99-based standards] (exp2f): Likewise.
43348 [non-C99-based standards] (log2f): Likewise.
43349 [non-C99-based standards] (modff): Allow.
43350 [non-C99-based standards] (erff): Do not allow.
43351 [non-C99-based standards] (erfcf): Likewise.
43352 [non-C99-based standards] (gammaf): Likewise.
43353 [non-C99-based standards] (hypotf): Likewise.
43354 [non-C99-based standards] (j0f): Likewise.
43355 [non-C99-based standards] (j1f): Likewise.
43356 [non-C99-based standards] (jnf): Likewise.
43357 [non-C99-based standards] (lgammaf): Likewise.
43358 [non-C99-based standards] (tgammaf): Likewise.
43359 [non-C99-based standards] (y0f): Likewise.
43360 [non-C99-based standards] (y1f): Likewise.
43361 [non-C99-based standards] (ynf): Likewise.
43362 [non-C99-based standards] (isnanf): Likewise.
43363 [non-C99-based standards] (acoshf): Likewise.
43364 [non-C99-based standards] (asinhf): Likewise.
43365 [non-C99-based standards] (atanhf): Likewise.
43366 [non-C99-based standards] (cbrtf): Likewise.
43367 [non-C99-based standards] (expm1f): Likewise.
43368 [non-C99-based standards] (ilogbf): Likewise.
43369 [non-C99-based standards] (log1pf): Likewise.
43370 [non-C99-based standards] (logbf): Likewise.
43371 [non-C99-based standards] (nextafterf): Likewise.
43372 [non-C99-based standards] (remainderf): Likewise.
43373 [non-C99-based standards] (rintf): Likewise.
43374 [non-C99-based standards] (scalbf): Likewise.
43375 [non-C99-based standards] (copysignl): Likewise.
43376 [non-C99-based standards] (exp2l): Likewise.
43377 [non-C99-based standards] (log2l): Likewise.
43378 [non-C99-based standards] (modfl): Allow.
43379 [non-C99-based standards] (erfl): Do not allow.
43380 [non-C99-based standards] (erfcl): Likewise.
43381 [non-C99-based standards] (gammal): Likewise.
43382 [non-C99-based standards] (hypotl): Likewise.
43383 [non-C99-based standards] (j0l): Likewise.
43384 [non-C99-based standards] (j1l): Likewise.
43385 [non-C99-based standards] (jnl): Likewise.
43386 [non-C99-based standards] (lgammal): Likewise.
43387 [non-C99-based standards] (tgammal): Likewise.
43388 [non-C99-based standards] (y0l): Likewise.
43389 [non-C99-based standards] (y1l): Likewise.
43390 [non-C99-based standards] (ynl): Likewise.
43391 [non-C99-based standards] (isnanl): Likewise.
43392 [non-C99-based standards] (acoshl): Likewise.
43393 [non-C99-based standards] (asinhl): Likewise.
43394 [non-C99-based standards] (atanhl): Likewise.
43395 [non-C99-based standards] (cbrtl): Likewise.
43396 [non-C99-based standards] (expm1l): Likewise.
43397 [non-C99-based standards] (ilogbl): Likewise.
43398 [non-C99-based standards] (log1pl): Likewise.
43399 [non-C99-based standards] (logbl): Likewise.
43400 [non-C99-based standards] (nextafterl): Likewise.
43401 [non-C99-based standards] (remainderl): Likewise.
43402 [non-C99-based standards] (rintl): Likewise.
43403 [non-C99-based standards] (scalbl): Likewise.
43404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43405 [non-C99-based standards] (FP_*): Do not allow.
43406 [C99-based standards] (FP_*): Change to
43407 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43408 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43409 allow.
43410 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43411 (SIG_ERR): Likewise.
43412 [X/Open-based standards] (SIG_HOLD): Likewise.
43413 (SIG_IGN): Likewise.
43414 (SIGABRT): Use macro-int-constant. Specify type. Require
43415 positive value.
43416 (SIGFPE): Likewise.
43417 (SIGILL): Likewise.
43418 (SIGINT): Likewise.
43419 (SIGSEGV): Likewise.
43420 (SIGTER): Likewise.
43421 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43422 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43423 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43424 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43425 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43426 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43427 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43428 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43429 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43430 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43431 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43432 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43433 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43434 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43435 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43436 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43437 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43438 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43439 [X/Open-based standards] (SIGTRAP): Likewise.
43440 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43441 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43442 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43443 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43444 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43445 allow.
43446
b9f1922d
IW
434472012-05-08 Ian Wienand <ianw@vmware.com>
43448
43449 [BZ #14080]
43450 * time/tzset.c (__tzset_parse_tz): Update default rules for
43451 daylight time changes in the Energy Policy Act of 2005.
43452
1db86e88
AJ
434532012-05-09 Andreas Jaeger <aj@suse.de>
43454
43455 [BZ #13983]
43456 * elf/ldconfig.c (parse_conf): Change string to make clear that
43457 ldconfig only issued a warning if ld.so.conf does not exist.
43458
dee4a4e3
DM
434592012-05-08 David S. Miller <davem@davemloft.net>
43460
ee0db190
DM
43461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43462 movxtod instead of popping the value on the stack.
43463
dee4a4e3
DM
43464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43465
6a43ec98
CD
434662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43467
43468 * config.h.in: Add HAVE_ARM_PCS_VFP.
43469
05c2c961
RMG
434702012-05-08 Roland Mc Grath <roland@hack.frob.com>
43471
bcfe3a54
ST
43472 [BZ #13979]
43473 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43474 checking but the checks are disabled for any reason.
05c2c961 43475
4b30f61a
L
434762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43477
43478 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43479 and ELF64_R_TYPE with ELFW(R_TYPE).
43480
eee2bc67
JM
434812012-05-08 Joseph Myers <joseph@codesourcery.com>
43482
7ea5391a
JM
43483 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43484 (ulimit): Likewise.
43485
eee2bc67
JM
43486 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43487 (settimeofday): Likewise.
43488
abb66a67
MF
434892012-05-08 Mike Frysinger <vapier@gentoo.org>
43490
43491 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43492 a struct th_u2 inside the union, and move tu_block/tu_code into
43493 a new th_u3 union of tu_block/tu_code inside of that. Move
43494 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43495 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43496 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43497 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43498 (th_stuff): Change to th_u1.tu_stuff.
43499 (th_data): Define.
43500 (th_msg): Change to th_u1.th_u2.tu_data.
43501
7f18b530
DM
435022012-05-07 David S. Miller <davem@davemloft.net>
43503
05760585
DM
43504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43505
7f18b530
DM
43506 [BZ #14074]
43507 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43508 (SETUP_PIC_REG): Use it.
43509 (SETUP_PIC_REG_LEAF): Use it.
43510
495fd99f
JM
435112012-05-07 Joseph Myers <joseph@codesourcery.com>
43512
43513 [BZ #13885]
43514 [BZ #13923]
43515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43516 USE_AS_EXPM1L.
43517 (EXPL_FINITE): Likewise.
43518 (FLDLOG): Likewise.
43519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43520 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43521 e_expl.S.
43522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43523 USE_AS_EXPM1L.
43524 (EXPL_FINITE): Likewise.
43525 (FLDLOG): Likewise.
43526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43527 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43528 e_expl.S.
43529 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43530 test of -max_value argument for long double.
43531 * sysdeps/i386/fpu/libm-test-ulps: Update.
43532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43533
6693d694
DM
435342012-05-06 David S. Miller <davem@davemloft.net>
43535
43536 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43537 quad soft-float symbols whose references which are compiler
43538 generated.
43539 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43540
6c23e11c
JM
435412012-05-06 Joseph Myers <joseph@codesourcery.com>
43542
d8b82cad
JM
43543 [BZ #13884]
43544 [BZ #13914]
43545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43546 USE_AS_EXP10L.
43547 (EXPL_FINITE): Likewise.
43548 (FLDLOG): Likewise.
43549 (c0): Likewise.
43550 (c1): Likewise.
43551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43552 Adjust comments for base varying.
43553 (__expl_finite): Change alias to EXPL_FINITE.
43554 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43555 e_expl.S.
43556 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43557 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43558 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43559 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43561 USE_AS_EXP10L.
43562 (EXPL_FINITE): Likewise.
43563 (FLDLOG): Likewise.
43564 (c0): Likewise.
43565 (c1): Likewise.
43566 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43567 Adjust comments for base varying.
43568 (__expl_finite): Change alias to EXPL_FINITE.
43569 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43570 tests for bugs.
43571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43572
6c23e11c
JM
43573 [BZ #14064]
43574 * math/libm-test.inc (check_float_internal): Correct ulp
43575 calculation for subnormal expected results.
43576
29ba805c
AJ
435772012-05-06 Andreas Jaeger <aj@suse.de>
43578
43579 * Makeconfig (+math-flags): New, set to -frounding-math.
43580 (+cflags): Add +math-flags so that all of glibc gets compiled with
43581 it.
43582
43583 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43584
7b17aeda
JM
435852012-05-05 Joseph Myers <joseph@codesourcery.com>
43586
5779f134
JM
43587 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43588 Disable one test.
43589
41498f4d
JM
43590 [BZ #13787]
43591 [BZ #13922]
43592 [BZ #14036]
43593 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43594 (__ieee754_expl): Allow for and saturate large arguments.
43595 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43596 (u_threshold): Likewise.
43597 (__exp): Call __ieee754_exp before checking for overflow and
43598 underflow.
43599 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43600 (u_threshold): Likewise.
43601 (__expf): Call __ieee754_expf before checking for overflow and
43602 underflow.
43603 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43604 (u_threshold): Likewise.
43605 (__expl): Call __ieee754_expl before checking for overflow and
43606 underflow.
43607 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43608 (__ieee754_expl): Allow for and saturate large arguments.
43609 * math/libm-test.inc (exp_test): Add another test. Do not allow
43610 missing overflow exception on overflow.
43611 (expm1_test): Do not allow missing overflow exception on overflow.
43612
6698b8bf
JM
43613 * sysdeps/i386/fpu/e_expl.c: Move to ...
43614 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43615 rather than using inline asm.
43616 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43617 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43618 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43619
7b17aeda
JM
43620 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43621 (nice): Likewise.
43622 (poll): Likewise.
43623 (signal): Likewise.
43624 (time): Likewise.
43625 (times): Likewise.
43626
f7c85819
JM
436272012-05-04 Joseph Myers <joseph@codesourcery.com>
43628
43629 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43630 sysdeps/unix/common/syscalls.list.
43631 (fchmod): Likewise.
43632 (fchown): Likewise.
43633 (ftruncate): Likewise.
43634 (getrusage): Likewise.
43635 (gettimeofday): Likewise.
43636 (setpgid): Likewise.
43637 (setregid): Likewise.
43638 (setreuid): Likewise.
43639 (sigaction): Likewise.
43640 (truncate): Likewise.
43641 (vhangup): Likewise.
43642 * sysdeps/unix/common/syscalls.list: Remove file.
43643 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43644 * sysdeps/unix/sysv/linux/Implies: Likewise.
43645
336270d0
L
436462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43647
43648 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43650 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43651 Moved to ...
43652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43653 Here.
43654 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43655 to ...
43656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43657 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43658 to ...
43659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43660 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43661 to ...
43662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43663 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43664 to ...
43665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43666 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43667 to ...
43668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43669 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43670 to ...
43671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43672 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43673 to ...
43674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43675 Here.
43676 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43677 to ...
43678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43679 Here.
43680 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43681 to ...
43682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43683 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43684 Moved to ...
43685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43686 Here.
43687 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43688 to ...
43689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43690
d128e450
JM
436912012-05-04 Joseph Myers <joseph@codesourcery.com>
43692
fa8ee516
JM
43693 * sysdeps/unix/common/bits/dirent.h: Remove file.
43694 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43695
d128e450
JM
43696 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43697 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43698 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43699 * sysdeps/unix/bsd/isatty.c: Likewise.
43700 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43701 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43702 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43703
ff8faaf0 437042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43705
62881be4 43706 [BZ #13563]
31dc8730
AZ
43707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43708 long double comparison inaccuracies.
43709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43711
6fef930c
AS
437122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43713
43714 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43716
8f203e6c
JM
437172012-05-04 Joseph Myers <joseph@codesourcery.com>
43718
43719 [BZ #14049]
43720 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43721 nonzero digits before rounding a hex value.
43722 * stdlib/tst-strtod.c (tests): Add another test.
43723
5197d9c2
AK
437242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43725
43726 * sysdeps/s390/fpu/libm-test-ulps: Update.
43727
f0c1dedf
AJ
437282012-05-03 Andreas Jaeger <aj@suse.de>
43729
43730 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43731 does not get optimized out.
43732 (malloc_opt_barrier): New.
43733
a65ef2ae 437342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43735 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43736
2b942cb7 43737 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43738 intermediate file deletion.
2b942cb7 43739 (generated): Add .symlist files.
a65ef2ae 43740
54b71e02
JM
437412012-05-03 Joseph Myers <joseph@codesourcery.com>
43742
43743 [BZ #13775]
43744 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43745 Redirect under this condition.
43746 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43747 [__USE_GNU] (__dprintf_chk): Not under this condition.
43748 [__USE_GNU] (__vdprintf_chk): Likewise.
43749 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43750 under this condition.
43751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43752 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43753 [__USE_XOPEN2K8] (vdprintf): Likewise.
43754 [__USE_GNU] (__dprintf_chk): Not under this condition.
43755 [__USE_GNU] (__vdprintf_chk): Likewise.
43756 [__USE_GNU] (dprintf): Likewise.
43757 [__USE_GNU] (vdprintf): Likewise.
43758
d3dfcc41
RM
437592012-05-03 Roland McGrath <roland@hack.frob.com>
43760
43761 * elf/Makefile (common-generated): Set this instead of generated for
43762 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43763 $(all-built-dso)-derived lists.
43764
7ac30cc5
AJ
437652012-05-03 Andreas Jaeger <aj@suse.de>
43766
0c51e550
AJ
43767 * sysdeps/i386/fpu/libm-test-ulps: Update.
43768
7ac30cc5
AJ
43769 * FAQ: Removed.
43770 * FAQ.in: Likewise.
43771 * scripts/gen-FAQ.pl: Likewise.
43772 * manual/install.texi (Installation): Point to online location of
43773 FAQ.
43774 * Makefile (files-for-dist): Remove FAQ.
43775 (FAQ): Remove.
43776
d4c2917f
AM
437772012-05-02 Allan McRae <allan@archlinux.org>
43778
43779 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43780 (LDFLAGS-reldepmod5.so): Likewise.
43781 (LDFLAGS-reldep6mod1.so): Likewise.
43782 (LDFLAGS-reldep6mod4.so): Likewise.
43783 (LDFLAGS-reldep8mod3.so): Likewise.
43784 (LDFLAGS-unload4mod1.so): Likewise.
43785 (LDFLAGS-unload4mod2.so): Likewise.
43786 (LDFLAGS-tst-initorder): Likewise.
43787 (LDFLAGS-tst-initordera2.so): Likewise.
43788 (LDFLAGS-tst-initordera3.so): Likewise.
43789 (LDFLAGS-tst-initordera4.so): Likewise.
43790 (LDFLAGS-tst-initorderb2.so): Likewise.
43791 (LDFLAGS-noload): Likewise.
43792 (LDFLAGS-next): Likewise.
43793 (LDFLAGS-order2mod1.so): Likewise.
43794 (LDFLAGS-order2mod2.so): Likewise.
43795 (LDFLAGS-tst-initorder2): Likewise.
43796 (LDFLAGS-tst-initorder2a.so): Likewise.
43797 (LDFLAGS-tst-initorder2b.so): Likewise.
43798 (LDFLAGS-tst-initorder2c.so): Likewise.
43799 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43800
d77f993f
DM
438012012-05-02 David S. Miller <davem@davemloft.net>
43802
43803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43804
171a70b4
PP
438052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43806
43807 [BZ #14055]
43808 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43809
0be196ad
AJ
438102012-05-02 Andreas Jaeger <aj@suse.de>
43811
43812 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43813 since we manipulate rounding mode.
43814 (CPPFLAGS-test-idouble.c): Likewise.
43815 (CPPFLAGS-test-ifloat.c): Likewise.
43816 (CFLAGS-test-ldouble.c): Likewise.
43817 (CFLAGS-test-double.c): Likewise.
43818 (CFLAGS-test-float.c): Likewise.
43819 (CFLAGS-test-misc.c): Likewise.
43820 (CFLAGS-test-test-fenv.c): Likewise.
43821
4f9d04aa
AZ
438222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43823
2b942cb7
RM
43824 [BZ #2550]
43825 [BZ #2570]
43826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43827 comparisons to determine direction to adjust input.
4f9d04aa 43828
82a79e7d
RM
438292012-05-01 Roland McGrath <roland@hack.frob.com>
43830
f5a01ca9
RM
43831 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43832 output to the target.
43833
90fe4186
RM
43834 * scripts/localplt.awk: New file.
43835 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43836 (check-localplt-CFLAGS): Variable removed.
43837 ($(all-built-dso:=.jmprel)): New static pattern rule.
43838 (generated): Add those targets.
43839 (localplt-built-dso): New variable.
43840 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43841
43842 * elf/check-localplt.c: File removed.
43843
82397ed6
RM
43844 * scripts/check-execstack.awk: New file.
43845 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43846 (check-execstack-CFLAGS): Variable removed.
43847 ($(objpfx)check-execstack.h): Target removed.
43848 ($(objpfx)execstack-default): New target.
43849 (generated): Add that instead of check-execstack.h.
43850 ($(all-built-dso:=.phdr)): New static pattern rule.
43851 (generated): Add those targets.
43852 * elf/check-execstack.c: File removed.
43853
82a79e7d
RM
43854 * scripts/check-textrel.awk: New file.
43855 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43856 (check-textrel-CFLAGS): Variable removed.
43857 (all-built-dso): Use := to define.o
43858 ($(all-built-dso:=.dyn)): New static pattern rule.
43859 (generated): Add those targets.
43860 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43861 * config.make.in (READELF): New substituted variable.
43862 * elf/check-textrel.c: File removed.
43863
62fde54f 438642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43865
615605c9
JM
43866 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43867 allow.
43868 * conform/data/ctype.h-data [C99-based standards] (isblank):
43869 Expect function.
43870 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43871 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43873 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43874 Specify type. Require positive value.
43875 (EILSEQ): Likewise.
43876 (ERANGE): Likewise.
43877 [ISO || POSIX] (EILSEQ): Do not expect.
43878 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43879 Specify type. Require positive value.
43880 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43881 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43882 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43883 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43884 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43885 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43886 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43887 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43888 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43889 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43890 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43891 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43892 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43893 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43894 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43895 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43896 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43897 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43898 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43899 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43900 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43901 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43902 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43903 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43904 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43905 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43906 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43907 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43908 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43909 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43910 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43911 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43912 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43913 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43914 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43915 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43916 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43917 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43918 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43919 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43920 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43921 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43922 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43923 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43924 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43925 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43926 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43927 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43928 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43929 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43930 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43931 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43932 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43933 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43934 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43935 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43936 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43937 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43938 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43939 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43940 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43941 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43942 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43943 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43945 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43946 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43947 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43948 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43949 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43950 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43951 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43952 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43953 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43954 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43955 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43956 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43957 Require >= 2.
43958 (FLT_ROUNDS): Expect as macro, not constant.
43959 (FLT_MANT_DIG): Use macro-int-constant.
43960 (DBL_MANT_DIG): Likewise.
43961 (LDBL_MANT_DIG): Likewise.
43962 (FLT_DIG): Likewise.
43963 (DBL_DIG): Likewise.
43964 (LDBL_DIG): Likewise.
43965 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43966 (DBL_MIN_EXP): Likewise.
43967 (LDBL_MIN_EXP): Likewise.
43968 (FLT_MAX_EXP): Use macro-int-constant.
43969 (DBL_MAX_EXP): Likewise.
43970 (LDBL_MAX_EXP): Likewise.
43971 (FLT_MAX_10_EXP): Likewise.
43972 (DBL_MAX_10_EXP): Likewise.
43973 (LDBL_MAX_10_EXP): Likewise.
43974 (FLT_MAX): Use macro-constant.
43975 (DBL_MAX): Likewise.
43976 (LDBL_MAX): Likewise.
43977 (FLT_EPSILON): Use macro-constant. Give upper bound.
43978 (DBL_EPSILON): Likewise.
43979 (LDBL_EPSILON): Likewise.
43980 (FLT_MIN): Likewise.
43981 (DBL_MIN): Likewise.
43982 (LDBL_MIN): Likewise.
43983 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43984 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43985 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43986 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43987 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43988 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43989 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43990 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43991 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43992 [ISO11] (FLT_TRUE_MIN): Likewise.
43993 [ISO11] (LDBL_TRUE_MIN): Likewise.
43994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43995 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43996 (SCHAR_MIN): Use macro-int-constant. Specify type.
43997 (SCHAR_MAX): Likewise.
43998 (UCHAR_MAX): Likewise.
43999 (CHAR_MIN): Likewise.
44000 (CHAR_MAX): Likewise.
44001 (MB_LEN_MAX): Use macro-int-constant.
44002 (SHRT_MIN): Use macro-int-constant. Specify type.
44003 (SHRT_MAX): Likewise.
44004 (USHRT_MAX): Likewise.
44005 (INT_MAX): Likewise.
44006 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44007 bound negative.
44008 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44009 bound with "U".
44010 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44011 bound with "L".
44012 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44013 bound negative. Suffix upper bound with "L".
44014 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44015 bound with "UL".
44016 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44017 Specify type.
44018 [C99-based standards] (LLONG_MAX): Likewise.
44019 [C99-based standards] (ULLONG_MAX): Likewise.
44020 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44021 == 0.
44022 [ISO11] (max_align_t): Require type.
44023 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44024
c9140a62
JM
44025 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44026 from $CFLAGS, without defining away __attribute__ calls.
44027 (checknamespace): Use $CFLAGS_namespace.
44028
9af0bf29
JM
44029 * conform/conformtest.pl (@keywords): Only include C99 keywords
44030 for standards based on C99 or C11.
44031
343222a2
JM
44032 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44033 Disable tests.
44034 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44035 UNIX98]: Likewise.
44036
661f8cf0
JM
44037 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44038 usability of symbols in #if.
44039
ee74b9cb
JM
44040 * conform/conformtest.pl: If macro or constant types start
44041 "promoted:", expect the symbol to be of the following type
44042 promoted by the integer promotions.
62fde54f 44043
aafc49b3
JM
44044 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44045 in one place. Also handle "macro-constant".
44046
fefdf574
JM
44047 * conform/conformtest.pl: Only accept expected macro values with
44048 "==". Parse all "macro" lines in one place.
44049 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44050
f2d922fe
JM
44051 * conform/conformtest.pl: Handle braced types on "constant" lines
44052 instead of handling "typed-constant".
44053 * conform/data/signal.h-data: Use "constant" instead of
44054 "typed-constant".
44055
d22956c9
JM
44056 * conform/conformtest.pl: Handle "optional-" at start of lines in
44057 one place rather than duplicating several cases. Handle each
44058 format of "macro" line with initial "optional-".
44059
028e2e38
JM
44060 * conform/conformtest.pl: Only accept expected constant or
44061 optional-constant values with "==". Parse all "constant" lines in
44062 one place. Parse all "optional-constant" lines in one place.
44063 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44064 * conform/data/fmtmsg.h-data: Likewise.
44065 * conform/data/netinet/in.h-data: Likewise.
44066 * conform/data/tar.h-data: Likewise.
44067 * conform/data/limits.h-data: Use "==" form on "constant" and
44068 "optional-constant" lines.
44069
1b8f2850
JM
44070 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44071 Use -std=c99 for XOPEN2K.
44072 (@knownproblems): Remove.
44073 (newtoken): Don't check %isknown.
44074
a05a144b
JM
44075 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44076 Do not expect macro.
44077 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44078 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44079 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44080 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44081 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44082 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44083 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44084 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44085 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44086 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44087 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44088 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44089 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44090 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44091 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44092 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44093 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44105 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44106 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44107 [XPG3] (acosh): Likewise.
44108 [XPG3] (asinh): Likewise.
44109 [XPG3] (atanh): Likewise.
44110 [XPG3] (cbrt): Likewise.
44111 [XPG3] (expm1): Likewise.
44112 [XPG3] (ilogb): Likewise.
44113 [XPG3] (log1p): Likewise.
44114 [XPG3] (logb): Likewise.
44115 [XPG3] (nextafter): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44118 [XPG3] (remainder): Likewise.
44119 [XPG3] (rint): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44123 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44124 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44125 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44127 [UNIX98 || XOPEN2K] (scalb): Expect.
44128 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44129 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44131 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44243 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44244 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44265
73c5ebe3
JM
44266 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44267 _XOPEN_SOURCE_EXTENDED for XPG4.
44268
39c33b6c
JM
44269 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44270
62fde54f
JM
44271 * Makeconfig (localtime): Remove variable.
44272 (inst_localtime-file): Likewise.
44273
0741d64c
AS
442742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44275
44276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44277 Update.
44278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44279 Update.
44280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44281 Update.
44282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44283 Update.
44284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44285 Update.
44286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44287 Update.
44288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44289 Update.
44290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44291 Update.
44292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44293 Update.
44294
7cb029ee
JM
442952012-05-01 Joseph Myers <joseph@codesourcery.com>
44296
44297 [BZ #2550]
44298 [BZ #2570]
44299 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44300 comparisons to determine direction to adjust input.
44301 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44302 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44304 Likewise.
44305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44306 Likewise.
44307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44308 Likewise.
44309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44311 Likewise.
44312 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44313 Likewise.
44314 * math/libm-test.inc (nexttoward_test): Add more tests.
44315
412bd966
AS
443162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44317
44318 [BZ #14040]
44319 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44320 in version GLIBC_2.1, not GLIBC_2.0.
44321 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44322 Likewise.
44323
9568c0c2
JM
443242012-04-30 Joseph Myers <joseph@codesourcery.com>
44325
adfbc8ac
JM
44326 [BZ #13942]
44327 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44328 (1 - x) * (1 + x).
44329 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44330 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44331 * math/libm-test.inc (acos_test): Add more tests.
44332 (asin_test): Likewise.
44333 * sysdeps/i386/fpu/libm-test-ulps: Update.
44334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44335
5ba3cc69
JM
44336 [BZ #14034]
44337 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44338 of square root.
44339 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44341 * math/libm-test.inc (acos_test_tonearest): New function.
44342 (acos_test_towardzero): Likewise.
44343 (acos_test_downward): Likewise.
44344 (acos_test_upward): Likewise.
44345 (asin_test_tonearest): Likewise.
44346 (asin_test_towardzero): Likewise.
44347 (asin_test_downward): Likewise.
44348 (asin_test_upward): Likewise.
44349 (main): Call the new functions.
44350 * sysdeps/i386/fpu/libm-test-ulps: Update.
44351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44352
9568c0c2
JM
44353 [BZ #13884]
44354 [BZ #13924]
44355 * math/e_exp10.c: Include <float.h>.
44356 (__ieee754_exp10): Handle underflow here rather than multiplying
44357 large negative argument by M_LN10.
44358 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44359 of __ieee754_expf.
44360 * math/e_exp10l.c: Include <float.h>.
44361 (__ieee754_exp10l): Handle underflow here rather than multiplying
44362 large negative argument by M_LN10l.
44363 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44364 spurious overflow exception on underflow.
44365
5ac3ea17
MP
443662012-04-29 Marek Polacek <polacek@redhat.com>
44367
44368 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44369 (__fortify_function): New macro.
44370 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44371 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44372 __extern_always_inline.
44373 * libio/bits/stdio2.h: Likewise.
44374 * libio/bits/stdio.h: Likewise.
44375 * string/string.h: Likewise.
44376 * string/bits/string3.h: Likewise.
44377 * include/stdio.h: Likewise.
44378 * stdlib/bits/stdlib.h: Likewise.
44379 * stdlib/stdlib.h: Likewise.
44380 * rt/bits/mqueue2.h: Likewise.
44381 * rt/mqueue.h: Likewise.
44382 * posix/bits/unistd.h: Likewise.
44383 * posix/unistd.h: Likewise.
44384 * io/bits/poll2.h: Likewise.
44385 * io/bits/fcntl2.h: Likewise.
44386 * io/fcntl.h: Likewise.
44387 * io/sys/poll.h: Likewise.
44388 * misc/bits/syslog.h: Likewise.
44389 * misc/bits/syslog-ldbl.h: Likewise.
44390 * misc/sys/syslog.h: Likewise.
44391 * socket/bits/socket2.h: Likewise.
44392 * socket/sys/socket.h: Likewise.
44393 * debug/tst-chk1.c: Likewise.
44394 * wcsmbs/bits/wchar2.h: Likewise.
44395 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44396 * wcsmbs/wchar.h: Likewise.
44397
ecf0ebfb
AJ
443982012-04-29 Andreas Jaeger <aj@suse.de>
44399
44400 * Makerules (tests): Remove enable-check-abi protection.
44401 (check-abi-warn): Remove.
44402 (check-abi-%): Remove check-abi-warn usage.
44403
44404 * configure.in: Remove check-abi configure option.
44405 * configure: Regenerated.
44406 * config.make.in (enable-check-abi): Remove.
44407
6d5c57fa
AS
444082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44409
24c5d07e 44410 [BZ #14033]
ded5180a
AS
44411 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44412 double functions to double *_finite functions.
44413
7e0d315d
AS
44414 [BZ #13941]
44415 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44416 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44417 LDBL_MIN_EXP.
44418 * stdio-common/Makefile (tests): Add tst-sprintf3.
44419 * stdio-common/tst-sprintf3.c: New file.
44420
6d5c57fa
AS
44421 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44422 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44423
0749ff8b
JM
444242012-04-28 Joseph Myers <joseph@codesourcery.com>
44425
44426 * conform/conformtest.pl: Remove duplicate typed-constant
44427 handling.
44428
8dbd5d7b
DM
444292012-04-28 David S. Miller <davem@davemloft.net>
44430
44431 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44432 (check-abi-%): Remove AWK script prerequisite and explicit
44433 abilist directory.
44434 (check-abi): Rewrite to just diff the symlist with the abilist.
44435 (config-tls, config-abi-config): Delete, no longer used.
44436 (update-abi-%): Remove AWK script and explicit abilist directory.
44437 (update-abi): Rewrite to simply compare and conditionally copy the
44438 symlist and the sysdep abilist file. Remove update-abi-config
44439 checks.
44440 * abilist/ld.abilist: Remove.
44441 * abilist/libBrokenLocale.abilist: Remove.
44442 * abilist/libanl.abilist: Remove.
44443 * abilist/libcrypt.abilist: Remove.
44444 * abilist/libdl.abilist: Remove.
44445 * abilist/librt.abilist: Remove.
44446 * abilist/libthread_db.abilist: Remove.
44447 * abilist/libutil.abilist: Remove.
44448 * scripts/extract-abilist.awk: Remove.
44449 * scripts/merge-abilist.awk: Remove.
44450 * sysdeps/generic/libcidn.abilist: New file.
44451 * sysdeps/generic/libnss_compat.abilist: New file.
44452 * sysdeps/generic/libnss_db.abilist: New file.
44453 * sysdeps/generic/libnss_dns.abilist: New file.
44454 * sysdeps/generic/libnss_files.abilist: New file.
44455 * sysdeps/generic/libnss_hesiod.abilist: New file.
44456 * sysdeps/generic/libnss_nis.abilist: New file.
44457 * sysdeps/generic/libnss_nisplus.abilist: New file.
44458 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44459 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44460 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44461 file.
44462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44463 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44464 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44465 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44466 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44467 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44468 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44469 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44470 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44471 file.
44472 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44474 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44476 file.
44477 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44478 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44480 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44482 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44483 file.
44484 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44485 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44486 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44487 file.
44488 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44490 New file.
44491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44492 New file.
44493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44494 New file.
44495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44496 New file.
44497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44498 New file.
44499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44500 New file.
44501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44502 New file.
44503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44504 New file.
44505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44506 New file.
44507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44508 New file.
44509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44510 New file.
44511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44512 New file.
44513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44514 New file.
44515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44516 file.
44517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44518 New file.
44519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44520 New file.
44521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44522 file.
44523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44524 New file.
44525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44526 New file.
44527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44528 file.
44529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44530 New file.
44531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44532 New file.
44533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44534 New file.
44535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44536 New file.
44537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44538 New file.
44539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44540 New file.
44541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44543 file.
44544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44545 New file.
44546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44547 file.
44548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44549 file.
44550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44551 file.
44552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44553 file.
44554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44555 file.
44556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44557 New file.
44558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44559 file.
44560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44561 file.
44562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44563 New file.
44564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44565 file.
44566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44568 file.
44569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44570 New file.
44571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44572 file.
44573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44574 file.
44575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44576 file.
44577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44578 file.
44579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44580 file.
44581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44582 New file.
44583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44584 file.
44585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44586 file.
44587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44588 New file.
44589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44590 file.
44591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44592 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44593 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44594 file.
44595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44596 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44597 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44598 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44599 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44600 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44601 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44602 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44603 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44604 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44607 file.
44608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44609 New file.
44610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44611 file.
44612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44613 file.
44614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44615 file.
44616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44617 file.
44618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44619 file.
44620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44621 New file.
44622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44623 New file.
44624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44625 file.
44626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44627 New file.
44628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44629 file.
44630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44632 file.
44633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44634 New file.
44635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44636 file.
44637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44638 file.
44639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44640 file.
44641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44642 file.
44643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44644 file.
44645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44646 New file.
44647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44648 New file.
44649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44650 file.
44651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44652 New file.
44653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44654 file.
44655
41d73a1b
JM
446562012-04-28 Joseph Myers <joseph@codesourcery.com>
44657
44658 * conform/conformtest.pl: Fix typo in handling typed-constant from
44659 allow-header.
44660
28aeeda4
JM
446612012-04-27 Joseph Myers <joseph@codesourcery.com>
44662
adae8f5e
JM
44663 * README: Cut down references to pre-2.6 Linux kernels and
44664 Linuxthreads. Update lists of configurations in libc and ports
44665 and sort alphabetically. Say "or newer" with Linux kernel version
44666 requirements.
44667
28aeeda4
JM
44668 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44669
a462cb63
RA
446702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44671
44672 [BZ #887]
44673 * math/libm-test.inc (logb_test_downward): New test to expose
44674 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44675 rounding mode.
44676
6ad3493e
JM
446772012-04-27 Joseph Myers <joseph@codesourcery.com>
44678
44679 [BZ #14027]
44680 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44681 to be done.
44682 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44683 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44684
2ce4f015
JM
446852012-04-26 Joseph Myers <joseph@codesourcery.com>
44686
5aeb141a
JM
44687 * sysdeps/unix/i386/brk.S: Remove file.
44688 * sysdeps/unix/i386/dl-brk.S: Likewise.
44689 * sysdeps/unix/i386/pipe.S: Likewise.
44690 * sysdeps/unix/i386/sigreturn.S: Likewise.
44691 * sysdeps/unix/i386/syscall.S: Likewise.
44692 * sysdeps/unix/i386/vfork.S: Likewise.
44693 * sysdeps/unix/i386/wait.S: Likewise.
44694
7143acae
JM
44695 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44696 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44697
2ce4f015
JM
44698 * configure.in (arm*-none*): Do not allow without
44699 --enable-hacker-mode.
44700 (netbsd*): Remove case setting base_os.
44701 (386bsd*): Likewise.
44702 (freebsd*): Likewise.
44703 (bsdi*): Likewise.
44704 (osf*): Likewise.
44705 (sunos*): Likewise.
44706 (ultrix*): Likewise.
44707 (newsos*): Likewise.
44708 (dynix*): Likewise.
44709 (*bsd*): Likewise.
44710 (sysv*): Likewise.
44711 (isc*): Likewise.
44712 (esix*): Likewise.
44713 (sco*): Likewise.
44714 (minix*): Likewise.
44715 (irix4*): Likewise.
44716 (irix6*): Likewise.
44717 (solaris[2-9]*): Likewise.
44718 (none): Likewise.
44719 * configure: Regenerated.
44720
0ac229c8
AZ
447212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44722
44723 [BZ #11521]
44724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44725 overflow or cancellation in calculating denominator.
44726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44728 down expression to avoid unexpected rounding in newer GCCs.
44729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44730
33f244f4
DM
447312012-04-26 David S. Miller <davem@davemloft.net>
44732
44733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44734 long-double compat symbols.
44735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44748
cfa1f3e8
DM
447492012-04-25 David S. Miller <davem@davemloft.net>
44750
44751 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44752 HWCAP_* values only after the memory barriers have been defined.
44753 (atomic_full_barrier): Define.
44754 (atomic_read_barrier): Define.
44755 (atomic_write_barrier): Define.
44756
6e236b92
SP
447572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44758
44759 * shlib-versions: Add libgcc_s version information.
44760 * sysdeps/generic/libgcc_s.h: Remove.
44761 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44762 libgcc_s.h.
44763 * sysdeps/gnu/unwind-resume.c: Likewise.
44764 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44765
aab39a09
DM
447662012-04-25 David S. Miller <davem@davemloft.net>
44767
44768 * sysdeps/unix/sparc/brk.S: Delete.
44769 * sysdeps/unix/sparc/dl-brk.S: Delete.
44770 * sysdeps/unix/sparc/pipe.S: Delete.
44771 * sysdeps/unix/sparc/sysdep.S: Delete.
44772 * sysdeps/unix/sparc/sysdep.h: Delete.
44773 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44774 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44775 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44776 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44777 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44778 (JUMPTARGET): Remove.
44779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44780 sysdeps/unix/sparc/sysdep.h
44781 (ENTRY, END): Remove.
44782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44783
a3cc4f48
JM
447842012-04-25 Joseph Myers <joseph@codesourcery.com>
44785
2ed8cda2
JM
44786 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44787 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44788 -DIS_IN_build.
44789
35d76d59
JM
44790 * timezone/README: Update upstream location and email address for
44791 tzcode and tzdata.
44792 * timezone/zdump.c: Update from tzcode 2012b.
44793 * timezone/zic.c: Likewise.
44794
a3cc4f48
JM
44795 * configure.in (libc_cv_as_needed): Remove test.
44796 * configure: Regenerated.
44797 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44798 conditional definition.
44799 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44800 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44801 * config.make.in (have-as-needed): Remove variable.
44802
ceab42c3
SP
448032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44804 Paul Pluzhnikov <ppluzhnikov@google.com>
44805
44806 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44807 strings correctly.
44808
3ce2865f
CLT
448092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44810
44811 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44812 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44813 * sysdeps/sh/strlen.S: Likewise.
44814
f37e0d68
JM
448152012-04-24 Joseph Myers <joseph@codesourcery.com>
44816
ae186e9a
JM
44817 * sysdeps/unix/fork.S: Remove file.
44818 * sysdeps/unix/i386/fork.S: Likewise.
44819 * sysdeps/unix/sparc/fork.S: Likewise.
44820
b96914af
JM
44821 * sysdeps/unix/system.c: Remove file.
44822 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44823
f37e0d68
JM
44824 * sysdeps/unix/getegid.S: Remove file.
44825 * sysdeps/unix/geteuid.S: Likewise.
44826
87ef29ca
RM
448272012-04-24 Roland McGrath <roland@hack.frob.com>
44828
83bcd236
RM
44829 * scripts/check-localplt.awk: New file.
44830 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44831 of diff.
44832 * scripts/data/localplt-generic.data: Add a comment.
44833
87ef29ca
RM
44834 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44835 NODE when __dir_mkfile failed.
44836 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44837 Reported by Ludovic Courtès <ludo@gnu.org>.
44838
e5a6e567
AJ
448392012-04-24 Andreas Jaeger <aj@suse.de>
44840
44841 * Makerules (common-clean): Also remove gen-as-const-headers
44842 files.
44843
c1820385
JM
448442012-04-24 Joseph Myers <joseph@codesourcery.com>
44845
44846 * Makerules (native-compile): Do not change working directory for
44847 build. Use $(OUTPUT_OPTION) in command.
44848 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44849
94e02fc4
AZ
448502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44851
44852 [BZ #13886]
44853 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44854 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44855 * math/libm-test.inc (floor_test): Add more tests.
44856 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44857
3a533ca3
JM
448582012-04-24 Joseph Myers <joseph@codesourcery.com>
44859
940ab4b3
JM
44860 * sysdeps/unix/getdents.c: Remove file.
44861 * sysdeps/unix/sysv/getdents.c: Likewise.
44862 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44863
90e037bd
JM
44864 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44865 sysdeps/unix/mman/syscalls.list.
44866 (mmap): Likewise.
44867 (mprotect): Likewise.
44868 (msync): Likewise.
44869 (munmap): Likewise.
44870 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44871 * sysdeps/unix/mman/syscalls.list: Remove.
44872 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44873
3a533ca3
JM
44874 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44875 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44876 * configure: Regenerated.
44877 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44878 $(libgcc_s_suffix).
44879 * config.make.in (libgcc_s_suffix): Remove variable.
44880
1ad743de
JM
448812012-04-23 Joseph Myers <joseph@codesourcery.com>
44882
4ad451e2
JM
44883 * sysdeps/unix/sysv/gethostname.c: Move to ...
44884 * sysdeps/posix/gethostname.c: ... here.
44885
5e37ce39
JM
44886 * sysdeps/unix/execve.S: Remove file.
44887
1ad743de
JM
44888 * sysdeps/unix/_exit.S: Remove file.
44889
4e681b5b
AJ
448902012-04-23 Andreas Jaeger <aj@suse.de>
44891
44892 [BZ #13739]
44893 * manual/Makefile: Remove make dist support, there's no
44894 need for a stand-alone documentation tar ball.
44895 (TEXI2DVI): Define always, it's not in Makeconfig.
44896 (dist): Removed.
44897 (tar-it): Removed.
44898 (edition): Removed.
44899 (glibc-doc-$(edition).tar): Removed
44900 (%.Z): Removed.
44901 (%.gz): Removed.
44902 (%.uu): Removed.
44903 (ETAGS): Remove, it's in Makeconfig.
44904 (move-if-change): Remove, it's in Makeconfig.
44905
38686a03 449062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44907
44908 [BZ #13970]
44909 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44910 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44911 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44912 (strtod_l, strtof_l, strtold_l): Remove __wur.
44913 It is not necessarily an error to ignore strtol's return value.
44914 One can reliably look at the stored endptr to decide whether
44915 the number had valid syntax.
44916
7c0616fa
AJ
449172012-04-21 Andreas Jaeger <aj@suse.de>
44918
803cb6b7 44919 [BZ #13739]
7c0616fa
AJ
44920 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44921
b0fe253f
JM
449222012-04-21 Joseph Myers <joseph@codesourcery.com>
44923
44924 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44925 * sysdeps/unix/sysv/Versions: Remove file.
44926
8280f22d
MT
449272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44928
44929 [BZ #13927]
44930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44931
75ce411f 449322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44933
44934 [BZ #7064]
44935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44936 version from __vm86.
44937
097d59fa
JM
449382012-04-20 Joseph Myers <joseph@codesourcery.com>
44939
a90f3bcb
JM
44940 * sysdeps/unix/common/lxstat.c: Remove file.
44941 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44942
edc7ea78
JM
44943 * sysdeps/unix/sysv/Makefile: Remove file.
44944
cb78c221
JM
44945 * sysdeps/unix/sysv/direct.h: Remove file.
44946
efa6a45f
JM
44947 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44948 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44949 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44950 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44951 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44952 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44953 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44954
9c9f2d0c
JM
44955 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44956
4541c83b
JM
44957 * sysdeps/unix/xmknod.c: Remove file.
44958 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44959
f5d153a0
JM
44960 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44961
aa746595
JM
44962 * sysdeps/unix/sysv/i386/time.S: Remove file.
44963
cce5905e
JM
44964 * sysdeps/unix/fxstat.c: Remove file.
44965 * sysdeps/unix/xstat.c: Likewise.
44966 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44967
37fa3841
JM
44968 * sysdeps/unix/sysv/sigaction.c: Remove file.
44969
ff1962a3
JM
44970 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44971 (sysdep_headers): Remove variable.
44972 [termio.h not in sysdep_headers] (generated): Likewise.
44973 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44974 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44975 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44976 * sysdeps/unix/sysv/tcflow.c: Likewise.
44977 * sysdeps/unix/sysv/tcflush.c: Likewise.
44978 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44979 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44980 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44981 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44982 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44983
e7740d31
JM
44984 * sysdeps/unix/siglist.c: Remove file.
44985
ee06f18b
JM
44986 * sysdeps/unix/getppid.S: Remove file.
44987
097d59fa
JM
44988 * sysdeps/unix/mkdir.c: Remove file.
44989 * sysdeps/unix/rmdir.c: Likewise.
44990
ff3d51ec
AS
449912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44992
44993 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44994 ERR_MAX value.
44995 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44996 errlist-compat value.
44997
50f81fd7
DM
449982012-04-18 David S. Miller <davem@davemloft.net>
44999
45000 * sysdeps/generic/memcopy.h (reg_char): Delete.
45001 * debug/strcat_chk.c: Use char, not reg_char.
45002 * debug/strcpy_chk.c: Likewise.
45003 * debug/strncat_chk.c: Likewise.
45004 * debug/strncpy_chk.c: Likewise.
45005 * string/memchr.c: Likewise.
45006 * string/memrchr.c: Likewise.
45007 * string/rawmemchr.c: Likewise.
45008 * string/strcat.c: Likewise.
45009 * string/strchr.c: Likewise.
45010 * string/strchrnul.c: Likewise.
45011 * string/strcmp.c: Likewise.
45012 * string/strcpy.c: Likewise.
45013 * string/strncat.c: Likewise.
45014 * string/strncmp.c: Likewise.
45015 * string/strncpy.c: Likewise.
45016
8ff41c46
WS
450172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45018
45019 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45020 __builtin_memcopy is called when src and dest ranges are known to not
45021 overlap.
45022
6b652f46
WS
450232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45024
45025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45026 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45027 fwd_align_merge macro call.
45028 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45029 bwd_align_merge macro call.
45030 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45031
b282631e
WS
450322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45033
45034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45035 bwd_align_merge macros.
45036 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45037 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45038 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45039
95aa737c
DM
450402012-04-18 David S. Miller <davem@davemloft.net>
45041
45042 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45043
7a99a614
AJ
450442012-04-18 Andreas Jaeger <aj@suse.de>
45045
45046 [BZ# 6794]
45047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45048 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45049 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45050
45051 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45052 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45054
45055 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45056 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45057 Adjust for changed ldbl-128 files.
45058
45059 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45060 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45062
e5270c23
DM
450632012-04-17 David S. Miller <davem@davemloft.net>
45064
45065 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45066
fb5e92c9
AS
450672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45068
45069 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45070 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45071 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45072 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45073 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45074 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45075
76da7265
AZ
450762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45077
45078 [BZ #6794]
45079 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45080 * math/libm-test.inc: Add ilogb errno and exception tests.
45081 * math/w_ilogb.c: New file: ilogb wrapper.
45082 * math/w_ilogbf.c: New file: ilogbf wrapper.
45083 * math/w_ilogbl.c: New file: ilogbl wrapper.
45084 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45085 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45086 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45087 exception being thrown with 0.0 as argument.
45088 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45089 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45090 exception being thrown with 0.0 as argument.
45091 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45092 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45093 exception being thrown with 0.0 as argument.
45094 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45095 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45096 exception being thrown with 0.0 as argument.
45097 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45098 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45100 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45102 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45103 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45104 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45105 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45106
0396e69d
PB
451072012-04-17 Petr Baudis <pasky@ucw.cz>
45108
45109 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45110 with altivec.
45111
750b5926
MP
451122012-04-16 Marek Polacek <polacek@redhat.com>
45113
45114 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45115
751728a1
MP
451162012-04-16 Marek Polacek <polacek@redhat.com>
45117
45118 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45119 operands of fdivp instruction.
45120
34a27407
L
451212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45122
45123 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45124 * elf/tst-auditmod3b.c: Likewise.
45125 * elf/tst-auditmod4b.c: Likewise.
45126 * elf/tst-auditmod5b.c: Likewise.
45127 * elf/tst-auditmod6b.c: Likewise.
45128 * elf/tst-auditmod6c.c: Likewise.
45129 * elf/tst-auditmod7b.c: Likewise.
45130 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45131 * sysdeps/x86_64/preconfigure.in: Likewise.
45132 * sysdeps/x86_64/preconfigure: Regenerated.
45133
7e73e17d
L
451342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45135
45136 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45137 __ILP32__.
45138
c7a6ab72
AB
451392012-04-13 Antoine Balestrat <merkil33@gmail.com>
45140
45141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45142 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45143
a9e8e0e0
CL
451442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45145
45146 [BZ #13973]
45147 * locale/iso-639.def: Fix gl language name. Spotted by
45148 Yaron Shahrabani.
45149
ec98af7d
RM
451502012-04-12 Roland McGrath <roland@hack.frob.com>
45151
45152 [BZ #2074]
45153 * libio/libio.h (__io_write_fn): Update comment.
45154
247c3ede
PB
451552012-04-12 Petr Baudis <pasky@ucw.cz>
45156
45157 [BZ #2074]
45158 * stdio.texi (Hook Functions): The user provided writer function
45159 is not allowed to return -1.
45160
55939d6d
DM
451612012-04-11 David S. Miller <davem@davemloft.net>
45162
45163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45164
90020f5a
MF
451652012-04-11 Mike Frysinger <vapier@gentoo.org>
45166
45167 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45168 Add a leading slash to rtkaio.
45169
288f9098
JM
451702012-04-11 Jim Meyering <meyering@redhat.com>
45171
90020f5a
MF
45172 [BZ #11959]
45173 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45174 It is not necessarily an error to ignore fwrite's return
45175 value. One can reliably use ferror to test for errors after
45176 the fact.
288f9098 45177
4be2b570
L
451782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45179
45180 * bits/types.h (__snseconds_t): New type.
45181 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45182
45183 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45185 (__SNSECONDS_T_TYPE): Likewise.
45186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45187 (__SNSECONDS_T_TYPE): Likewise.
45188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45189 (__SNSECONDS_T_TYPE): Likewise.
45190
288f9098 451912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45192
45193 [BZ #2636]
45194 * manual/time.texi (Processor Time): Return type of times is
45195 elapsed real time since an arbitrary point in the past.
45196 (CPU Time): Move CLK_TCK from here...
45197 (Processor Time): ...to here. Correct description.
45198 * manual/conf.texi (Constants for Sysconf): Correct description of
45199 _SC_CLK_TCK.
45200
d7dd4413
DM
452012012-04-10 David S. Miller <davem@davemloft.net>
45202
45203 [BZ #13967]
45204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45205 where the is a gap between DT_REL(A) and DT_JMPREL.
45206
b46068fc
L
452072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45208
45209 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45210 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45211 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45212
73d65cc3
SP
452132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45214
45215 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45216 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45217 (dl_main): Handle --inhibit-cache.
45218 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45219 _dl_inhibit_cache.
45220 * elf/dl-load.c (_dl_map_object): Use it.
45221 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45222
bcc8d661
JM
452232012-04-09 Joseph Myers <joseph@codesourcery.com>
45224
8f9a2fae
JM
45225 [BZ #13872]
45226 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45227 (__ieee754_powl): Saturate large exponents rather than testing for
45228 overflow of y*log2(x).
45229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45230 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45231 exceptions.
45232
bcc8d661
JM
45233 [BZ #11521]
45234 * math/s_ctan.c: Include <float.h>.
45235 (__ctan): Avoid internal overflow or cancellation in calculating
45236 denominator.
45237 * math/s_ctanf.c: Likewise.
45238 * math/s_ctanl.c: Likewise.
45239 * math/s_ctanh.c: Likewise.
45240 * math/s_ctanhf.c: Likewise.
45241 * math/s_ctanhl.c: Likewise.
45242 * math/libm-test.inc (ctan_test): Add more tests.
45243 (ctanh_test): Likewise.
45244 * sysdeps/i386/fpu/libm-test-ulps: Update.
45245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45246
823fbbb4
AJ
452472012-04-09 Andreas Jaeger <aj@suse.de>
45248
03879793
AJ
45249 [BZ #6894]
45250 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45251 is an optional BSD extension.
45252
823fbbb4
AJ
45253 [BZ #10254]
45254 * manual/stdio.texi (Opening Streams): Document additional fopen
45255 parameters.
45256
8de131cb
RM
452572012-04-09 Roland McGrath <roland@hack.frob.com>
45258
45259 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45260 %eax without telling the compiler.
45261
c0ed9d7d
CD
452622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45263
45264 [BZ # 13963]
45265 * manual/install.texi: Use sourceware.org.
45266
c483f6b4
JM
452672012-04-09 Joseph Myers <joseph@codesourcery.com>
45268
d7dd9453
JM
45269 [BZ #13873]
45270 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45271 (__ieee754_pow): Generate overflow and underflow using huge*huge
45272 and tiny*tiny rather than just returning constant infinity or zero
45273 for large exponents.
45274 * math/libm-test.inc (pow_test): Require overflow exceptions for
45275 applicable cases of large exponents.
45276
c483f6b4
JM
45277 [BZ #706]
45278 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45279 (__ieee754_pow): Use iterative multiplication algorithm only for
45280 integer exponents with absolute value below 1024. Check for odd
45281 integer exponents when using algorithm for real exponents.
45282 * math/libm-test.inc (pow_test): Add more tests.
45283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45284
d2de7579
JM
452852012-04-08 Joseph Myers <joseph@codesourcery.com>
45286
45287 [BZ #13705]
45288 * math/libm-test.inc (exp_test): Do not allow overflow exception
45289 on underflow test.
45290
f77f1232
AJ
452912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45292
45293 [BZ #13705]
45294 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45295 instead of __kernel_standard_f.
45296
3884932b
MF
452972012-04-08 Mike Frysinger <vapier@gentoo.org>
45298
45299 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45300 * sysdeps/x86_64/memset_chk.S: Likewise.
45301
54472e9c
AJ
453022012-04-08 Andreas Jaeger <aj@suse.de>
45303
6ab0fbfc
AJ
45304 [BZ #10153]
45305 * manual/startup.texi (Environment Access): Describe return value
45306 for putenv and setenv.
45307
61efba8c
AJ
45308 [BZ #6895]
45309 * manual/filesys.texi (Directory Entries): Add description for
45310 DT_LNK.
45311
95c3f29a
AJ
45312 [BZ #6890]
45313 * manual/filesys.texi (Directory Entries): Clarify that it's file
45314 system not operating system in the description of DT_UNKNOWN.
45315
54472e9c
AJ
45316 [BZ #6578]
45317 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45318
624254b1
SC
453192012-04-08 Stephen Compall <s11@member.fsf.org>
45320
45321 [BZ #6649]
45322 * manual/llio.texi (Opening and Closing Files): Add cross
45323 reference to explain mode argument.
45324
1e4920e0
MF
453252012-04-07 Mike Frysinger <vapier@gentoo.org>
45326
45327 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45328 * sysdeps/x86_64/memset_chk.S: Likewise.
45329
5ed848f3
DM
453302012-04-07 David S. Miller <davem@davemloft.net>
45331
45332 * elf/elf.h (R_SPARC_WDISP10): Define.
45333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45334 R_SPARC_SIZE32.
45335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45336 R_SPARC_SIZE64 and R_SPARC_H34.
45337
96154cd8
CD
453382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45339
45340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45341 conditions and remove no longer applicable assertion.
45342
9904dc47
L
453432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45344
45345 * bits/byteswap.h: Include <features.h>.
45346 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45347 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45348
f8887d0a
L
453492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45350
45351 * bits/byteswap.h (__bswap_16): Removed.
45352 Include <bits/byteswap-16.h> to get __bswap_16.
45353 * sysdeps/i386/bits/byteswap.h: Likewise.
45354 * sysdeps/s390/bits/byteswap.h: Likewise.
45355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45356 * bits/byteswap-16.h: New file.
45357 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45358 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45359 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45360 * string/Makefile (headers): Add bits/byteswap-16.h.
45361
62470f60
PP
453622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45363
45364 [BZ #13895]
45365 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45366 extra indirection.
45367 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45368 * nss/tst-nss-static.c: New.
45369
4dad7bab
RM
453702012-04-06 Robert Millan <rmh@gnu.org>
45371
45372 [BZ #6486]
45373 * manual/llio.texi (File Position Primitive): lseek
45374 refers to WHENCE when it really means OFFSET.
45375
e9142a17
AJ
453762012-04-06 Andreas Jaeger <aj@suse.de>
45377
2c040eff
AJ
45378 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45379 strncmp declarations.
45380
e9142a17
AJ
45381 * abilist/libc.abilist: Add __poll and __ppoll.
45382
ff9f1c5f
DM
453832012-04-05 David S. Miller <davem@davemloft.net>
45384
dcd2ae90
DM
45385 * scripts/check-local-headers.sh: Accept a host triplet in the
45386 path matched by the exclude regexp.
45387
993eb054
DM
45388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45389 definition.
45390 * sysdeps/powerpc/powerpc32/dl-machine.h
45391 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45392 * sysdeps/s390/s390-32/dl-machine.h
45393 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45394 * sysdeps/sparc/sparc32/dl-machine.h
45395 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45396 * sysdeps/sparc/sparc64/dl-machine.h
45397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45398
ff9f1c5f
DM
45399 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45400 lazy binding.
48e2e132 45401 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45402 undefined symbol errors.
45403
48e2e132 45404 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45405 DT_NEEDED entries.
45406
e80d6f94
MM
454072012-04-05 Michael Matz <matz@suse.de>
45408
45409 [BZ #13592]
45410 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45411
349fa79f
AJ
454122012-04-05 Andreas Jaeger <aj@suse.de>
45413
45414 [BZ #13908]
45415 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45416 comment.
45417
f402708f
KK
454182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45419
45420 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45421 which ROUND is no valid rounding mode.
45422
2ecccfc9
KK
454232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45424
45425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45426 read again.
45427 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45428
8a53f50f
KK
454292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45430
45431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45432 an exception using FPU order intentionally.
45433
454342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45435
45436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45437 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45438 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45439 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45440
d653abb7
SJ
454412012-04-05 Simon Josefsson <simon@josefsson.org>
45442
45443 [BZ #12340]
45444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45445 EINVAL when BUFLEN is too smal.
45446
c3b1bf7d
TS
454472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45448
45449 [BZ #13553]
45450 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45451 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45452
b1aa60f3
AJ
454532012-04-03 Andreas Jaeger <aj@suse.de>
45454
c3b1bf7d 45455 [BZ #13938]
67f60a26
AJ
45456 * manual/setjmp.texi (System V contexts): Fix sentence.
45457
b1aa60f3
AJ
45458 [BZ #13926]
45459 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45460 New macro for this case.
45461 [!__GNUC__] (__bswap_64): New inline function for this case.
45462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45463 * bits/byteswap.h: Likewise.
45464 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45465 ull, guard with __GLIBC_HAVE_LONG_LONG.
45466
45467 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45468 __GLIBC_HAVE_LONG_LONG.
45469
45470 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45471 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45472
39c59c35
TMQMF
454732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45474
45475 [BZ #13691]
45476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45477 inptr and inend, rather than using last_ch.
45478
135ffda8
DM
454792012-04-02 David S. Miller <davem@davemloft.net>
45480
45481 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45482 * stdio-common/printf-parse.h (read_int): Change return type to
45483 'int', return -1 on INT_MAX overflow.
45484 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45485 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45486 overflows INT_MAX. Check for overflow of in-format-string precision
45487 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45488 SIZE_MAX not INT_MAX for integer overflow test.
45489 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45490 skip the construct in the format string but do not record anything.
45491 * stdio-common/bug22.c: Adjust to test both width/prevision
45492 INT_MAX overflow as well as total length INT_MAX overflow. Check
45493 explicitly for proper errno values.
45494
228c019e
TS
454952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45496
302cadd3
TS
45497 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45498 CHAR_MAX.
45499 * string/test-strcmp.c [! WIDE]: Likewise.
45500 * time/tst-mktime2.c: Likewise for INT_MAX.
45501 * string/test-string.h: #include <sys/param.h> for MIN.
45502
228c019e
TS
45503 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45504 * sysdeps/i386/init-first.c (init): Likewise.
45505 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45506 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45507 * sysdeps/sh/init-first.c (init): Likewise.
45508
cfa633f5
UD
455092012-04-01 Ulrich Drepper <drepper@gmail.com>
45510
45511 * po/ru.po: Update from translation team.
d1635ef8 45512 * po/vi.po: Likewise.
cfa633f5 45513
6cd0a5ea
SP
455142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45515
45516 * resolv/nss_dns/dns-host.c: Merge copyright years.
45517
4b43400f
LD
455182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45519
45520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45521 Optimize memcpy with prefetch if
45522 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45523 src, dst pointers have unequal 16 byte alignments.
45524
48c41d04
SP
455252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45526
45527 [BZ #13928]
45528 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45529 from a CNAME entry and return the minimum ttl for the query.
45530 (gaih_getanswer_slice): Likewise.
45531
b8dc394d
JL
455322012-03-30 Jeff Law <law@redhat.com>
45533
45534 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45535 due to long keys.
45536 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45537 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45538
2f5a5ed0
JL
45539 * resolv/nss_dns/dns-host.c: Update copyright year.
45540
1d39e359
UD
455412012-03-30 Ulrich Drepper <drepper@gmail.com>
45542
c030f70c 45543 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45544 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45545
1d39e359
UD
45546 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45547 comments for sendmmsg.
45548
455492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45550
45551 [BZ #13691]
45552 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45553 with only 1 character between 0x0041 and 0x01b0.
45554 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45555 * wcsmbs/tst-mbsnrtowcs.c: New file.
45556
20fde227
DM
455572012-03-29 David S. Miller <davem@davemloft.net>
45558
45559 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45560 small copies by hand.
45561
984a4237
JL
455622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45563
45564 [BZ #13761]
57f41c40
AS
45565 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45566 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45567 group memberships.
984a4237 45568
18c9d62b
DM
455692012-03-28 David S. Miller <davem@davemloft.net>
45570
88d85d4f
DM
45571 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45572 that branches into memcpy.
45573 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45574 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45576 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45578 bits.
45579 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45580 implementation too.
45581 * sysdeps/sparc/mempcpy.S: New file.
45582
e5aa83e1
DM
45583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45584 the IFUNC routine in the libc case.
45585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45586
88570753
DM
45587 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45589 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45590 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45591 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45592 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45593 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45594 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45595
249d7567
DM
45596 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45597 loop to 256 bytes instead of 64 bytes and fix test signedness.
45598
18c9d62b
DM
45599 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45600 * sysdeps/sparc/sparc32/Makefile: rather than here...
45601 * sysdeps/sparc/sparc64/Makefile: and here.
45602
05f3d1f6
UD
456032012-03-28 Ulrich Drepper <drepper@gmail.com>
45604
45605 * malloc/mallocbug.c: Avoid warnings about unused variables.
45606
86ae07a8
JL
456072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45608
45609 [BZ #13760]
45610 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45611 in the right place. Discard and retry query if response is
45612 larger than input buffer size.
45613
41bf21a1
JM
456142012-03-28 Joseph Myers <joseph@codesourcery.com>
45615
d6270972
JM
45616 [BZ #369]
45617 [BZ #2678]
45618 [BZ #3866]
45619 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45620 x for large integer exponent.
45621 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45622 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45623 sign of result as needed afterwards.
45624 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45625 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45626 result for underflowing pow the same as for overflow.
45627 (__kernel_standard_l): Handle powl overflow and underflow here
45628 rather than calling __kernel_standard.
45629 * math/libm-test.inc (pow_test): Add more tests.
45630
414fca03 45631 [BZ #3868]
41bf21a1
JM
45632 [BZ #13879]
45633 [BZ #13910]
45634 [BZ #13911]
45635 [BZ #13912]
45636 [BZ #13913]
45637 [BZ #13915]
45638 [BZ #13916]
45639 [BZ #13917]
45640 [BZ #13918]
45641 [BZ #13919]
45642 [BZ #13920]
45643 [BZ #13921]
45644 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45645 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45646 (__kernel_standard_l): New function.
45647 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45648 __kernel_standard.
45649 * math/w_acosl.c (__acosl): Likewise.
45650 * math/w_asinl.c (__asinl): Likewise.
45651 * math/w_atan2l.c (__atan2l): Likewise.
45652 * math/w_atanhl.c (__atanhl): Likewise.
45653 * math/w_coshl.c (__coshl): Likewise.
45654 * math/w_exp10l.c (__exp10l): Likewise.
45655 * math/w_exp2l.c (__exp2l): Likewise.
45656 * math/w_fmodl.c (__fmodl): Likewise.
45657 * math/w_hypotl.c (__hypotl): Likewise.
45658 * math/w_j0l.c (__j0l, __y0l): Likewise.
45659 * math/w_j1l.c (__j1l, __y1l): Likewise.
45660 * math/w_jnl.c (__jnl, __ynl): Likewise.
45661 * math/w_lgammal.c (__lgammal): Likewise.
45662 * math/w_log10l.c (__log10l): Likewise.
45663 * math/w_log2l.c (__log2l): Likewise.
45664 * math/w_logl.c (__logl): Likewise.
45665 * math/w_powl.c (__powl): Likewise.
45666 * math/w_remainderl.c (__remainderl): Likewise.
45667 * math/w_scalbl.c (sysv_scalbl): Likewise.
45668 * math/w_sinhl.c (__sinhl): Likewise.
45669 * math/w_sqrtl.c (__sqrtl): Likewise.
45670 * math/w_tgammal.c (__tgammal): Likewise.
45671 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45672 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45673 * math/libm-test.inc (acos_test): Add more tests.
45674 (acosh_test): Likewise.
45675 (asin_test): Likewise.
45676 (atanh_test): Likewise.
45677 (exp_test): Likewise.
45678 (exp10_test): Likewise.
45679 (exp2_test): Likewise.
45680 (expm1_test): Likewise.
45681 (lgamma_test): Likewise.
45682 (log_test): Likewise.
45683 (log10_test): Likewise.
45684 (log1p_test): Likewise.
45685 (log2_test): Likewise.
45686 (pow_test): Do not allow some spurious overflow exceptions.
45687 (sqrt_test): Add more tests.
45688 (tgamma_test): Likewise.
45689 (y0_test): Likewise.
45690 (y1_test): Likewise.
45691 (yn_test): Likewise.
45692
dd62fda6
AB
456932012-03-27 Anton Blanchard <anton@samba.org>
45694
45695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45696 MAP_HUGETLB.
45697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45700
1e3cdfda
AJ
457012012-03-27 David S. Miller <davem@davemloft.net>
45702
b855ab85
DM
45703 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45704
1e3cdfda
AJ
45705 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45706 have-as-vis3 check.
45707
457082012-03-27 Andreas Jaeger <aj@suse.de>
45709
45710 * sysdeps/x86_64/elf/configure.in: Moved to ...
45711 * sysdeps/x86_64/configure.in: ... here.
45712 * sysdeps/x86_64/elf/start.S: Moved to ...
45713 * sysdeps/x86_64/start.S: ... here.
45714 * sysdeps/x86_64/elf/configure: Delete.
45715
45716 * sysdeps/x86_64/configure.in: Merge contents from
45717 sysdeps/i386/configure.in (without i686 check).
45718
45719 * sysdeps/i386/elf/Versions: Merge into ...
45720 * sysdeps/i386/Versions: ... this.
45721 * sysdeps/i386/elf/Versions: Delete file.
45722 * sysdeps/i386/elf/start.S: Moved to ...
45723 * sysdeps/i386/start.S: ...here.
45724 * sysdeps/i386/elf/configure.in: Merge into...
45725 * sysdeps/i386/configure.in: ...here.
45726 * sysdeps/i386/elf/configure.in: Delete file.
45727 * sysdeps/i386/elf/configure: Delete file.
45728
45729 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45730 * debug/backtracesyms.c: ... here.
45731 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45732 * debug/backtracesymsfd.c: ... here.
45733 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45734 * sysdeps/generic/ifunc-sel.h: ... here.
45735
45736 * sysdeps/unix/i386/start.c: Delete file.
45737 * sysdeps/unix/sparc/start.c: Delete file.
45738 * sysdeps/unix/start.c: Delete file.
45739
45740 * sysdeps/sh/elf/configure.in: Moved to ...
45741 * sysdeps/sh/configure.in: ... here.
45742 * sysdeps/sh/elf/start.S: Moved to ...
45743 * sysdeps/sh/start.S: ... here.
45744 * sysdeps/sh/elf/configure: Delete file.
45745
45746 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45747 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45748 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45749 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45750 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45751 * sysdeps/powerpc/powerpc64/start.S: here.
45752 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45753 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45754 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45755 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45756 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45757
45758 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45759 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45760 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45761 * sysdeps/powerpc/powerpc32/start.S: ... here.
45762 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45763 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45764 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45765
45766 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45767 * sysdeps/powerpc/ifunc-sel.h: ... here.
45768 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45769 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45770
45771 * sysdeps/sparc/elf/configure.in: Moved to ...
45772 * sysdeps/sparc/configure.in: ... here.
45773 * sysdeps/sparc/elf/configure: Delete file.
45774 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45775 * sysdeps/sparc/sparc32/start.S: ... here.
45776 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45777 * sysdeps/sparc/sparc64/start.S: ... here.
45778 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45779 * sysdeps/sparc/sparc32/Makefile: ... this.
45780 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45781 * sysdeps/sparc/sparc64/Makefile: ... this.
45782
45783 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45784 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45785 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45786 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45787 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45788 * sysdeps/s390/s390-32/setjmp.S: ... here.
45789 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45790 * sysdeps/s390/s390-32/configure.in: ... here.
45791 * sysdeps/s390/s390-32/elf/configure: Delete file.
45792 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45793 * sysdeps/s390/s390-32/start.S: ... here.
45794
45795 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45796 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45797 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45798 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45799 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45800 * sysdeps/s390/s390-64/setjmp.S: ... here.
45801 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45802 * sysdeps/s390/s390-64/configure.in: ... here
45803 * sysdeps/s390/s390-64/elf/configure: Delete file.
45804 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45805 * sysdeps/s390/s390-64/start.S: ... here.
45806 * sysdeps/s390/s390-64/elf/configure: Delete.
45807
45808 * configure.in: Remove support for elf directories in sysdeps.
45809
45810 * configure: Regenerated.
45811 * sysdeps/i386/configure: Regenerated.
45812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45814 * sysdeps/s390/s390-32/configure: Regenerated.
45815 * sysdeps/s390/s390-64/configure: Regenerated.
45816 * sysdeps/sh/configure: Regenerated.
45817 * sysdeps/sparc/configure: Regenerated.
45818 * sysdeps/x86_64/configure: Regenerated.
45819
a3f61311
AS
458202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45821
c876e002
AS
45822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45823
a3f61311
AS
45824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45825 denormal result into account.
45826
ac4c54f0
RM
458272012-03-25 Roland McGrath <roland@hack.frob.com>
45828
45829 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45830 Reported by Allan McRae <allan@archlinux.org>.
45831
6a9b9c02
JL
458322012-03-23 Jeff Law <law@redhat.com>
45833
45834 * nss/getnssent.c (__nss_getent): Fix typo.
45835
4c42a0c1
DM
458362012-03-23 David S. Miller <davem@davemloft.net>
45837
45838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45839
1532c7ac
L
458402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45841
45842 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45843 to pad to uint64_t for each field.
45844 (dl_tls_index): Replace unsigned long with uint64_t.
45845
3ff42526
PP
458462012-03-23 Daniel Jacobowitz <dmj@google.com>
45847 Paul Pluzhnikov <ppluzhnikov@google.com>
45848
45849 [BZ #6528]
45850 * grp/Makefile (otherlibs): Don't set it.
45851 * inet/Makefile (otherlibs): Likewise.
45852 * login/Makefile (otherlibs): Likewise.
45853 * nscd/Makefile (otherlibs): Likewise.
45854 * posix/Makefile (otherlibs): Likewise.
45855 * pwd/Makefile (otherlibs): Likewise.
45856 * rt/Makefile (otherlibs): Likewise.
45857 * sunrpc/Makefile (otherlibs): Likewise.
45858 * nss/Makefile (otherlibs): Likewise.
45859 Add libnss_files to routines and static-only-routines.
45860 ($(objpfx)getent): Remove rule.
45861 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45862 static-only-routines.
45863
7c69cd14
JM
458642012-03-22 Joseph Myers <joseph@codesourcery.com>
45865
45866 [BZ #13892]
45867 * math/s_cexp.c: Include <float.h>.
45868 (__cexp): Handle exp result overflowing not necessarily
45869 overflowing both real and imaginary parts of result.
45870 * math/s_cexpf.c: Likewise.
45871 * math/s_cexpl.c: Likewise.
45872 * math/libm-test.inc (cexp_test): Add more tests.
45873 * sysdeps/i386/fpu/libm-test-ulps: Update.
45874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45875
81b035fe
L
458762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45877
45878 * include/link.h (ELFW): New macro.
45879 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45880 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45881
1da7940c
L
458822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45883
45884 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45885 with uint64_t.
45886
b749dbb9
L
458872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45888
45889 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45890 declaration.
45891 (struct La_x32_retval): Likewise.
45892
2ff87f3f
L
458932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45894
45895 * sysdeps/x86_64/preconfigure.in: New file.
45896 * sysdeps/x86_64/preconfigure: New generated file.
45897
c0df8e69
JM
458982012-03-22 Joseph Myers <joseph@codesourcery.com>
45899
48e44791
JM
45900 [BZ #13824]
45901 * math/e_exp2l.c: Include <float.h>.
45902 (__ieee754_exp2l): Handle overflow and underflow cases
45903 separately. Only pass fractional part of argument to
45904 __ieee754_expl.
45905 * math/libm-test.inc (exp2_test): Add more tests.
45906
c0df8e69
JM
45907 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45908 negating x to take absolute value.
45909 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45910 Likewise.
45911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45913 Likewise.
45914 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45915 computing low part if x was negated.
45916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45917
c8e43ba7
L
459182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45919
45920 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45921 la_x32_gnu_pltexit.
45922 (pltexit): Cast int_retval to ptrdiff_t.
45923 * elf/tst-auditmod3b.c: Likewise.
45924 * elf/tst-auditmod4b.c: Likewise.
45925 * elf/tst-auditmod5b.c: Likewise.
45926 * elf/tst-auditmod6b.c: Likewise.
45927 * elf/tst-auditmod6c.c: Likewise.
45928 * elf/tst-auditmod7b.c: Likewise.
45929
45930 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45931 and x32_gnu_pltexit.
45932
45933 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45934 __ELF_NATIVE_CLASS.
45935 (La_x32_regs): New macro.
45936 (La_x32_retval): Likewise.
45937 (la_x32_gnu_pltenter): New function prototype.
45938 (la_x32_gnu_pltexit): Likewise.
45939
7998fa78
AS
459402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45941
dcb33988
AS
45942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45943 exponent.
45944
233fc563
AS
45945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45946
7998fa78
AS
45947 * configure.in (libc_cv_cc_nofma): Check for option to disable
45948 generation of FMA instructions.
45949 * configure: Regenerate.
45950 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45951 * sysdeps/ieee754/dbl-64/Makefile: New file.
45952 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45953 Remove brandred-fma4.
45954 (CFLAGS-brandred-fma4.c): Remove.
45955 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45957 define.
45958 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45959 define.
45960
8e95c99a
L
459612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45962
45963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45964 LLONG_MAX != LONG_MAX.
45965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45966 (_fitoa_word): Likewise.
45967 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45968 LLONG_MAX != LONG_MAX.
45969 * stdio-common/_itowa.h: Include <_itoa.h>.
45970 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45971 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45972 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45973 only if not defined.
45974 (_ITOA_WORD_TYPE): Likewise.
45975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45976 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45977
6f4db457
DM
459782012-03-21 David S. Miller <davem@davemloft.net>
45979
45980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45981
7785fe5a
L
459822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45983
45984 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45985 of x86_64 when setting libc_cv_slibdir, libdir and
45986 libc_cv_localedir.
45987 * sysdeps/unix/sysv/linux/configure: Regenerated.
45988
4535cd55
JM
459892012-03-21 Joseph Myers <joseph@codesourcery.com>
45990
45991 * manual/lang.texi (Old Varargs): Remove section.
45992 (How Variadic): Update menu.
45993 (va_start): Do not mention varargs.h.
45994
17228132
TS
459952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45996 Joseph Myers <joseph@codesourcery.com>
45997
45998 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45999 link test.
46000 * configure: Regenerated.
46001
8149f976
TS
460022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46003
05f3d1f6
UD
46004 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46005 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46006 conformtest.pl
8149f976 46007
1a4ac776
JM
460082012-03-21 Joseph Myers <joseph@codesourcery.com>
46009
be22ce65
JM
46010 * NOTES: Remove.
46011 * Makefile (files-for-dist): Remove NOTES.
46012 (NOTES): Remove rule.
46013 * README: Don't refer to NOTES.
46014 * manual/creature.texi: Don't include macros.texi.
46015 * manual/intro.texi (creature.texi): Remove comment referring to
46016 NOTES.
46017
40b601fb
JM
46018 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46019 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46020 * configure: Regenerated.
46021 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46022 LIBC_TRY_CC_OPTION.
46023 (libc_cv_as_i686): Likewise.
46024 (libc_cv_cc_avx): Likewise.
46025 (libc_cv_cc_sse2avx): Likewise.
46026 (libc_cv_cc_fma4): Likewise.
46027 (libc_cv_cc_novzeroupper): Likewise.
46028 * sysdeps/i386/configure: Regenerated.
46029
1a4ac776
JM
46030 [BZ #13883]
46031 * sysdeps/i386/fpu/s_cexp.S: Remove.
46032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46033 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46034 * math/libm-test.inc (cexp_test): Add more tests.
46035 * sysdeps/i386/fpu/libm-test-ulps: Update.
46036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46037
a458e7fe
AM
460382012-03-21 Allan McRae <allan@archlinux.org>
46039
46040 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46041
0cb7efc5
JM
460422012-03-21 Joseph Myers <joseph@codesourcery.com>
46043
46044 [BZ #13871]
46045 * math/w_exp2.c: Do not include <float.h>.
46046 (o_threshold, u_threshold): Remove.
46047 (__exp2): Calculate result before checking finiteness and calling
46048 __kernel_standard.
46049 * math/w_exp2f.c: Likewise.
46050 * math/w_exp2l.c: Likewise.
46051 * math/libm-test.inc (exp2_test): Require overflow exception for
46052 1e6 input.
2460d3aa
JM
46053
46054 [BZ #3866]
46055 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46056 range of signed 64-bit integers before using fistpll. Remove
46057 checks for whether integers fit in mantissa bits.
46058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46059 the range of signed 32-bit integers before using fistpl. Remove
46060 checks for whether integers fit in mantissa bits.
46061 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46062 (__ieee754_powl): Test for y outside the range of signed 64-bit
46063 integers before using fistpll. Reduce 64-bit values to 63-bit
46064 ones as needed.
46065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46066 divide-by-zero is raised for zero to large negative powers.
46067 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46068 (__ieee754_powl): Test for y outside the range of signed 64-bit
46069 integers before using fistpll. Reduce 64-bit values to 63-bit
46070 ones as needed.
46071 * math/libm-test.inc (pow_test): Add more tests.
46072
eb96ffb0
L
460732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46074
46075 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46076 <stdio-common/_itoa.h>.
46077 * debug/segfault.c: Likewise.
46078 * elf/dl-cache.c: Likewise.
46079 * elf/dl-minimal.c: Likewise.
46080 * elf/dl-misc.c: Likewise.
46081 * elf/dl-sysdep.c: Likewise.
46082 * elf/dl-version.c: Likewise.
46083 * elf/rtld.c: Likewise.
46084 * hurd/hurdsock.c: Likewise.
46085 * hurd/lookup-retry.c: Likewise.
46086 * malloc/malloc.c: Likewise.
46087 * malloc/mtrace.c: Likewise.
46088 * nscd/nscd_getgr_r.c: Likewise.
46089 * nscd/nscd_getpw_r.c: Likewise.
46090 * nscd/nscd_getserv_r.c: Likewise.
46091 * posix/getopt_init.c: Likewise.
46092 * posix/wordexp.c: Likewise.
46093 * stdio-common/_itoa.c: Likewise.
46094 * stdio-common/printf_fphex.c: Likewise.
46095 * stdio-common/vfprintf.c: Likewise.
46096 * string/_strerror.c: Likewise.
46097 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46098 * sysdeps/i386/i686/hp-timing.h: Likewise.
46099 * sysdeps/mach/_strerror.c: Likewise.
46100 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46101 * sysdeps/mach/hurd/sethostid.c: Likewise.
46102 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46103 * sysdeps/mach/xpg-strerror.c: Likewise.
46104 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46106 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46107 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46108 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46109 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46111 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46112 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46113 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46114 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46116 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46117 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46118 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46119 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46120 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46121 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46122 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46123 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46124 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46125
46126 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46127
46128 * stdio-common/_itoa.h: Moved to ...
46129 * sysdeps/generic/_itoa.h: Here.
46130
46131 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46132
46133 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46134 instead of "_itoa.h" and "_itowa.h".
46135 * stdio-common/vfprintf.: Likewise.
46136
d1af992d
L
461372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46138
46139 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46140 <bits/wordsize.h>.
46141 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46142 (__signbit): Likwise.
46143 (llrintf): Likwise.
46144 (llrint): Likwise.
46145
114883e0
L
461462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46147
46148 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46149 __WORDSIZE != 64.
46150
c135cc1b
JM
461512012-03-20 Joseph Myers <joseph@codesourcery.com>
46152
46153 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46154 OVERFLOW_EXCEPTION_OK.
46155 * math/libm-test.inc ("Philosophy"): Update comment about
46156 exception testing.
46157 (OVERFLOW_EXCEPTION): Define.
46158 (OVERFLOW_EXCEPTION_OK): Likewise.
46159 (INVALID_EXCEPTION_OK): Renumber.
46160 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46161 (IGNORE_ZERO_INF_SIGN): Likewise.
46162 (test_exceptions): Handle FE_OVERFLOW.
46163 (exp10_test): Expect overflow exceptions.
46164 (exp2_test): Likewise.
46165 (expm1_test): Likewise.
46166 (nextafter_test): Likewise.
46167 (pow_test): Likewise.
46168 (scalbn_test): Likewise.
46169 (scalbln_test): Likewise.
46170
95443d88
L
461712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46172
46173 * sysdeps/x86_64/bits/atomic.h
46174 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46175 64bit integer.
46176 (atomic_exchange_acq): Likewise.
46177 (__arch_exchange_and_add_body): Likewise.
46178 (__arch_add_body): Likewise.
46179 (atomic_add_negative): Likewise.
46180 (atomic_add_zero): Likewise.
46181
490df6c4
L
461822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46183
c2722551 46184 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46185 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46186
5e52b189
L
461872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46188
46189 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46190 Check __x86_64__ instead of __WORDSIZE.
46191
a9879d4c
L
461922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46193
46194 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46195
5df98260
DM
461962012-03-19 David S. Miller <davem@davemloft.net>
46197
e1497744
DM
46198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46199
5df98260
DM
46200 * sysdeps/sparc/fpu/fenv_private.h: New file.
46201 * sysdeps/sparc/fpu/math_private.h: Use it.
46202 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46203 Remove.
57f41c40 46204 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46205 (libc_feholdexcept_setroundl): Remove.
46206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46207 Remove.
46208 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46209 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46210
b4c35121
L
462112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46212
46213 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46214 int64_t instead of long int.
46215 (INSERT_WORDS64): Likwise.
46216
56965fd7
L
462172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46218
46219 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46220 _Unwind_GetCFA return to _Unwind_Ptr first.
46221
83d1aec8
JM
462222012-03-19 Joseph Myers <joseph@codesourcery.com>
46223
1897ad44
JM
46224 [BZ #13629]
46225 * math/s_clog.c: Include <float.h>.
46226 (__clog): Scale large or subnormal inputs.
46227 * math/s_clogf.c: Likewise.
46228 * math/s_clogl.c: Likewise.
46229 * math/s_clog10.c: Include <float.h>.
46230 (M_LOG10_2): Define.
46231 (__clog10): Scale large or subnormal inputs.
46232 * math/s_clog10f.c: Likewise.
46233 * math/s_clog10l.c: Likewise.
46234 * math/libm-test.inc (clog_test): Add more tests.
46235 (clog10_test): Likewise.
46236 * sysdeps/i386/fpu/libm-test-ulps: Update.
46237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46238
7726d6a9
JM
46239 [BZ #11451]
46240 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46241 x and y.
46242 * math/libm-test.inc (atan2_test): Add another test.
46243
83d1aec8
JM
46244 * Makerules (common-objdir-compile): Remove.
46245 * sysdeps/unix/Makefile (config-generated): Do not add
46246 $(unix-generated) to variable.
46247 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46248 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46249 Remove rule.
46250 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46251 Likewise.
46252 [generic bits/local_lim.h] (before-compile): Do not append to
46253 variable.
46254 [generic bits/local_lim.h] (common-generated): Likewise.
46255 [generic sys/param.h] (before-compile): Do not append to variable.
46256 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46257 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46258 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46259 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46260 include.
46261 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46262 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46263 [generic sys/param.h] ($(addprefix
46264 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46265 [generic sys/param.h] (common-generated): Do not append to
46266 variable.
46267 [generic sys/param.h] (sysdep_headers): Likewise.
46268 [generic bits/errno.h] (before-compile): Do not append to
46269 variable.
46270 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46271 rule.
46272 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46273 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46274 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46275 [generic bits/errno.h] (common-generated): Do not append to
46276 variable.
46277 [generic bits/ioctls.h] (before-compile): Do not append to
46278 variable.
46279 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46280 rule.
46281 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46282 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46283 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46284 rule.
46285 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46286 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46287 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46288 [generic bits/ioctls.h] (common-generated): Do not append to
46289 variable.
46290 [generic sys/syscall.h] (syscall.h): Remove variable.
46291 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46292 rule.
46293 [generic sys/syscall.h] (before-compile): Do not append to
46294 variable.
46295 [generic sys/syscall.h] (common-generated): Likewise.
46296 * sysdeps/unix/errnos-tmpl.c: Remove file.
46297 * sysdeps/unix/errnos.awk: Likewise.
46298 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46299 * sysdeps/unix/ioctls.awk: Likewise.
46300 * sysdeps/unix/mk-local_lim.c: Likewise.
46301 * sysdeps/unix/snarf-ioctls: Likewise.
46302
4851a949
RH
463032012-03-19 Richard Henderson <rth@twiddle.net>
46304
bd37f2ee
RH
46305 * sysdeps/i386/fpu/fenv_private.h: New file.
46306 * sysdeps/i386/fpu/math_private.h: Use it.
46307 (math_opt_barrier, math_force_eval): Remove.
46308 (libc_feholdexcept_setround_53bit): Remove.
46309 (libc_feupdateenv_53bit): Remove.
46310 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46311 (math_opt_barrier, math_force_eval): Remove.
46312 (libc_feholdexcept): Remove.
46313 (libc_feholdexcept_setround): Remove.
46314 (libc_fetestexcept, libc_fesetenv): Remove.
46315 (libc_feupdateenv_test): Remove.
46316 (libc_feupdateenv, libc_feholdsetround): Remove.
46317 (libc_feresetround): Remove.
46318
d0adc922
RH
46319 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46320 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46321
0fe0f1f8
RH
46322 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46323 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46324 (libc_feupdateenv_testl): New.
46325 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46326 (libc_feupdateenv_testf): New.
46327 (libc_feupdateenv): Use libc_feupdateenv_test.
46328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46330
eb92c487
RH
46331 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46332 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46333 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46334 (libc_feresetround_noex): New.
46335 (libc_feresetround_noexf): New.
46336 (libc_feresetround_noexl): New.
46337 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46338 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46339 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46340 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46341 SET_RESTORE_ROUND.
46342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46344 (__cos): Likewise.
46345 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46346 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46347 SET_RESTORE_ROUND_NOEX.
46348 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46349 SET_RESTORE_ROUND_NOEXF.
46350 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46351 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46352 (libc_feholdsetroundf): New.
46353 (libc_feresetround, libc_feresetroundf): New.
46354
7d2e8012
RH
46355 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46356 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46357 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46358
b4dabbb4
RH
46359 * sysdeps/generic/math_private.h: Include <fenv.h>.
46360 (default_libc_feholdexcept): New.
46361 (default_libc_feholdexcept_setround): New.
46362 (default_libc_fesetenv, default_libc_feupdateenv): New.
46363 (libc_feholdexcept): Only define if undefined.
46364 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46365 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46366 (libc_feholdexcept_setroundl): Likewise.
46367 (libc_feholdexcept_setround_53bit): Likewise.
46368 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46369 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46370 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46371 (libc_feupdateenv_53bit): Likewise.
46372 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46373 (libc_feholdexcept): Convert from macro to inline function.
46374 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46375 (libc_fesetenv, libc_feupdateenv): Likewise.
46376
4851a949
RH
46377 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46378 not previously defined.
46379 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46380 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46381 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46382 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46383 * sysdeps/ieee754/flt-32/math_private.h: New file.
46384 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46385 math_private.h below SET_FLOAT_WORD.
46386 (__isnan, __isinf_ns, __finite): Remove.
46387 (__isnanf, __isinf_nsf, __finitef): Remove.
46388
e79d442e
AS
463892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46390
46391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46392
90b80344
DM
463932012-03-17 David S. Miller <davem@davemloft.net>
46394
46395 [BZ #6471]
46396 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46397 for 2.16.
46398
edc21804
DM
463992012-03-16 David S. Miller <davem@davemloft.net>
46400
77e927af
DM
46401 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46402 warnings.
46403
374976dd
DM
46404 [BZ #6471]
46405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46406 properly.
46407 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46408 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46409 sysdep_routines when subdir is sysvipc.
46410 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46411 __getshmlba helper.
46412
edc21804
DM
46413 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46414
473c3ef3
L
464152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46416
46417 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46418 [__LP64__].
46419
eb0f39b6
L
464202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46421
46422 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46423 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46424 (__lround): Renamed to ...
46425 (__llround): This. Replace long int with long long int.
46426 Define lround functions as aliases of llround functions.
46427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46428
6b6cd74b
L
464292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46430
46431 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46432 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46433 adresses to uintptr_t. Replace "long int" and "unsigned long
46434 int" with "greg_t" on va_arg.
46435
f1a77b01
L
464362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46437
46438 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46439 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46440
46441 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46442 Move e_machine check before EI_CLASS check. Handle x32
46443 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46444 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46445 SKIP_EM_IA_64 and include
46446 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46447
46448 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46449 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46450 (add_system_dir): New macro.
46451
46452 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46453 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46454
11b90b9f
JM
464552012-03-16 Joseph Myers <joseph@codesourcery.com>
46456
c36e1d23
JM
46457 [BZ #2551]
46458 [BZ #2552]
46459 [BZ #2553]
46460 [BZ #2554]
46461 [BZ #2562]
46462 [BZ #2563]
46463 [BZ #2565]
46464 [BZ #2566]
46465 [BZ #2576]
46466 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46467 (y0): Likewise.
46468 * math/w_j0f.c (j0f): Likewise.
46469 (y0f): Likewise.
46470 * math/w_j0l.c (__j0l): Likewise.
46471 (__y0l): Likewise.
46472 * math/w_j1.c (j1): Likewise.
46473 (y1): Likewise.
46474 * math/w_j1f.c (j1f): Likewise.
46475 (y1f): Likewise.
46476 * math/w_j1l.c (__j1l): Likewise.
46477 (__y1l): Likewise.
46478 * math/w_jn.c (jn): Likewise.
46479 (yn): Likewise.
46480 * math/w_jnf.c (jnf): Likewise.
46481 (ynf): Likewise.
46482 * math/w_jnl.c (__jnl): Likewise.
46483 (__ynl): Likewise.
46484 * math/libm-test.inc (j0_test): Add more tests.
46485 (j1_test): Likewise.
46486 (jn_test): Likewise. Add trailing semicolon to existing test.
46487 (y0_test): Likewise.
46488 (y1_test): Likewise.
46489 * sysdeps/i386/fpu/libm-test-ulps: Update.
46490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46491
11b90b9f
JM
46492 [BZ #13851]
46493 [BZ #13854]
46494 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46495 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46496 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46497 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46498 (__tanl): Set errno for infinite argument.
46499 * sysdeps/i386/fpu/mptan.c: Remove.
46500 * sysdeps/i386/fpu/s_tan.S: Likewise.
46501 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46502 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46503 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46504 * math/libm-test.inc (tan_test): Add more tests and enable more
46505 tests for double and long double.
46506 * sysdeps/i386/fpu/libm-test-ulps: Update.
46507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46508
6a1bd2a1
JK
465092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46510
46511 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46512 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46513
10a803e0
RM
465142012-03-16 Roland McGrath <roland@hack.frob.com>
46515
46516 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46517 * configure.in: Use it for both main tree and add-ons.
46518 * configure: Regenerated.
46519
f196c7f7
L
465202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46521
46522 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46523
8848d99d
JM
465242012-03-16 Joseph Myers <joseph@codesourcery.com>
46525
96cbe7f4
JM
46526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46527 in comment.
46528
8848d99d
JM
46529 [BZ #13851]
46530 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46531 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46532 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46534 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46535 infinite argument.
46536 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46538 != 0 for prec == 2.
46539 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46540 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46541 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46542 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46543 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46544 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46545 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46546 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46547 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46548 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46549 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46550 * math/libm-test.inc (cos_test): Add more tests and enable more
46551 tests for long double.
46552 (sin_test): Likewise.
46553 (sincos_test): Likewise.
46554 * sysdeps/i386/fpu/libm-test-ulps: Update.
46555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46556
dd7f4703
DM
465572012-03-16 David S. Miller <davem@davemloft.net>
46558
46559 * sysdeps/sparc/fpu/math_private.h: New file.
46560
006f1daa
DM
465612012-03-15 David S. Miller <davem@davemloft.net>
46562
c0c83bc8
DM
46563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46564 file.
e6a62e18 46565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46567 file.
e6a62e18
DM
46568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46574 sysdep routines.
46575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46576
88cb87d9
DM
46577 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46578 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46579
006f1daa 46580 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46582 sparc-ifunc.h
006f1daa 46583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46585 Likewise.
46586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46587 Likewise.
006f1daa
DM
46588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46592 Likewise.
006f1daa
DM
46593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46598 Likewise.
46599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46600 Likewise.
006f1daa
DM
46601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46625
11e0098e
AS
466262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46627
46628 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46629 scaling.
46630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46631
e85b09d0
AJ
466322012-03-15 Andreas Jaeger <aj@suse.de>
46633
46634 [BZ #13852]
46635 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46636 ieee754/flt-32 implementation for sin, cos and sincos.
46637 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46638 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46639 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46640 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46641 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46642 ieee754/flt-32 implementation for tan.
46643
46644 * math/libm-test.inc (cos_test): Enable some large input tests for
46645 float as well
46646 (sin_test): Likewise.
46647 (sincos_test): Likewise.
46648 (tan_test): Add tests for large input.
46649
46650 * sysdeps/i386/fpu/libm-test-ulps: Update.
46651
81c64153
AJ
466522012-03-15 Andreas Jaeger <aj@suse.de>
46653
46654 [BZ #13658]
46655 * math/libm-test.inc (cos_test): Add more test cases.
46656 (sin_test): Likewise.
46657 (sincos_test): Likewise.
46658
7bbfa5c6
AJ
466592012-03-15 Andreas Jaeger <aj@suse.de>
46660
46661 [BZ #13837]
46662 * math/libm-test.inc (cos_test): Add a test case for large input
46663 value.
46664 (sin_test): Likewise.
46665 (sincos_test): Likewise.
46666
57f41c40
AS
466672012-03-15 Andreas Jaeger <aj@suse.de>
46668 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46669
46670 [BZ #13658]
0671f479 46671 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46672 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46673 * sysdeps/i386/fpu/branred.c: Likewise.
46674 * sysdeps/i386/fpu/dosincos.c: Likewise.
46675 * sysdeps/i386/fpu/mpa.c: Likewise.
46676 * sysdeps/i386/fpu/s_cos.S: Likewise.
46677 * sysdeps/i386/fpu/s_sin.S: Likewise.
46678 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46679 * sysdeps/i386/fpu/sincos32.c: Likewise.
46680
46681 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46682 Define.
46683 (libc_feupdateenv_53bit): Define.
46684 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46685 Define.
46686 (libc_feupdateenv_53bit): Define.
46687
46688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46689 53 bit (without extend i386 double precision).
46690
46691 * math/libm-test.inc (sincos_test): Add tests for large input.
46692 (sin): Likewise.
46693 (cos): Likewise.
46694
46695 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46696
9cad04ea
AS
466972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46698
46699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46700
f7062b9a
DM
467012012-03-15 David S. Miller <davem@davemloft.net>
46702
46703 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46704 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46705 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46706 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46719 file.
f7062b9a 46720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46722 file.
f7062b9a 46723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46725 file.
f7062b9a 46726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46728 file.
f7062b9a
DM
46729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46731 fmin/fmax sysdep routines.
46732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46733
7bd951ff
DM
467342012-03-14 David S. Miller <davem@davemloft.net>
46735
559398ab
DM
46736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46765 routines.
46766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46767 file.
559398ab 46768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46770 file.
559398ab 46771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46773 file.
559398ab 46774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46776 file.
559398ab 46777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46779 file.
559398ab 46780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46782 file.
46783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46784 file.
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46786 file.
46787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46788 file.
46789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46790 New file.
46791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46792 file.
46793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46794 file.
559398ab 46795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46797 file.
559398ab 46798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46800 file.
559398ab 46801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46803 file.
559398ab 46804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46806 VIS3 routines.
559398ab
DM
46807
46808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46809 New file.
46810
5a1c1e32
DM
46811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46812
eae47a36
DM
46813 * sysdeps/sparc/configure.in: New file.
46814 * sysdeps/sparc/configure: Generate.
46815 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46816 * configure: Regenerate.
46817 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46818 * config.make.in (have-as-vis3): New.
46819 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46820 available use -Av9d instead of -Av9a.
46821 * sysdeps/sparc/sparc64/Makefile: Likewise.
46822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46824 New file.
46825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46826 file.
46827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46828 New file.
46829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46830 file.
eae47a36
DM
46831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46836
c0c83bc8
DM
46837 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46838 fzeros/fnegs to load 0x80000000 into a float register instead of
46839 using the stack.
7bd951ff
DM
46840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46841
bd951ccb
JM
468422012-03-14 Joseph Myers <joseph@codesourcery.com>
46843
46844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46845 bits/syscall.h.
46846 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46847 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46848 ($(inst_includedir)/bits/syscall.h): Remove rule.
46849 ($(objpfx)bits/syscall.d): Include instead of
46850 $(objpfx)syscall-list.d.
46851 (generated): Change syscall-list.h and syscall-list.d to
46852 bits/syscall.h and bits/syscall.d.
46853
bb4e6db2
RM
468542012-03-14 Roland McGrath <roland@hack.frob.com>
46855
46856 [BZ #13846]
46857 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46858
aa4a2ae1
JM
468592012-03-14 Joseph Myers <joseph@codesourcery.com>
46860
e456826d
JM
46861 [BZ #13841]
46862 * math/s_csqrt.c: Include <float.h>.
46863 (__csqrt): Scale large or subnormal inputs.
46864 * math/s_csqrtf.c: Likewise.
46865 * math/s_csqrtl.c: Likewise.
46866 * math/libm-test.inc (csqrt_test): Add more tests.
46867 * sysdeps/i386/fpu/libm-test-ulps: Update.
46868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46869
aa4a2ae1
JM
46870 [BZ #13840]
46871 * math/libm-test.inc (hypot_test): Add more tests.
46872
7c10fd35
DM
468732012-03-13 David S. Miller <davem@davemloft.net>
46874
46875 [BZ #13840]
46876 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46877 double-precision for the calculation instead of scaling.
46878
f453b98b
JM
468792012-03-13 Joseph Myers <joseph@codesourcery.com>
46880
46881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46882 manipulate bits before adding and subtracting TWO52[sx].
46883 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46885 Likewise.
46886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46887
09a3453f
DM
468882012-03-13 David S. Miller <davem@davemloft.net>
46889
8e59da90
DM
46890 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46891 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46893 rtld-global-offsets.h
46894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46895
2a8ab7f2
DM
46896 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46897 large parameters.
46898
10f62770
DM
46899 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46900
5f0bdb18
DM
46901 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46902 'err' in the ifdef scope in which it is actually used.
46903
09a3453f
DM
46904 * nss/nss_db/db-init.c: Include string.h
46905
b4b2eb5e
DM
469062012-03-12 David S. Miller <davem@davemloft.net>
46907
98bb2f1c
DM
46908 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46909 masking out of the most significant byte of random value used.
46910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46911 Fix coding style in previous change.
46912
b4b2eb5e
DM
46913 * sysdeps/unix/sysv/linux/kernel-features.h
46914 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46915 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46916 expression.
46917 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46918 later.
46919
6e226b09
DM
469202012-03-11 David S. Miller <davem@davemloft.net>
46921
a1bcbd40
DM
46922 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46923 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46925 for 'resultvar' otherwise things get truncated on 64-bit.
46926
cb9d6174
DM
46927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46928 Fix masking out of the most significant byte of random value used.
46929
6e226b09
DM
46930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46931
058c132d
AS
469322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46933
46934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46935
2d2cd515
DM
469362012-03-09 David S. Miller <davem@davemloft.net>
46937
46938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46939 variables with appropriate CPP guards.
57f41c40
AS
46940 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46941 from the frame pointer, not the stack pointer. Correct layout
46942 comments. Fix test on resulting framesize and the management of
46943 the outregs buffer for pltexit. Preserve floating point return
46944 values across _dl_call_pltexit call.
2d2cd515
DM
46945 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46946 framesize and the management of the outregs buffer for pltexit.
46947 Preserve floating point return values across _dl_call_pltexit
46948 call.
57f41c40
AS
46949 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46950 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46951 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46952 (print_exit): Fix format string for return register value.
46953
9a07f9d0
JM
469542012-03-10 Joseph Myers <joseph@codesourcery.com>
46955
46956 * sunrpc/Makefile (others): Add rpcgen.
46957 ($(objpfx)rpcgen): Remove special build rule and dependency on
46958 libc.
46959 * sunrpc/rpcgen.c: New file.
46960
547b5e30
PE
469612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46962
c524201a
PE
46963 [BZ #13673]
46964 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46965 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46966 * sysdeps/i386/crti.S: Likewise.
46967 * sysdeps/i386/crtn.S: Likewise.
46968 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46969 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46970 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46971 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46972 * sysdeps/sh/crti.S: Likewise.
46973 * sysdeps/sh/crtn.S: Likewise.
46974 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46975
7b6235f2
PE
46976 [BZ #13673]
46977 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46978 with URL.
46979 * locale/programs/locfile-kw.gperf: Likewise.
46980 * locale/programs/charmap-kw.h: Regenerated.
46981 * locale/programs/locfile-kw.h: Likewise.
46982
547b5e30
PE
46983 [BZ #13673]
46984 * intl/plural.y: Replace FSF snail mail address with URL.
46985 * intl/plural.c: Regenerated.
46986
5f0a5dae
RH
469872012-03-09 Richard Henderson <rth@twiddle.net>
46988
46989 * include/math_private.h: Remove file.
46990 * math/math_private.h: Move file ...
46991 * sysdeps/generic/math_private.h: ... here.
46992
b8c03620
RH
46993 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46994 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46995 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46996
4e234f5d 46997 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46998 and <math_private.h>.
46999 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47000 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47001 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47002 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47003 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47004 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47005 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47007 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47008 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47014 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47015 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47016 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47017 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47018 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47023 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47029 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47031 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47032 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47039 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47047 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47048 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47050 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47051 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47057 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47058 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47059 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47060 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47063 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47065 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47066 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47067 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47070 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47073 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47087 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47088 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47089 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47090 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47093 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47094 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47095 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47096 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47097 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47098 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47099 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47100 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47101 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47102 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47104 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47105 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47106 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47107 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47108 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47109 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47110 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47111 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47112 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47113 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47114 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47118 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47119 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47120 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47122 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47123 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47124 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47125 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47126 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47127 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47128 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47129 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47130 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47131 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47132 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47133 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47134 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47136 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47137 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47138 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47140 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47141 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47142 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47143 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47144 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47145 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47146 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47147 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47148 * sysdeps/ieee754/k_standard.c: Likewise.
47149 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47192 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47200 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47270 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47271 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47274 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47281 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47297 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47298 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47309 * sysdeps/ieee754/s_lib_version.c: Likewise.
47310 * sysdeps/ieee754/s_matherr.c: Likewise.
47311 * sysdeps/ieee754/s_signgam.c: Likewise.
47312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47314 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47315 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47316 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47317 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47318 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47319 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47320 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47321 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47322 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47323 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47324 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47325 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47326 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47327 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47328 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47329 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47330 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47333
1991fa03
JM
473342012-03-09 Joseph Myers <joseph@codesourcery.com>
47335
47336 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47337 * sunrpc/rpc_main.c: Likewise.
47338 * sunrpc/rpc_svcout.c: Likewise.
47339
60d6f5a6
DM
473402012-03-09 David S. Miller <davem@davemloft.net>
47341
47342 * include/math_private.h: New file.
47343
4962050e
JM
473442012-03-09 Joseph Myers <joseph@codesourcery.com>
47345
02a6f887
JM
47346 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47347 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47348 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47349 from <bits/socket_type.h>.
47350 (enum __socket_type): Don't define here.
47351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47353 bits/socket_type.h.
47354
c6e013c1
JM
47355 [BZ #13566]
47356 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47357 checking __USE_GNU.
47358
4962050e
JM
47359 * Makerules ($(inst_includedir)/%.h): New rule.
47360 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47361 (install-others): Remove variable setting.
47362 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47363
38842f45
RH
473642012-03-08 Richard Henderson <rth@twiddle.net>
47365
67bb6da6
RH
47366 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47367 from macro to inline function; merge with the
47368 !__LIBC_INTERNAL_MATH_INLINES version.
47369 (__ieee754_sqrtf): Likewise.
47370
15194b4b
RH
47371 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47372 to inline function.
47373 (__rintf, __floor, __floorf): Likewise.
47374
64e21ede
RH
47375 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47376 macro to inline function.
47377 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47378
38842f45
RH
47379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47380 not <math/math_private.h>.
47381
c64bf5fe
DM
473822012-03-08 David S. Miller <davem@davemloft.net>
47383
47384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47385 copyright year.
47386 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47387
82d86f28
TS
473882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47389
47390 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47391 normalization.
47392 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47393 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47394
aea5d727
UD
473952012-03-08 Ulrich Drepper <drepper@gmail.com>
47396
47397 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47398 be defined individually, they must be defined as a block. Define
47399 S for printing a string instead of hidint the different by using a
47400 macro for adding the 'l'.
47401 * stdio-common/tst-fphex-wide.c: Adjust.
47402
70bca0a3
MP
474032012-03-07 Marek Polacek <polacek@redhat.com>
47404
47405 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47406
65b81130
MP
474072012-03-08 Marek Polacek <polacek@redhat.com>
47408
47409 [BZ #13806]
47410 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47411 * stdio-common/tst-fphex.c: Define a few macros to make the
47412 test reusable. Use them.
47413 * stdio-common/tst-fphex-wide.c: New file.
47414
07037eeb
JM
474152012-03-08 Joseph Myers <joseph@codesourcery.com>
47416
a7a93d50
JM
47417 [BZ #6911]
47418 * manual/macros.texi (gnusystems): New macro.
47419 (nongnusystems): Likewise.
47420 (gnulinuxhurdsystems): Likewise.
47421 (gnuhurdsystems): Likewise..
47422 (gnulinuxsystems): Likewise.
47423 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47424 variants of the GNU system, not "GNU system".
47425 * manual/conf.texi: Likewise.
47426 * manual/errno.texi: Likewise. Update example of errno macro
47427 expansion.
47428 * manual/filesys.texi: Likewise.
47429 (getumask): Document as specific to GNU/Hurd.
47430 * manual/install.texi: Likewise. Reword some references to
47431 GNU/Linux.
47432 * manual/intro.texi: Likewise.
47433 * manual/io.texi: Likewise.
47434 (File Name Portability): Detail which constraints are inapplicable
47435 to all GNU systems and which are only inapplicable to GNU/Hurd.
47436 * manual/job.texi: Likewise.
47437 * manual/llio.texi: Likewise.
47438 (O_NOCTTY): Document as present on GNU/Linux.
47439 * manual/maint.texi: Likewise.
47440 * manual/memory.texi: Likewise.
47441 * manual/pattern.texi: Likewise.
47442 * manual/pipe.texi: Likewise.
47443 * manual/process.texi: Likewise.
47444 * manual/resource.texi: Likewise.
47445 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47446 child on GNU/Hurd.
47447 * manual/setjmp.texi: Likewise.
47448 * manual/signal.texi: Likewise.
47449 * manual/startup.texi: Likewise.
47450 * manual/stdio.texi: Likewise.
47451 * manual/terminal.texi: Likewise.
47452 (ONLCR): Document as POSIX.
47453 (OXTABS): Document availability on GNU/Linux as XTABS.
47454 (ONOEOT): Document availability separately from other bits.
47455 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47456 * manual/time.texi: Likewise.
47457 * manual/users.texi: Likewise.
47458 * INSTALL: Regenerated.
47459 * sysdeps/gnu/errlist.c: Regenerated.
47460
07037eeb
JM
47461 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47462 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47463 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47464 puts.
47465 * configure: Regenerated.
47466
d1d3431a
JM
474672012-03-07 Joseph Myers <joseph@codesourcery.com>
47468
af6a1e37
JM
47469 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47470 default includes instead of AC_HEADER_CHECK.
47471 * sysdeps/i386/configure: Regenerated.
47472
d1d3431a
JM
47473 [BZ #10716]
47474 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47475 * math/s_cacoshf.c (__cacoshf): Likewise.
47476 * math/s_cacoshl.c (__cacoshl): Likewise.
47477 * math/s_casinh.c (__casinh): Set signs of result from argument.
47478 * math/s_casinhf.c (__casinhf): Likewise.
47479 * math/s_casinhl.c (__casinhl): Likewise.
47480 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47481 (casinh_test): Add more tests.
47482 * sysdeps/i386/fpu/libm-test-ulps: Update.
47483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47484
482ff4da
UD
474852012-03-07 Ulrich Drepper <drepper@gmail.com>
47486
872fda05
UD
47487 * po/zh_TW.po: Update from translation team.
47488
a4300c7a
UD
47489 * login/Makefile (distribute): Remove variable.
47490 * catgets/Makefile: Likewise.
47491 * mach/Makefile: Likewise.
47492 * malloc/Makefile: Likewise.
47493 * misc/Makefile: Likewise.
47494 * iconv/Makefile: Likewise.
47495 * nscd/Makefile: Likewise.
47496 * hurd/Makefile: Likewise.
47497 * manual/Makefile: Likewise.
47498 * locale/Makefile: Likewise.
47499 * intl/Makefile: Likewise.
47500 * conform/Makefile: Likewise.
47501 * nss/Makefile: Likewise.
47502 * time/Makefile: Likewise.
47503 * soft-fp/Makefile: Likewise.
47504 * dirent/Makefile: Likewise.
47505 * gmon/Makefile: Likewise.
47506 * po/Makefile: Likewise.
47507 * rt/Makefile: Likewise.
47508 * socket/Makefile: Likewise.
47509 * math/Makefile: Likewise.
47510 * signal/Makefile: Likewise.
47511 * debug/Makefile: Likewise.
47512 * elf/Makefile: Likewise.
47513 * timezone/Makefile: Likewise.
47514 * stdlib/Makefile: Likewise.
47515 * iconvdata/Makefile: Likewise.
47516 * sunrpc/Makefile: Likewise.
47517 * io/Makefile: Likewise.
47518 * argp/Makefile: Likewise.
47519 * inet/Makefile: Likewise.
47520 * hesiod/Makefile: Likewise.
47521 * grp/Makefile: Likewise.
47522 * csu/Makefile: Likewise.
47523 * wctype/Makefile: Likewise.
47524 * crypt/Makefile: Likewise.
47525 * libio/Makefile: Likewise.
47526 * string/Makefile: Likewise.
47527 * nis/Makefile: Likewise.
47528 * resolv/Makefile: Likewise.
47529 * stdio-common/Makefile: Likewise.
47530 * wcsmbs/Makefile: Likewise.
47531 * dlfcn/Makefile: Likewise.
47532 * posix/Makefile: Likewise.
47533
3b7c4e74 47534 [BZ #6959]
482ff4da
UD
47535 * timezone/Makefile: Don't install timezone files, just the programs
47536 and scripts.
47537
f72ed77d
UD
475382012-03-06 Ulrich Drepper <drepper@gmail.com>
47539
a000466f
UD
47540 * nss/databases.def: Add missing gshadow entry.
47541
f72ed77d
UD
47542 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47543
a53b7a4e
MP
475442012-03-06 Marek Polacek <polacek@redhat.com>
47545
47546 [BZ #13726]
47547 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47548 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47549 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47550 * stdio-common/tst-long-dbl-fphex.c: New file.
47551
e9258400
DM
475522012-03-06 David S. Miller <davem@davemloft.net>
47553
47554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47555 (set_obp_int): New function.
47556 (get_obp_int): New function.
47557 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47559 Avoid unused variable warnings on 'val' and use builtin_expect.
47560 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47561 __builtin_expect.
e9258400
DM
47562 (INLINE_CLONE_SYSCALL): Likewise.
47563
3bd2c723
DM
475642012-03-05 David S. Miller <davem@davemloft.net>
47565
47566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47567
bbb78d03
AS
475682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47569
884c5db4
AS
47570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47571
bbb78d03
AS
47572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47573 only for |x| >= 40.
47574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47575
1c9f702a 475762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47577
47578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47579 Replace gettimeofday with __vdso_gettimeofday.
47580
7be16f82
RM
47581 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47582 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47583 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47584
47585 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47586 time with __vdso_time.
47587
ed58a00f
JM
475882012-03-05 Joseph Myers <joseph@codesourcery.com>
47589
47590 * manual/lang.texi (size_t): Note types to which size_t may be
47591 equivalent with the GNU C Library, but do not describe when
47592 differences between them are significant.
47593
30ee4ced
AJ
475942012-03-05 Andreas Jaeger <aj@suse.de>
47595
47596 * sysdeps/i386/fpu/libm-test-ulps: Update.
47597
b7cd39e8
JM
475982012-03-05 Joseph Myers <joseph@codesourcery.com>
47599
47600 [BZ #3976]
47601 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47602 (__ieee754_pow): Save and restore rounding mode and use
47603 round-to-nearest for main computations.
47604 * math/libm-test.inc (pow_test_tonearest): New function.
47605 (pow_test_towardzero): Likewise.
47606 (pow_test_downward): Likewise.
47607 (pow_test_upward): Likewise.
47608 (main): Call the new functions.
47609 * sysdeps/i386/fpu/libm-test-ulps: Update.
47610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47611
47612 [BZ #3976]
47613 * math/libm-test.inc (cosh_test_tonearest): New function.
47614 (cosh_test_towardzero): Likewise.
47615 (cosh_test_downward): Likewise.
47616 (cosh_test_upward): Likewise.
47617 (sinh_test_tonearest): Likewise.
47618 (sinh_test_towardzero): Likewise.
47619 (sinh_test_downward): Likewise.
47620 (sinh_test_upward): Likewise.
47621 (main): Call the new functions.
47622 * sysdeps/i386/fpu/libm-test-ulps: Update.
47623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47624
6c6a98c9
TV
476252012-03-05 Tom de Vries <tom@codesourcery.com>
47626
47627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47628 default stack guard is set in last bytes.
47629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47630
21bb2d2e 476312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47632
21bb2d2e 47633 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47634
21bb2d2e
AJ
47635 [BZ #13656]
47636 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47637 possibly allocate from heap instead of stack.
47638 * stdio-common/bug-vfprintf-nargs.c: New file.
47639 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47640
c6922934
AS
476412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47642
47643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47644
bc957d53
MP
476452012-03-03 Marek Polacek <polacek@redhat.com>
47646
47647 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47648 * math/math_private.h: Likewise.
47649 * stdlib/tst-strtod.c: Likewise.
47650 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47651 * sysdeps/x86_64/bits/atomic.h: Likewise.
47652
6358490d
DM
476532012-03-02 David S. Miller <davem@davemloft.net>
47654
47655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47659 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47660 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47661 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47662 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47663
01ae168d
RM
476642012-03-02 Roland McGrath <roland@hack.frob.com>
47665
d9a17c07
RM
47666 [BZ #13792]
47667 * manual/examples/README: New file, says the example source files
47668 can be used under GPL>=2.
47669 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47670 line containing just "*/".
47671 * manual/examples/add.c: Add copyright header (GPL>=2).
47672 * manual/examples/argp-ex1.c: Likewise.
47673 * manual/examples/argp-ex2.c: Likewise.
47674 * manual/examples/argp-ex3.c: Likewise.
47675 * manual/examples/argp-ex4.c: Likewise.
47676 * manual/examples/atexit.c: Likewise.
47677 * manual/examples/db.c: Likewise.
47678 * manual/examples/dir.c: Likewise.
47679 * manual/examples/dir2.c: Likewise.
47680 * manual/examples/execinfo.c: Likewise.
47681 * manual/examples/filecli.c: Likewise.
47682 * manual/examples/filesrv.c: Likewise.
47683 * manual/examples/fmtmsgexpl.c: Likewise.
47684 * manual/examples/genpass.c: Likewise.
47685 * manual/examples/inetcli.c: Likewise.
47686 * manual/examples/inetsrv.c: Likewise.
47687 * manual/examples/isockad.c: Likewise.
47688 * manual/examples/longopt.c: Likewise.
47689 * manual/examples/memopen.c: Likewise.
47690 * manual/examples/memstrm.c: Likewise.
47691 * manual/examples/mkfsock.c: Likewise.
47692 * manual/examples/mkisock.c: Likewise.
47693 * manual/examples/mygetpass.c: Likewise.
47694 * manual/examples/pipe.c: Likewise.
47695 * manual/examples/popen.c: Likewise.
47696 * manual/examples/rprintf.c: Likewise.
47697 * manual/examples/search.c: Likewise.
47698 * manual/examples/select.c: Likewise.
47699 * manual/examples/setjmp.c: Likewise.
47700 * manual/examples/sigh1.c: Likewise.
47701 * manual/examples/sigusr.c: Likewise.
47702 * manual/examples/stpcpy.c: Likewise.
47703 * manual/examples/strdupa.c: Likewise.
47704 * manual/examples/strftim.c: Likewise.
47705 * manual/examples/strncat.c: Likewise.
47706 * manual/examples/subopt.c: Likewise.
47707 * manual/examples/swapcontext.c: Likewise.
47708 * manual/examples/termios.c: Likewise.
47709 * manual/examples/testopt.c: Likewise.
47710 * manual/examples/testpass.c: Likewise.
47711 * manual/examples/timeval_subtract.c: Likewise.
47712
01ae168d
RM
47713 [BZ #13792]
47714 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47715 function to ...
47716 * manual/timeval_subtract.c.texi: ... here, new file.
47717
49efa33d
DM
477182012-03-02 David S. Miller <davem@davemloft.net>
47719
47720 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47721
28afd92d
JM
477222012-03-02 Joseph Myers <joseph@codesourcery.com>
47723
804360ed
JM
47724 [BZ #3976]
47725 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47726 (__sin): Save and restore rounding mode and use round-to-nearest
47727 for all computations.
47728 (__cos): Save and restore rounding mode and use round-to-nearest
47729 for all computations.
47730 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47731 <fenv.h>.
47732 (tan): Save and restore rounding mode and use round-to-nearest for
47733 all computations.
47734 * math/libm-test.inc (cos_test_tonearest): New function.
47735 (cos_test_towardzero): Likewise.
47736 (cos_test_downward): Likewise.
47737 (cos_test_upward): Likewise.
47738 (sin_test_tonearest): Likewise.
47739 (sin_test_towardzero): Likewise.
47740 (sin_test_downward): Likewise.
47741 (sin_test_upward): Likewise.
47742 (tan_test_tonearest): Likewise.
47743 (tan_test_towardzero): Likewise.
47744 (tan_test_downward): Likewise.
47745 (tan_test_upward): Likewise.
47746 (main): Call the new functions.
47747 * sysdeps/i386/fpu/libm-test-ulps: Update.
47748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47749
a6d06d7b
JM
47750 [BZ #10135]
47751 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47752 small n, then large n, before computing and testing k+n.
47753 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47755 Likewise.
47756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47757 Likewise.
47758 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47759 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47766 * math/libm-test.inc (scalbn_test): Add more tests.
47767 (scalbln_test): Likewise.
47768
07e12bb3
JM
47769 * manual/filesys.texi (mode_t): Describe constraints on size and
47770 signedness, not exact equivalence to a particular type.
47771 (ino_t): Likewise.
47772 (ino64_t): Likewise.
47773 (dev_t): Likewise.
47774 (nlink_t): Likewise.
47775 (blkcnt_t): Likewise.
47776 (blkcnt64_t): Likewise.
47777 * manual/llio.texi (off_t): Likewise.
47778
28afd92d
JM
47779 [BZ #3976]
47780 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47781 (__ieee754_exp): Save and restore rounding mode and use
47782 round-to-nearest for all computations.
47783 * math/libm-test.inc (exp_test_tonearest): New function.
47784 (exp_test_towardzero): Likewise.
47785 (exp_test_downward): Likewise.
47786 (exp_test_upward): Likewise.
47787 (main): Call the new functions.
47788 * sysdeps/i386/fpu/libm-test-ulps: Update.
47789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47790
b1eeb65d
CD
477912012-03-01 Chris Demetriou <cgd@google.com>
47792
47793 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47794 have predictable order.
47795
53362a4b
DM
477962012-03-01 David S. Miller <davem@davemloft.net>
47797
3c969083
DM
47798 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47799
759707de
DM
47800 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47801 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47802 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47803 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47804
dfdb8ff2
DM
47805 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47806 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47807 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47809 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47810 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47811 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47812 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47813 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47814
ead89f96
DM
47815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47816
7f66bd07
DM
47817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47818 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47820
53362a4b
DM
47821 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47822 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47824 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47825 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47826 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47834 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47837 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47838 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47839 * sysdeps/sparc/elf/configure: Regenerated.
47840
7b1902cb
JM
478412012-03-01 Joseph Myers <joseph@codesourcery.com>
47842
bec039bc
JM
47843 * configure.in (AS, LD): Require binutils 2.20 or later.
47844 * configure: Regenerated.
47845 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47846 as required minimum version.
47847 * INSTALL: Regenerated.
47848
7b1902cb
JM
47849 [BZ #2541]
47850 [BZ #4108]
47851 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47852 before squaring exponent.
47853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47854 bottom long double and 27 bits of top long double before squaring
47855 exponent.
47856 * math/libm-test.inc (erfc_test): Add more tests.
47857 * sysdeps/i386/fpu/libm-test-ulps: Update.
47858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47860
f775c276
KT
478612012-03-01 Kai Tietz <ktietz@redhat.com>
47862
47863 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47864 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47865 containing bit-fields.
47866 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47867 * soft-fp/single.h (_FP_UNION_S): Likewise.
47868 * soft-fp/double.h (_FP_UNION_D): Likewise.
47869
5b8a4d4a
JM
478702012-02-29 Joseph Myers <joseph@codesourcery.com>
47871
0bab47b6
JM
47872 [BZ #13786]
47873 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47874 not include ../strcmp.S.
47875 [USE_AS_STRNCASECMP_L]: Likewise.
47876 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47877 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47878 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47879 (__strncasecmp_l_ia32): Define as alias to
47880 __strncasecmp_l_nonascii.
47881
0fcad3e2
JM
47882 [BZ #5794]
47883 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47884 * sysdeps/i386/fpu/libm-test-ulps: Update.
47885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47886
5b8a4d4a
JM
47887 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47889
8fdceb2e
JL
478902012-02-29 Jeff Law <law@redhat.com>
47891
47892 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47893 out of bounds read.
47894
1f393a11
MP
478952012-02-29 Marek Polacek <polacek@redhat.com>
47896
47897 [BZ #13706]
47898 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47899 * elf/Makefile: Add rules to run tst-unused-dep.out.
47900
8847f037
DM
479012012-02-28 David S. Miller <davem@davemloft.net>
47902
47903 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47904 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47909
169d7f11
JM
479102012-02-29 Joseph Myers <joseph@codesourcery.com>
47911
47912 * math/libm-test.inc (llround_test): Move one test from
47913 lround_test. Use TEST_f_L in moved test.
47914 (lround_test): Move misplaced test to llround_test. Add testcase
47915 from bug 2561.
47916
39adf059
UD
479172012-02-28 Ulrich Drepper <drepper@gmail.com>
47918
47919 * sysdeps/x86_64/fpu/e_expf.S: New file.
47920 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47921
71b5d1c5
SB
479222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47923
47924 [BZ #13637]
47925 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47926 of remain_len that may cause incomplete multi-byte character and
47927 false match.
47928 * posix/bug-regex33.c: New file.
47929 * posix/Makefile (tests): Add bug-regex33.
47930
1f77f049
JM
479312012-02-28 Joseph Myers <joseph@codesourcery.com>
47932
47933 * manual/macros.texi: New file.
47934 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47935 * manual/libc.texinfo: Include macros.texi.
47936 * manual/creatute.texi: Likewise.
47937 * manual/install.texi: Likewise.
47938 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47939 @glibcadj{} in references to the GNU C Library.
47940 * manual/charset.texi: Likewise.
47941 * manual/conf.texi: Likewise.
47942 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47943 when not using those macros.
47944 * manual/creature.texi: Likewise.
47945 * manual/crypt.texi: Likewise.
47946 * manual/errno.texi: Likewise.
47947 * manual/filesys.texi: Likewise.
47948 * manual/header.texi: Likewise.
47949 * manual/install.texi: Likewise.
47950 * manual/intro.texi: Likewise.
47951 * manual/io.texi: Likewise.
47952 * manual/job.texi: Likewise.
47953 * manual/lang.texi: Likewise.
47954 * manual/libc.texiinfo: Likewise.
47955 * manual/llio.texi: Likewise.
47956 * manual/locale.texi: Likewise.
47957 * manual/maint.texi: Likewise.
47958 * manual/math.texi: Likewise.
47959 * manual/memory.texi: Likewise.
47960 * manual/message.texi: Likewise.
47961 * manual/nss.texi: Likewise.
47962 * manual/pattern.texi: Likewise.
47963 * manual/process.texi: Likewise.
47964 * manual/resource.texi: Likewise.
47965 * manual/search.texi: Likewise.
47966 * manual/setjmp.texi: Likewise.
47967 * manual/signal.texi: Likewise.
47968 * manual/socket.texi: Likewise.
47969 * manual/startup.texi: Likewise.
47970 * manual/stdio.texi: Likewise.
47971 * manual/string.texi: Likewise.
47972 * manual/sysinfo.texi: Likewise.
47973 * manual/syslog.texi: Likewise.
47974 * manual/terminal.texi: Likewise.
47975 * manual/time.texi: Likewise.
47976 * manual/users.texi: Likewise.
47977 * INSTALL: Regenerated.
47978 * NOTES: Regenerated.
d40c5d54 47979 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47980
450bf206
AS
479812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47982
47983 * include/dirent.h: Include <dirstream.h> before
47984 <dirent/dirent.h>.
47985
741a235b
DM
479862012-02-28 David S. Miller <davem@davemloft.net>
47987
47988 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47989 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47990 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47991 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47992
d6b5aa58
DM
479932012-02-27 David S. Miller <davem@davemloft.net>
47994
1aff59a3
DM
47995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47997 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47998 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47999
d6b5aa58
DM
48000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48001 frame pointer instead of stack pointer relative arg slot.
48002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48003 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48004 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48005
433f48bf
CD
480062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48007
48008 [BZ #3992]
48009 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48010
d674b76d
DM
480112012-02-27 David S. Miller <davem@davemloft.net>
48012
48013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48017 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48018 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48019 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48020 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48021
0e7727f7
JM
480222012-02-27 Joseph Myers <joseph@codesourcery.com>
48023
48024 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48025 later. Allow versions 5-9.
43be4ca2 48026 * configure: Regenerated.
0e7727f7
JM
48027 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48028 required minimum version and 4.6 as recommended version. Do not
48029 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48030 * INSTALL: Regenerated.
0e7727f7 48031
a78bc654
DM
480322012-02-27 David S. Miller <davem@davemloft.net>
48033
428d5830
DM
48034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48038 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48039 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48040 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48041 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48042
a78bc654
DM
48043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48044 manipulate bits before adding and subtracting TWO112[sx].
48045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48046
4579f81c
RM
480472012-02-27 Roland McGrath <roland@hack.frob.com>
48048
36c8acb4
RM
48049 [BZ #13775]
48050 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48051 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48052 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48053 being in POSIX, because they are in 1003.1-2008.
48054
84ad622b
RM
48055 * rt/tst-aio.c: Include <fcntl.h>.
48056 * rt/tst-aio7.c: Likewise.
48057 * rt/tst-aio64.c: Likewise.
48058
4579f81c
RM
48059 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48060
abd923db
JM
480612012-02-27 Joseph Myers <joseph@codesourcery.com>
48062
48063 * manual/install.texi (--with-headers): Describe headers as
48064 interface headers, not private headers.
48065 (Specific advice for GNU/Linux systems): Describe use of headers
48066 from "make headers_install", not private headers from older
48067 kernels.
43be4ca2 48068 * INSTALL: Regenerated.
abd923db
JM
48069 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48070 Change to 2.6.19.
48071 * sysdeps/unix/sysv/linux/configure: Regenerated.
48072
6664049b
JM
48073 * manual/llio.texi (fclean): Remove documentation.
48074
bb8b6697
JM
48075 * manual/Makefile (libc-texi-generated): New variable. Include
48076 version.texi.
48077 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48078 $(libc-texi-generated), not duplicated list of files.
48079 (version.texi, stamp-version): New rules.
48080 (realclean): Remove $(libc-texi-generated), not individual files
48081 from that list. Do not remove dir-add.texinfo.
48082 * manual/libc.texinfo: Comment out uses of edition numbers and
48083 references to printed manual. Remove last-updated dates.
48084 (EDITION): Comment out.
48085 (ISBN): Likewise.
48086 (VERSION, UPDATED): Remove.
48087 (version.texi): Include.
48088
12e5c3b9
AS
480892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48090
48091 * sysdeps/posix/spawni.c: Include <signal.h>.
48092 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48093 * sysdeps/pthread/aio_fsync.c: Likewise.
48094
4efeffc1 480952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48096
ba63ba08
UD
48097 * conform/Makefile (tests): Run only when not cross-compiling and
48098 when fast-check is not defined.
48099
d94a4670
UD
48100 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48101 * conform/data/limits.h-data: Fixes for POSIX2008.
48102 * conform/run-conformtest.sh: Run all tests.
48103 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48104 headers.
48105 * include/bits/dlfcn.h: Likewise.
48106 * include/langinfo.h: Likewise.
48107 * include/monetary.h: Likewise.
48108 * include/sys/poll.h: Likewise.
48109
48110 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48111 for __USE_GNU.
48112 * posix/spawn.h: Define __need_sigset_t.
48113 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48114 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48115 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48116 to get sigevent_t only.
48117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48118 only for __USE_GNU.
48119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48120 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48121 process_vm_writev only for __USE_GNU.
48122 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48123
48124 * conform/Makefile: For now ignore errors from run-conformtest.
48125 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48126 POSIX to avoid namespace pollution. Don't prepend headers.
48127 * conform/data/aio.h-data: Fixes for POSIX testing.
48128 * conform/data/fcntl.h-data: Likewise.
48129 * conform/data/glob.h-data: Likewise.
48130 * conform/data/grp.h-data: Likewise.
48131 * conform/data/pthread.h-data: Likewise.
48132 * conform/data/pwd.h-data: Likewise.
48133 * conform/data/signal.h-data: Likewise.
48134 * conform/data/spawn.h-data: Likewise.
48135 * conform/data/stdio.h-data: Likewise.
48136 * conform/data/stdlib.h-data: Likewise.
48137 * conform/data/stropts.h-data: Likewise.
48138 * conform/data/sys/mman.h-data: Likewise.
48139 * conform/data/sys/stat.h-data: Likewise.
48140 * conform/data/sys/types.h-data: Likewise.
48141 * conform/data/sys/wait.h-data: Likewise.
48142 * conform/data/time.h-data: Likewise.
48143 * conform/data/unistd.h-data: Likewise.
48144 * conform/data/utime.h-data: Likewise.
48145
48146 * io/sys/stat.h: fchmod was always in POSIX.
48147 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48148 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48149 * rt/aio.h: Define __need_timespec before including <time.h>.
48150 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48151 struct. Add forward declaration of pthread_attr_t and use it in
48152 sigevent.
48153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48155 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48156 always remove CLK_TCK definition.
48157
c20105c3
AS
481582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48159
48160 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48161
7a270350
UD
481622012-02-25 Ulrich Drepper <drepper@gmail.com>
48163
31341567
UD
48164 * conform/run-conformtest.sh: New file.
48165 * conform/Makefile: Run run-conformtest for tests.
48166 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48167 support.
48168
48169 * conform/data/uchar.h-data: New file.
48170 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48171 * conform/data/arpa/inet.h-data: Likewise.
48172 * conform/data/assert.h-data: Likewise.
48173 * conform/data/complex.h-data: Likewise.
48174 * conform/data/cpio.h-data: Likewise.
48175 * conform/data/ctype.h-data: Likewise.
48176 * conform/data/dirent.h-data: Likewise.
48177 * conform/data/dlfcn.h-data: Likewise.
48178 * conform/data/errno.h-data: Likewise.
48179 * conform/data/fcntl.h-data: Likewise.
48180 * conform/data/float.h-data: Likewise.
48181 * conform/data/fmtmsg.h-data: Likewise.
48182 * conform/data/fnmatch.h-data: Likewise.
48183 * conform/data/ftw.h-data: Likewise.
48184 * conform/data/glob.h-data: Likewise.
48185 * conform/data/grp.h-data: Likewise.
48186 * conform/data/iconv.h-data: Likewise.
48187 * conform/data/inttypes.h-data: Likewise.
48188 * conform/data/langinfo.h-data: Likewise.
48189 * conform/data/libgen.h-data: Likewise.
48190 * conform/data/limits.h-data: Likewise.
48191 * conform/data/locale.h-data: Likewise.
48192 * conform/data/math.h-data: Likewise.
48193 * conform/data/monetary.h-data: Likewise.
48194 * conform/data/mqueue.h-data: Likewise.
48195 * conform/data/ndbm.h-data: Likewise.
48196 * conform/data/net/if.h-data: Likewise.
48197 * conform/data/netdb.h-data: Likewise.
48198 * conform/data/netinet/in.h-data: Likewise.
48199 * conform/data/nl_types.h-data: Likewise.
48200 * conform/data/poll.h-data: Likewise.
48201 * conform/data/pthread.h-data: Likewise.
48202 * conform/data/pwd.h-data: Likewise.
48203 * conform/data/regex.h-data: Likewise.
48204 * conform/data/sched.h-data: Likewise.
48205 * conform/data/search.h-data: Likewise.
48206 * conform/data/semaphore.h-data: Likewise.
48207 * conform/data/setjmp.h-data: Likewise.
48208 * conform/data/signal.h-data: Likewise.
48209 * conform/data/spawn.h-data: Likewise.
48210 * conform/data/stdarg.h-data: Likewise.
48211 * conform/data/stdio.h-data: Likewise.
48212 * conform/data/stdlib.h-data: Likewise.
48213 * conform/data/string.h-data: Likewise.
48214 * conform/data/strings.h-data: Likewise.
48215 * conform/data/stropts.h-data: Likewise.
48216 * conform/data/sys/ipc.h-data: Likewise.
48217 * conform/data/sys/mman.h-data: Likewise.
48218 * conform/data/sys/msg.h-data: Likewise.
48219 * conform/data/sys/resource.h-data: Likewise.
48220 * conform/data/sys/select.h-data: Likewise.
48221 * conform/data/sys/sem.h-data: Likewise.
48222 * conform/data/sys/shm.h-data: Likewise.
48223 * conform/data/sys/socket.h-data: Likewise.
48224 * conform/data/sys/stat.h-data: Likewise.
48225 * conform/data/sys/statvfs.h-data: Likewise.
48226 * conform/data/sys/time.h-data: Likewise.
48227 * conform/data/sys/timeb.h-data: Likewise.
48228 * conform/data/sys/times.h-data: Likewise.
48229 * conform/data/sys/types.h-data: Likewise.
48230 * conform/data/sys/uio.h-data: Likewise.
48231 * conform/data/sys/un.h-data: Likewise.
48232 * conform/data/sys/utsname.h-data: Likewise.
48233 * conform/data/sys/wait.h-data: Likewise.
48234 * conform/data/syslog.h-data: Likewise.
48235 * conform/data/tar.h-data: Likewise.
48236 * conform/data/termios.h-data: Likewise.
48237 * conform/data/utime.h-data: Likewise.
48238 * conform/data/utmpx.h-data: Likewise.
48239 * conform/data/varargs.h-data: Likewise.
48240 * conform/data/wchar.h-data: Likewise.
48241 * conform/data/wctype.h-data: Likewise.
48242 * conform/data/wordexp.h-data: Likewise.
48243
48244 * include/stropts.h: New file.
48245 * include/uchar.h: New file.
48246 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48247 * include/assert.h: Likewise.
48248 * include/ctype.h: Likewise.
48249 * include/dirent.h: Likewise.
48250 * include/dlfcn.h: Likewise.
48251 * include/fcntl.h: Likewise.
48252 * include/fnmatch.h: Likewise.
48253 * include/glob.h: Likewise.
48254 * include/grp.h: Likewise.
48255 * include/libio.h: Likewise.
48256 * include/locale.h: Likewise.
48257 * include/math.h: Likewise.
48258 * include/net/if.h: Likewise.
48259 * include/netdb.h: Likewise.
48260 * include/netinet/in.h: Likewise.
48261 * include/pthread.h: Likewise.
48262 * include/pwd.h: Likewise.
48263 * include/regex.h: Likewise.
48264 * include/sched.h: Likewise.
48265 * include/search.h: Likewise.
48266 * include/setjmp.h: Likewise.
48267 * include/signal.h: Likewise.
48268 * include/stdio.h: Likewise.
48269 * include/stdlib.h: Likewise.
48270 * include/string.h: Likewise.
48271 * include/sys/cdefs.h: Likewise.
48272 * include/sys/mman.h: Likewise.
48273 * include/sys/msg.h: Likewise.
48274 * include/sys/resource.h: Likewise.
48275 * include/sys/select.h: Likewise.
48276 * include/sys/socket.h: Likewise.
48277 * include/sys/stat.h: Likewise.
48278 * include/sys/statvfs.h: Likewise.
48279 * include/sys/time.h: Likewise.
48280 * include/sys/times.h: Likewise.
48281 * include/sys/uio.h: Likewise.
48282 * include/sys/utsname.h: Likewise.
48283 * include/sys/wait.h: Likewise.
48284 * include/termios.h: Likewise.
48285 * include/time.h: Likewise.
48286 * include/ulimit.h: Likewise.
48287 * include/unistd.h: Likewise.
48288 * include/utime.h: Likewise.
48289 * include/wchar.h: Likewise.
48290 * include/wctype.h: Likewise.
48291 * include/wordexp.h: Likewise.
48292
48293 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48294
7a270350
UD
48295 * time/time.h: TIME_UTC must be a macro.
48296 Make timespec_get available for ISO C11 only as well.
48297
7724defc
UD
482982012-02-24 Ulrich Drepper <drepper@gmail.com>
48299
48300 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48301 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48302
6b1d1d46
JM
483032012-02-24 Joseph Myers <joseph@codesourcery.com>
48304
48305 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48306
0f8bbd69
JM
483072012-02-24 Joseph Myers <joseph@codesourcery.com>
48308
48309 * manual/texinfo.tex: Update to version 2012-01-19.16.
48310
66ab80bc
JM
483112012-02-24 Joseph Myers <joseph@codesourcery.com>
48312
48313 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48314
74981cc5
RM
483152012-02-24 Roland McGrath <roland@hack.frob.com>
48316
ee968201
RM
48317 [BZ #13738]
48318 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48319 * manual/fdl-1.3.texi: New file.
48320 * manual/fdl-1.1.texi: File removed.
48321
74981cc5
RM
48322 [BZ #13738]
48323 * manual/libc.texinfo (FDL_VERSION): New @set.
48324 Use it for mention of FDL in cover text.
48325 (Documentation License): Use it in @include file name.
48326
7bb764bc
JM
483272012-02-22 Joseph Myers <joseph@codesourcery.com>
48328 Roland McGrath <roland@hack.frob.com>
48329
48330 [BZ #5461]
57f41c40
AS
48331 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48332 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48333 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48334 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48335 name.
48336 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48337
6cbeae47
JM
483382012-02-22 Joseph Myers <joseph@codesourcery.com>
48339
48340 [BZ #2547]
48341 [BZ #11365]
48342 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48343 manipulate bits before adding and subtracting TWO23[sx].
48344 * math/libm-test.inc (nearbyint_test): Add more tests.
48345
fe45ce09
JM
483462012-02-22 Joseph Myers <joseph@codesourcery.com>
48347
48348 [BZ #2548]
48349 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48350 bits before adding and subtracting TWO23[sx].
48351 * math/libm-test.inc (rint_test): Add more tests.
48352 (rint_test_tonearest): Likewise.
48353 (rint_test_towardzero): Likewise.
48354 (rint_test_downward): Likewise.
48355 (rint_test_upward: Likewise.
48356
ff3b3d82
JM
483572012-02-22 Joseph Myers <joseph@codesourcery.com>
48358
48359 [BZ #10110]
48360 * include/stdc-predef.h: New file. Extracted from features.h.
48361 * include/features.h: Include stdc-predef.h.
48362 * Makefile (headers): Add stdc-predef.h.
48363 * CONFORMANCE (Compiler limitations): Update.
48364
ef0aab35
JM
483652012-02-22 Joseph Myers <joseph@codesourcery.com>
48366
48367 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48368
58639409
DM
483692012-02-21 David S. Miller <davem@davemloft.net>
48370
48371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48373
c0e70b25
DM
483742012-02-20 David S. Miller <davem@davemloft.net>
48375
48376 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48377 using a normal save/restore sequence, rather than allocating a
48378 dummy stack frame just to store a frame pointer and restore.
48379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48380
fb06851d
JM
483812012-02-21 Joseph Myers <joseph@codesourcery.com>
48382
48383 * manual/install.texi: Fix stray word in line-wrapped comment.
48384
7a8b71c3
DM
483852012-02-20 David S. Miller <davem@davemloft.net>
48386
d510c123
DM
48387 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48388 both binutils and gcc support GOTDATA.
48389
0722d7c2
DM
48390 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48391 "rd %pc" in the PIC register setup sequences.
48392
3d2b3019
DM
48393 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48394 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48395 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48396 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48402 (SYSCALL_ERROR_HANDLER): Likewise.
48403 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48404 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48406 (SYSCALL_ERROR_HANDLER): Likewise.
48407
c80098a9
DM
48408 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48409 (HAVE_GCC_GOTDATA): New.
48410 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48411 relocation support in both binutils and gcc.
48412 * sysdeps/sparc/elf/configure: Regenerate.
48413
3a2545a0
DM
48414 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48415 * sysdeps/sparc/sparc32/elf/configure: Delete.
48416 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48417 * sysdeps/sparc/sparc64/elf/configure: Delete.
48418 * sysdeps/sparc/elf/configure.in: New file.
48419 * sysdeps/sparc/elf/configure: Generate.
48420
7a8b71c3
DM
48421 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48422 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48423 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48424 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48425 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48426
f1e86fca
JM
484272012-02-21 Joseph Myers <joseph@codesourcery.com>
48428
48429 * manual/install.texi: Do not mention specific glibc version
48430 numbers.
48431 * manual/libc.texinfo (VERSION, UPDATED): Update.
48432 (@copying): Use @copyright{} and range of years.
48433
0e7dfaef
JM
484342012-02-21 Joseph Myers <joseph@codesourcery.com>
48435
48436 [BZ #13695]
48437 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48438 [crti.S not in sysdirs] (generated): Do not append.
48439 [crti.S not in sysdirs] (omit-deps): Likewise.
48440 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48441 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48442 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48443 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48444 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48445 Likewise.
48446 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48447 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48448 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48449 * csu/defs.awk: Remove file.
48450 * sysdeps/generic/initfini.c: Likewise.
48451 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48452 variable.
48453 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48454 Likewise.
48455
599af3ca
JM
484562012-02-20 Joseph Myers <joseph@codesourcery.com>
48457
48458 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48459 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48463 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48464 <bits/epoll.h>.
48465 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48466 (__EPOLL_PACKED): Define to empty if not defined by
48467 <bits/epoll.h>.
48468 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48470 bits/epoll.h.
48471
0e499750
JM
484722012-02-20 Joseph Myers <joseph@codesourcery.com>
48473
48474 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48475 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48476 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48478 <bits/timerfd.h>.
48479 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48481 bits/timerfd.h.
48482
5ad91f6e
JM
484832012-02-20 Joseph Myers <joseph@codesourcery.com>
48484
48485 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48486 in C locale.
48487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48488 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48491
06b99b02
AJ
484922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48493
48494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48495 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48496
7638c0fd
AS
484972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48498
48499 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48500 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48501 defined.
48502 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48503 Likewise.
48504 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48505 entry for 2.16.
48506
92221550
AJ
485072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48508
48509 * math/w_acos.c: Use non-signaling floating-point comparisons.
48510 * math/w_acosf.c: Likewise.
48511 * math/w_acosh.c: Likewise.
48512 * math/w_acoshf.c: Likewise.
48513 * math/w_acoshl.c: Likewise.
48514 * math/w_acosl.c: Likewise.
48515 * math/w_asin.c: Likewise.
48516 * math/w_asinf.c: Likewise.
48517 * math/w_asinl.c: Likewise.
48518 * math/w_atanh.c: Likewise.
48519 * math/w_atanhf.c: Likewise.
48520 * math/w_atanhl.c: Likewise.
48521 * math/w_exp2.c: Likewise.
48522 * math/w_exp2f.c: Likewise.
48523 * math/w_exp2l.c: Likewise.
48524 * math/w_j0.c: Likewise.
48525 * math/w_j0f.c: Likewise.
48526 * math/w_j0l.c: Likewise.
48527 * math/w_j1.c: Likewise.
48528 * math/w_j1f.c: Likewise.
48529 * math/w_j1l.c: Likewise.
48530 * math/w_jn.c: Likewise.
48531 * math/w_jnf.c: Likewise.
48532 * math/w_log.c: Likewise.
48533 * math/w_log10.c: Likewise.
48534 * math/w_log10f.c: Likewise.
48535 * math/w_log10l.c: Likewise.
48536 * math/w_log2.c: Likewise.
48537 * math/w_log2f.c: Likewise.
48538 * math/w_log2l.c: Likewise.
48539 * math/w_logf.c: Likewise.
48540 * math/w_logl.c: Likewise.
48541 * math/w_sqrt.c: Likewise.
48542 * math/w_sqrtf.c: Likewise.
48543 * math/w_sqrtl.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48547 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48548 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48549
ebaf36eb
JM
485502012-02-19 Joseph Myers <joseph@codesourcery.com>
48551
48552 [BZ #9739]
48553 * manual/string.texi (strnlen): Use correct parameter name in
48554 equivalent expression.
48555
71c254a6
JM
485562012-02-19 Joseph Myers <joseph@codesourcery.com>
48557
48558 [BZ #11174]
48559 * manual/users.texi (seteuid): Consistently use neweuid for
48560 argument name.
48561
16d2c631
JM
485622012-02-19 Joseph Myers <joseph@codesourcery.com>
48563
48564 [BZ #13704]
48565 * manual/nss.texi (Services in the NSS configuration): Correct
48566 list of services in example configuration file.
48567
cd837b09
NB
485682012-02-19 Nick Bowler <nbowler@draconx.ca>
48569
48570 [BZ #11322]
48571 * manual/arith.texi: Remove statements about negative zero
48572 behaving identically to zero.
48573
02c4bbad
JM
485742012-02-18 Joseph Myers <joseph@codesourcery.com>
48575
48576 [BZ #5993]
48577 * manual/install.texi: Do not document upgrading from libc5.
48578
366842e7
JM
485792012-02-18 Joseph Myers <joseph@codesourcery.com>
48580
48581 [BZ #4596]
48582 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48583
dd54084d
DM
485842012-02-18 David S. Miller <davem@davemloft.net>
48585
48586 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48587 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48588 %o7 across the call.
48589 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48590 instead.
48591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48592 SETUP_PIC_REG_LEAF.
48593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48594 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48595 * sysdeps/sparc/crtn.S: Likewise.
48596
2bcc53a3
UD
485972012-02-17 Ulrich Drepper <drepper@gmail.com>
48598
48599 * aout/Makefile: Remove.
48600
09c093b5
RK
486012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48602
48603 [BZ #13058]
48604 * manual/examples/argp-ex1.c (main): Format definition in GNU
48605 style.
48606 * manual/examples/argp-ex2.c (main): Likewise.
48607 * manual/examples/argp-ex3.c (main): Likewise.
48608 * manual/examples/argp-ex4.c (main): Likewise.
48609 * manual/examples/longopt.c (main): Use new-style prototype
48610 definition.
48611 * manual/examples/strncat.c (main): Specify return type and use
48612 (void) for arguments.
48613 * manual/examples/subopt.c (main): Use char **argv argument.
48614
2ee633a2
JM
486152012-02-17 Joseph Myers <joseph@codesourcery.com>
48616
48617 [BZ #5077]
48618 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48619 rounding modes.
48620
0520adde
FB
486212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48622
48623 [BZ #6907]
48624 * manual/string.texi (strchr): Change when strchrnul is
48625 recommended.
48626
3f4081cd
DGM
486272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48628
48629 [BZ #174]
48630 * manual/locale.texi (setlocale): Document LOCPATH.
48631
d1b10e78
JM
486322012-02-17 Joseph Myers <joseph@codesourcery.com>
48633
48634 [BZ #10210]
48635 * manual/process.texi (execle): Move @dots{} before last argument.
48636
79c6869c
PB
486372012-02-17 Paul Bolle <pebolle@tiscali.nl>
48638
48639 [BZ #12047]
48640 * manual/charset.texi (Generic Charset Conversion): Fix typo
48641 (LC_TYPE -> LC_CTYPE).
48642
cc6e48bc
NB
486432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48644
48645 [BZ #5805]
48646 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48647 (scalbnf): Likewise.
48648 (scalbnl): Likewise.
48649 (scalbln): Likewise.
48650 (scalblnf): Likewise.
48651 (scalblnl): Likewise.
48652 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48653 (vwarnx): Likewise.
48654 (verr): Likewise.
48655 (verrx): Likewise.
48656 * manual/filesys.texi (telldir): Use braces around return type.
48657 * manual/llio.texi (mmap): Add space after comma.
48658 (mmap64): Likewise.
48659 * manual/math.texi (jn): Use @var{} on parameter names.
48660 (jnf): Likewise.
48661 (jnl): Likewise.
48662 (yn): Likewise.
48663 (ynf): Likewise.
48664 (ynl): Likewise.
48665 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48666 line.
48667 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48668 "...".
48669 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48670 (sched_get_priority_max): Likewise.
48671 * manual/signal.texi (sigvec): Add space after comma.
48672 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48673 names.
48674 (if_indextoname): Likewise.
48675 (if_freenameindex): Likewise.
48676 (sendto): Use ',' instead of '.' in prototype.
48677 * manual/startup.texi (syscall): Use @dots{} instead of literal
48678 "...".
48679 * manual/stdio.texi (__fpending): Separate initial words of
48680 paragraph from @deftypefun line.
48681 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48682 "...".
48683 (vsyslog): Use @var{} on parameter names.
48684 * manual/terminal.texi (stty): Use @var{} on parameter names.
48685 * manual/users.texi (getutmp): Use @var{} on parameter names.
48686 (getutmpx): Likewise.
48687
5b23062f
JM
486882012-02-17 Joseph Myers <joseph@codesourcery.com>
48689
48690 [BZ #6884]
48691 * manual/stdio.texi (fopen): Fix typos in description of
48692 ",ccs=STRING".
48693
8dee4833
AJ
486942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48695
48696 [BZ #4026]
48697 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48698 get clock_id definition.
48699
9078ce93
TS
487002012-02-17 Thomas Schwinge <thomas@schwinge.name>
48701
48702 [BZ #4822]
48703 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48704 (madvise): Cast every argument to void on its own.
48705
3835c55f
JM
487062012-02-17 Joseph Myers <joseph@codesourcery.com>
48707
48708 [BZ #9902]
48709 * manual/startup.texi (Exit Status): Fix typo.
48710
35c47e37
JM
487112012-02-17 Joseph Myers <joseph@codesourcery.com>
48712
48713 [BZ #10140]
48714 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48715 * manual/examples/argp-ex2.c: Likewise.
48716 * manual/examples/argp-ex3.c: Likewise.
48717
e3b69ca7
RH
487182012-02-16 Richard Henderson <rth@redhat.com>
48719
48720 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48721 * sysdeps/s390/s390-32/initfini.c: Remove.
48722 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48723 * sysdeps/s390/s390-64/initfini.c: Remove.
48724
df83af67
KK
487252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48726
48727 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48728 compiler output for sysdeps/generic/initfini.c.
48729 * sysdeps/sh/elf/initfini.c: Remove file.
48730
f63f3380
DM
487312012-02-16 David S. Miller <davem@davemloft.net>
48732
fb59b3a4
DM
48733 [BZ #11494]
48734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48735
f63f3380
DM
48736 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48737 * sysdeps/sparc/crti.S: New file.
48738 * sysdeps/sparc/crtn.S: New file.
48739 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48740 * sysdeps/sparc/sparc64/Makefile: Likewise.
48741
df6a4a4a
MF
487422012-02-15 Mike Frysinger <vapier@gentoo.org>
48743
6dd8f3dc 48744 [BZ #3335]
df6a4a4a
MF
48745 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48746
1cac7236
RM
487472012-02-15 Roland McGrath <roland@hack.frob.com>
48748
d2c736f8
RM
48749 [BZ #4822]
48750 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48751
1cac7236
RM
48752 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48753 (write, read, close): Likewise.
48754 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48755
8e475601
JM
487562012-02-15 Joseph Myers <joseph@codesourcery.com>
48757
48758 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48759 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48760 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48761 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48762 <bits/signalfd.h>.
48763 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48765 bits/signalfd.h.
48766
ed656b40
MP
487672012-02-14 Marek Polacek <polacek@redhat.com>
48768
48769 * sysdeps/x86_64/crti.S: New file.
48770 * sysdeps/x86_64/crtn.S: New file.
48771 * sysdeps/x86_64/elf/initfini.c: Remove file.
48772
2a979d3a
JM
487732012-02-13 Joseph Myers <joseph@codesourcery.com>
48774
48775 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48776 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48777 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48778 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48779 <bits/inotify.h>.
48780 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48782 bits/inotify.h.
48783
2a418ac3
JM
487842012-02-13 Joseph Myers <joseph@codesourcery.com>
48785
48786 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48787 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48788 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48789 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48790 <bits/eventfd.h>.
48791 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48793 bits/eventfd.h.
48794
fb779be7
TS
487952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48796
e19e83c5
RM
48797 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48798 __feraiseexcept instead of feraiseexcept.
7c35ffed 48799
fb779be7
TS
48800 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48801 nanosleep invocations.
48802 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48803 strings, and add error checking for a nanosleep invocations.
48804
59ba27a6
PE
488052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48806
48807 Replace FSF snail mail address with URLs, as per GNU coding standards.
48808 Most of the snail mail addresses were wrong anyway, and omitting
48809 them makes the source code easier to maintain. Almost all of the
48810 changes are to license notices and to locale LC_IDENTIFICATION
48811 addresses, except for this one:
48812 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48813 not its snail mail address.
48814
57b957eb
RH
488152012-02-09 Richard Henderson <rth@twiddle.net>
48816
af850b1c
RH
48817 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48818 of kernel-features.h.
48819
57b957eb
RH
48820 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48821
6b73181a
MP
488222012-02-08 Marek Polacek <polacek@redhat.com>
48823
48824 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48825 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48826 * sysdeps/gnu/_G_config.h: Likewise.
48827 * sysdeps/generic/_G_config.h: Likewise.
48828
26ecc33a
AS
488292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48830
6c6dbc63
AS
48831 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48832 tests.
48833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48834
e216c012
AS
48835 * sysdeps/powerpc/powerpc32/crti.S: New file.
48836 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48837 * sysdeps/powerpc/powerpc64/crti.S: New file.
48838 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48839
26ecc33a
AS
48840 * Makeconfig (have-initfini): Don't set.
48841 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48842 * configure.in (nopic_initfini): Don't substitute.
48843 * config.h.in (HAVE_INITFINI): Don't #undef.
48844 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48845 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48846
3add8e13
JM
488472012-02-08 Joseph Myers <joseph@codesourcery.com>
48848
48849 Support crti.S and crtn.S provided directly by architectures.
48850 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48851 [crti.S in sysdirs] (omit-deps): Likewise.
48852 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48853 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48854 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48855 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48856 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48857 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48858 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48859 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48860 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48861 compiler output for sysdeps/generic/initfini.c.
48862 * sysdeps/i386/elf/Makefile: Remove file.
48863 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48864
a22f12b4
MP
488652012-02-07 Marek Polacek <polacek@redhat.com>
48866
48867 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48868 * sysdeps/gnu/_G_config.h: Likewise.
48869 * sysdeps/mach/hurd/_G_config.h: Likewise.
48870
148cf100
MP
488712012-02-07 Marek Polacek <polacek@redhat.com>
48872
48873 * math/Makefile (tests): Add tst-CMPLX2.
48874 * math/tst-CMPLX2.c: New file.
48875
cfdc0dd7
AS
488762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48877
84ba42c4
AS
48878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48879
cfdc0dd7
AS
48880 * math/libm-test.inc (jn_test): Add missing L suffix.
48881
622c86f4
MP
488822012-02-06 Marek Polacek <polacek@redhat.com>
48883
48884 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48885 * sysdeps/i386/fpu/e_powf.S: Likewise.
48886 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48887 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48888 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48889 * sysdeps/i386/fpu/e_pow.S: Likewise.
48890 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48891 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48892 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48893 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48894 * sysdeps/i386/fpu/e_log2.S: Likewise.
48895 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48896 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48897 * sysdeps/i386/fpu/e_powl.S: Likewise.
48898 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48901 * sysdeps/i386/fpu/e_logl.S: Likewise.
48902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48903 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48908 * sysdeps/i386/fpu/e_log.S: Likewise.
48909 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48911 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48912 * sysdeps/i386/fpu/e_logf.S: Likewise.
48913 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48914 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48915 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48917 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48918 * sysdeps/i386/fpu/e_log10.S: Likewise.
48919 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48920 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48921 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48922 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48925 * sysdeps/i386/asm-syntax.h: Likewise.
48926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48929 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48930 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48931 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48932 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48933 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48934 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48935 * sysdeps/powerpc/sysdep.h: Likewise.
48936 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48937 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48938
d4a54ac6
JM
489392012-02-06 Joseph Myers <joseph@codesourcery.com>
48940
48941 [BZ #411]
48942 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48943
314054ea
JM
489442012-02-06 Joseph Myers <joseph@codesourcery.com>
48945
48946 * sysdeps/i386/sysdep.h: Include <features.h>.
48947 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48948 version.
48949
d8e0ca50
JM
489502012-02-05 Joseph Myers <joseph@codesourcery.com>
48951
48952 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48953 Define.
48954 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48955 LOAD_PIC_REG_STR.
48956
b1da7dd9
JM
489572012-02-03 Joseph Myers <joseph@codesourcery.com>
48958
48959 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48960 (SETUP_PIC_REG): Use GET_PC_THUNK.
48961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48962 macro.
48963
9a1d9254
JM
489642012-02-03 Joseph Myers <joseph@codesourcery.com>
48965
48966 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48967 for non-PIC compilation.
48968 (SETUP_PIC_REG): Add .p2align directive.
48969 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48970 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48971 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48972 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48975 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48983 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48984 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48985 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48986 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48987 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48988 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48991 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48992 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48995 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48996 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49002 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49003 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49004 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49005 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49007 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49008 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49009 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49010
65dc3b75
JM
490112012-02-03 Joseph Myers <joseph@codesourcery.com>
49012
49013 * math/tst-CMPLX.c: Include <stdio.h>.
49014
d55bf177
JM
490152012-01-31 Joseph Myers <joseph@codesourcery.com>
49016
49017 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49018 float.
49019 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49020 * sysdeps/sparc/bits/mathdef.h: Likewise.
49021
69db4f8f
MP
490222012-01-31 Marek Polacek <polacek@redhat.com>
49023
49024 * libio/libio.h: Don't define _PARAMS.
49025 * locale/programs/config.h: Don't define PARAMS.
49026 * stdlib/strtol_l.c: Likewise.
49027 (__strtol_l): Remove PARAMS from the prototype.
49028
41b81892
UD
490292012-01-31 Ulrich Drepper <drepper@gmail.com>
49030
3b49edc0
UD
49031 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49032 names. Just use the correct names. Remove unnecessary wrapper
49033 functions.
49034 * malloc/arena.c: Likewise.
49035 * malloc/hooks.c: Likewise.
49036
41b81892
UD
49037 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49038 ARENA_TEST says not to. Simplify test for creation of a new arena.
49039 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49040
27a25b6e
UD
490412012-01-30 Ulrich Drepper <drepper@gmail.com>
49042
49043 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49044 into tail calls.
49045 (update_get_addr): New function.
49046 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49047 GET_ADDR_MODULE parameter.
49048
c8a89e7d
JM
490492012-01-30 Joseph Myers <joseph@codesourcery.com>
49050
49051 * crypt/cert.c: Remove __STDC__ conditionals.
49052 * crypt/crypt-entry.c: Likewise.
49053 * crypt/crypt_util.c: Likewise.
49054 * libio/filedoalloc.c: Likewise.
49055 * libio/fileops.c: Likewise.
49056 * libio/genops.c: Likewise.
49057 * libio/iofclose.c: Likewise.
49058 * libio/iofdopen.c: Likewise.
49059 * libio/iofopen.c: Likewise.
49060 * libio/iofopen64.c: Likewise.
49061 * libio/iogetdelim.c: Likewise.
49062 * libio/iopopen.c: Likewise.
49063 * libio/obprintf.c: Likewise.
49064 * libio/oldfileops.c: Likewise.
49065 * libio/oldiofclose.c: Likewise.
49066 * libio/oldiofdopen.c: Likewise.
49067 * libio/oldiofopen.c: Likewise.
49068 * libio/oldiopopen.c: Likewise.
49069 * libio/wfiledoalloc.c: Likewise.
49070 * libio/wgenops.c: Likewise.
49071 * locale/programs/xmalloc.c: Likewise.
49072 * misc/syslog.c: Likewise.
49073 * stdio-common/xbug.c: Likewise.
49074 * string/memchr.c: Likewise.
49075 * string/memcmp.c: Likewise.
49076 * string/memrchr.c: Likewise.
49077 * string/rawmemchr.c: Likewise.
49078 * sysdeps/posix/getcwd.c: Likewise.
49079 * time/strftime_l.c: Likewise.
49080
3b100462
JM
490812012-01-30 Joseph Myers <joseph@codesourcery.com>
49082
49083 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49084 * config.make.in (config-cflags-sse2avx): Define.
49085 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49086 Fix typo.
49087
607998af
CM
490882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49089
49090 * scripts/config.guess: Update from upstream config git repository.
49091 * scripts/config.sub: Likewise.
49092
3601428f
CM
490932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49094
3ac8b282
CM
49095 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49096 (EM_NUM): Update.
49097 (R_TILEPRO_*, R_TILEGX_*): New macros.
49098
e034841e
CM
49099 * scripts/firstversions.awk: Fix bug in version range handling.
49100
540d7568
CM
49101 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49102
3601428f
CM
49103 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49104
463de862
CM
49105 * include/sys/epoll.h: New file.
49106 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49107 libc_hidden_def.
49108
73139a76
UD
491092012-01-28 Ulrich Drepper <drepper@gmail.com>
49110
96bc5b45
UD
49111 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49112 Avoid unnecessary __WORDSIZE == 64 test.
49113 (fmaxf): Use VEX format if possible.
49114 (fmax): Likewise.
49115 (fminf): Likewise.
49116 (fmin): Likewise.
49117
56f6f6a2
UD
49118 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49119 * math/math_private.h: Remove libc_fegetround* and
49120 libc_fesetround*.
49121 * sysdeps/i386/configure.in: Check for -msse2avx.
49122 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49123 also if SSE2AVX is defined.
49124 Remove libc_fegetround* and libc_fesetround*.
49125 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49126 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49127 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49128 of HAS_YMM_USABLE.
49129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49130 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49134
73139a76
UD
49135 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49136
d73f93a4
AZ
491372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49138
49139 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49140 size is not set.
49141 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49142
6ee65ed6
UD
491432012-01-27 Ulrich Drepper <drepper@gmail.com>
49144
49145 [BZ #13618]
49146 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49147 relocation.
49148 * Makeconfig (libm): Define.
49149 * elf/Makefile: Add rules to build and run tst-relsort1.
49150 * elf/tst-relsort1.c: New file.
49151 * elf/tst-relsort1mod1.c: New file.
49152 * elf/tst-relsort1mod2.c: New file.
49153
8db21882
JM
491542012-01-27 Joseph Myers <joseph@codesourcery.com>
49155
49156 * math/s_ldexp.c: Remove __STDC__ conditionals.
49157 * math/s_ldexpf.c: Likewise.
49158 * math/s_ldexpl.c: Likewise.
49159 * math/s_nextafter.c: Likewise.
49160 * math/s_nexttowardf.c: Likewise.
49161 * math/s_significand.c: Likewise.
49162 * math/s_significandf.c: Likewise.
49163 * math/s_significandl.c: Likewise.
49164 * math/w_jnl.c: Likewise.
49165 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49166 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49167 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49168 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49169 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49171 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49174 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49175 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49178 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49182 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49187 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49189 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49190 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49191 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49195 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49196 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49197 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49200 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49201 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49202 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49203 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49205 * sysdeps/ieee754/k_standard.c: Likewise.
49206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49211 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49214 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49215 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49218 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49220 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49222 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49225 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49231 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49242 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49245 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49246 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49248 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49251 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49255 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49262 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49276 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49281 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49285 * sysdeps/ieee754/s_matherr.c: Likewise.
49286 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49287 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49290
965a54a4
JM
492912012-01-26 Joseph Myers <joseph@codesourcery.com>
49292
49293 * crypt/md5.h: Remove __STDC__ conditionals.
49294 * libio/libioP.h: Likewise.
49295 * locale/programs/config.h: Likewise.
49296 * sysdeps/generic/sysdep.h: Likewise.
49297 * sysdeps/i386/asm-syntax.h: Likewise.
49298 * sysdeps/s390/asm-syntax.h: Likewise.
49299 * sysdeps/unix/sysdep.h: Likewise.
49300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49302
7071ad79
JM
493032012-01-26 Joseph Myers <joseph@codesourcery.com>
49304
49305 * libio/libio.h: Remove __STDC__ conditionals.
49306 * malloc/obstack.h: Likewise.
49307 * math/complex.h: Likewise.
49308 * math/math.h: Likewise.
49309 * sysdeps/generic/_G_config.h: Likewise.
49310 * sysdeps/gnu/_G_config.h: Likewise.
49311 * sysdeps/mach/hurd/_G_config.h: Likewise.
49312 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49313 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49314 * sysdeps/sparc/bits/mathdef.h: Likewise.
49315
afc5ed09
UD
493162012-01-26 Ulrich Drepper <drepper@gmail.com>
49317
49318 [BZ #13583]
49319 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49320 Clean up HAS_* macros.
afc5ed09 49321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49322 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49323 possible.
49324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49325 HAS_AVX.
49326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49331
bdb6de1d
JM
493322012-01-25 Joseph Myers <joseph@codesourcery.com>
49333
49334 * elf/tst-unique3.cc (gets): Remove declaration.
49335 * elf/tst-unique3lib.cc (gets): Likewise.
49336 * elf/tst-unique3lib2.cc (gets): Likewise.
49337 * elf/tst-unique4.cc (gets): Likewise.
49338
b15549e6
UD
493392012-01-24 Ulrich Drepper <drepper@gmail.com>
49340
49341 * include/stdio.h: Add C++ protection. Add gets declarations and
49342 definitions.
49343 * debug/tst-chk1.c: Don't declare gets here.
49344 * stdio-common/tst-gets.c: Likewise.
49345
a037381f
JM
493462012-01-24 Joseph Myers <joseph@codesourcery.com>
49347
49348 * posix/glob: Remove directory.
49349
f1d4aa75
JM
493502012-01-24 Joseph Myers <joseph@codesourcery.com>
49351
49352 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49353
81c0c964
PT
493542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49355
49356 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49357 of the non-standard EPFNOSUPPORT.
49358
0ea698ae
ST
493592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49360
49361 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49362 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49363 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49364
d220b117
UD
493652012-01-21 Ulrich Drepper <drepper@gmail.com>
49366
49367 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49368
3e1aa84e
UD
493692012-01-20 Ulrich Drepper <drepper@gmail.com>
49370
49371 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49372 transient errors.
49373 * nscd/grpcache.c (cache_addgr): Likewise.
49374 * nscd/hstcache.c (cache_addhst): Likewise.
49375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49376 * nscd/pwdcache.c (cache_addpw): Likewise.
49377 * nscd/servicescache.c (cache_addserv): Likewise.
49378
400aa020
UD
493792012-01-16 Ulrich Drepper <drepper@gmail.com>
49380
d77e7869
UD
49381 * malloc/malloc.c: Various cleanups.
49382 * malloc/hooks.c: Likewise.
49383
400aa020
UD
49384 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49385 * stdlib/bug-fmtmsg1.c: New file.
49386
49387 * stdlib/fmtmsg.c (init): Add missing unlock.
49388 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49389
e0a309cf
MP
493902012-01-12 Marek Polacek <polacek@redhat.com>
49391
49392 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49393 and _GNU_SOURCE.
49394
929d11c7
WS
493952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49396
49397 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49398 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49399 macro to ensure uniqueness of label name.
49400 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49401 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49402
41d0e869
UD
494032012-01-11 Ulrich Drepper <drepper@gmail.com>
49404
0cc5ed3b
UD
49405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49406
41d0e869
UD
49407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49408 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49411
a47a831a
UD
494122012-01-10 Ulrich Drepper <drepper@gmail.com>
49413
daa891c0
UD
49414 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49415
49416 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49417 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49419
e58ef0f2
UD
49420 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49421
a47a831a 49422 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49423 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49426
49427 * math/bits/math-finite.h: Add ldexp support.
49428
a0bfc9c7
MP
494292012-01-10 Marek Polacek <polacek@redhat.com>
49430
49431 * locale/programs/localedef.h (show_archive_content): Add noreturn
49432 attribute.
49433
d6e97a1d
UD
494342012-01-09 Ulrich Drepper <drepper@gmail.com>
49435
49436 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49437
d5835c26
UD
494382012-01-08 Ulrich Drepper <drepper@gmail.com>
49439
e5f484c6
UD
49440 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49441
d5835c26
UD
49442 * io/Makefile (headers): Add bits/poll2.h.
49443
d1f741e9
WS
494442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49445
49446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49447 typo #include statement.
49448
ec09c1c4
UD
494492012-01-08 Ulrich Drepper <drepper@gmail.com>
49450
49451 * include/sys/cdefs.h: Define __attribute_alloc_size.
49452 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49453 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49454 * elf/pldd.c: Likewise.
49455 * iconv/iconv_charmap.c: Likewise.
49456 * iconv/iconvconfig.c: Likewise.
49457 * iconv/strtab.c: Likewise.
49458 * locale/programs/locale.c: Likewise.
49459 * locale/programs/localedef.h: Likewise.
49460 * locale/programs/simple-hash.c: Likewise.
49461 * nscd/nscd.h: Likewise.
49462 * nss/makedb.c: Likewise.
49463 * sysdeps/generic/ldconfig.h: Likewise.
49464 * locale/programs/localedef.c: Remove xmalloc prototype.
49465 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49466
20b38e03
PP
494672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49468
49469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49470 appropriate.
49471
a0da5fe1
UD
494722012-01-08 Ulrich Drepper <drepper@gmail.com>
49473
1d5a644a 49474 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49475 * math/tst-CMPLX.c: New file.
1d5a644a 49476
8784a6db
UD
49477 * math/complex.h (CMPLXL): Fix typo.
49478
d9a216c0
UD
49479 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49480 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49481 GLIBC_2.16.
49482 * debug/tst-chk1.c: Add poll and ppoll tests.
49483 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49484 * include/sys/poll.h: Add hidden proto for ppoll.
49485 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49486 * sysdeps/mach/hurd/ppoll.c: Likewise.
49487 * io/ppoll.c: Likewise.
49488 * debug/poll_chk.c: New file.
49489 * debug/ppoll_chk.c: New file.
49490 * include/bits/poll2.h: New file.
49491 * io/bits/poll2.h: New file.
49492
ac097f5c
UD
49493 [BZ #1350]
49494 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49495
2119dcfa
UD
49496 * configure.in: static is always set to yes. Remove.
49497 * config.make.in: Don't set build-static.
49498 * Makeconfig: Remove use of build-static.
49499 * dlfcn/Makefile: Likewise.
49500 * elf/Makefile: Likewise.
49501 * math/Makefile: Likewise.
49502 * misc/Makefile: Likewise.
49503 * nptl/Makefile: Likewise.
49504 * sysdeps/mach/hurd/Makefile: Likewise.
49505
121766a9
UD
49506 * configure.in: PWD_P is not used anymore.
49507 * config.make.in: Remove PWD_P entry.
49508
51a1d39c 49509 * configure.in: Remove last remnants of RANLIB.
8720d066 49510 No need to check for signed size_t anymore.
215f4bdc
UD
49511 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49512 and IA-64.
3857022a 49513 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49514 * aclocal.m4: Likewise.
49515
d3ed7225
UD
49516 * wcsmbs/mbrtoc16.c: Implement using towc function.
49517 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49518 * wcsmbs/wcsmbsload.c: Likewise.
49519 * iconv/gconv_simple.c: Likewise.
49520 * iconv/gconv_int.h: Likewise.
49521 * iconv/gconv_builtin.h: Likewise.
49522 * iconv/iconv_prog.c: Remove CHAR16 handling.
49523
49524 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49525
49526 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49527
a0da5fe1
UD
49528 * configure.in: Remove --with-elf and --enable-bounded options.
49529 Dont set base_machine for ia64. More non-ELF conditions removed.
49530 Remove testing and setting of leading underscore information.
49531 * config.make.in (build-bounded): Set to no.
49532 * config.h.in: Remove NO_UNDERSCORES entry.
49533 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49534 them.
49535 * csu/start.c: Remove !NO_UNDERSCORE code.
49536 * locale/localeinfo.h: Likewise.
49537 * sysdeps/generic/machine-gmon.h: Likewise.
49538 * sysdeps/generic/sysdep.h: Likewise.
49539 * sysdeps/i386/sysdep.h: Likewise.
49540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49541 * sysdeps/mach/sysdep.h: Likewise.
49542 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49544 * sysdeps/sh/sysdep.h: Likewise.
49545 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49546 * sysdeps/unix/i386/sysdep.S: Likewise.
49547 * sysdeps/unix/sparc/start.c: Likewise.
49548 * sysdeps/unix/sparc/sysdep.S: Likewise.
49549 * sysdeps/unix/sparc/sysdep.h: Likewise.
49550 * sysdeps/unix/start.c: Likewise.
49551 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49552 * sysdeps/x86_64/sysdep.h: Likewise.
49553
df78418a
UD
495542012-01-07 Ulrich Drepper <drepper@gmail.com>
49555
a784e502
UD
49556 [BZ #13553]
49557 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49558 for non-gcc.
49559 * argp/argp-fmtstream.h: Use const instead __const.
49560 * argp/argp.h: Likewise.
49561 * assert/assert.h: Likewise.
49562 * bits/fenv.h: Likewise.
49563 * bits/sched.h: Likewise.
49564 * bits/sigset.h: Likewise.
49565 * bits/sigthread.h: Likewise.
49566 * catgets/nl_types.h: Likewise.
49567 * conform/data/pthread.h-data: Likewise.
49568 * crypt/crypt-private.h: Likewise.
49569 * crypt/crypt.h: Likewise.
49570 * crypt/crypt_util.c: Likewise.
49571 * ctype/ctype.h: Likewise.
49572 * debug/execinfo.h: Likewise.
49573 * debug/mbsnrtowcs_chk.c: Likewise.
49574 * debug/mbsrtowcs_chk.c: Likewise.
49575 * debug/wcsnrtombs_chk.c: Likewise.
49576 * debug/wcsrtombs_chk.c: Likewise.
49577 * debug/wcstombs_chk.c: Likewise.
49578 * dirent/dirent.h: Likewise.
49579 * dlfcn/dlfcn.h: Likewise.
49580 * elf/neededtest4.c: Likewise.
49581 * grp/grp.h: Likewise.
49582 * gshadow/gshadow.h: Likewise.
49583 * iconv/gconv.h: Likewise.
49584 * iconv/gconv_int.h: Likewise.
49585 * iconv/gconv_simple.c: Likewise.
49586 * iconv/iconv.h: Likewise.
49587 * iconv/loop.c: Likewise.
49588 * iconv/skeleton.c: Likewise.
49589 * include/aio.h: Likewise.
49590 * include/aliases.h: Likewise.
49591 * include/argz.h: Likewise.
49592 * include/arpa/inet.h: Likewise.
49593 * include/assert.h: Likewise.
49594 * include/dirent.h: Likewise.
49595 * include/dlfcn.h: Likewise.
49596 * include/execinfo.h: Likewise.
49597 * include/fcntl.h: Likewise.
49598 * include/fenv.h: Likewise.
49599 * include/glob.h: Likewise.
49600 * include/grp.h: Likewise.
49601 * include/libintl.h: Likewise.
49602 * include/mntent.h: Likewise.
49603 * include/netdb.h: Likewise.
49604 * include/pwd.h: Likewise.
49605 * include/rpc/netdb.h: Likewise.
49606 * include/sched.h: Likewise.
49607 * include/search.h: Likewise.
49608 * include/shadow.h: Likewise.
49609 * include/signal.h: Likewise.
49610 * include/stdio.h: Likewise.
49611 * include/stdlib.h: Likewise.
49612 * include/string.h: Likewise.
49613 * include/sys/socket.h: Likewise.
49614 * include/sys/stat.h: Likewise.
49615 * include/sys/statfs.h: Likewise.
49616 * include/sys/statvfs.h: Likewise.
49617 * include/sys/syslog.h: Likewise.
49618 * include/sys/time.h: Likewise.
49619 * include/sys/uio.h: Likewise.
49620 * include/time.h: Likewise.
49621 * include/unistd.h: Likewise.
49622 * include/utmp.h: Likewise.
49623 * include/wchar.h: Likewise.
49624 * include/wctype.h: Likewise.
49625 * inet/aliases.h: Likewise.
49626 * inet/arpa/inet.h: Likewise.
49627 * inet/netinet/ether.h: Likewise.
49628 * inet/netinet/in.h: Likewise.
49629 * intl/libintl.h: Likewise.
49630 * io/bits/fcntl2.h: Likewise.
49631 * io/fcntl.h: Likewise.
49632 * io/ftw.h: Likewise.
49633 * io/sys/poll.h: Likewise.
49634 * io/sys/stat.h: Likewise.
49635 * io/sys/statfs.h: Likewise.
49636 * io/sys/statvfs.h: Likewise.
49637 * io/utime.h: Likewise.
49638 * libio/bits/stdio.h: Likewise.
49639 * libio/bits/stdio2.h: Likewise.
49640 * libio/libio.h: Likewise.
49641 * libio/libioP.h: Likewise.
49642 * libio/stdio.h: Likewise.
49643 * locale/lc-ctype.c: Likewise.
49644 * locale/locale.h: Likewise.
49645 * login/utmp.h: Likewise.
49646 * malloc/arena.c: Likewise.
49647 * malloc/malloc.c: Likewise.
49648 * malloc/malloc.h: Likewise.
49649 * malloc/mcheck.c: Likewise.
49650 * malloc/mtrace.c: Likewise.
49651 * math/bits/mathcalls.h: Likewise.
49652 * math/fenv.h: Likewise.
49653 * math/math_private.h: Likewise.
49654 * misc/bits/error.h: Likewise.
49655 * misc/bits/syslog.h: Likewise.
49656 * misc/err.h: Likewise.
49657 * misc/error.h: Likewise.
49658 * misc/fstab.h: Likewise.
49659 * misc/mntent.h: Likewise.
49660 * misc/regexp.h: Likewise.
49661 * misc/search.h: Likewise.
49662 * misc/sgtty.h: Likewise.
49663 * misc/sys/mman.h: Likewise.
49664 * misc/sys/syslog.h: Likewise.
49665 * misc/sys/uio.h: Likewise.
49666 * misc/sys/xattr.h: Likewise.
49667 * misc/ttyent.h: Likewise.
49668 * nis/rpcsvc/ypclnt.h: Likewise.
49669 * nss/nss.h: Likewise.
49670 * posix/bits/unistd.h: Likewise.
49671 * posix/fnmatch.h: Likewise.
49672 * posix/glob.h: Likewise.
49673 * posix/sched.h: Likewise.
49674 * posix/spawn.h: Likewise.
49675 * posix/sys/wait.h: Likewise.
49676 * posix/unistd.h: Likewise.
49677 * posix/wordexp.h: Likewise.
49678 * pwd/pwd.h: Likewise.
49679 * resolv/netdb.h: Likewise.
49680 * resource/sys/resource.h: Likewise.
49681 * rt/aio.h: Likewise.
49682 * rt/bits/mqueue2.h: Likewise.
49683 * rt/mqueue.h: Likewise.
49684 * shadow/shadow.h: Likewise.
49685 * signal/signal.h: Likewise.
49686 * socket/send.c: Likewise.
49687 * socket/sendto.c: Likewise.
49688 * socket/sys/socket.h: Likewise.
49689 * stdio-common/printf.h: Likewise.
49690 * stdlib/bits/stdlib.h: Likewise.
49691 * stdlib/fmtmsg.h: Likewise.
49692 * stdlib/monetary.h: Likewise.
49693 * stdlib/stdlib.h: Likewise.
49694 * stdlib/ucontext.h: Likewise.
49695 * streams/stropts.h: Likewise.
49696 * string/argz.h: Likewise.
49697 * string/bits/string2.h: Likewise.
49698 * string/string.h: Likewise.
49699 * string/strings.h: Likewise.
49700 * sunrpc/rpc/auth.h: Likewise.
49701 * sunrpc/rpc/auth_des.h: Likewise.
49702 * sunrpc/rpc/clnt.h: Likewise.
49703 * sunrpc/rpc/netdb.h: Likewise.
49704 * sunrpc/rpc/pmap_clnt.h: Likewise.
49705 * sunrpc/rpc/xdr.h: Likewise.
49706 * sysdeps/generic/inttypes.h: Likewise.
49707 * sysdeps/generic/net/if.h: Likewise.
49708 * sysdeps/generic/sys/swap.h: Likewise.
49709 * sysdeps/gnu/net/if.h: Likewise.
49710 * sysdeps/gnu/utmpx.h: Likewise.
49711 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49712 * sysdeps/i386/i486/bits/string.h: Likewise.
49713 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49714 * sysdeps/s390/bits/string.h: Likewise.
49715 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49716 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49717 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49718 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49719 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49720 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49721 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49722 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49723 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49724 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49725 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49726 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49727 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49728 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49729 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49730 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49731 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49735 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49736 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49737 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49738 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49739 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49740 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49741 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49743 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49744 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49745 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49746 * sysvipc/sys/ipc.h: Likewise.
49747 * sysvipc/sys/msg.h: Likewise.
49748 * sysvipc/sys/sem.h: Likewise.
49749 * sysvipc/sys/shm.h: Likewise.
49750 * termios/termios.h: Likewise.
49751 * time/sys/time.h: Likewise.
49752 * time/time.h: Likewise.
49753 * wcsmbs/bits/wchar2.h: Likewise.
49754 * wcsmbs/uchar.h: Likewise.
49755 * wcsmbs/wchar.h: Likewise.
49756 * wctype/wctype.h: Likewise.
49757
0269750c
UD
49758 [BZ #13551]
49759 * Makeconfig: Remove all but ELF support including AIX support.
49760 * Makerules: Likewise.
49761 * config.h.in: Likewise.
49762 * config.make.in: Likewise.
49763 * configure: Likewise.
49764 * configure.in: Likewise.
49765 * csu/Makefile: Likewise.
49766 * csu/version.c: Likewise.
49767 * debug/Makefile: Likewise.
49768 * dlfcn/Makefile: Likewise.
49769 * elf/Makefile: Likewise.
49770 * extra-lib.mk: Likewise.
49771 * iconv/Makefile: Likewise.
49772 * include/libc-symbols.h: Likewise.
49773 * include/shlib-compat.h: Likewise.
49774 * resolv/Makefile: Likewise.
49775 * resolv/res_libc.c: Likewise.
49776 * rt/Makefile: Likewise.
49777 * sysdeps/i386/asm-syntax.h: Likewise.
49778 * sysdeps/i386/sysdep.h: Likewise.
49779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49780 * sysdeps/mach/sysdep.h: Likewise.
49781 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49782 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49783 * sysdeps/s390/asm-syntax.h: Likewise.
49784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49785 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49786 * sysdeps/sh/sysdep.h: Likewise.
49787 * sysdeps/unix/sparc/sysdep.h: Likewise.
49788 * sysdeps/wordsize-32/divdi3.c: Likewise.
49789 * sysdeps/x86_64/sysdep.h: Likewise.
49790
00bbd29b
UD
49791 * argp/Versions: Remove _argp_unlock_xxx.
49792
49793 [BZ #13559]
49794 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49795 * abilist/libBrokenLocale.abilist: Likewise.
49796 * abilist/libanl.abilist: Likewise.
49797 * abilist/libc.abilist: Likewise.
49798 * abilist/libcrypt.abilist: Likewise.
49799 * abilist/libdl.abilist: Likewise.
49800 * abilist/libm.abilist: Likewise.
49801 * abilist/libnsl.abilist: Likewise.
49802 * abilist/libpthread.abilist: Likewise.
49803 * abilist/libresolv.abilist: Likewise.
49804 * abilist/librt.abilist: Likewise.
49805 * abilist/libthread_db.abilist: Likewise.
49806 * abilist/libutil.abilist: Likewise.
49807 * abilist/libnss_db.abilist: New file.
49808
49809 * scripts/abilist.awk: Add support for indirect functions.
49810
a2693a0e
UD
49811 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49812
3f05895f
UD
49813 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49814
ecb6fb48
UD
49815 * shlib-versions: Remove entries for ports architectures.
49816
664f8cb9
UD
49817 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49818 files in ports.
49819 * elf/stackguard-macros.h: Remove support for IA-64.
49820 * elf/tst-auditmod1.c: Likewise.
49821 * sysdeps/generic/ldsodefs.h: Likewise.
49822
7ae81d88
UD
49823 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49824 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49825 configure files.
49826
bdeba135
UD
49827 [BZ #13552]
49828 * configure.in: Remove --enable-omitfp support.
49829 * FAQ.in: Adjust.
49830 * config.make.in: Likewise.
49831 * Makeconfig: Likewise.
49832 * manual/install.texi: Likewise.
49833
d75a0a62
UD
49834 In case anyone cares, the IA-64 architecture could move to ports.
49835 * sysdeps/ia64/*: Removed.
49836 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49837 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49838
dcc9756b
UD
49839 [BZ #13555]
49840 * configure.in: Remove entries for unsupported architectures.
49841
d3761ebc 49842 [BZ #13533]
9954432e
UD
49843 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49844 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49845 routines.
49846 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49847 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49848 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49849 fall back to using wcrtomb.
49850 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49851 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49852 renaming.
49853 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49854 * wcsmbs/tst-c16c32-1.c: New file.
49855
49856 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49857 local variable.
49858
c3a87236
UD
49859 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49860
28926a1b
UD
49861 * elf/tst-unique3.cc: Add explicit declaration of gets.
49862 * elf/tst-unique3lib.cc: Likewise.
49863 * elf/tst-unique3lib2.cc: Likewise.
49864 * elf/tst-unique4.cc: Likewise.
49865
df78418a
UD
49866 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49867
8ecd6b2a
JM
498682012-01-06 Joseph Myers <joseph@codesourcery.com>
49869
49870 [BZ #13566]
49871 * assert/assert.h (static_assert): Don't define for C++.
49872 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49873 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49874
9f115170
UD
498752012-01-03 Ulrich Drepper <drepper@gmail.com>
49876
5e0d0300
UD
49877 * iconv/loop.c (single loop): Fix assertion in storing of
49878 remaining bytes.
49879
9f115170
UD
49880 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49881
81fb02b0
UD
498822012-01-01 Ulrich Drepper <drepper@gmail.com>
49883
49884 * posix/getconf.c: Update copyright year.
49885 * nss/getent.c: Likewise.
a316c1f6 49886 * nss/makedb.c: Likewise.
81fb02b0
UD
49887 * iconv/iconvconfig.c: Likewise.
49888 * iconv/iconv_prog.c: Likewise.
49889 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49890 * elf/pldd.c: Likewise.
49891 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49892 * catgets/gencat.c: Likewise.
49893 * csu/version.c: Likewise.
49894 * elf/ldd.bash.in: Likewise.
49895 * elf/sprof.c (print_version): Likewise.
49896 * locale/programs/locale.c: Likewise.
49897 * locale/programs/localedef.c: Likewise.
a316c1f6 49898 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49899 * nscd/nscd.c (print_version): Likewise.
49900 * debug/xtrace.sh: Likewise.
49901 * malloc/memusage.sh: Likewise.
49902 * malloc/mtrace.pl: Likewise.
49903 * debug/catchsegv.sh: Likewise.
49904
2ba92745
JJ
499052011-12-30 Jakub Jelinek <jakub@redhat.com>
49906
49907 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49908 pure attribute.
49909
dadebdae
UD
499102011-12-24 Ulrich Drepper <drepper@gmail.com>
49911
d3761ebc 49912 [BZ #13533]
db6af3eb
UD
49913 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49914 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49915 transformations.
49916 * iconv/gconv_int.h: Likewise.
49917 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49918 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49919 from libc for GLIBC_2.16.
49920 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49921 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49922 * wcsmbs/uchar.h: Really define mbstate_t.
49923 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49924 * wcsmbs/c16rtomb.c: New file.
49925 * wcsmbs/mbrtoc16.c: New file.
49926 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49927 for C/POSIX locale.
49928 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49929 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49930
dadebdae
UD
49931 * wcsmbs/wchar.h: Add missing __restrict.
49932
67371b56
UD
499332011-12-23 Ulrich Drepper <drepper@gmail.com>
49934
74033a25
UD
49935 [BZ #13532]
49936 * time/Makefile (routines): Add timespec_get.
49937 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49938 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49939 timespec for ISO C11.
49940 * time/timespec_get.c: New file.
49941 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49942 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49943
380d7e87
UD
49944 [BZ #13531]
49945 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49946 * stdlib/stdlib.h: Declare aligned_alloc.
49947 * Versions.def: Add GLIBC_2.16 for libc.
49948 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49949
4e9e7a35
UD
49950 [BZ 13527]
49951 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49952 ISO C11.
49953
380d7e87 49954 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49955 code.
49956
03a71829
UD
49957 [BZ #13528]
49958 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49959
839e283e
UD
49960 [BZ #13529]
49961 * assert/assert.h (static_assert): Define.
49962
ce5294e2 49963 * version.h: Update for 2.16 development version.
90fa7312 49964
8d44e150 49965 [BZ #13526]
d7809905
UD
49966 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49967 _ISOC11_SOURCE.
49968
c0da14cd
UD
49969 * version.h (RELEASE): Bump for 2.15 release.
49970 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49971
530a3249
MP
49972 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49973 Patch by Marek Polacek <mpolacek@redhat.com>.
49974
67371b56
UD
49975 * bits/byteswap.h: Protect long long constants with __extension__.
49976 * sysdeps/i386/bits/byteswap.h: Likewise.
49977 * sysdeps/ia64/bits/byteswap.h: Likewise.
49978 * sysdeps/s390/bits/byteswap.h: Likewise.
49979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49980
15db4de1
LD
499812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49982
49983 [BZ #13540]
bbe315ea
LD
49984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49985 destination buffer.
15db4de1
LD
49986 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49987
2b2596b1
MP
499882011-12-23 Marek Polacek <polacek@redhat.com>
49989
49990 * elf/dl-addr.c (determine_info): Add inline keyword.
49991 * elf/tst-auditmod4b.c (check_avx): Likewise.
49992 * elf/tst-auditmod6b.c (check_avx): Likewise.
49993 * elf/tst-auditmod6c.c (check_avx): Likewise.
49994 * elf/tst-auditmod7b.c (check_avx): Likewise.
49995
70c6c246
UD
499962011-12-23 Ulrich Drepper <drepper@gmail.com>
49997
49998 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49999 !__SSE_MATH__.
50000
c044cf14
LD
500012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50002
15db4de1 50003 [BZ #13540]
c044cf14
LD
50004 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50005 processing for last bytes.
50006
6b13d9d9
BH
500072011-08-06 Bruno Haible <bruno@clisp.org>
50008
d455f537
BH
50009 [BZ #13061]
50010 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50011 U+0385, not to U+1FEE.
50012
6b13d9d9
BH
50013 [BZ #13062]
50014 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50015 entry for U+00A5 U+0301.
50016
db910efd
UD
500172011-12-22 Ulrich Drepper <drepper@gmail.com>
50018
27deeafc
UD
50019 [BZ #13166]
50020 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50021 buffer for the output is too small.
50022
aed9d171
UD
50023 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50024 optimization.
50025
db910efd
UD
50026 [BZ #13185]
50027 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50028 SSE flags if possible.
50029
2bd779ae
LD
500302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50031
e7f9dac3 50032 [BZ #13540]
2bd779ae
LD
50033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50034 processing for last bytes.
50035
154bfc16
JM
500362011-12-22 Joseph Myers <joseph@codesourcery.com>
50037
50038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50039 (syscall-list-default-options, syscall-list-default-condition)
50040 (syscall-list-includes): Define.
50041 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50042 list of ABIs and options and #if conditions for each ABI. Do not
50043 handle common syscalls between ABIs specially.
50044 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50045 Remove.
50046 (syscall-list-variants, syscall-list-32bit-options)
50047 (syscall-list-32bit-condition, syscall-list-64bit-options)
50048 (syscall-list-64bit-condition): Define.
50049 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
50054 Remove.
50055 (syscall-list-variants, syscall-list-32bit-options)
50056 (syscall-list-32bit-condition, syscall-list-64bit-options)
50057 (syscall-list-64bit-condition): Define.
50058 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50059 Remove.
50060 (syscall-list-variants, syscall-list-32bit-options)
50061 (syscall-list-32bit-condition, syscall-list-64bit-options)
50062 (syscall-list-64bit-condition): Define.
50063
21eaf3a5
UD
500642011-12-22 Ulrich Drepper <drepper@gmail.com>
50065
16c6f992
UD
50066 * locale/iso-639.def: Add brx entry.
50067
41043168
UD
50068 [BZ #13328]
50069 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50070 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50071
21eaf3a5
UD
50072 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50073 __feraiseexcept_renamed.
50074
e3a851a2
UD
500752011-12-21 Ulrich Drepper <drepper@gmail.com>
50076
4920765e
UD
50077 [BZ #13538]
50078 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50079 EPOLLET with unsigned values.
50080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50082
e3a851a2
UD
50083 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50084 to large cancellation.
50085 * math/s_cacoshf.c: Likewise.
50086 * math/s_cacoshl.c: Likewise.
50087
b27e24b8
RK
500882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50089
50090 [BZ #13305]
aebefeee 50091 [BZ #12786]
b27e24b8
RK
50092 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50093 * math/s_cacoshf.c: Likewise.
50094 * math/s_cacoshl.c: Likewise.
50095
ee190f67
UD
500962011-12-21 Ulrich Drepper <drepper@gmail.com>
50097
50098 [BZ #13439]
50099 * iconv/gconv.h: Define __GCONV_SWAP.
50100 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50101 * iconvdata/utf-16.c: Likewise.
50102 * iconvdata/utf-32.c: Likewise.
50103
707f25df
AS
501042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50105
50106 [BZ #13524]
50107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50108 numerator after shifting it by one limb.
50109
d2daaa1e
RÁE
501102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50111
50112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50113 under [__USE_EXTERN_INLINES].
50114
a4647e72
UD
501152011-12-17 Ulrich Drepper <drepper@gmail.com>
50116
50117 [BZ #13446]
50118 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50119
f0b264f1
AZ
501202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50121
50122 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50123 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50124 optimized code.
50125 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50126 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50127 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50128 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50129 for strncasecmp/strncasecmp_l compilation.
50130 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50131 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50132
8ef4f244
MP
501332011-12-08 Marek Polacek <mpolacek@redhat.com>
50134
50135 [BZ #13484]
50136 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50137 of __asm__.
50138
97ac2654
UD
501392011-12-17 Ulrich Drepper <drepper@gmail.com>
50140
50141 [BZ #13506]
50142 * time/tzfile.c (__tzfile_read): Check values from file header.
50143
91d2a845
WS
501442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50145
50146 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50147 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50148 * powerpc/powerpc32/dl-start.S: Likewise.
50149 * powerpc/powerpc32/elf/start.S: Likewise.
50150 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50151 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50152 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50153 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50154 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50155 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50156 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50157 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50158 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50159 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50160 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50161 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50162 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50163 * powerpc/powerpc32/memset.S: Likewise.
50164 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50165 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50166 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50167 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50168 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50169 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50170 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50171 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50172 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50173 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50174 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50175 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50176 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50177
a1267ba1
AZ
501782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50179
50180 * math/libm-test.inc: Added more nearbyint tests.
50181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50185
ad8ac1bd
RL
501862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50187
50188 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50189 FD_CLOEXEC.
50190
1d3e4b61
UD
501912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50192
50193 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50194 Add wcscpy-ssse3 wcscpy-c.
50195 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50196 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50197 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50198 * sysdeps/x86_64/wcschr.S: New file.
50199 * sysdeps/x86_64/wcsrchr.S: New file.
50200 * string/test-strcmp.c: Remove checking of wcscmp function for
50201 wrong alignments.
50202 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50203 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50204 wcsrchr-sse2 wcsrchr-c.
50205 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50206 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50207 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50208 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50209 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50210 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50211 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50212 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50213 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50214 * wcsmbc/wcschr.c (WCSCHR): New macro.
50215
5b330a2d
UD
502162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50217
50218 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50219 * wcsmbs/test-wcsrchr.c: New file.
50220 * string/test-strrchr.c: Add wcsrchr support.
50221 (WIDE): New macro.
50222 * wcsmbs/test-wcscpy.c: New file.
50223 * string/test-strcpy.c: Add wcscpy support.
50224 (WIDE): New macro.
26428b7c 50225
f039c043
UD
502262011-12-10 Ulrich Drepper <drepper@gmail.com>
50227
50228 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50229 the inner loop.
50230
850fb039
AS
502312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50232
50233 [BZ #13472]
50234 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50235
4efbd5cb
UD
502362011-12-04 Ulrich Drepper <drepper@gmail.com>
50237
52ff5dd0 50238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50239 Minor optimizations.
52ff5dd0 50240
4efbd5cb
UD
50241 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50242 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50243 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50244
8a426e12
UD
502452011-12-03 Ulrich Drepper <drepper@gmail.com>
50246
aff2453d
UD
50247 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50248 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50249 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50250 for gcc to avoid warnings.
50251 * inet/Makefile (tests): Add tst-checks.
50252 * inet/tst-checks.c: New file.
50253
50254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50255 warning.
50256
50257 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50258 __wmemcmp_sse2.
50259
50260 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50261 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50262
8a426e12
UD
50263 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50264
9bea3473
UD
502652011-12-02 Ulrich Drepper <drepper@gmail.com>
50266
3a965496
UD
50267 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50268 problem.
50269
9bea3473
UD
50270 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50271
f101631b
UD
502722011-11-29 Joseph Myers <joseph@codesourcery.com>
50273
50274 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50275 conditional on GCC version.
50276 (__arch_compare_and_exchange_val_8_acq)
50277 (__arch_compare_and_exchange_val_16_acq)
50278 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50279 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50280 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50281
a98275aa
UD
502822011-12-02 Joseph Myers <joseph@codesourcery.com>
50283
50284 * sysdeps/sh/backtrace.c: New file.
50285
d4cc29a2
AS
502862011-12-02 Andreas Schwab <schwab@redhat.com>
50287
50288 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50289 parenthesis.
50290
6257af2d
AS
502912011-12-01 Andreas Schwab <schwab@redhat.com>
50292
50293 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50294 falling back to utime.
50295
b5f44c1a
AS
502962011-11-30 Andreas Schwab <schwab@redhat.com>
50297
50298 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50299 expectations for float.
50300
f3a6cc0a
AS
503012011-11-29 Andreas Schwab <schwab@redhat.com>
50302
50303 * locale/weight.h (findidx): Add parameter len.
50304 * locale/weightwc.h (findidx): Likewise.
50305 * posix/fnmatch_loop.c (FCT): Adjust caller.
50306 * posix/regcomp.c (build_equiv_class): Likewise.
50307 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50308 * posix/regexec.c (check_node_accept_bytes): Likewise.
50309 * string/strcoll_l.c (STRCOLL): Likewise.
50310 * string/strxfrm_l.c (STRXFRM): Likewise.
50311
9d65ea3a
UD
503122011-11-17 Ulrich Drepper <drepper@gmail.com>
50313
50314 * Makefile.in: Remove CVSOPT handling.
50315 * configure.in: Remove use of AC_REVISION.
50316 * iconvdata/Makefile (distribute): No need to filter out CVS.
50317 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50318 handling.
50319
5583a086
AS
503202011-11-16 Andreas Schwab <schwab@redhat.com>
50321
50322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50323 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50324 [USE_AS_STRNCASECMP_L]: Likewise.
50325 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50326 NO_TLS_DIRECT_SEG_REFS.
50327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50328 Fix argument offsets for non-PIC.
50329 [USE_AS_STRNCASECMP_L]: Likewise.
50330 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50331 NO_TLS_DIRECT_SEG_REFS.
50332
d62a8200
UD
503332011-11-15 Ulrich Drepper <drepper@gmail.com>
50334
9d65ea3a 50335 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50336 O_CLOEXEC.
50337 * locale/loadlocale.c (_nl_load_locale): Likewise.
50338
09f93bd3
AS
503392011-11-15 Andreas Schwab <schwab@redhat.com>
50340
446514f9
AS
50341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50342 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50343 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50344 (SYSCALL_GETTIME): Set errno on error.
50345
09f93bd3
AS
50346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50347 count references to noai6ai_cached.
50348
312be3f9
UD
503492011-11-15 Ulrich Drepper <drepper@gmail.com>
50350
50351 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50352
50353 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50354 FD_CLOEXEC for /proc/self/maps.
50355
50356 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50357 FD_CLOEXEC for /proc/meminfo.
50358
50359 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50360 gai.conf.
50361
50362 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50363 FD_CLOEXEC for given file.
50364
50365 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50366
50367 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50368 FD_CLOEXEC for /etc/hosts.
50369 (_gethtent): Likewise.
50370
50371 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50372
50373 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50374 cancellation and set FD_CLOEXEC for /etc/netgroup.
50375
50376 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50377 reading /etc/publickey.
50378
50379 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50380 allow cancellation when reading /etc/group.
50381
50382 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50383 cancellation.
50384 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50385
50386 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50387 when using data file.
50388
50389 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50390
50391 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50392 (write_nis_obj): Use "c" and "e" in fopen.
50393
50394 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50395
50396 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50397
50398 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50399
50400 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50401
50402 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50403 locale.alias.
50404
50405 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50406
50407 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50408
50409 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50410
50411 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50412 file parsing and set FD_CLOEXEC.
50413
82af0fa8
UD
504142011-11-14 Ulrich Drepper <drepper@gmail.com>
50415
50416 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50417
a5fb313c
AS
504182011-11-14 Andreas Schwab <schwab@redhat.com>
50419
50420 * malloc/arena.c (arena_get2): Don't call reused_arena when
50421 _int_new_arena failed.
50422
6abf3465
UD
504232011-11-14 Ulrich Drepper <drepper@gmail.com>
50424
50425 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50426 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50428 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50431 to compile strcasecmp and strncasecmp.
50432 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50433 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50434
50435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50436
76e3966e
UD
504372011-11-13 Ulrich Drepper <drepper@gmail.com>
50438
50439 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50440 locale-defines.sym to gen-as-const-headers.
50441 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50442 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50444 to compile strcasecmp and strncasecmp.
50445 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50446 strcasecmp_l and strncasecmp_l.
50447 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50448 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50449 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50450 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50451 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50453 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50454 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50455 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50456 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50457 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50458
ab26144e
UD
504592011-11-12 Ulrich Drepper <drepper@gmail.com>
50460
7edb22ef
UD
50461 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50462 result of SYSDEP_GETTIME_CPU to retval.
50463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50464 parameter list to macro. Remove trailing semicolon. Adjust users.
50465
9694fc44
UD
50466 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50467 variable.
50468
8ad89ef8
UD
50469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50470 mantissa words.
50471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50472
0c822ef9
UD
50473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50474 from unused variable.
50475
874e0564
UD
50476 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50477 DWARF definitions.
50478 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50479 for assembling.
50480
3a2edc79
UD
50481 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50482 over namespaces.
50483
f3c2577f
UD
50484 * sunrpc/rpc_prot.c (rejected): Fix case value.
50485
294ce126
UD
50486 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50487 unsigned long long int to avoid warnings in shift.
50488
5e2b63c6
UD
50489 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50490 of use of trans.
50491 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50492 variable tmp.
50493
e7f4b08e
UD
50494 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50495 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50497
ab26144e
UD
50498 * nis/nis_table.c (nis_list): Use variable of correct type for
50499 result of __follow_path call.
50500
8a6d5255
AZ
505012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50502
50503 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50504 of math functions ceil, trunc, floor, round, and sqrt, when
50505 avaliable on the platform.
50506 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50507 name clash.
50508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50511
aaddc98c
MP
505122011-10-30 Marek Polacek <mpolacek@redhat.com>
50513
50514 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50516
95b7042b
RM
505172011-11-11 Roland McGrath <roland@hack.frob.com>
50518
50519 * include/unistd.h: Fix __readlink return type.
50520 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50521
57769839
UD
505222011-11-11 Ulrich Drepper <drepper@gmail.com>
50523
50524 * stdlib/ucontext.h: Undo last change for makecontext.
50525
edc5984d
AS
505262011-11-11 Andreas Schwab <schwab@redhat.com>
50527
98591e58
AS
50528 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50529
edc5984d
AS
50530 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50531 * setjmp/setjmp.h: Mark functions as non-leaf.
50532 * setjmp/bits/setjmp2.h: Likewise.
50533 * stdlib/ucontext.h: Likewise.
50534
77cdc054
AS
505352011-11-10 Andreas Schwab <schwab@redhat.com>
50536
50537 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50538 (reused_arena): Don't check arena limit.
50539 (arena_get2): Atomically check arena limit.
50540
fe72eebd
UD
505412011-11-08 Ulrich Drepper <drepper@gmail.com>
50542
5f078c32
UD
50543 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50544 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50545
fe72eebd
UD
50546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50547 instructions.
50548
ae1bc2fa
AS
505492011-11-07 Andreas Schwab <schwab@redhat.com>
50550
7583a88d
AS
50551 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50552 handler when locking.
50553
ae1bc2fa
AS
50554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50555 Fix size of allocated buffer.
50556
10fb0bfa
AS
505572011-11-04 Andreas Schwab <schwab@redhat.com>
50558
998832a4
AS
50559 [BZ #10103]
50560 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50561 declarations for long double functions.
50562 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50563
10fb0bfa
AS
50564 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50565
3d7ba52b
AS
505662011-11-03 Andreas Schwab <schwab@redhat.com>
50567
a9ae54a1
AS
50568 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50569 installed.
50570
3d7ba52b
AS
50571 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50572 is disabled.
50573
bc8db248
ST
505742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50575
50576 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50577
45b96dd6
AS
505782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50579
647776f6
AS
50580 * include/alloca.h (stackinfo_alloca_round): Define.
50581 (extend_alloca): Use it.
50582 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50583 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50584 here.
50585
d91a8b93
AS
50586 * scripts/check-local-headers.sh: Ignore libaudit.h.
50587
45b96dd6
AS
50588 * nscd/Makefile (extra-objs): Make recursively expanded.
50589
432d41ce
UD
505902011-11-01 Ulrich Drepper <drepper@gmail.com>
50591
34372fc6
UD
50592 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50594
fadb59f8
UD
50595 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50596 * posix/tst-rfc3484-2.c: Likewise.
50597 * posix/tst-rfc3484-3.c: Likewise.
50598
78239589
UD
50599 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50600 process_vm_writev.
50601 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50602 process_vm_writev.
50603 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50604 process_vm_writev from libc using GLIBC_2.15 version.
50605
432d41ce
UD
50606 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50607
02f9c6cf
PP
506082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50609
50610 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50611 stack usage.
50612
3a2c0242
UD
506132011-10-31 Ulrich Drepper <drepper@gmail.com>
50614
f4ec4833
UD
50615 [BZ #13367]
50616 * nss/getent.c (initgroups_keys): Show error message in case no group
50617 names are given.
50618
3a2c0242
UD
50619 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50620 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50621 __bump_nl_timestamp.
50622 * nscd/connections (nscd_init): When host database is served open
50623 netlink socket and request notification about configuration changes.
50624 (main_loop_poll): Track netlink file descriptor and bump timestamp
50625 in case data becomes available.
50626 (main_loop_epoll): Likewise.
50627 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50628 (database_pers_head): Add extra_data fileds.
50629 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50630 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50631 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50632 Adjust caller.
50633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50634 in6ai data, call __free_in6ai.
50635 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50636 Add -DHAVE_NETLINK.
50637 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50638 interface information. Reuse previous data if netlink timestamp
50639 is not changed.
50640 (__bump_nl_timestamp): New function.
50641 (__free_in6ai): New function.
50642
636064eb
UD
506432011-10-30 Ulrich Drepper <drepper@gmail.com>
50644
50645 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50646 close_not_cancel_no_status here.
50647 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50648
9beb2334
UD
506492011-10-29 Ulrich Drepper <drepper@gmail.com>
50650
6ef76f3b
UD
50651 [BZ #13276]
50652 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50653 return value.
50654
0ffc4f3e 50655 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50656 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50657 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50658
cb95113e
UD
506592011-07-03 Andreas Jaeger <aj@suse.de>
50660
50661 [BZ #10709]
50662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50663 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50664 * math/libm-test.inc (sin_test): Add test case.
50665
a1b560ff
UD
506662011-10-29 Ulrich Drepper <drepper@gmail.com>
50667
c9aaface
UD
50668 [BZ #13337]
50669 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50671
d272e7f1
UD
50672 * elf/chroot_canon.c (chroot_canon): Cleanups.
50673
1bc33071
UD
50674 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50675
1760874d
TJ
50676 [BZ #13335]
50677 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50678 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50679
51d91b18
UD
50680 * string/test-strchr.c: Make usable for strchrnul testing.
50681 * string/test-strchrnul.c: New file.
50682 * string/Makefile (strop-tests): Add strchrnul.
50683
a1b560ff 50684 * po/it.po: Update from translation team.
b611fb81 50685 * po/es.po: Likewise.
a1b560ff 50686
a5b81e1f
UD
506872011-10-28 Ulrich Drepper <drepper@gmail.com>
50688
fd52bc6d
UD
50689 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50690 the three constants needed as parameters. Drop the others.
50691 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50692 __m128i_strloadu_tolower.
52e4b9eb
UD
50693 Create and initialize variable zero and use it in all the places
50694 where _mm_setzero_si128 was used.
fd52bc6d 50695
a5b81e1f
UD
50696 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50697 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50698 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50699 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50700 anymore.
50701 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50702 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50703 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50704 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50705 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50706 __mpranred, __mptan.
50707 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50708 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50709 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50710 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50711 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50712 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50714 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50715 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50716
b4343346
AS
507172011-10-28 Andreas Schwab <schwab@redhat.com>
50718
0c92d8a8
AS
50719 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50720 redefine if SHARED.
50721 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50722
b4343346
AS
50723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50724 wide char related routines to wcsmbs subdir.
50725
3871f58f
AS
507262011-10-27 Andreas Schwab <schwab@redhat.com>
50727
50728 [BZ #13344]
50729 * misc/sys/cdefs.h (__THROWNL): Define.
50730 * posix/unistd.h: Use __THREADNL instead of __THREAD
50731 for memory synchronization functions.
50732
94d44d9f
RM
507332011-10-26 Roland McGrath <roland@hack.frob.com>
50734
21b64b15 50735 [BZ #13349]
94d44d9f
RM
50736 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50737 doesn't exist.
50738 * manual/stdio.texi (Obstack Streams): Node removed.
50739
f6ce9294
AS
507402011-10-26 Andreas Schwab <schwab@redhat.com>
50741
80479147
AS
50742 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50745
f6ce9294
AS
50746 * math/math_private.h (math_force_eval): Allow non-addressable
50747 arguments.
50748 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50749
618280a1
UD
507502011-10-25 Ulrich Drepper <drepper@gmail.com>
50751
e0016b11
UD
50752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50753 file is not needed.
50754
50755 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50762 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50763 Add AVX variants.
50764 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50765 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50766 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50767 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50768 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50769 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50770 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50771 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50772 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50773 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50774 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50775 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50777 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50778 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50779 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50781 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50782 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50783
50784 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50785 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50786
618280a1
UD
50787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50788 place. Use VEX encoding when compiling for AVX.
50789
37822576
AS
507902011-10-25 Andreas Schwab <schwab@redhat.com>
50791
1f1e1947
AS
50792 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50793 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50794
37822576
AS
50795 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50796
31ea014d
UD
507972011-10-25 Ulrich Drepper <drepper@gmail.com>
50798
d7826aa1 50799 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50800 useless if() expression.
d7826aa1
UD
50801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50802 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50805 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50811 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50813 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50814 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50816 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50817 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50819 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50820
31ea014d
UD
50821 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50822
16437fec
AS
508232011-10-25 Andreas Schwab <schwab@redhat.com>
50824
50825 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50826 condition.
50827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50828
31d3cc00
UD
508292011-10-25 Ulrich Drepper <drepper@gmail.com>
50830
50831 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50832 .text section. Avoid duplicate constants.
50833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50841 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50842 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50843 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50845 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50846 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50847 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50849 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50850 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50856 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50857 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50858 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50859 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50860 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50861 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50863 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50864 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50865 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50866 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50867 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50868 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50869 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50871 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50872 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50873 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50874 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50875 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50876 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50877 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50878
58985aa9
UD
508792011-10-24 Ulrich Drepper <drepper@gmail.com>
50880
202c9deb
UD
50881 * sysdeps/x86_64/dla.h: Move to ...
50882 * sysdeps/x86_64/fpu/dla.h: ...here.
50883 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50884 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50885
af968f62
UD
50886 * config.make.in: Add have-mfma4 entry.
50887 * configure.in: Substitute libc_cv_cc_fma4.
50888 * math/Makefile (dbl-only-routines): Add sincostab.
50889 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50890 Use __sincostab not sincos.
50891 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50892 name is a macro.
50893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50897 using __copysign.
50898 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50899 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50900 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50901 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50902 and __inv.
50903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50904 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50905 __copysign.
50906 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50907 define aliases when function name is a macro.
50908 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50909 sysdeps/ieee754/dbl-64/sincos.tbl.
50910 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50911 fma4-enabled routines.
50912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50913 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50914 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50915 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50917 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50921 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50922 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50924 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50925 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50927 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50928 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50929 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50930 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50932 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50933 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50939 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50940 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50941 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50942
58985aa9
UD
50943 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50944 rename.
50945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50953
a201fbcf
AS
509542011-10-24 Andreas Schwab <schwab@redhat.com>
50955
50956 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50957
fc2ee42a
LD
509582011-10-23 Ulrich Drepper <drepper@gmail.com>
50959
bb3129bd
UD
50960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50961
0275fff8
UD
50962 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50963 prediction.
50964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50965
2fa2ae85
UD
50966 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50967 Remove unused variable magic_bits.
50968 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50969
fc2ee42a
LD
50970 * string/strnlen.c: Define and use STRNLEN macro.
50971 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50972 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50974 * wcsmbs/wcslen.c: Define and use WCSLEN.
50975 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50976 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50977 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50978 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50979 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50980 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50981 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50982
ce7dd29f
LD
509832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50984
50985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50986 strnlen-sse2-no-bsf.
50987 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50990 Add strnlen support.
50991 (USE_AS_STRNLEN): New macro.
50992 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50994 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50995 * sysdeps/x86_64/wcslen.S: New file.
50996
979c70a3
MZ
509972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50998
50999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51000 XMM-moves are used for copying on small sizes.
51001
2d09f82f
LD
510022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51003
51004 * wcsmbs/Makefile (strop-tests): Add wcschr.
51005 * wcsmbs/test-wcschr.c: New file.
51006 * string/test-strchr.c: Update.
51007 Add wcschr support.
51008 (WIDE): New macro.
51009
619fccca
LD
510102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51011
2d09f82f 51012 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51013 * wcsmbs/test-wcslen.c: New file.
51014 * string/test-strlen.c: Update.
51015 Add wcslen support.
51016 (WIDE): New macro.
51017
09f699ea
UD
510182011-10-23 Ulrich Drepper <drepper@gmail.com>
51019
51020 * po/it.po: Update from translation team.
51021
95584d3b
LD
510222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51023
51024 * sysdeps/x86_64/wcscmp.S: Update.
51025 Fix wrong comparison semantics.
51026 wcscmp shall use signed comparison not unsigned.
51027 Don't use substraction to avoid overflow bug.
51028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51029 * wcsmbc/wcscmp.c: Likewise.
51030 * string/test-strcmp.c: Likewise.
51031 Add new tests to check cases with negative values.
51032
c8b3296b
UD
510332011-10-23 Ulrich Drepper <drepper@gmail.com>
51034
51035 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51036 * sysdeps/x86_64/dla.h: ...here. New file.
51037 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51046
246ad57a
AS
510472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51048
51049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51050 __ynl_finite aliases.
51051
a1a87169
UD
510522011-10-22 Ulrich Drepper <drepper@gmail.com>
51053
0d355eb7
UD
51054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51055
a1a87169
UD
51056 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51057 define DLA_FMA.
51058 [DLA_FMA] (EMULV): Use DLA_FMA.
51059 [DLA_FMA] (MUL12): Use EMULV.
51060 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51061 that are not needed.
51062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51069
ee2aafe0
AS
510702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51071
51072 * math/s_nan.c: Undef __nan.
51073 * math/s_nanf.c: Undef __nanf.
51074 * math/s_nanl.c: Undef __nanl.
51075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51076 "math_private.h".
51077
bc62c2fb
UD
510782011-10-22 Ulrich Drepper <drepper@gmail.com>
51079
77425c63
UD
51080 * math/s_catan.c: Add branch predictions.
51081 * math/s_catanf.c: Likewise.
51082 * math/s_catanh.c: Likewise.
51083 * math/s_catanhf.c: Likewise.
51084 * math/s_catanhl.c: Likewise.
51085 * math/s_catanl.c: Likewise.
51086 * math/s_cexp.c: Likewise.
51087 * math/s_cexpf.c: Likewise.
51088 * math/s_cexpl.c: Likewise.
51089 * math/s_clog.c: Likewise.
51090 * math/s_clog10.c: Likewise.
51091 * math/s_clog10f.c: Likewise.
51092 * math/s_clog10l.c: Likewise.
51093 * math/s_clogf.c: Likewise.
51094 * math/s_clogl.c: Likewise.
51095 * math/s_csqrt.c: Likewise.
51096 * math/s_csqrtf.c: Likewise.
51097 * math/s_csqrtl.c: Likewise.
51098 * math/s_ctanf.c: Likewise.
51099 * math/s_ctanh.c: Likewise.
51100 * math/s_ctanhf.c: Likewise.
51101 * math/s_ctanhl.c: Likewise.
51102 * math/s_ctanl.c: Likewise.
51103
bc62c2fb
UD
51104 * math/math_private.h: Define __nan, __nanf, __nanl.
51105 * math/s_cacosh.c: Include <math_private.h>.
51106 * math/s_cacoshl.c: Likewise.
51107 * math/s_casinh.c: Likewise.
51108 * math/s_casinhf.c: Likewise.
51109 * math/s_casinhl.c: Likewise.
51110 * math/s_ccos.c: Rely entire on ccosh.
51111 * math/s_ccosf.c: Rely entire on ccoshf.
51112 * math/s_ccosl.c: Rely entirely on ccoshl.
51113 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51114 Remove tests for FE_INVALID.
51115 * math/s_ccoshf.c: Likewise.
51116 * math/s_ccoshl.c: Likewise.
51117 * math/s_csin.c: Likewise.
51118 * math/s_csinf.c: Likewise.
51119 * math/s_csinh.c Likewise.
51120 * math/s_csinhf.c: Likewise.
51121 * math/s_csinhl.c: Likewise.
51122 * math/s_csinl.c: Likewise.
51123 * math/s_ctan.c: Likewise.
51124 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51125 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51127
8ec250a4
UD
511282011-10-21 Ulrich Drepper <drepper@gmail.com>
51129
c196fed8
UD
51130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51131 compilation problems.
51132
8ec250a4
UD
51133 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51134 __builtin_expect.
51135
8d4f46c6
UD
511362011-10-20 Ulrich Drepper <drepper@gmail.com>
51137
ed72b654
UD
51138 * sysdeps/i386/configure.in: Test for -mfma4 option.
51139 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51140 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51141 COMMON_CPUID_INDEX_80000001.
51142 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51143 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51144 use it if FMA3 is not supported.
51145 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51146
8d4f46c6
UD
51147 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51148 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51149
d45c60c2
AS
511502011-10-20 Andreas Schwab <schwab@redhat.com>
51151
51152 [BZ #12892]
51153 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51154 it would create a cycle with a link time dependency.
51155
d9a4d2ab
UD
511562011-10-19 Ulrich Drepper <drepper@gmail.com>
51157
855d1560
UD
51158 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51159 instruction.
51160 * string/Makefile (strop-tests): Add rawmemchr.
51161 * string/test-rawmemchr.c: New file.
51162
d9a4d2ab
UD
51163 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51165 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51166 when compiling str{,n}casecmp and when AVX is available. Hook up
51167 new optimized code in initializers.
51168
8f3b1ffe
AS
511692011-10-19 Andreas Schwab <schwab@redhat.com>
51170
51171 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51172 __feraiseexcept instead of feraiseexcept.
51173
d38f1dba
UD
511742011-10-18 Ulrich Drepper <drepper@gmail.com>
51175
d9a8d0ab
UD
51176 * math/math_private.h: Define defaults for libc_fetestexcept and
51177 libc_feupdateenv.
51178 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51179 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51181 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51183 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51184 libc_fetestexcept and libc_feupdateenv.
51185
4855e3dd
UD
51186 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51187 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51188 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51189 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51190 libc_feholdexcept_setround.
51191
581d30e3
UD
51192 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51193 Add s_nearbyint-c and s_nearbyintf-c.
51194 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51195 nearbyintf inlines.
51196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51198 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51200
d38f1dba
UD
51201 * math/math_private.h: Define defaults for libc_fegetround,
51202 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51203 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51204 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51206 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51207 standard functions.
51208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51209 Remove comments and hacks for old compiler versions.
51210 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51211 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51212 libc_feholdexceptl.
51213
caa6c9d8
AS
512142011-10-18 Andreas Schwab <schwab@redhat.com>
51215
51216 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51217 (__feraiseexcept_renamed): Add __NTH.
51218 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51219 namespace violations.
51220
97c066e6
UD
512212011-10-17 Ulrich Drepper <drepper@gmail.com>
51222
99ce7b04
UD
51223 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51224
1004d182
UD
51225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51226
228a984d
UD
51227 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51228 recently added interfaces.
51229 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51230
c8553a6a
UD
51231 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51232 about macro parameter expansion.
51233
ed22dcf6
UD
51234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51235 __NO_MATH_INLINES is defined. Cleanups.
51236
51237 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51238 and __floorf is target has SSE4.1.
51239 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51240 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51241 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51243
b171c137
UD
51244 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51245 name.
51246 (floorf): Likewise.
51247
97c066e6
UD
51248 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51249
629f62ef
AS
512502011-10-17 Andreas Schwab <schwab@redhat.com>
51251
49a43d80
AS
51252 * misc/sys/cdefs.h: Fix last change.
51253
629f62ef
AS
51254 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51255 database lookup.
51256
e453f6cd
UD
512572011-10-16 Ulrich Drepper <drepper@gmail.com>
51258
aa78043a
UD
51259 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51260
ad0f5cad
UD
51261 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51263 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51266 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51268 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51269 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51270 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51271 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51272 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51273 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51274 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51276 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51278 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51280 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51281 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51282 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51283
51284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51285 ceil, ceilf, floor, floorf.
51286
51287 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51288 Perform IRELATIVE relocations last.
51289
e453f6cd
UD
51290 * elf/do-rel.h: Add another parameter nrelative, replacing the
51291 local variable with the same name. Change name of the function
51292 to end in Rel or Rela (uppercase).
51293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51294 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51295 elf_dynamic_do_##reloc function.
51296
fd5bdc09
UD
512972011-10-15 Ulrich Drepper <drepper@gmail.com>
51298
79b195b5
UD
51299 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51300 is sufficient, at least on modern CPUs.
51301
d4a28569
UD
51302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51303
b61099b5
UD
51304 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51305 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51306
bcf01e6d
UD
51307 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51308 __expl_finite.
51309 * math/bits/math-finite.h: Add entries for exp.
51310 * math/e_expl.c: Add __*_finite alias.
51311 * sysdeps/i386/fpu/e_exp.S: Likewise.
51312 * sysdeps/i386/fpu/e_expf.S: Likewise.
51313 * sysdeps/i386/fpu/e_expl.c: Likewise.
51314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51315 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51318 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51319 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51321
ba1a0d59
UD
51322 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51323 is sufficient, at least on modern CPUs.
51324
fd5bdc09
UD
51325 * ctype/ctype-info.c (__ctype_init): Define.
51326 * include/ctype.h (__ctype_init): Declare.
51327 (__ctype_b_loc): The variable is always initialized.
51328 (__ctype_toupper_loc): Likewise.
51329 (__ctype_tolower_loc): Likewise.
51330 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51331 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51332
7872cfb0
AS
513332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51334
b468825a
AS
51335 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51336
7872cfb0
AS
51337 * configure.in: Also look in $cxxmachine/include for C++ system
51338 headers.
51339
be13f7bf
LD
513402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51341
51342 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51343 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51344 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51345 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51347 (USE_AS_WMEMCMP): New macro.
51348 Fixing indents.
51349 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51350 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51351 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51352 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51354 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51355 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51357 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51358 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51360 (USE_AS_WMEMCMP): New macro.
51361 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51362 * sysdeps/string/test-memcmp.c: Update.
51363 Fix simple_wmemcmp.
51364 Add new tests.
51365 * wcsmbs/wmemcmp.c: Update.
51366 (WMEMCMP): New macro.
51367 Fix overflow bug.
51368
556a2007
AJ
513692011-10-12 Andreas Jaeger <aj@suse.de>
51370
51371 [BZ #13268]
51372 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51373
538faaa7
UD
513742011-10-15 Ulrich Drepper <drepper@gmail.com>
51375
ab6737ff
UD
51376 * libio/iofwide.c (do_length): Avoid warning.
51377
538faaa7
UD
51378 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51379
396a21b1
UD
513802011-10-14 Ulrich Drepper <drepper@gmail.com>
51381
cdf2901f
UD
51382 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51383
38ad40ce
UD
51384 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51385 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51386 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51387 * sysdeps/i386/i686/fpu/e_log.S: New file.
51388 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51389 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51390
396a21b1
UD
51391 * ctype/ctype.h: Add support for inlined isXXX functions when
51392 compiling C++ code.
51393
6b1f68c9
AS
513942011-10-14 Andreas Schwab <schwab@redhat.com>
51395
349290c0
AS
51396 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51397
6b1f68c9
AS
51398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51399
f2282d42
RM
514002011-10-13 Roland McGrath <roland@hack.frob.com>
51401
51402 [BZ #13291]
51403 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51404
5298ffa8
AS
514052011-10-13 Andreas Schwab <schwab@redhat.com>
51406
714fad23
AS
51407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51408 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51409 feraiseexcept.
51410
81dcc7fb
AS
51411 * sysdeps/x86_64/memrchr.S: Check for zero size.
51412
5298ffa8
AS
51413 * string/stratcliff.c: Add memrchr tests.
51414
951fbcec
LD
514152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51416
51417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51418 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51419 rawmemchr-sse2 rawmemchr-sse2-bsf.
51420 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51421 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51422 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51423 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51424 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51425 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51426 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51427 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51428 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51429 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51430 * string/memrchr.c (MEMRCHR): New macro.
51431
0ac5ae23
UD
514322011-10-12 Ulrich Drepper <drepper@gmail.com>
51433
51434 Add integration with gcc's -ffinite-math-only and optimize wrapper
51435 functions in libm.
51436 * Versions.def: Define GLIBC_2.15 version for libm.
51437 * math/Makefile (headers): Add bits/math-finite.h.
51438 * math/bits/math-finite.h: New file.
51439 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51440 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51441 * math/e_acoshl.c: Add __*_finite alias.
51442 * math/e_acosl.c: Likewise.
51443 * math/e_asinl.c: Likewise.
51444 * math/e_atan2l.c: Likewise.
51445 * math/e_atanhl.c: Likewise.
51446 * math/e_coshl.c: Likewise.
51447 * math/e_exp10.c: Likewise.
51448 * math/e_exp10f.c: Likewise.
51449 * math/e_exp10l.c: Likewise.
51450 * math/e_exp2l.c: Likewise.
51451 * math/e_fmodl.c: Likewise.
51452 * math/e_gammal_r.c: Likewise.
51453 * math/e_hypotl.c: Likewise.
51454 * math/e_j0l.c: Likewise.
51455 * math/e_j1l.c: Likewise.
51456 * math/e_jnl.c: Likewise.
51457 * math/e_lgammal_r.c: Likewise.
51458 * math/e_log10l.c: Likewise.
51459 * math/e_log2l.c: Likewise.
51460 * math/e_logl.c: Likewise.
51461 * math/e_powl.c: Likewise.
51462 * math/e_sinhl.c: Likewise.
51463 * math/e_sqrtl.c: Likewise.
51464 * math/e_scalb.c: Completely rewritten and optimized.
51465 * math/e_scalbf.c: Likewise.
51466 * math/e_scalbl.c: Likewise.
51467 * math/w_acos.c: Likewise.
51468 * math/w_acosf.c: Likewise.
51469 * math/w_acosl.c: Likewise.
51470 * math/w_acosh.c: Likewise.
51471 * math/w_acoshf.c: Likewise.
51472 * math/w_acoshl.c: Likewise.
51473 * math/w_asin.c: Likewise.
51474 * math/w_asinf.c: Likewise.
51475 * math/w_asinl.c: Likewise.
51476 * math/w_atan2.c: Likewise.
51477 * math/w_atan2f.c: Likewise.
51478 * math/w_atan2l.c: Likewise.
51479 * math/w_atanh.c: Likewise.
51480 * math/w_atanhf.c: Likewise.
51481 * math/w_atanhl.c: Likewise.
51482 * math/w_exp10.c: Likewise.
51483 * math/w_exp10f.c: Likewise.
51484 * math/w_exp10l.c: Likewise.
51485 * math/w_fmod.c: Likewise.
51486 * math/w_fmodf.c: Likewise.
51487 * math/w_fmodl.c: Likewise.
51488 * math/w_j0.c: Likewise.
51489 * math/w_j0f.c: Likewise.
51490 * math/w_j0l.c: Likewise.
51491 * math/w_j1.c: Likewise.
51492 * math/w_j1f.c: Likewise.
51493 * math/w_j1l.c: Likewise.
51494 * math/w_jn.c: Likewise.
51495 * math/w_jnf.c: Likewise.
51496 * math/w_log.c: Likewise.
51497 * math/w_logf.c: Likewise.
51498 * math/w_logl.c: Likewise.
51499 * math/w_log10.c: Likewise.
51500 * math/w_log10f.c: Likewise.
51501 * math/w_log10l.c: Likewise.
51502 * math/w_log2.c: Likewise.
51503 * math/w_log2f.c: Likewise.
51504 * math/w_log2l.c: Likewise.
51505 * math/w_pow.c: Likewise.
51506 * math/w_powf.c: Likewise.
51507 * math/w_powl.c: Likewise.
51508 * math/w_remainder.c: Likewise.
51509 * math/w_remainderf.c: Likewise.
51510 * math/w_remainderl.c: Likewise.
51511 * math/w_scalb.c: Likewise.
51512 * math/w_scalbf.c: Likewise.
51513 * math/w_scalbl.c: Likewise.
51514 * math/w_sqrt.c: Likewise.
51515 * math/w_sqrtf.c: Likewise.
51516 * math/w_sqrtl.c: Likewise.
51517 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51518 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51519 used.
51520 * math/math_private.h: Declare __kernel_standard_f.
51521 * math/w_cosh.c: Remove cruft and optimize a bit.
51522 * math/w_coshf.c: Likewise.
51523 * math/w_coshl.c: Likewise.
51524 * math/w_exp2.c: Likewise.
51525 * math/w_exp2f.c: Likewise.
51526 * math/w_exp2l.c: Likewise.
51527 * math/w_hypot.c: Likewise.
51528 * math/w_hypotf.c: Likewise.
51529 * math/w_hypotl.c: Likewise.
51530 * math/w_lgamma.c: Likewise.
51531 * math/w_lgamma_r.c: Likewise.
51532 * math/w_lgammaf.c: Likewise.
51533 * math/w_lgammaf_r.c: Likewise.
51534 * math/w_lgammal.c: Likewise.
51535 * math/w_lgammal_r.c: Likewise.
51536 * math/w_sinh.c: Likewise.
51537 * math/w_sinhf.c: Likewise.
51538 * math/w_sinhl.c: Likewise.
51539 * math/w_tgamma.c: Likewise.
51540 * math/w_tgammaf.c: Likewise.
51541 * math/w_tgammal.c: Likewise.
51542 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51544 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51545 Minor optimizations. Pretty printing. Remove cruft.
51546 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51547 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51548 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51549 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51550 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51551 * sysdeps/i386/fpu/e_asin.S: Likewise.
51552 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51553 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51554 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51555 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51558 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51559 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51560 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51561 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51562 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51563 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51564 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51565 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51566 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51567 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51568 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51569 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51570 * sysdeps/i386/fpu/e_log.S: Likewise.
51571 * sysdeps/i386/fpu/e_log10.S: Likewise.
51572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51573 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51574 * sysdeps/i386/fpu/e_log2.S: Likewise.
51575 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51577 * sysdeps/i386/fpu/e_logf.S: Likewise.
51578 * sysdeps/i386/fpu/e_logl.S: Likewise.
51579 * sysdeps/i386/fpu/e_pow.S: Likewise.
51580 * sysdeps/i386/fpu/e_powf.S: Likewise.
51581 * sysdeps/i386/fpu/e_powl.S: Likewise.
51582 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51583 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51584 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51586 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51588 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51589 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51590 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51592 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51595 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51597 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51598 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51602 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51605 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51612 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51615 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51616 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51617 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51618 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51619 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51620 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51622 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51624 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51625 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51626 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51627 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51628 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51629 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51631 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51632 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51633 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51634 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51639 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51641 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51642 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51643 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51645 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51646 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51647 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51648 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51649 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51650 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51656 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51669 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51672 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51673 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51684 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51686 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51687 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51688 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51689 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51690 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51691 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51692 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51693 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51694 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51696 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51699 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51700 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51701 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51702 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51703 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51704 (__isnanf): Likewise.
51705 (__isinf_ns): Likewise.
51706 (__isinf_nsf): Likewise.
51707 (__finite): Likewise.
51708 (__finitef): Likewise.
51709 (__ieee754_sqrt): Define as macro.
51710 (__ieee754_sqrtf): Define as macro.
51711 (__ieee754_sqrtl): Define as macro.
51712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51713 inlined copy.
51714 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51715 __FINITE_MATH_ONLY__ consistent.
51716 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51717
12cc2fcd
AS
517182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51719
a843a204
AS
51720 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51721 of rawmemchr.
51722
12cc2fcd
AS
51723 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51724
c853acd5
UD
517252011-10-09 Ulrich Drepper <drepper@gmail.com>
51726
51727 * po/ja.po: Update from translation team.
51728
c658d255
RM
517292011-10-08 Roland McGrath <roland@hack.frob.com>
51730
110946e4
RM
51731 * locale/programs/locarchive.c (prepare_address_space): New function.
51732 (create_archive, enlarge_archive, open_archive): Use it.
51733
50604220
RM
51734 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51735 inside [SHARED], where it is used.
51736
c658d255
RM
51737 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51738
51739 * nss/getent.c (netgroup_keys): Remove unused variable.
51740 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51741
6a621eb7
UD
517422011-10-08 Ulrich Drepper <drepper@gmail.com>
51743
7edb55ce
UD
51744 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51748 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51749 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51750 * math/Makefile (libm-calls): Add s_isinf_ns.
51751 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51752 * math/multc3.c: Likewise.
51753 * math/s_casin.c: Likewise.
51754 * math/s_casinf.c: Likewise.
51755 * math/s_casinl.c: Likewise.
51756 * math/s_ccos.c: Likewise.
51757 * math/s_ccosf.c: Likewise.
51758 * math/s_ccosl.c: Likewise.
51759 * math/s_ctan.c: Likewise.
51760 * math/s_ctanf.c: Likewise.
51761 * math/s_ctanh.c: Likewise.
51762 * math/s_ctanhf.c: Likewise.
51763 * math/s_ctanhl.c: Likewise.
51764 * math/s_ctanl.c: Likewise.
51765 * math/w_fmod.c: Likewise.
51766 * math/w_fmodf.c: Likewise.
51767 * math/w_fmodl.c: Likewise.
51768 * math/w_remainder.c: Likewise.
51769 * math/w_remainderf.c: Likewise.
51770 * math/w_remainderl.c: Likewise.
51771 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51772 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51775 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51776 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51777 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51778 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51779
187da0ae
UD
51780 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51781 of the number.
51782 * stdio-common/printf_fphex.c: Likewise.
51783 * stdio-common/printf_size.c: Likewise.
51784
9277c064
UD
51785 * math/e_exp10.c: Include math_private.h using <...> not "...".
51786 * math/e_exp10f.c: Likewise.
51787 * math/e_exp10l.c: Likewise.
51788 * math/e_exp2l.c: Likewise.
51789 * math/e_j0l.c: Likewise.
51790 * math/e_j1l.c: Likewise.
51791 * math/e_jnl.c: Likewise.
51792 * math/e_lgammal_r.c: Likewise.
51793 * math/e_rem_pio2l.c: Likewise.
51794 * math/e_scalb.c: Likewise.
51795 * math/e_scalbf.c: Likewise.
51796 * math/e_scalbl.c: Likewise.
51797 * math/k_cosl.c: Likewise.
51798 * math/k_sinl.c: Likewise.
51799 * math/k_tanl.c: Likewise.
51800 * math/s_cacoshf.c: Likewise.
51801 * math/s_catan.c: Likewise.
51802 * math/s_catanf.c: Likewise.
51803 * math/s_catanh.c: Likewise.
51804 * math/s_catanhf.c: Likewise.
51805 * math/s_catanhl.c: Likewise.
51806 * math/s_catanl.c: Likewise.
51807 * math/s_ccosh.c: Likewise.
51808 * math/s_ccoshf.c: Likewise.
51809 * math/s_ccoshl.c: Likewise.
51810 * math/s_cexp.c: Likewise.
51811 * math/s_cexpf.c: Likewise.
51812 * math/s_cexpl.c: Likewise.
51813 * math/s_clog.c: Likewise.
51814 * math/s_clog10.c: Likewise.
51815 * math/s_clog10f.c: Likewise.
51816 * math/s_clog10l.c: Likewise.
51817 * math/s_clogf.c: Likewise.
51818 * math/s_clogl.c: Likewise.
51819 * math/s_csin.c: Likewise.
51820 * math/s_csinf.c: Likewise.
51821 * math/s_csinh.c: Likewise.
51822 * math/s_csinhf.c: Likewise.
51823 * math/s_csinhl.c: Likewise.
51824 * math/s_csinl.c: Likewise.
51825 * math/s_csqrt.c: Likewise.
51826 * math/s_csqrtf.c: Likewise.
51827 * math/s_csqrtl.c: Likewise.
51828 * math/s_ctan.c: Likewise.
51829 * math/s_ctanf.c: Likewise.
51830 * math/s_ctanh.c: Likewise.
51831 * math/s_ctanhf.c: Likewise.
51832 * math/s_ctanhl.c: Likewise.
51833 * math/s_ctanl.c: Likewise.
51834 * math/s_ldexp.c: Likewise.
51835 * math/s_ldexpf.c: Likewise.
51836 * math/s_ldexpl.c: Likewise.
51837 * math/s_significand.c: Likewise.
51838 * math/s_significandf.c: Likewise.
51839 * math/s_significandl.c: Likewise.
51840 * math/w_acos.c: Likewise.
51841 * math/w_acosf.c: Likewise.
51842 * math/w_acosh.c: Likewise.
51843 * math/w_acoshf.c: Likewise.
51844 * math/w_acoshl.c: Likewise.
51845 * math/w_acosl.c: Likewise.
51846 * math/w_asin.c: Likewise.
51847 * math/w_asinf.c: Likewise.
51848 * math/w_asinl.c: Likewise.
51849 * math/w_atan2.c: Likewise.
51850 * math/w_atan2f.c: Likewise.
51851 * math/w_atan2l.c: Likewise.
51852 * math/w_atanh.c: Likewise.
51853 * math/w_atanhf.c: Likewise.
51854 * math/w_atanhl.c: Likewise.
51855 * math/w_cosh.c: Likewise.
51856 * math/w_coshf.c: Likewise.
51857 * math/w_coshl.c: Likewise.
51858 * math/w_dremf.c: Likewise.
51859 * math/w_exp10.c: Likewise.
51860 * math/w_exp10f.c: Likewise.
51861 * math/w_exp10l.c: Likewise.
51862 * math/w_exp2.c: Likewise.
51863 * math/w_exp2f.c: Likewise.
51864 * math/w_fmod.c: Likewise.
51865 * math/w_fmodf.c: Likewise.
51866 * math/w_fmodl.c: Likewise.
51867 * math/w_hypot.c: Likewise.
51868 * math/w_hypotf.c: Likewise.
51869 * math/w_hypotl.c: Likewise.
51870 * math/w_j0.c: Likewise.
51871 * math/w_j0f.c: Likewise.
51872 * math/w_j0l.c: Likewise.
51873 * math/w_j1.c: Likewise.
51874 * math/w_j1f.c: Likewise.
51875 * math/w_j1l.c: Likewise.
51876 * math/w_jn.c: Likewise.
51877 * math/w_jnf.c: Likewise.
51878 * math/w_jnl.c: Likewise.
51879 * math/w_lgamma.c: Likewise.
51880 * math/w_lgamma_r.c: Likewise.
51881 * math/w_lgammaf.c: Likewise.
51882 * math/w_lgammaf_r.c: Likewise.
51883 * math/w_lgammal.c: Likewise.
51884 * math/w_lgammal_r.c: Likewise.
51885 * math/w_log.c: Likewise.
51886 * math/w_log10.c: Likewise.
51887 * math/w_log10f.c: Likewise.
51888 * math/w_log10l.c: Likewise.
51889 * math/w_log2.c: Likewise.
51890 * math/w_log2f.c: Likewise.
51891 * math/w_log2l.c: Likewise.
51892 * math/w_logf.c: Likewise.
51893 * math/w_logl.c: Likewise.
51894 * math/w_pow.c: Likewise.
51895 * math/w_powf.c: Likewise.
51896 * math/w_powl.c: Likewise.
51897 * math/w_remainder.c: Likewise.
51898 * math/w_remainderf.c: Likewise.
51899 * math/w_remainderl.c: Likewise.
51900 * math/w_scalb.c: Likewise.
51901 * math/w_scalbf.c: Likewise.
51902 * math/w_scalbl.c: Likewise.
51903 * math/w_sinh.c: Likewise.
51904 * math/w_sinhf.c: Likewise.
51905 * math/w_sinhl.c: Likewise.
51906 * math/w_sqrt.c: Likewise.
51907 * math/w_sqrtf.c: Likewise.
51908 * math/w_sqrtl.c: Likewise.
51909 * math/w_tgamma.c: Likewise.
51910 * math/w_tgammaf.c: Likewise.
51911 * math/w_tgammal.c: Likewise.
51912
6a621eb7
UD
51913 * po/ja.po: Update from translation team.
51914
bf582445
AJ
519152011-09-29 Andreas Jaeger <aj@suse.de>
51916
f9efbf3a
AJ
51917 [BZ #13179]
51918 * sunrpc/netname.c (netname2host): Fix logic.
51919
bf582445
AJ
51920 [BZ #6779]
51921 [BZ #6783]
51922 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51923 correctly.
51924 * math/w_remainder.c (__remainder): Likewise.
51925 * math/w_remainderf.c (__remainderf): Likewise.
51926 * math/libm-test.inc (remainder_test): Add test cases.
51927
48693bea
AK
519282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51929
51930 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51931 sdiv_qrnnd.
51932
42622229
LD
519332011-10-07 Ulrich Drepper <drepper@gmail.com>
51934
51935 * string/test-memcmp.c: Avoid unncessary #defines.
51936 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51937
093ecf92
LD
519382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51939
51940 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51941 Use new sse2 version for core i3 - i7 as it's faster
51942 than sse42 version.
51943 (bit_Prefer_PMINUB_for_stringop): New.
51944 * sysdeps/x86_64/rawmemchr.S: Update.
51945 Replace with faster SSE2 version.
51946 * sysdeps/x86_64/memrchr.S: New file.
51947 * sysdeps/x86_64/memchr.S: Update.
51948 Replace with faster SSE2 version.
51949
fde56e5c
MP
519502011-09-12 Marek Polacek <mpolacek@redhat.com>
51951
51952 * elf/dl-load.c (lose): Add cast to avoid warning.
51953
21fd49a9
UD
519542011-10-07 Ulrich Drepper <drepper@gmail.com>
51955
5a06e643
UD
51956 * po/ca.po: Update from translation team.
51957
684ae515
UD
51958 * inet/getnetgrent_r.c: Hook up nscd.
51959 * nscd/Makefile (routines): Add nscd_netgroup.
51960 (nscd-modules): Add netgroupcache.
51961 (CFLAGS-netgroupcache.c): Define.
51962 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51963 (cache_search): Add const to second parameter.
51964 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51965 INNETGR.
51966 (dbs): Add netgrdb entry.
51967 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51968 (verify_persistent_db): Handle netgrdb.
51969 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51970 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51971 GETFDNETGR.
51972 (netgroup_response_header): Define.
51973 (innetgroup_response_header): Define.
51974 (datahead): Add netgroup_response_header and innetgroup_response_header
51975 elements.
51976 * nscd/nscd.conf: Add entries for netgroup cache.
51977 * nscd/nscd.h (dbtype): Add netgrdb.
51978 (_PATH_NSCD_NETGROUP_DB): Define.
51979 (netgroup_iov_disabled): Declare.
51980 (xmalloc, xcalloc, xrealloc): Move declarations here.
51981 (cache_search): Adjust prototype.
51982 Add netgroup-related prototypes.
51983 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51984 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51985 (__nscd_innetgr): Declare.
51986 * nscd/selinux.c (perms): Use access_vector_t as element type and
51987 add netgroup-related initializers.
51988 * nscd/netgroupcache.c: New file.
51989 * nscd/nscd_netgroup.c: New file.
51990 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51991 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51992 For four parameters use innetgr.
51993 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51994 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51995 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51996 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51997
21fd49a9
UD
51998 * nscd/connections.c (register_traced_file): Don't register file
51999 for disabled databases.
52000
054c0457
UD
520012011-10-06 Ulrich Drepper <drepper@gmail.com>
52002
32b63198
UD
52003 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52004
054c0457
UD
52005 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52006 from tree and freeing node.
52007
64031225
JO
520082011-09-25 Jiri Olsa <jolsa@redhat.com>
52009
52010 * nss/nsswitch.c (__nss_database_lookup): Handle
52011 nss_parse_service_list out of memory case.
52012
0490345c
JO
520132011-09-15 Jiri Olsa <jolsa@redhat.com>
52014
52015 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52016 out of memory case.
52017
3a62d00d
AS
520182011-10-04 Andreas Schwab <schwab@redhat.com>
52019
52020 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52021 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52022 pass it down.
52023 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52024 elf_machine_rela, elf_machine_lazy_rel.
52025 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52026 (ELF_DYNAMIC_DO_REL): Likewise.
52027 (ELF_DYNAMIC_DO_RELA): Likewise.
52028 (ELF_DYNAMIC_RELOCATE): Likewise.
52029 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52030 to ELF_DYNAMIC_DO_REL.
52031 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52032 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52033 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52034 elf_machine_rela.
52035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52036 skip_ifunc, don't call ifunc function if non-zero.
52037 (elf_machine_rela): Likewise.
52038 (elf_machine_lazy_rel): Likewise.
52039 (elf_machine_lazy_rela): Likewise.
52040 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52041 (elf_machine_lazy_rel): Likewise.
52042 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52043 Likewise.
52044 (elf_machine_lazy_rel): Likewise.
52045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52046 Likewise.
52047 (elf_machine_lazy_rel): Likewise.
52048 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52049 (elf_machine_lazy_rel): Likewise.
52050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52051 (elf_machine_lazy_rel): Likewise.
52052 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52053 (elf_machine_lazy_rel): Likewise.
52054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52055 (elf_machine_lazy_rel): Likewise.
52056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52057 (elf_machine_lazy_rel): Likewise.
52058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52059 (elf_machine_lazy_rel): Likewise.
52060
68577918
UD
520612011-09-28 Ulrich Drepper <drepper@gmail.com>
52062
52063 * nss/nss_files/files-init.c (_nss_files_init): Use static
52064 initialization for all the *_traced_file variables.
52065
68822d74
AS
520662011-09-28 Andreas Schwab <schwab@redhat.com>
52067
52068 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52069
2056100b
RM
520702011-09-27 Roland McGrath <roland@hack.frob.com>
52071
52072 [BZ #13226]
52073 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52074
32c76b63
AS
520752011-09-27 Andreas Schwab <schwab@redhat.com>
52076
52077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52078 Reread the line before reparsing it.
52079
bf972c9d
AS
520802011-09-26 Andreas Schwab <schwab@redhat.com>
52081
52082 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52083
e057a1b5
JM
520842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52085 Maxim Kuvyrkov <maxim@codesourcery.com>
52086 Joseph Myers <joseph@codesourcery.com>
52087
52088 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52089 if needed for __stack_chk_guard.
52090
bc7e1c36
RM
520912011-09-19 Roland McGrath <roland@hack.frob.com>
52092
ecb1482f
RM
52093 * sysdeps/posix/spawni.c (script_execute): Always define it.
52094 It will be optimized away if unused.
52095 (maybe_script_execute): New function.
52096 (__spawni): Call it.
52097
bc7e1c36
RM
52098 * Makerules: Don't include tls.make.
52099 (config-tls): Always set to thread.
52100 * tls.make.c: File removed.
52101
1c3b002b
MF
521022011-09-19 Mike Frysinger <vapier@gentoo.org>
52103
52104 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52105 * config.make.in (CPPFLAGS-config): New substituted variable.
52106
2840865d
UD
521072011-09-15 Ulrich Drepper <drepper@gmail.com>
52108
88738eb6
UD
52109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52110
cbf645a6 52111 [BZ #13192]
2840865d
UD
52112 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52113 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52114
b402e91a
RM
521152011-09-15 Roland McGrath <roland@hack.frob.com>
52116
52117 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52118 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52120 (CALL_FAIL): Likewise.
52121 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52122 (CALL_FAIL): Macro removed.
52123 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52124
4c1a1f71
UD
521252011-09-15 Ulrich Drepper <drepper@gmail.com>
52126
52127 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52128 for __FINITE_MATH_ONLY__ == 1.
52129
edc121be
AS
521302011-09-15 Andreas Schwab <schwab@redhat.com>
52131
52132 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52133 __ieee754_sqrt instead of sqrt.
52134 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52135 __ieee754_sqrtf instead of sqrtf.
52136 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52137 __floorf instead of floorf.
52138 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52139 __floorf, __truncf instead of floorf, truncf.
52140
cd205654
UD
521412011-09-14 Ulrich Drepper <drepper@gmail.com>
52142
ee4d0315
UD
52143 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52144
cd205654
UD
52145 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52146 __extern_always_inline.
52147 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52148 32-bit.
52149
48b67d71
AS
521502011-09-14 Andreas Schwab <schwab@redhat.com>
52151
52152 * elf/rtld.c (dl_main): Also relocate in dependency order when
52153 doing symbol dependency testing.
52154
1ae12c75
AS
521552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52156
52157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52158 Always define `refsym'.
52159
995a80df
AS
521602011-09-13 Andreas Schwab <schwab@redhat.com>
52161
e529793b
AS
52162 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52163 (__FD_ELT): Renamed from __FDELT.
52164 * misc/bits/select2.h (__FD_ELT): Likewise.
52165 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52166 __FD_MASK instead of __FDELT, __FDMASK.
52167 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52168 Likewise.
52169 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52170 Likewise.
52171
52d4fef8
AS
52172 * elf/Makefile (gen-ldd): Fix pattern.
52173
995a80df
AS
52174 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52175 (init_tls): Likewise.
52176
8682f8b0
UD
521772011-09-12 Ulrich Drepper <drepper@gmail.com>
52178
52179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52180
de82006d
AS
521812011-09-12 Andreas Schwab <schwab@redhat.com>
52182
a7c8e6a1
AS
52183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52184 `struct cmsghdr *' instead of `void *'.
52185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52186 Likewise.
52187
0f31fe77
AS
521882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52189
52190 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52191 if non-absolute.
52192 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52193 ldd_rewrite_script.
0f31fe77 52194
32b4c839
UD
521952011-09-11 Ulrich Drepper <drepper@gmail.com>
52196
83cd1420
UD
52197 * configure.in: Remove --with-tls option.
52198 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52199 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52200 out in case it is missing.
52201 * sysdeps/ia64/elf/configure.in: Likewise.
52202 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52203 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52204 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52205 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52206 * sysdeps/sh/elf/configure.in: Likewise.
52207 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52209 * sysdeps/x86_64/elf/configure.in: Likewise.
52210 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52211 * sysdeps/mach/hurd/tls.h: Likewise.
52212
633f745d
UD
52213 [BZ #13067]
52214 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52215
f318beb8
UD
52216 [BZ #13090]
52217 * configure.in: Fix use of AC_INIT.
52218
32b4c839
UD
52219 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52220
3ce1f295
UD
522212011-09-10 Ulrich Drepper <drepper@gmail.com>
52222
bb016596
UD
52223 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52224 __set_errno.
8e58439c
UD
52225 * malloc/hooks.c: Likewise.
52226
aebae053 52227 [BZ #11929]
02d46fc4
UD
52228 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52229 variables statically.
52230 (narenas): Initialize.
52231 (list_lock): Initialize.
bb016596
UD
52232 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52233 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52234 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52235 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52236 Add initializers to main_arena and mp_.
52237 (malloc_state): Remove pagesize member. Change all users to use
52238 GLRO(dl_pagesize).
52239
52240 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52241 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52242 is always initialized.
52243
22a89187
UD
52244 * malloc/malloc.c: Removed unused configurations and dead code.
52245 * malloc/arena.c: Likewise.
52246 * malloc/hooks.c: Likewise.
02d46fc4 52247 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52248
d063d164
UD
52249 * include/tls.h: Removed. USE___THREAD must always be defined.
52250 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52251 * elf/dl-libc.c: Likewise.
52252 * elf/dl-tsd.c: Likewise.
52253 * include/errno.h: Likewise.
52254 * include/netdb.h: Likewise.
52255 * include/resolv.h: Likewise.
52256 * inet/herrno-loc.c: Likewise.
52257 * inet/herrno.c: Likewise.
52258 * malloc/arena.c: Likewise.
52259 * malloc/hooks.c: Likewise.
52260 * malloc/malloc.c: Likewise.
52261 * resolv/res-state.c: Likewise.
52262 * resolv/res_libc.c: Likewise.
52263 * sysdeps/i386/dl-machine.h: Likewise.
52264 * sysdeps/ia64/dl-machine.h: Likewise.
52265 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52266 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52267 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52268 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52269 * sysdeps/sh/dl-machine.h: Likewise.
52270 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52271 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52272 * sysdeps/unix/i386/sysdep.S: Likewise.
52273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52274 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52279 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52284 * sysdeps/x86_64/dl-machine.h: Likewise.
52285 * tls.make.c: Likewise.
52286
3ce1f295
UD
52287 * configure.in: Remove --with-__thread option. Make tests for
52288 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52289 tls_model attribute fail if no support is available. Remove
52290 USE_IN_LIBIO.
52291 * Makeconfig: Adjust for dropped configure option. All features are
52292 now mandatory.
52293 * Makerules: Likewise.
52294 * Versions.def: Likewise.
52295 * argp/argp-fmtstream.c: Likewise.
52296 * argp/argp-fmtstream.h: Likewise.
52297 * argp/argp-help.c: Likewise.
52298 * assert/assert.c: Likewise.
52299 * config.h.in: Likewise.
52300 * config.make.in: Likewise.
52301 * configure: Likewise.
52302 * configure.in: Likewise.
52303 * csu/Versions: Likewise.
52304 * csu/init.c: Likewise.
52305 * elf/tst-audit2.c: Likewise.
52306 * elf/tst-tls10.c: Likewise.
52307 * elf/tst-tls10.h: Likewise.
52308 * elf/tst-tls11.c: Likewise.
52309 * elf/tst-tls12.c: Likewise.
52310 * elf/tst-tls14.c: Likewise.
52311 * elf/tst-tlsmod11.c: Likewise.
52312 * elf/tst-tlsmod12.c: Likewise.
52313 * elf/tst-tlsmod13.c: Likewise.
52314 * elf/tst-tlsmod13a.c: Likewise.
52315 * elf/tst-tlsmod14a.c: Likewise.
52316 * elf/tst-tlsmod15b.c: Likewise.
52317 * elf/tst-tlsmod16a.c: Likewise.
52318 * elf/tst-tlsmod16b.c: Likewise.
52319 * elf/tst-tlsmod7.c: Likewise.
52320 * elf/tst-tlsmod8.c: Likewise.
52321 * elf/tst-tlsmod9.c: Likewise.
52322 * gmon/gmon.c: Likewise.
52323 * grp/fgetgrent_r.c: Likewise.
52324 * grp/putgrent.c: Likewise.
52325 * hurd/fopenport.c: Likewise.
52326 * include/libc-symbols.h: Likewise.
52327 * include/tls.h: Likewise.
52328 * intl/gettextP.h: Likewise.
52329 * intl/loadinfo.h: Likewise.
52330 * locale/global-locale.c: Likewise.
52331 * locale/localeinfo.h: Likewise.
52332 * mach/devstream.c: Likewise.
52333 * malloc/arena.c: Likewise.
52334 * malloc/set-freeres.c: Likewise.
52335 * misc/err.c: Likewise.
52336 * misc/getttyent.c: Likewise.
52337 * misc/mntent_r.c: Likewise.
52338 * posix/getopt.c: Likewise.
52339 * posix/wordexp.c: Likewise.
52340 * pwd/fgetpwent_r.c: Likewise.
52341 * resolv/Versions: Likewise.
52342 * resolv/res_hconf.c: Likewise.
52343 * shadow/fgetspent_r.c: Likewise.
52344 * shadow/putspent.c: Likewise.
52345 * stdio-common/printf_fphex.c: Likewise.
52346 * stdio-common/tmpfile.c: Likewise.
52347 * stdlib/abort.c: Likewise.
52348 * stdlib/fmtmsg.c: Likewise.
52349 * sunrpc/auth_unix.c: Likewise.
52350 * sunrpc/clnt_perr.c: Likewise.
52351 * sunrpc/clnt_tcp.c: Likewise.
52352 * sunrpc/clnt_udp.c: Likewise.
52353 * sunrpc/clnt_unix.c: Likewise.
52354 * sunrpc/openchild.c: Likewise.
52355 * sunrpc/svc_simple.c: Likewise.
52356 * sunrpc/svc_tcp.c: Likewise.
52357 * sunrpc/svc_udp.c: Likewise.
52358 * sunrpc/svc_unix.c: Likewise.
52359 * sunrpc/xdr.c: Likewise.
52360 * sunrpc/xdr_array.c: Likewise.
52361 * sunrpc/xdr_rec.c: Likewise.
52362 * sunrpc/xdr_ref.c: Likewise.
52363 * sunrpc/xdr_stdio.c: Likewise.
52364
1248c1c4
PB
523652011-09-09 Ulrich Drepper <drepper@gmail.com>
52366
52367 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52368
523692011-07-03 Andreas Jaeger <aj@suse.de>
52370
52371 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52372 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52373 regenerate with gen-libm-tests.pl.
52374
523752010-05-12 Petr Baudis <pasky@suse.cz>
52376
52377 [BZ #11589]
52378 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52379 around j0() zero points by switching to j1().
52380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52384
f22e1074
UD
523852011-09-09 Ulrich Drepper <drepper@gmail.com>
52386
f19009c1
UD
52387 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52388 instead of 0.
52389 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52390 instead of 0.
f19009c1
UD
52391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52392 Patch in part by Pavel Roskin <proski@gnu.org>.
52393
3f8cc204
UD
52394 [BZ #13138]
52395 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52396 realloc.
52397 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52398 Free memory block if necessary.
52399
f22e1074
UD
52400 [BZ #12847]
52401 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52402 be NULL. Don't lock in this case.
52403
0a2349f9
RM
524042011-09-09 Roland McGrath <roland@hack.frob.com>
52405
52406 * elf/elf.h (ELFOSABI_GNU): New macro.
52407 (ELFOSABI_LINUX): Define to that.
52408
f3cdd467
DZ
524092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52410
52411 * string/strncat.c (strncat): Undef the symbol in case it has been
52412 defined in bits/string.h.
52413
74718d13
UD
524142011-09-09 Ulrich Drepper <drepper@gmail.com>
52415
633e9e0f
UD
52416 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52417
0a2349f9 52418 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52419 link map.
52420
f9924780
AJ
524212011-08-17 Andreas Jaeger <aj@suse.de>
52422
52423 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52424
7f5517aa
PP
524252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52426 Ian Lance Taylor <iant@google.com>
52427
52428 * math/libm-test.inc (lround_test): New testcase.
52429 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52430
762011fe
UD
524312011-09-08 Ulrich Drepper <drepper@gmail.com>
52432
92963737
UD
52433 * Makefile: Remove support for automatic cvs check-ins.
52434 * Makerules: Likewise.
52435 * config.make.in: Likewise.
52436 * configure.in: Likewise.
52437 * intl/Makefile: Likewise.
52438 * locale/Makefile: Likewise.
52439 * po/Makefile: Likewise.
52440 * posix/Makefile: Likewise.
52441 * sysdeps/gnu/Makefile: Likewise.
52442 * sysdeps/mach/hurd/Makefile: Likewise.
52443 * sysdeps/sparc/sparc32/Makefile: Likewise.
52444
b0727fd8
JS
52445 [BZ #13118]
52446 * posix/Makefile (bug-regex32-ENV): Define.
52447 Patch by John Stanley <jpsinthemix@verizon.net>.
52448
a0f33f99
UD
52449 * misc/Makefile (headers): Add bits/select2.h.
52450 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52451 * misc/bits/select2.h: New file.
52452 * include/bits/select2.h: New file.
52453 * debug/Makefile (routines): Add fdelt_chk.
52454 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52455 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52456 FD_ISSET.
52457 * debug/fdelt_chk.c: New file.
52458
762011fe
UD
52459 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52460 * wcsmbs/test-wmemcmp.c: Likewise.
52461 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52462 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52463
524642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52465
52466 * string/Makefile (strop-tests): Add memcmp.
52467 * string/test-wmemcmp.c: New file.
52468 * string/test-memcmp.c: Add wmemcmp support.
52469
7f513ec8
RM
524702011-09-08 Roland McGrath <roland@hack.frob.com>
52471
0442afb4
RM
52472 [BZ #13153]
52473 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52474 2011-07-19 change.
52475
7f513ec8
RM
52476 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52477 garbage value in a __mach_port_mod_refs call in the cases of the
52478 task-self and thread-self ports.
52479
a12b2239
ST
524802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52481
52482 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52483
610f9ab4
AS
524842011-09-08 Andreas Schwab <schwab@redhat.com>
52485
7f513ec8 52486 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52487
48882a1a
LD
524882011-09-07 Ulrich Drepper <drepper@gmail.com>
52489
b49865be
UD
52490 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52491
fdc86bc9
UD
52492 * elf/dl-libc.c (dlerror_run): Pass back error code from
52493 dl_catch_error.
52494
c966526a
UD
52495 [BZ #13123]
52496 * elf/dl-load.c (lose): Free l_origin if it is valid.
52497
48882a1a
LD
52498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52499 names.
52500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52503 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52504 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52505 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52506
77a2a8b4
AZ
525072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52508
52509 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52510 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52511 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52513 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52514 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52515 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52516 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52517 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52518 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52519
24f579d8
AM
525202011-08-15 Alan Modra <amodra@gmail.com>
52521
52522 [BZ #13092]
52523 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52524 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52525 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52526 ppc_mcount to static-only-routines.
52527 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52528 __mcount_internal.
52529 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52530 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52531
3d4837df
UD
525322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52533
52534 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52535 for finite and infinity parameters.
52536
22700377
WS
525372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52538
52539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52540 and add nop instructions for throughput optimization.
52541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52542
5025581e
WS
525432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52544
52545 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52546 aligned copy for power7 with vector-scalar instructions.
52547 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52548
08a300c9
L
525492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52550
52551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52552 AVX check.
52553
59178ef9
AS
525542011-09-07 Andreas Schwab <schwab@redhat.com>
52555
52556 [BZ #13144]
52557 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52558 last change.
52559
e38ba7ab
UD
525602011-09-07 Ulrich Drepper <drepper@gmail.com>
52561
52562 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52563 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52564 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52566 clock_gettime.
52567
d53a73ac
UD
525682011-09-06 Ulrich Drepper <drepper@gmail.com>
52569
fc8bffcc
UD
52570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52571 Forgot to demangle the pointer.
52572
ceaa0c5d
UD
52573 * sysdeps/i386/sysdep.h: Define atom_text_section.
52574 * sysdeps/x86_64/sysdep.h: Likewise.
52575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52576 section with atom_text_section.
52577 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52582
a77d3c17
UD
52583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52585 already be defined. Change to take two parameters and don't assign
52586 result to variable. Adjust all users.
52587 Define INTERNAL_GETTIME if not already defined.
52588 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52589 call.
52590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52591 HAVE_CLOCK_GETTIME_VSYSCALL.
52592 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52593
d53a73ac
UD
52594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52595 gettimeofday vsyscall, just use time.
52596
a8f84144
AS
525972011-09-06 Andreas Schwab <schwab@redhat.com>
52598
52599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52600 <errno.h>.
52601
ef606249
UD
526022011-09-06 Ulrich Drepper <drepper@gmail.com>
52603
52604 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52605 syscall on x86-64.
52606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52607 syscall.
52608 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52610 syscall if possible.
52611
6585cb60
UD
526122011-09-05 Ulrich Drepper <drepper@gmail.com>
52613
52614 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52615 e_ident. Don't pass to find_mapsXX.
52616 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52617
a5f524e4
LD
526182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52619
52620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52621 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52622 * sysdeps/x86_64/multiarch/strchr.S: Update.
52623 Check bit_slow_BSF bit.
52624 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52625 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52626 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52627
554881ef
UD
526282011-09-05 Ulrich Drepper <drepper@gmail.com>
52629
d96de963
UD
52630 [BZ #13134]
52631 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52632 before glibc 2.15.
52633 (tryshell): Define.
52634 (__spawni): Change last parameter to be flag. Test
52635 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52636 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52637 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52638 * posix/spawni.c: Likewise.
52639 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52640 * posix/spawnp.c: Likewise. Change normal version to use
52641 SPAWN_XFLAGS_USE_PATH.
52642 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52643 SPAWN_XFLAGS_TRY_SHELL.
52644
d48e5868
UD
52645 [BZ #13150]
52646 * posix/glob.h: Remove gcc 1.x support.
52647
554881ef
UD
52648 [BZ #13068]
52649 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52650
693fb948
LD
526512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52652
52653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52654 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52655 strrchr-sse2-bsf
52656 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52657 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52660 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52662
1b48c537
UD
526632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52664
49d42c37
UD
52665 * sysdeps/x86_64/wcscmp.S: New file.
52666
1b48c537
UD
52667 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52668 wcscmp-c wcscmp-sse2
52669 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52670 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52671 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52672 * wcsmbs/wcscmp.c: Allow renaming.
52673
15c95c5d
DM
526742011-09-05 David S. Miller <davem@davemloft.net>
52675
52676 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52677 stack slot, rather than the struct return pointer slot.
52678 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52679 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52681 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52682
2f0ad8f3
UD
526832011-09-05 Ulrich Drepper <drepper@gmail.com>
52684
d88ae418
UD
52685 * po/ja.po: Update from translation team.
52686
2f0ad8f3
UD
52687 [BZ #13144]
52688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52689 kernel in 64-bit binaries.
52690
5f4318d1
DM
526912011-09-01 David S. Miller <davem@davemloft.net>
52692
52693 * elf/elf.h (HWCAP_SPARC_*): Move to..
52694 * sysdeps/sparc/sysdep.h: this new file and add new values.
52695 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52696 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52697 _DL_HWCAP_COUNT to 24.
52698 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52699 entries.
52700 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52701 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52702 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52704 instead of magic constants.
52705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52706
3ba57516
DM
527072011-08-31 David S. Miller <davem@davemloft.net>
52708
52709 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52711 Reimplement to do errno handling inline.
52712 (SYSCALL_ERROR_HANDLER): New macro.
52713 (__SYSCALL_STRING): Do not do errno handling in asm.
52714 (__CLONE_SYSCALL_STRING): Delete.
52715 (__INTERNAL_SYSCALL_STRING): Delete.
52716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52717 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52718 (PSEUDO): Reimplement to do errno handling inline.
52719 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52720 (SYSCALL_ERROR_HANDLER): New macro.
52721 (__SYSCALL_STRING): Do not do errno handling in asm.
52722 (__CLONE_SYSCALL_STRING): Delete.
52723 (__INTERNAL_SYSCALL_STRING): Delete.
52724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52725 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52726 i386.
52727 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52728 (inline_syscall*): Add 'err' argument.
52729 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52730 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52731 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52732 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52733
52734 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52735 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52736
2bc17433
AS
527372011-08-30 Andreas Schwab <schwab@redhat.com>
52738
52739 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52740
fbeb5f4d
JO
527412011-08-29 Jiri Olsa <jolsa@redhat.com>
52742
52743 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52744 directive.
52745
ad69cc26
DM
527462011-08-24 David S. Miller <davem@davemloft.net>
52747
52748 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52749
39dd69df
AS
527502011-08-24 Andreas Schwab <schwab@redhat.com>
52751
52752 * elf/Makefile: Add rules to build and run unload8 test.
52753 * elf/unload8.c: New file.
52754 * elf/unload8mod1.c: New file.
52755 * elf/unload8mod1x.c: New file.
52756 * elf/unload8mod2.c: New file.
52757 * elf/unload8mod3.c: New file.
52758
52759 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52760 it wasn't used.
52761
2c0b250a
DM
527622011-08-23 David S. Miller <davem@davemloft.net>
52763
52764 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52765 subtract stack bias.
52766 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52767 %sp not %fp in calculations.
52768 (_JMPBUF_UNWINDS_ADJ): Likewise.
52769
22044b48
DM
52770 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52771 (aio_suspend): Call it to force an exception region around the
52772 AIO_MISC_WAIT() invocation.
52773
2cae4995
AS
527742011-08-23 Andreas Schwab <schwab@redhat.com>
52775
52776 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52777 backslash.
52778
873a772e
AJ
527792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52780
52781 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52782 protection macro.
52783 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52784 and <dl-machine.h>.
52785 (Elf64_FuncDesc): Remove.
52786
25ad0df1
DM
527872011-08-22 David S. Miller <davem@davemloft.net>
52788
52789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52790 sigaltstack check, add missing cfi directives.
52791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52792 missing cfi directives, and sigaltstack handling.
52793
e888bcbe
AS
527942011-08-16 Andreas Schwab <schwab@redhat.com>
52795
52796 [BZ #11724]
52797 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52798 object is seen twice.
52799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52800
52801 * elf/Makefile (distribute): Add tst-initorder2.c.
52802 (tests): Add tst-initorder2.
52803 (modules-names): Add tst-initorder2a tst-initorder2b
52804 tst-initorder2c tst-initorder2d. Add rules to build them.
52805 ($(objpfx)tst-initorder2.out): New rule.
52806 * elf/tst-initorder2.c: New file.
52807 * elf/tst-initorder2.exp: New file.
52808
87162f46
AS
528092011-08-22 Andreas Schwab <schwab@redhat.com>
52810
70538b7f
AS
52811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52812
f55ffe58
AS
52813 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52814 dependencies back to end of function.
52815
87162f46
AS
52816 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52817 $(elfobjdir)/ld.so.
52818
91b392a4
UD
528192011-08-21 Ulrich Drepper <drepper@gmail.com>
52820
52821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52822 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52824 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52825 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52826 of __vdso_gettimeofday.
52827 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52828 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52829 attribute_hidden.
52830 (_libc_vdso_platform_setup): Remove initialization of
52831 __vdso_gettimeofday and __vdso_time.
52832
5c43483f
UD
528332011-08-20 Ulrich Drepper <drepper@gmail.com>
52834
775a77e7
UD
52835 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52836 and fgetc_unlocked.
52837 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52838 getc_unlocked.
89f447ed 52839
49c74ba9
UD
52840 * elf/dl-open.c (add_to_global): Report additions to the global scope
52841 for LD_DEBUG=scopes.
52842 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52843 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52844
5c43483f
UD
52845 [BZ #13114]
52846 * stdio-common/Makefile (tests): Add bug24.
52847 * stdio-common/bug24.c: New file.
52848
a101b025
AJ
528492011-08-19 Andreas Jaeger <aj@suse.de>
52850
52851 [BZ #13114]
52852 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52853 non-existant file when using close-on-exec mode.
52854
c88f1766
UD
528552011-08-20 Ulrich Drepper <drepper@gmail.com>
52856
0276a718
UD
52857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52858 the very first instruction.
52859
c88f1766
UD
52860 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52861 the CFI state in the end.
52862 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52863 inclusion of dl-trampoline.h.
52864 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52865
51ccffa0
AS
528662011-08-19 Andreas Schwab <schwab@redhat.com>
52867
94d7165f
AS
52868 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52869 expectations for long double.
52870
51ccffa0
AS
52871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52872 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52873
fd708658 528742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52875
52876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52877 artificual limit depends upon the system page size.
52878
44f0a71e
UD
528792011-08-17 Ulrich Drepper <drepper@gmail.com>
52880
52881 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52882 * resolv/Makefile: Define CFLAGS-libresolv.
52883
8de79a24
AS
528842011-08-17 Andreas Schwab <schwab@redhat.com>
52885
52886 * nss/makedb.c (compute_tables): Make variables used in nested
52887 function static.
52888
27724598
UD
528892011-08-17 Ulrich Drepper <drepper@gmail.com>
52890
c5305d88
UD
52891 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52892 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52893 if buffer was too small.
52894
27724598
UD
52895 * elf/pldd.c (main): Attach to all threads in the process.
52896 Rewrite /proc handling to use *at functions.
52897
076fe015
UD
528982011-08-16 Ulrich Drepper <drepper@gmail.com>
52899
174baab3
UD
52900 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52901 specifies first scope to show.
52902 (dl_open_worker): Update callers. Move printing scope of new
52903 object to before the relocation.
44f0a71e 52904 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52905 * sysdeps/generic/ldsodefs.h: Update declaration.
52906
076fe015
UD
52907 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52908 string for the scope number.
52909
a60df2c3
UD
529102011-08-14 Ulrich Drepper <drepper@gmail.com>
52911
52912 * nscd/servicescache.c (cache_addserv): Make sure written is always
52913 initialized.
52914
5e4287d1
RM
529152011-08-14 Roland McGrath <roland@hack.frob.com>
52916
85ae0589
RM
52917 * sysdeps/i386/i486/bits/atomic.h
52918 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52919 statement expression, so as to suppress "set but not used" warning.
52920 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52921
69f63097
RM
52922 * string/strncat.c (STRNCAT): Use prototype definition.
52923
675456ef
RM
52924 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52925 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52926 -Iprograms here.
52927 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52928 (localedef-modules): Add localedef.
52929 (locale-modules): Add locale.
52930
5e4287d1
RM
52931 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52932 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52933 to avoid a warning.
52934
9c96ff23
DM
529352011-08-14 David S. Miller <davem@davemloft.net>
52936
52937 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52938 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52939
f9ddf089
UD
529402011-08-13 Ulrich Drepper <drepper@gmail.com>
52941
44f0a71e 52942 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52943 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52944 * elf/rtld.c (dl_main): Set l_name of vDSO.
52945 Call _dl_show_scope when DL_DEBUG_SCOPES.
52946 (process_dl_debug): Recognize scopes flag and also set it for all.
52947 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52948 Declare _dl_show_scope.
52949
1dc27704
UD
52950 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52951 (do_dlopen): Pass caller_dlopen to dl_open.
52952 (__libc_dlopen_mode): Initialize caller_dlopen.
52953
f9ddf089
UD
52954 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52955 of libc. Make tolower call locale-independent. Optimize a bit by
52956 using isdigit instead of isalnum.
52957 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52958
9ac533d3
UD
529592011-08-12 Ulrich Drepper <drepper@gmail.com>
52960
52961 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52962 was a dependency or dynamically loaded.
52963
89edf2e9
UD
529642011-08-11 Ulrich Drepper <drepper@gmail.com>
52965
8e999d29
UD
52966 * intl/l10nflist.c: Allow architecture-specific pop function.
52967 * sysdeps/x86_64/l10nflist.c: New file.
52968
89edf2e9
UD
52969 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52970 classification.
52971
14d96785
AS
529722011-08-10 Andreas Schwab <schwab@redhat.com>
52973
52974 * include/dirent.h: Add libc_hidden_proto for scandirat and
52975 scandirat64. Don't declare __scandirat64.
52976 * dirent/scandirat.c: Add libc_hidden_def.
52977 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52978 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52979
6761ac04
DM
529802011-08-10 David S. Miller <davem@davemloft.net>
52981
52982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52983 enum.
52984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52987
c55fbd1e
UD
529882011-08-09 Ulrich Drepper <drepper@gmail.com>
52989
52990 * Versions.def [libc]: Add GLIBC_2.15.
52991 * dirent/Makefile (routines): Add scandirat and scandirat64.
52992 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52993 GLIBC_2.15.
52994 * dirent/dirent.h: Declare scandirat and scandirat64.
52995 * dirent/scandirat.c: New file.
52996 * dirent/scandirat64.c: New file.
52997 * sysdeps/wordsize-64/scandirat.c: New file.
52998 * sysdeps/wordsize-64/scandirat64.c: New file.
52999 * dirent/opendir.c: Define opendirat.
53000 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53001 using scandirat.
53002 * dirent/scandir64.c: Adjust for scandir.c change.
53003 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53004 __scandirat64, and __scandir_cancel_handler.
53005 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53006 additional parameter and use openat instead of open (outside of ld.so).
53007 Add new __opendir as wrapper around __opendirat.
53008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53009 here without requiring old scandirat implementation.
53010
879165f2
UD
530112011-08-08 Ulrich Drepper <drepper@gmail.com>
53012
53013 * dirent/scandir.c (cancel_handler): Renamed to
53014 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53015 defined. Adjust users.
53016 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53018
cb7e923b
UD
530192011-08-04 Ulrich Drepper <drepper@gmail.com>
53020
16292edd
UD
53021 * string/test-string.h (IMPL): Use __STRING to expand name and then
53022 stringify it.
53023
cb7e923b
UD
53024 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53025 of cleanups.
53026
cff82933
LD
530272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53028
53029 * string/Makefile: Update.
53030 (strop-tests): Append strncat.
53031 * string/test-wcscmp.c: New file.
53032 New comprehensive test for wcscmp.
53033 * string/test-strcmp.c: Update.
53034 (WIDE): New define.
53035
9be9bfcc
AS
530362011-07-22 Andreas Schwab <schwab@redhat.com>
53037
53038 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53039 line.
53040
2e96f1c7
AS
530412011-07-26 Andreas Schwab <schwab@redhat.com>
53042
53043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53044 encoding to ACE if AI_IDN.
53045
85188888
JJ
530462011-08-01 Jakub Jelinek <jakub@redhat.com>
53047
53048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53049 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53050
5fa16e9b
LD
530512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53052
53053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53054 Fix overflow bug in strncat.
53055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53056
53057 * string/test-strncat.c: Update.
53058 Add new tests for checking overflow bugs.
53059
530602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53061
53062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53063 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53064 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53065 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53067 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53068 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53069 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53070 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53071
53072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53073 (USE_AS_STRCAT): Define.
53074 Add strcat and strncat support.
53075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53076
8c1a459f
AS
530772011-07-25 Andreas Schwab <schwab@redhat.com>
53078
53079 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53080 __n bigger than INT_MAX+1.
53081 (__strncmp_g): Likewise.
53082
bba33c28
UD
530832011-07-23 Ulrich Drepper <drepper@gmail.com>
53084
798be72d
UD
53085 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53086 * libio/stido.h: Likewise.
53087
8accd4dc
UD
53088 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53089 (AF_NFC): Define.
53090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53091 (AF_NFC): Define.
53092
cbff0d96
UD
53093 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53098
9191c04a
UD
53099 [BZ #13021]
53100 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53101 installed.
53102
bba33c28
UD
53103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53104 typo.
53105 (_dl_x86_64_save_sse): Likewise.
53106
90f139dd
UD
531072011-07-22 Ulrich Drepper <drepper@gmail.com>
53108
1aae088a
UD
53109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53110 OSXSAVE.
53111 (_dl_x86_64_save_sse): Likewise.
53112
8e2045f5
UD
53113 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53114
90f139dd
UD
53115 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53116
1d002f25
AS
531172011-07-21 Andreas Schwab <schwab@redhat.com>
53118
53119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53120 change.
53121 (_dl_x86_64_save_sse): Use correct AVX check.
53122
21137f89
UD
531232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53124
53125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53126 bug in strncpy/strncat.
53127 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53128
a65c0b7a
UD
531292011-07-21 Ulrich Drepper <drepper@gmail.com>
53130
53131 * string/tester.c (test_strcat): Add tests for different alignments
53132 of source and destination.
53133 (test_strncat): Likewise.
53134
6986b98a
UD
531352011-07-20 Ulrich Drepper <drepper@gmail.com>
53136
90bb2039
UD
53137 [BZ #12852]
53138 * posix/glob.c (glob): Check passed in values before using them in
53139 expressions to avoid some overflows.
53140 (glob_in_dir): Likewise.
53141
5644ef54
UD
53142 [BZ #13007]
53143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53144 check for AVX enablement so that we don't crash with old kernels and
53145 new hardware.
53146 * elf/tst-audit4.c: Add same checks here.
53147 * elf/tst-audit6.c: Likewise.
53148
53149 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53150
bfc9dc9b
AS
531512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53152
53153 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53154
702e64bb
UD
531552011-07-20 Ulrich Drepper <drepper@gmail.com>
53156
53157 * po/cs.po: Update from translation team.
53158 * po/bg.po: Likewise.
53159
295e904f
MP
531602011-07-12 Marek Polacek <mpolacek@redhat.com>
53161
53162 * misc/sys/cdefs.h: Add support for const attribute.
53163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53164 to gnu_dev_{major,minor,makedev} functions.
53165
3ff94596
MP
531662011-07-20 Marek Polacek <mpolacek@redhat.com>
53167
53168 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53169
28b59fca
AS
531702011-07-20 Andreas Schwab <schwab@redhat.com>
53171
53172 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53173 strlen results.
53174
19df733e
AK
531752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53176
53177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53178 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53179 register in order to avoid conflicts with the soft frame pointer
53180 being held in r11 when necessary.
53181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53182 (INTERNAL_VSYSCALL_NCS): Likewise.
53183
c8835729
MP
531842011-07-14 Marek Polacek <mpolacek@redhat.com>
53185
53186 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53187 * elf/dl-fini.c (_dl_fini): Adjust caller.
53188 * elf/dl-close.c (_dl_close_worker): Likewise.
53189 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53190
b902330c
MP
531912011-07-15 Marek Polacek <mpolacek@redhat.com>
53192
8991e135
MP
53193 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53194 "aux_cache->nlibs < 0".
53195
b902330c
MP
53196 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53197 in the reload-count case.
53198
99710781
LD
531992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53200
53201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53202 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53203 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53205 * sysdeps/x86_64/multiarch/strcat.S: New file.
53206 * sysdeps/x86_64/multiarch/strncat.S: New file.
53207 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53208 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53209 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53210 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53212 (USE_AS_STRCAT): Define.
53213 Add strcat and strncat support.
53214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53216 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53217 * string/strncat.c: Update.
53218 (USE_AS_STRNCAT): Define.
53219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53220 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53221 and i7.
53222 * sysdeps/x86_64/multiarch/init-arch.h
53223 (bit_Prefer_PMINUB_for_stringop): New.
53224 (index_Prefer_PMINUB_for_stringop): Likewise.
53225 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53226 bit_Prefer_PMINUB_for_stringop.
53227
7dc6bd90
UD
532282011-07-19 Ulrich Drepper <drepper@gmail.com>
53229
53230 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53231 buffer64.
53232 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53233 of casting of buffer.
53234 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53235 buffer32 and buffer64.
53236 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53237 writes instead of casting of buffer.
53238 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53239 buffer32.
53240 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53241 casting of buffer.
53242
e0e72284
AS
532432011-07-19 Andreas Schwab <schwab@redhat.com>
53244
53245 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53246
feb1eb0b
UD
532472011-07-19 Ulrich Drepper <drepper@gmail.com>
53248
53249 * nscd/nscd.c (termination_handler): Don't do anything for a database
53250 if it has not yet been initialized.
53251
298711ff
UD
532522011-07-18 Ulrich Drepper <drepper@gmail.com>
53253
53254 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53255
532562011-07-15 Marek Polacek <mpolacek@redhat.com>
53257
53258 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53259
f9d68389
UD
532602011-07-18 Ulrich Drepper <drepper@gmail.com>
53261
53262 * po/nl.po: Update from translation team.
53263 * po/sv.po: Likewise.
53264
db290cf5
RM
532652011-07-16 Roland McGrath <roland@hack.frob.com>
53266
53267 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53268 now disallowed by GCC.
5c550700 53269
fd5e21c7
RM
53270 * configure.in (use-default-link): Default to yes if a test -shared
53271 link meets our qualifications.
53272 * configure: Regenerated.
53273
5c550700
RM
53274 * config.make.in (output-format): New variable.
53275 * configure.in: Check for ld --print-output-format support.
53276 * configure: Regenerated.
53277 * Makerules ($(common-objpfx)format.lds)
53278 [$(output-format) != unknown]: Just use $(output-format),
53279 instead of the linker-script munging.
53280
9fa2c032
RM
532812011-07-14 Roland McGrath <roland@hack.frob.com>
53282
a6928d51
RM
53283 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53284 of $(common-objpfx)shlib.lds.
53285 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53286
661607b3
RM
53287 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53288 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53289
9fa2c032
RM
53290 * configure.in (-z relro check): Adjust test code to add a large
53291 writable data section after it.
53292 * configure: Regenerated.
53293
defe9061
RM
532942011-07-11 Roland McGrath <roland@hack.frob.com>
53295
53296 * configure.in (-z relro check): Fix test code to make the variable
53297 truly const.
53298 * configure: Regenerated.
53299
319b9ad4
UD
533002011-07-11 Ulrich Drepper <drepper@gmail.com>
53301
53302 * nscd/nscd.h (struct traced_file): Define.
53303 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53304 elements. Add traced_files.
53305 (inotify_fd): Declare.
53306 (register_traced_file): Declare.
53307 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53308 (inotify_fd): Export.
53309 (resolv_conf_descr): Remove.
53310 (nscd_init): Move inotify descriptor creation to main.
53311 Don't register files for notification here.
53312 (register_traced_file): New function.
53313 (invalidate_cache): Don't use reset_res to determine whether to call
53314 res_init, go through the list of registered files.
53315 (main_loop_poll): The inotify descriptors are now stored in the
53316 structures for the traced files.
53317 (main_loop_epoll): Likewise
53318 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53319 to __nss_disable_nscd.
53320 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53321 for a database anymore. Check the records for all the registered
53322 files instead.
53323 * nss/Makefile (libnss_files-routines): Add files-init.
53324 (libnss_db-routines): Add db-init.
53325 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53326 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53327 * nss/nss_db/db-init.c: New file.
53328 * nss/nss_files/files-init.c: New file.
53329 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53330 __nss_lookup_function.
53331 (__nss_lookup_function): Call nss_load_library.
53332 (nss_load_all_libraries): New function.
53333 (__nss_disable_nscd): Take parameter with callback function for files
53334 to register. Set is_nscd. Load all the DSOs for the NSS modules
53335 used for the cached services.
53336 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53337 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53338 options for features to all the files in nscd.
53339
53340 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53341
23bee3e8
RM
533422011-07-10 Roland McGrath <roland@hack.frob.com>
53343
53344 * csu/elf-init.c (__libc_csu_init): Comment typo.
53345
46a5b7f0
UD
533462011-07-09 Ulrich Drepper <drepper@gmail.com>
53347
53348 * po/pl.po: Update from translation team.
53349 * po/ja.po: Likewise.
53350 * po/ru.po: Likewise.
53351 * po/ko.po: Likewise.
53352 * po/fr.po: Likewise.
53353
d30cf5bb
RM
533542011-07-09 Roland McGrath <roland@hack.frob.com>
53355
113ddea4
RM
53356 * configure.in (.ctors/.dtors header and trailer check):
53357 Use an empirical test on a built program.
53358 * configure: Regenerated.
53359
574920b4
RM
53360 * configure.in (-z relro check): Use an empirical test on a built DSO.
53361 Detect, but do not require, on ia64.
53362 * configure: Regenerated.
53363
d30cf5bb
RM
53364 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53365 Update tests that use readelf to use $READELF instead.
53366 * configure: Regenerated.
53367
8538fdb3
UD
533682011-07-08 Ulrich Drepper <drepper@gmail.com>
53369
53370 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53371 if the result is not used.
53372
04d08991
AJ
533732011-07-05 Andreas Jaeger <aj@suse.de>
53374
53375 [BZ#9696]
53376 * stdlib/tst-strtod.c: Add testcase.
53377
de283087
AD
533782011-07-07 Ulrich Drepper <drepper@gmail.com>
53379
4e5f31c8 53380 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53381 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53382 The latter has a higher limit. Take additional parameter to pass to
53383 the new function.
53384 (__pathconf): Pass file to __statfs_link_max.
53385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53386 __statfs_link_max.
53387 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53388 __statfs_link_max.
53389
de283087
AD
53390 [BZ #12868]
53391 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53393 Handle Lustre.
53394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53395 (__statfs_filesize_max): Likewise.
53396 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53397
c75fa153
AJ
533982011-07-05 Andreas Jaeger <aj@suse.de>
53399
53400 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53401
1a544854
UD
534022011-07-06 Marek Polacek <mpolacek@redhat.com>
53403
53404 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53405 `status' variable.
53406 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53407 Likewise.
53408
6f0eec67
UD
534092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53410
53411 * Makefile (strop-tests): Add strncat.
53412 * string/test-strncat.c: New file.
53413
aae30307
UD
534142011-06-30 Marek Polacek <mpolacek@redhat.com>
53415
53416 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53417
c0cfb5eb
UD
534182011-06-21 Andreas Jaeger <aj@suse.de>
53419
53420 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53421 Copy rule from iconvdata/Makefile.
53422
01636b21
UD
534232011-07-06 Ulrich Drepper <drepper@gmail.com>
53424
53425 [BZ #12922]
53426 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53427 but no long options are defined, just return 'W'.
53428
9895c8bc
UD
534292011-06-22 Marek Polacek <mpolacek@redhat.com>
53430
53431 [BZ #9696]
53432 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53433
5d4cf042
UD
534342011-07-06 Ulrich Drepper <drepper@gmail.com>
53435
53436 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53437 netgroups to read.
960e5535 53438 (innetgr): Likewise.
5d4cf042 53439
751eb97e
RM
534402011-07-05 Roland McGrath <roland@hack.frob.com>
53441
53442 * config.make.in (install_root): Default to $(DESTDIR).
53443
f15f1e45
UD
534442011-07-05 Ulrich Drepper <drepper@gmail.com>
53445
53446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53447
4e34ac6a
RM
534482011-07-02 Roland McGrath <roland@hack.frob.com>
53449
5e9b6af4
RM
53450 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53451
84f9ea0f
RM
53452 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53453 containing directory rather than embedding absolute directory names.
53454
ea5ee9f7
RM
53455 * scripts/check-local-headers.sh: Rewritten using awk.
53456 Match by word, not by line. Print error messages for matches.
53457 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53458
1b74661a
RM
53459 * Makerules [shlib-lds-flags empty]:
53460 ($(common-objpfx)libc_pic.opts): New target.
53461 ($(common-objpfx)libc_pic.os.clean): New target.
53462 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53463
53464 * config.make.in (OBJCOPY): New variable.
53465 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53466 * configure: Regenerated.
53467
f781ef40
RM
53468 * config.make.in (use-default-link): New variable.
53469 * configure.in (use_default_link): Grok --with-default-link to set it.
53470 * configure: Regenerated.
53471 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53472 (shlib-lds, shlib-lds-flags): Define to empty.
53473
2d4fa81e
RM
53474 * Makerules (shlib-lds): New variable.
53475 (shlib-lds-flags): New variable.
53476 (build-shlib, build-moduile, build-module-asneeded): Use it.
53477 ($(common-objpfx)libc.so): Use $(shlib-lds).
53478 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53479 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53480
31fffa6b
RM
53481 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53482 DT_FLAGS/DT_FLAGS_1 with zero flags.
53483
4e34ac6a
RM
53484 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53485 linker script munging.
53486
fcfc776b
UD
534872011-07-02 Ulrich Drepper <drepper@gmail.com>
53488
53489 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53490 as 128-bit value.
53491 * crypt/sha512.c (sha512_process_block): Perform total addition using
53492 128-bit if possible.
53493 (__sha512_finish_ctx): Likewise.
53494 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53495 as 64-bit value.
53496 * crypt/sha256.c (SWAP64): Define.
53497 (sha256_process_block): Perform total addition using 64-bit if
53498 possible.
53499 (__sha256_finish_ctx): Likewise.
53500
99231d9a
UD
535012011-07-01 Ulrich Drepper <drepper@gmail.com>
53502
53503 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53505 * nscd/hstcache.c (cache_addhst): Likewise.
53506 * nscd/grpcache.c (cache_addgr): Likewise.
53507 * nscd/aicache.c (addhstaiX): Likewise
53508 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53509
445b4a53
TK
535102011-07-01 Thorsten Kukuk <kukuk@suse.de>
53511
53512 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53514 * nscd/hstcache.c (cache_addhst): Likewise.
53515 * nscd/grpcache.c (cache_addgr): Likewise.
53516 * nscd/aicache.c (addhstaiX): Likewise
53517
6d4d8e8e
AS
535182011-07-01 Andreas Schwab <schwab@redhat.com>
53519
53520 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53521 domain only when needed.
53522
89f654c5
AS
535232011-06-30 Andreas Schwab <schwab@redhat.com>
53524
53525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53526 is always restored.
53527
cf3b23ff
UD
535282011-06-29 Ulrich Drepper <drepper@gmail.com>
53529
53530 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53531 are re-adding the entry.
53532 * nscd/servicescache.c (cache_addserv): Likewise.
53533
751626f9
AJ
535342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53535
53536 * sysdeps/generic/dl-irel.h: fix protection against multiple
53537 inclusions.
53538 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53539
9113ea1f
UD
535402011-06-28 Ulrich Drepper <drepper@gmail.com>
53541
5c0b8d90
UD
53542 [BZ #12935]
53543 * malloc/memusage.sh: Fix quoting in message.
53544 * debug/xtrace.sh: Likewise.
53545
9113ea1f
UD
53546 * configure.in: Remove support for --experimental-malloc option, make
53547 it the default.
53548 * config.make.in: Likewise.
53549 * malloc/Makefile: Likewise.
53550
a4172181
AS
535512011-06-27 Andreas Schwab <schwab@redhat.com>
53552
53553 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53554 two-byte characters.
53555
78a7eee7
RM
535562011-06-27 Roland McGrath <roland@hack.frob.com>
53557
62bede13
RM
53558 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53559 AC_CACHE_CHECK invocation.
53560 * configure: Regenerated.
53561
78a7eee7
RM
53562 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53563
5ce33a62
UD
535642011-06-27 Ulrich Drepper <drepper@gmail.com>
53565
034807a9
UD
53566 [BZ #12350]
53567 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53568 bit from old_res_options.
53569
4902da17
UD
53570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53571
5ce33a62
UD
53572 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53573 value type for setfct.
53574
c2344f56
L
535752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53576
53577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53578 __gettimeofday instead of gettimeofday.
53579
68468076
UD
535802011-06-26 Ulrich Drepper <drepper@gmail.com>
53581
53582 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53583
acb0d739
L
535842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53585
53586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53587
53588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53589 info.
53590
8912479f
L
535912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53592
53593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53594 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53595 strcpy-sse2-unaligned strncpy-sse2-unaligned
53596 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53597 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53598 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53599 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53600 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53603 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53604 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53605 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53606 (STRCPY): Support SSE2 and SSSE3 versions.
53607
d5495a11
UD
536082011-06-24 Ulrich Drepper <drepper@gmail.com>
53609
53610 [BZ #12874]
53611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53612 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53613 kernels which artificially limit size of requests.
53614
0b1cbaae
L
536152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53616
53617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53618 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53619 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53620 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53621 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53622 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53623 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53624 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53627 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53628 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53629 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53630 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53631 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53633 Enable unaligned load optimization for Intel Core i3, i5 and i7
53634 processors.
53635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53636 Define.
53637 (index_Fast_Unaligned_Load): Define.
53638 (HAS_FAST_UNALIGNED_LOAD): Define.
53639
07f494a0
MP
536402011-06-23 Marek Polacek <mpolacek@redhat.com>
53641
53642 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53643
fa3fc0fe
UD
536442011-06-22 Ulrich Drepper <drepper@gmail.com>
53645
53646 [BZ #12907]
53647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53648 until it is clear that the information is realy needed.
53649 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53650
e12df166
AS
536512011-06-22 Andreas Schwab <schwab@redhat.com>
53652
53653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53654
852eb34d
UD
536552011-06-22 Ulrich Drepper <drepper@gmail.com>
53656
84e2a551
UD
53657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53658 /sys/devices/system/cpu/online if it is usable.
53659
852eb34d
UD
53660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53661 reading the information from the /proc filesystem to once a second.
53662
6e502e19
UD
536632011-06-21 Andreas Jaeger <aj@suse.de>
53664
53665 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53666 NULL after inclusion of kernel headers.
53667
75d39ff2
UD
536682011-06-21 Ulrich Drepper <drepper@gmail.com>
53669
51f9aa6a
UD
53670 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53671 calls to internal_setent.
53672
c0244a9d
UD
53673 [BZ #12885]
53674 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53675 addresses using gethostbyname4_r ignore IPv4 addresses.
53676
c5e3c2ae
UD
53677 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53678 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53679
75d39ff2
UD
53680 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53681
42675c6f
DM
536822011-06-20 David S. Miller <davem@davemloft.net>
53683
53684 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53685 inclusions.
53686 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53687
53688 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53689 (elf_irel): Use it.
53690 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53691 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53692 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53693 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53694 * sysdeps/x86_64/dl-irel.h: Likewise.
53695
53696 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53697 * elf/dl-sym.c: Likewise.
53698
57912a71
UD
536992011-06-15 Ulrich Drepper <drepper@gmail.com>
53700
53701 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53702 need to dereference resplen2.
53703
ee22793d
AS
537042011-06-14 Andreas Schwab <schwab@redhat.com>
53705
53706 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53707
a9e836b0
UD
537082011-06-15 Ulrich Drepper <drepper@gmail.com>
53709
77fb9117
UD
53710 * Makeconfig: Define vardbdir and inst_vardbdir.
53711 * nss/Makefile: Add rules to install db-Makefile.
53712
40c1b22c
UD
53713 * nss/nss_db/db-XXX.c: Cleanup.
53714
9f2da732
UD
53715 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53716 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53717 GLIBC_PRIVATE.
53718 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53719 * nss/makedb.c: Implement -g option to specify that value strings
53720 are generated and should not be added to table iterated over for
53721 get*ent calls.
53722 * nss/nss_db/db-initgroups.c: New file.
53723
82e9a1f7
UD
53724 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53725 interface.
53726
c41af17e
UD
53727 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53728 (internal_getgrouplist): Adjust to name change.
53729 Update use_initgroups_entry if this is not the first call.
53730 * nss/databases.def: Add initgroups entry.
53731
a9e836b0
UD
53732 * nss/makedb.c (compute_tables): Check result of multiple hash table
53733 sizes to minimize maximum chain length.
53734
2666d441
UD
537352011-06-14 Ulrich Drepper <drepper@gmail.com>
53736
53737 * Versions.def: Add entry for libnss_db.
53738 * shlib-versions: Likewise.
53739 * nss/Makefile: Add rules to build libnss_db.
53740 * nss/Versions: Add libnss_db information. Organize libnss_files
53741 entries better.
53742 * nss/db-Makefile: Add gshadow support. Change rules for the new
53743 makedb progra. Some minor improvements to generate smaller files.
53744 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53745 here from...
53746 * nss/makedb.c: ...here.
53747 Improve database format to be smaller and require less memory at
53748 runtime.
53749 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53750 db anymore.
53751 * nss/nss_db/db-netgrp.c: Likewise.
53752 * nss/nss_db/db-open.c: Likewise.
53753 * nss/nss_files/flies-XXX.x: Adjust comments.
53754 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53755 * nss/nss_files/files-grp.c: Likewise.
53756 * nss/nss_files/files-hosts.c: Likewise.
53757 * nss/nss_files/files-network.c: Likewise.
53758 * nss/nss_files/files-proto.c: Likewise.
53759 * nss/nss_files/files-pwd.c: Likewise.
53760 * nss/nss_files/files-rpc.c: Likewise.
53761 * nss/nss_files/files-service.c: Likewise.
53762 * nss/nss_files/files-sgrp.c: Likewise.
53763 * nss/nss_files/files-spwd.c: Likewise.
53764 * nss/nss_db/db-alias.c: Removed.
53765 * nss/nss_db/dummy-db.h: Removed.
53766
9ee76b5a
UD
537672011-06-02 Ulrich Drepper <drepper@gmail.com>
53768
53769 * nss/makedb.c: Rewritten to not use database library.
53770 * nss/Makefile: Update to build new makedb program.
53771
c71ca1f8
AJ
537722011-06-14 Andreas Jaeger <aj@suse.de>
53773
53774 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53775 memset declaration.
53776
3154bfb8
UD
537772011-06-10 Andreas Schwab <schwab@redhat.com>
53778
53779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53780 tmpbuf.
53781
b350afab
RM
537822011-06-10 Roland McGrath <roland@hack.frob.com>
53783
decd4e50
RM
53784 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53785 * elf/Makefile ($(objpfx)ld.so): Likewise.
53786
5615eaf2
RM
53787 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53788 Don't list ld.so twice in dependencies.
53789
53790 * posix/bug-regex31.c: Include <stdlib.h>.
53791
53792 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53793
53794 * nis/nss_compat/compat-spwd.c
53795 (getspent_next_nss_netgr): Remove unused variable.
53796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53797
53798 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53799 nonmembers" output to use the right array.
53800
53801 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53802
53803 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53804
53805 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53806 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53807 * catgets/gencat.c (read_input_file): Likewise.
53808 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53809
53810 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53811 variable definition inside #if's controlling its use.
53812
53813 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53814
53815 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53816
53817 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53818
53819 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53820 unreachable code.
53821
53822 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53823
b68e08db
RM
53824 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53825 * configure: Regenerated.
53826
b350afab
RM
53827 * Makerules: Revert last change.
53828 * elf/Makefile: Likewise.
53829
28368601
RM
538302011-06-09 Roland McGrath <roland@hack.frob.com>
53831
53832 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53833 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53834 (reloc-link): Likewise.
53835
11988f8f
UD
538362011-06-09 Ulrich Drepper <drepper@gmail.com>
53837
53838 * elf/Makefile: Add rules to build pldd.
53839 * elf/pldd.c: New file.
53840 * elf/pldd-xx.c: New file.
53841
e80fab37
UD
538422011-06-07 Ulrich Drepper <drepper@gmail.com>
53843
53844 * version.h: Update for 2.15 development version.
53845
9b849836
DM
538462011-06-07 David S. Miller <davem@davemloft.net>
53847
53848 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53849 ifuncs.
53850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53851 elf_machine_lazy_rel): Likewise.
53852 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53854 elf_machine_lazy_rel): Likewise.
53855 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53856 dl_hwcap via passed in argument.
53857 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53858 Likewise.
53859
5a31b283
AK
538602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53861
53862 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53863
069e52f8
RM
538642011-06-06 Roland McGrath <roland@hack.frob.com>
53865
53866 [BZ #12849]
53867 * manual/fdl-1.1.texi: New file, verbatim from:
53868 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53869 * manual/lgpl-2.1.texi: New file, verbatim from:
53870 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53871 * manual/Makefile (licenses): New variable, list those new file names.
53872 (texis): Use it.
53873 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53874
53875 * manual/fdl.texi: File removed.
53876 * manual/lesser.texi: File removed.
53877 * manual/libc.texinfo (Copying, Documentation License):
53878 Use new @include file names, put @appendix directive before @include.
53879
f16846a5
JJ
538802011-06-04 Jakub Jelinek <jakub@redhat.com>
53881
53882 [BZ #12841]
53883 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53884 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53885 (mq_open): Add __NTH.
53886
3d29045b
L
538872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53888
53889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53890 Assume Intel Core i3/i5/i7 processor if AVX is available.
53891
8c297311
UD
538922011-05-31 Ulrich Drepper <drepper@gmail.com>
53893
53894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53895 typo.
53896
c8fc0c91
UD
538972011-05-31 Andreas Schwab <schwab@redhat.com>
53898
53899 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53900 memory. Use alloca_account. Fix memory leak when retrying.
53901
5b27a807
UD
539022011-05-31 Ulrich Drepper <drepper@gmail.com>
53903
356f8bc6
UD
53904 * version.h (RELEASE): Bump for 2.14 release.
53905 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53906
5b27a807
UD
53907 * config.make.in (RANLIB): Remove entry.
53908
01f16ab0
UD
539092011-05-30 Ulrich Drepper <drepper@gmail.com>
53910
41fce8bd
UD
53911 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53912 (libc.pot): Work around missing support for .ksh extension in xgettext.
53913
4769ae77
UD
53914 [BZ #12684]
53915 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53916 if both request failed.
53917 (send_dg): In case of server errors clear resplen or *resplen2.
53918
6b1e7d19
UD
53919 [BZ #12454]
53920 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53921 when there are multiple maps.
53922 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53923 (_dl_fini): Remove test here.
53924
01f16ab0
UD
53925 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53926
b1ebd700
UD
539272011-05-29 Ulrich Drepper <drepper@gmail.com>
53928
7ae22829
UD
53929 [BZ #12350]
53930 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53931 bit from old_res_options.
53932 (gaih_inet): Likewise.
53933
553149f6 53934 [BZ #11099]
18a84741 53935 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53936 as signed.
53937
652ffab1
UD
53938 * resolv/res_init.c (res_setoptions): Make the code more compact.
53939
16985fd0
UD
53940 [BZ #11558]
53941 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53942 set RES_USEVC.
53943
0464f746
UD
53944 [BZ #11634]
53945 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53946
7d17596c
UD
53947 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53948
cf6bbbd7
UD
53949 [BZ #11781]
53950 * malloc/malloc.h: Declare malloc hook variables as volatile.
53951
13f1ab36
UD
53952 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53953 in last patch.
53954
b1ebd700
UD
53955 [BZ #11799]
53956 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53957 raise in the comment.
80e2212d
UD
53958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53960 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53961
ce67228d
UD
539622011-05-28 Ulrich Drepper <drepper@gmail.com>
53963
8887a920
UD
53964 [BZ #12811]
53965 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53966 grow the buffers more if it already has to be sufficient.
53967 (build_wcs_upper_buffer): Likewise.
53968 * posix/regexec.c (check_matching): Likewise.
53969 (clean_state_log_if_needed): Likewise.
53970 (extend_buffers): Don't enlarge buffers beyond size of the input
53971 buffer.
53972 Patches mostly by Emil Wojak <emil@wojak.eu>.
53973 * posix/bug-regex32.c: New file.
53974 * posix/Makefile (tests): Add bug-regex32.
53975
4f031072
UD
53976 * locale/findlocale.c (_nl_find_locale): Return right away if
53977 _nl_explode_name failed.
53978 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53979
d0478f0c
UD
53980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53981
de81b246
UD
53982 * debug/xtrace.sh: Unify messages.
53983 * malloc/memusage.sh: Likewise.
53984
c738465a
UD
53985 [BZ #12813]
53986 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53987 time symbol from vDSO. Substitute with vsyscall if not available.
53988 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53989 __vdso_time.
53990
f1f929d7
UD
53991 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53992 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53993 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53994 Add sendmmsg and internal_sendmmsg.
53995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53996 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53998
ce67228d
UD
53999 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54000 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54002
e57420c6
UD
540032011-05-27 Ulrich Drepper <drepper@gmail.com>
54004
a8509ca5
UD
54005 [BZ #12813]
54006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54007 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54008 available.
54009 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54010 __vdso_getcpu.
54011
e57420c6
UD
54012 [BZ #12814]
54013 * iconvdata/Makefile (tests): Add bug-iconv9.
54014 * iconvdata/bug-iconv9.c: New file.
54015
4d07db15
AS
540162011-05-27 Andreas Schwab <schwab@redhat.com>
54017
54018 [BZ #12814]
54019 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54020
ea486f69
JJ
540212011-05-25 Jakub Jelinek <jakub@redhat.com>
54022
54023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54024 (struct user_regs_struct): Change intcs field back to cs.
54025
6f038433
UD
540262011-05-25 Ulrich Drepper <drepper@gmail.com>
54027
54028 * po/ja.po: Update from translation team.
54029
67f86a25
UD
540302011-05-23 Ulrich Drepper <drepper@gmail.com>
54031
54032 [BZ #12795]
54033 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54035
def7fbd6
AS
540362011-05-20 Andreas Schwab <schwab@redhat.com>
54037
54038 * stdlib/longlong.h: Update from GCC.
54039
f50ef8f1
AS
540402011-05-23 Andreas Schwab <schwab@redhat.com>
54041
54042 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54043 parameter name.
54044 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54045 Add parameter name.
54046 (__sysconf): Pass it down.
54047
de7ce8f1
UD
540482011-05-22 Ulrich Drepper <drepper@gmail.com>
54049
f2962a71
UD
54050 [BZ #12671]
54051 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54052 some situations.
54053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54054 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54055 add in in __libc_use_alloca calls. Adjust callers.
54056 (glob): Use malloc in some situations.
54057
de7ce8f1
UD
54058 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54059 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54060 pltexit.
54061
aec84f53
UD
540622011-05-21 Ulrich Drepper <drepper@gmail.com>
54063
05bb4a68
UD
54064 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54065 and CLOCK_BOOTTIME_ALARM.
54066
7ea72f99
UD
54067 [BZ #12782]
54068 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54069 is returned.
54070
7e4afad5
UD
54071 * string/_strerror.c (__strerror_r): Print negative errors as signed
54072 numbers.
54073
8e211fec
UD
54074 [BZ #12777]
54075 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54076 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54077 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54078
f7d82dc9
UD
54079 * configure.in: Fix typo in redirection and correct removal of test
54080 files in two cases.
54081
cc9e536d
UD
54082 [BZ #12788]
54083 * locale/setlocale.c (new_composite_name): Fix test to check for
54084 identical name of all categories.
54085
aec84f53
UD
54086 [BZ #12792]
54087 * libio/filedoalloc.c (local_isatty): New function.
54088 (_IO_file_doallocate): Use local_isatty.
54089 * stdio-common/perror.c (perror): In case a new stream is used
54090 forward the stream error.
54091 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54092 error flag.
54093
78e64fdc
RT
540942011-05-20 Ulrich Drepper <drepper@gmail.com>
54095
34a9094f
UD
54096 [BZ #11869]
54097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54098 alloca.
54099 * include/alloca.h (extend_alloca_account): Define.
54100
78e64fdc
RT
54101 [BZ #11857]
54102 * posix/regex.h: Fix comments with documentation of user-accessible
54103 fields after compilation and describe correct free'ing of pattern
54104 after re_compile_pattern.
54105 Patch by Reuben Thomas <rrt@sc3d.org>.
54106
457bddfc
RA
541072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54108
54109 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54110 and -mno-altivec to prevent the compiler from using Altivec and/or
54111 VSX instructions when the corresponding registers are not available.
54112
a4527b51
AS
541132011-05-19 Andreas Schwab <schwab@redhat.com>
54114
54115 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54116
ed690b2f
UD
541172011-05-19 Ulrich Drepper <drepper@gmail.com>
54118
54119 * libio/freopen.c (freopen): Use __dup2, not dup2.
54120 * libio/freopen64.c (freopen64): Likewise.
54121
8db73634
L
541222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54123
54124 [BZ #12775]
54125 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54126 * math/Makefile (tests): Add test-powl.
54127 (CFLAGS-test-powl.c): Define.
54128 * math/test-powl.c: New file.
54129
0a197a9d
L
541302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54131
54132 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54133
ee30c380
UD
541342011-05-17 Ulrich Drepper <drepper@gmail.com>
54135
54136 [BZ #11837]
54137 * iconvdata/gb18030.c: Update to GB18020-2005.
54138
6ce75379
UD
541392011-05-16 Ulrich Drepper <drepper@gmail.com>
54140
a4b89fd8
AR
54141 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54142 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54143 Patch by Aharon Robbins <arnold@skeeve.com>.
54144
ea389b12
UD
54145 [BZ #11892]
54146 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54147 on the stack.
54148
68a3f91f
UD
54149 [BZ #11895]
54150 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54151 through underflows.
54152
15cc7dd1
UD
54153 [BZ #12766]
54154 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54155 point to strings before performing equality test for error_one_per_line
54156 mode.
54157
f3799213
UD
54158 [BZ #11697]
54159 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54160
d79a9c94
UD
54161 [BZ #11820]
54162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54163 (struct user_fpregs_struct): Avoid __uint*_t types.
54164
56e5eb46
UD
54165 [BZ #6420]
54166 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54167 symbol info. Use it instead of calling _dl_addr locally.
54168 (lock_and_info): New function.
54169 (tr_freehook): Call lock_and_info and pass symbol info as additional
54170 parameter to tr_where.
54171 (tr_mallochook): Likewise.
54172 (tr_reallochook): Likewise.
54173 (tr_memalignhook): Likewise.
54174
6ce75379
UD
54175 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54176 used and couldn't be at all thread-safe.
54177
f8a3b5bf
UD
541782011-05-15 Ulrich Drepper <drepper@gmail.com>
54179
94b7cc37
UD
54180 * libio/freopen.c (freopen): Don't close old file descriptor
54181 before the new one is opened. Instead dup the new file descriptor
54182 to the old one after the new stream is created.
54183 * libio/freopen64.c (freopen64): Likewise.
54184 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54185 * libio/fileops.c (_IO_new_file_close_it): Handle new
54186 _IO_FLAGS2_NOCLOSE flag.
54187 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54188 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54189 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54190 _IO_FLAGS2_NOCLOSE flag.
54191 * include/unistd.h: Add hidden_proto for dup3.
54192 Define __have_dup3.
54193 * io/dup3.c: Define hidden symbol.
54194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54195
bd25564e
UD
54196 [BZ #7101]
54197 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54198 when an incomplete long option is used.
54199 * posix/tst-getopt_long1.c: New file.
54200 * posix/Makefile (tests): Add tst-getopt_long1.
54201
c84cfef4
UD
54202 [BZ #10138]
54203 * scripts/config.guess: Update from autoconf-2.68.
54204 * scripts/config.sub: Likewise.
54205
3b85df27
UD
54206 [BZ #10157]
54207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54208 tests into ...
54209 (has_cpuclock): ...this. New function.
54210 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54211 macro here based on has_cpuclock code.
54212
15a856b1
UD
54213 [BZ #10149]
54214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54215 First byte (not low byte) is now always NUL.
54216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54217
05f399e6
UD
54218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54219 Use non-cancelable interfaces.
54220
10a52685 54221 [BZ #9809]
94ecc67d
UD
54222 * locale/iso-639.def: Add entry for Sorani.
54223
f8a3b5bf
UD
54224 [BZ #11901]
54225 * include/stdlib.h: Move include protection to the right place.
54226 Define abort_msg_s. Declare __abort_msg with it.
54227 * stdlib/abort.c (__abort_msg): Adjust type.
54228 * assert/assert.c (__assert_fail_base): New function. Majority
54229 of code from __assert_fail. Allocate memory for __abort_msg with
54230 mmap.
54231 (__assert_fail): Now call __assert_fail_base.
54232 * assert/assert-perr.c: Remove bulk of implementation. Use
54233 __assert_fail_base.
54234 * include/assert.hL Declare __assert_fail_base.
54235 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54236 mmap.
54237 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54238
1af4e298
UD
542392011-05-14 Ulrich Drepper <drepper@gmail.com>
54240
f8a3b5bf 54241 [BZ #11952]
d26dfc60
MG
54242 [BZ #12453]
54243 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54244 until all modules are registered in the DTV.
54245 * elf/Makefile: Add rules to build and run tst-tls19.
54246 * elf/tst-tls19.c: New file.
54247 * elf/tst-tls19mod1.c: New file.
54248 * elf/tst-tls19mod2.c: New file.
54249 * elf/tst-tls19mod3.c: New file.
54250 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54251
2fc54d6f
UD
54252 [BZ #12083]
54253 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54254 correctly.
54255
98d76b46
UD
54256 [BZ #12601]
54257 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54258 two-byte sequence errors.
54259 * iconvdata/Makefile (tests): Add bug-iconv8.
54260 * iconvdata/bug-iconv8.c: New file.
54261
da3c19ef
UD
54262 [BZ #12626]
54263 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54264 buf2 definition.
54265
ca408c15
UD
54266 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54267
d6f67f7d
UD
54268 [BZ #12432]
54269 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54270 (dummy_getcfa): New function.
54271 (init): Get _Unwind_GetCFA address, use dummy if not found.
54272 (backtrace_helper): In recursion check, also check whether CFA changes.
54273 (__backtrace): Completely initialize arg.
54274
1af4e298 54275 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54276 storing incomplete byte sequence in state object. Avoid testing for
54277 guaranteed too small input if we know there is enough data available.
1af4e298 54278
da62f81b
AS
542792011-05-11 Andreas Schwab <schwab@redhat.com>
54280
54281 * Makeconfig (+link-pie): Indent.
54282 * Rules (binaries-pie): Define if $(have-fpie) and
54283 $(build-shared).
54284 (binaries-shared): Also filter out $(binaries-pie).
54285 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54286 * nscd/Makefile (others-pie): Add nscd.
54287 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54288 ($(objpfx)nscd): Remove command override.
54289 * login/Makefile (others-pie): Add pt_chown.
54290 ($(objpfx)pt_chown): Remove command override.
54291 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54292 remove command overrides.
54293
fcabc0f8
UD
542942011-05-13 Ulrich Drepper <drepper@gmail.com>
54295
20030ae6
UD
54296 * libio/tst_putwc.c: Fix error messages.
54297
fcabc0f8
UD
54298 [BZ #12724]
54299 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54300 currently writing and seek to current position when not.
54301 * libio/Makefile (tests): Add bug-fclose1.
54302 * libio/bug-fclose1.c: New file.
54303
320a5dc0
PB
543042011-05-12 Ulrich Drepper <drepper@gmail.com>
54305
54306 [BZ #12511]
54307 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54308 don't set DF_1_NODELETE here.
54309 (do_lookup_x): When entering new entry test for copy relocation
54310 and if necessary set DF_1_NODELETE flag.
54311 * elf/tst-unique4.cc: New file.
54312 * elf/tst-unique4.h: New file.
54313 * elf/tst-unique4lib.cc: New file.
54314 * elf/Makefile: Add rules to build and run tst-unique4.
54315 Patch by Piotr Bury <pbury@goahead.com>.
54316
22836f52
UD
543172011-05-11 Ulrich Drepper <drepper@gmail.com>
54318
f574184a
UD
54319 [BZ #12052]
54320 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54321
e1fb097f
UD
54322 [BZ #12625]
54323 * misc/mntent_r.c (addmntent): Flush the stream after the output
54324
22836f52
UD
54325 [BZ #12393]
54326 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54327 (is_trusted_path_normalize): Skip initial colon. Append slash
54328 to empty buffer. Duplicate is_trusted_path code but allow
54329 constructed patch to be prefix.
54330 (is_dst): Allow $ORIGIN followed by /.
54331 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54332 Correct testing of result of is_trusted_path_normalize
54333 (decompose_rpath): Fix warning.
54334
7b3b0b2a
UD
543352011-05-10 Ulrich Drepper <drepper@gmail.com>
54336
54337 [BZ #11257]
54338 * grp/initgroups.c (internal_getgrouplist): When we found the service
54339 list through the initgroups entry in nsswitch.conf do not always
54340 continue on a successful lookup. Don't always use the
eac80ce2 54341 __nss_group_database value if it is set.
7b3b0b2a
UD
54342 * nss/nsswitch.conf (initgroups): Change action for successful db
54343 lookup to continue for compatibility.
54344
2a81eaa5
UD
543452011-05-09 Ulrich Drepper <drepper@gmail.com>
54346
be97a69e
UD
54347 [BZ #11532]
54348 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54349 and CP774 modules.
54350 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54351 and CP774 modules.
54352 * iconvdata/tst-tables.sh: Likewise.
54353 * iconvdata/cp770.c: New file.
54354 * iconvdata/cp771.c: New file.
54355 * iconvdata/cp772.c: New file.
54356 * iconvdata/cp773.c: New file.
54357 * iconvdata/cp774.c: New file.
54358 * iconvdata/testdata/CP770: New file.
54359 * iconvdata/testdata/CP770..UTF8: New file.
54360 * iconvdata/testdata/CP771: New file.
54361 * iconvdata/testdata/CP771..UTF8: New file.
54362 * iconvdata/testdata/CP772: New file.
54363 * iconvdata/testdata/CP772..UTF8: New file.
54364 * iconvdata/testdata/CP773: New file.
54365 * iconvdata/testdata/CP773..UTF8: New file.
54366 * iconvdata/testdata/CP774: New file.
54367 * iconvdata/testdata/CP774..UTF8: New file.
54368
54369 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54370 END CHARMAP line.
54371 * iconvdata/gen-8bit-gap.sh: Likewise.
54372 * iconvdata/gen-8bit.sh: Likewise.
54373
c1e9e399
UD
54374 * locale/iso-639.def: Add ary entry.
54375
24c55fb3 54376 [BZ #11258]
96b4b1b0
UD
54377 * locale/C-translit.h.in: Add U20A1 transliteration.
54378
bdc2f971
KB
54379 [BZ #12178]
54380 * locale/iso-639.def: Add wae entry.
54381 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54382
2952b117
UD
54383 [BZ #12545]
54384 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54385 for n.
54386
2a81eaa5
UD
54387 [BZ #12711]
54388 * locale/C-translit.h.in: Add entry for U20B9.
54389 Patch by pravin.d.s@gmail.com.
54390
28377d1b
UD
543912011-05-08 Ulrich Drepper <drepper@gmail.com>
54392
7fb90fb8
UD
54393 [BZ #12713]
54394 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54395 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54396 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54397 in rtld. Use *stat64.
7fb90fb8 54398 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54399 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54400 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54401 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54402 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54403 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54404 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54405 __fstatat64 macros.
7fb90fb8
UD
54406 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54407 * dirent/rewinddir.c: Add libc_hidden_def.
54408 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54409 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54410
28377d1b
UD
54411 * include/dirent.h (__alloc_dir): Add flags parameter.
54412 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54413 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54414 __alloc_dir.
54415 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54416 from fdopendir if O_CLOEXEC is already set.
54417
66bdbaa4
AM
544182011-03-15 Alan Modra <amodra@gmail.com>
54419
54420 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54421 l_tls_firstbyte_offset non-zero. Save padding offset in
54422 l_tls_firstbyte_offset for later use.
54423 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54424 freeing static tls block.
54425
95721191
JN
544262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54427
54428 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54429 where #ifdef was intended. The intent is to prevent ARG_MAX from
54430 being defined by the kernel headers.
54431
f87dfb1f
UD
544322011-05-07 Ulrich Drepper <drepper@gmail.com>
54433
54434 [BZ #12734]
54435 * resolv/resolv.h: Define RES_NOTLDQUERY.
54436 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54437 no-tld-query and set RES_NOTLDQUERY.
54438 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54439 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54440 modern BIND to search name as TLD unless forbidden.
54441
47c3cd7a
UD
544422011-05-07 Petr Baudis <pasky@suse.cz>
54443 Ulrich Drepper <drepper@gmail.com>
54444
54445 [BZ #12393]
54446 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54447 (is_trusted_path): ...to here.
c1e9ea35 54448 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54449 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54450 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54451
8a35c912
PP
544522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54453
54454 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54455 __BEGIN/__END_DECLS.
54456
acd41f47
UD
544572011-05-06 Ulrich Drepper <drepper@gmail.com>
54458
54459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54460 NSS_STATUS_NOTFOUND if no record was found.
54461
597df647
AS
544622011-05-05 Andreas Schwab <schwab@redhat.com>
54463
54464 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54465 (headers-not-in-tirpc): Remove rpc/netdb.h
54466 * resolv/netdb.h: Revert last change.
54467
b9af1301
PP
544682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54469
54470 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54471 circular dependency between libgcc.a and libc.a.
54472
4e34d5f5
AS
544732011-05-05 Andreas Schwab <schwab@redhat.com>
54474
54475 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54476 * nis/Makefile: Don't install rpcsvc/*.
54477 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54478 instead of <rpc/types.h>.
54479 (MAXHOSTNAMELEN): Define.
54480
00ee369c
AS
544812011-05-03 Andreas Schwab <schwab@redhat.com>
54482
54483 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54484
0b592a30
MB
544852011-04-28 Maciej Babinski <mbabinski@google.com>
54486
54487 [BZ #12714]
54488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54489 gethostbyname4_r when IPv6 results are possible.
54490
6e04cbbe
UD
544912011-05-02 Ulrich Drepper <drepper@gmail.com>
54492
54493 [BZ #12723]
54494 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54495 _PC_PIPE_BUF handling.
54496
e4ecafe0
BH
544972011-04-30 Bruno Haible <bruno@clisp.org>
54498
54499 [BZ #12717]
54500 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54501 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54502 to 'int'.
54503 * inet/getnameinfo.c (getnameinfo): Likewise.
54504
125ee683
UD
545052011-04-29 Ulrich Drepper <drepper@gmail.com>
54506
54507 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54508 to groups setting in database lookup.
54509 * nss/nsswitch.conf: Add initgroups entry.
54510
b722481a
EB
545112011-04-22 Ulrich Drepper <drepper@gmail.com>
54512
54513 [BZ #12685]
54514 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54515 mode string.
54516 Patch by Eric Blake <eblake@redhat.com>.
54517
4df46dbd
L
545182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54519
54520 * sunrpc/Makefile (need-export-routines): Add svc_run.
54521 (routines): Remove svc_run.
54522 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54523 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54524 * sunrpc/svc_run.c (svc_run): Likewise.
54525 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54526
e84142d2
UD
545272011-04-21 Ulrich Drepper <drepper@gmail.com>
54528
54529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54530 problem in reallocation in last patch.
54531
877175d8
UD
545322011-04-20 Ulrich Drepper <drepper@gmail.com>
54533
54534 * sunrpc/Makefile: Move inclusion of Rules.
54535
ab8eed78
UD
545362011-04-19 Ulrich Drepper <drepper@gmail.com>
54537
54538 * nss/nss_files/files-initgroups.c: New file.
54539 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54540 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54541 _nss_files_initgroups_dyn.
54542
e3d8f584
RS
545432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54544
54545 * elf/elf.h (R_ARM_IRELATIVE): Define.
54546
af190f45
UD
545472011-04-19 Ulrich Drepper <drepper@gmail.com>
54548
54549 * po/ru.po: Update from translation team.
54550
53cf59ef
UD
545512011-04-17 Ulrich Drepper <drepper@gmail.com>
54552
54553 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54554 dependencies.
54555
4c559bcd
MF
545562011-02-06 Mike Frysinger <vapier@gentoo.org>
54557
54558 [BZ #12653]
54559 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54560 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54564
4420675c
AS
545652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54566
54567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54568 differing bytes.
54569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54572
75ea32ab
UD
545732011-04-17 Ulrich Drepper <drepper@gmail.com>
54574
54575 [BZ #12420]
54576 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54577 storing it.
54578 * stdlib/bug-getcontext.c: New file.
54579 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54580
27390476
AK
545812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54582
54583 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54584 instructions into .machine "z9-109".
54585 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54586 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54587
10442705
AK
545882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54589
54590 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54591 between environment variables and auxiliary vector.
54592
7b57bfe5
UD
545932011-04-16 Ulrich Drepper <drepper@gmail.com>
54594
54595 * Makefile: Add rules to build linkobj/libc.so.
54596 * include/libc-symbols.h: Define libc_hidden_nolink.
54597 * include/rpc/auth.h: Mark functions which are to be hidden.
54598 * include/rpc/auth_des.h: Likewise.
54599 * include/rpc/auth_unix.h: Likewise.
54600 * include/rpc/clnt.h: Likewise.
54601 * include/rpc/des_crypt.h: Likewise.
54602 * include/rpc/key_prot.h: Likewise.
54603 * include/rpc/pmap_clnt.h: Likewise.
54604 * include/rpc/pmap_prot.h: Likewise.
54605 * include/rpc/pmap_rmt.h: Likewise.
54606 * include/rpc/rpc_msg.h: Likewise.
54607 * include/rpc/svc.h: Likewise.
54608 * include/rpc/svc_auth.h: Likewise.
54609 * include/rpc/xdr.h: Likewise.
54610 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54611 * nss/Makefile: Likewise.
54612 * sunrpc/Makefile: Don't install headers. Build library with normal
54613 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54614 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54615 for the compat linking library. Remove use of INTDEF/INTUSE.
54616 * sunrpc/auth_none.c: Likewise.
54617 * sunrpc/auth_unix.c: Likewise.
54618 * sunrpc/authdes_prot.c: Likewise.
54619 * sunrpc/authuxprot.c: Likewise.
54620 * sunrpc/clnt_gen.c: Likewise.
54621 * sunrpc/clnt_perr.c: Likewise.
54622 * sunrpc/clnt_raw.c: Likewise.
54623 * sunrpc/clnt_simp.c: Likewise.
54624 * sunrpc/clnt_tcp.c: Likewise.
54625 * sunrpc/clnt_udp.c: Likewise.
54626 * sunrpc/clnt_unix.c: Likewise.
54627 * sunrpc/des_crypt.c: Likewise.
54628 * sunrpc/des_soft.c: Likewise.
54629 * sunrpc/get_myaddr.c: Likewise.
54630 * sunrpc/key_call.c: Likewise.
54631 * sunrpc/key_prot.c: Likewise.
54632 * sunrpc/netname.c: Likewise.
54633 * sunrpc/pm_getmaps.c: Likewise.
54634 * sunrpc/pm_getport.c: Likewise.
54635 * sunrpc/pmap_clnt.c: Likewise.
54636 * sunrpc/pmap_prot.c: Likewise.
54637 * sunrpc/pmap_prot2.c: Likewise.
54638 * sunrpc/pmap_rmt.c: Likewise.
54639 * sunrpc/publickey.c: Likewise.
54640 * sunrpc/rpc_cmsg.c: Likewise.
54641 * sunrpc/rpc_common.c: Likewise.
54642 * sunrpc/rpc_dtable.c: Likewise.
54643 * sunrpc/rpc_prot.c: Likewise.
54644 * sunrpc/rpc_thread.c: Likewise.
54645 * sunrpc/rtime.c: Likewise.
54646 * sunrpc/svc.c: Likewise.
54647 * sunrpc/svc_auth.c: Likewise.
54648 * sunrpc/svc_authux.c: Likewise.
54649 * sunrpc/svc_raw.c: Likewise.
54650 * sunrpc/svc_run.c: Likewise.
54651 * sunrpc/svc_simple.c: Likewise.
54652 * sunrpc/svc_tcp.c: Likewise.
54653 * sunrpc/svc_udp.c: Likewise.
54654 * sunrpc/svc_unix.c: Likewise.
54655 * sunrpc/svcauth_des.c: Likewise.
54656 * sunrpc/xcrypt.c: Likewise.
54657 * sunrpc/xdr.c: Likewise.
54658 * sunrpc/xdr_array.c: Likewise.
54659 * sunrpc/xdr_float.c: Likewise.
54660 * sunrpc/xdr_intXX_t.c: Likewise.
54661 * sunrpc/xdr_mem.c: Likewise.
54662 * sunrpc/xdr_rec.c: Likewise.
54663 * sunrpc/xdr_ref.c: Likewise.
54664 * sunrpc/xdr_sizeof.c: Likewise.
54665 * sunrpc/xdr_stdio.c: Likewise.
54666
e6c61494
UD
546672011-04-10 Ulrich Drepper <drepper@gmail.com>
54668
54669 [BZ #12650]
54670 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54671 * sysdeps/ia64/dl-tls.h: Likewise.
54672 * sysdeps/powerpc/dl-tls.h: Likewise.
54673 * sysdeps/s390/dl-tls.h: Likewise.
54674 * sysdeps/sh/dl-tls.h: Likewise.
54675 * sysdeps/sparc/dl-tls.h: Likewise.
54676 * sysdeps/x86_64/dl-tls.h: Likewise.
54677 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54678
34fe483e
AS
546792011-03-14 Andreas Schwab <schwab@redhat.com>
54680
54681 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54682 rpath element also skip the following colon.
54683 (expand_dynamic_string_token): Add is_path parameter and pass
54684 down to DL_DST_REQUIRED and _dl_dst_substitute.
54685 (decompose_rpath): Call expand_dynamic_string_token with
54686 non-zero is_path. Ignore empty rpaths.
54687 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54688 with zero is_path.
54689
f12a32e6
AS
546902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54691
54692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54693 Make cancelable.
54694
38a7d692
UD
546952011-04-09 Ulrich Drepper <drepper@gmail.com>
54696
54697 [BZ #12655]
54698 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54699 Patch by Filipe David Manana <fdmanana@apache.org>.
54700
e451d22b
AS
547012011-04-07 Andreas Schwab <schwab@redhat.com>
54702
54703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54704 Maintain aligned stack.
54705 (CHECK_RSP): Remove unused macro.
54706
dedc7c7b
UD
547072011-04-03 Ulrich Drepper <drepper@gmail.com>
54708
54709 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54710 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54711
94521213
UD
547122011-04-02 Ulrich Drepper <drepper@gmail.com>
54713
54714 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54715
8cb700c0 54716 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54717
0354e355
L
547182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54719
54720 [BZ #12518]
54721 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54722 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54723 * sysdeps/x86_64/memmove.c: New file.
54724 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54725 (memcpy): Renamed to ...
54726 (__new_memcpy): This.
54727 (memcpy): Provide GLIBC_2_14 memcpy.
54728 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54729 (memcpy): Provide GLIBC_2_2_5 memcpy.
54730
8593482f
UD
547312011-04-01 Ulrich Drepper <drepper@gmail.com>
54732
54733 [BZ #12631]
54734 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54735
81a5726b
AS
547362011-03-30 Andreas Schwab <schwab@redhat.com>
54737
54738 * misc/syncfs.c: New file.
54739 * misc/Makefile (routines): Add syncfs.
54740 * posix/unistd.h: Declare syncfs.
54741 * sysdeps/unix/syscalls.list: Add syncfs.
54742
00e5419f
AS
547432011-04-01 Andreas Schwab <schwab@redhat.com>
54744
54745 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54746 open_by_handle_at.
54747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54748 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54752 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54754
748876bf
UD
547552011-04-01 Ulrich Drepper <drepper@gmail.com>
54756
658e451d
UD
54757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54759 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54764
748876bf
UD
54765 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54766 sync_file_range.c with -fexceptions.
54767 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54768 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54769 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54770 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54771 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54774 sync_file_range as cancellation point
54775 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54776 now a wrapper around __call_sync_file_range with cancellation handling.
54777 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54778 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54779 function name to __call_sync_file_range.
54780 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54781 Add call_sync_file_range.
748876bf 54782
6e63d5e1
AS
547832011-04-01 Andreas Schwab <schwab@redhat.com>
54784
54785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54786 bits/timex.h.
6e63d5e1 54787
46998f74
UD
547882011-04-01 Ulrich Drepper <drepper@gmail.com>
54789
4c1423ed
UD
54790 * iconv/iconv.h: Fix typo in comment.
54791 * io/fcntl.h: Likewise.
54792 * libio/stdio.h: Likewise.
54793 * posix/spawn.h: Likewise.
54794 * posix/unistd.h: Likewise.
54795 * stdlib/stdlib.h: Likewise.
54796 * time/time.h: Likewise.
54797 * wcsmbs/wchar.h: Likewise.
54798
158648c0
UD
54799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54800 open_by_handle): Add.
54801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54802 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54803 Augment a few comments.
54804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54809 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54810 open_by_handle.
54811
46998f74
UD
54812 * io/fcntl.h (AT_EMPTY_PATH): Define.
54813
83fe108b
UD
548142011-03-30 Ulrich Drepper <drepper@gmail.com>
54815
54816 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54817 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54818 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54819 to...
54820 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54821 * Versions.def: Add GLIBC_2.14.
54822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54823 Export.
83fe108b 54824
bb242059
UD
548252011-03-22 Ulrich Drepper <drepper@gmail.com>
54826
54827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54828 round counter.
54829 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54830
c97a1282
L
548312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54832
54833 [BZ #12597]
54834 * string/test-strncmp.c (do_page_test): New function.
54835 (check2): Likewise.
54836 (test_main): Call check2.
54837 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54838
2a115601
UD
548392011-03-20 Ulrich Drepper <drepper@gmail.com>
54840
54841 [BZ #12587]
54842 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54843 Handle cache information in CPU leaf 4.
54844 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54845
8126d904
UD
548462011-03-18 Ulrich Drepper <drepper@gmail.com>
54847
042c49c6 54848 [BZ #12583]
8126d904
UD
54849 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54850 character representation.
54851 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54852
ccfe366e
RA
548532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54854
54855 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54856 END(__isnan) to END(__isnanf) to match function entry point/label
54857 EALIGN(__isnanf,...).
54858
c6e13027
JJ
548592011-03-10 Jakub Jelinek <jakub@redhat.com>
54860
54861 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54862
33f85a3f
UD
548632011-03-10 Ulrich Drepper <drepper@gmail.com>
54864
028478fa
UD
54865 [BZ #12510]
54866 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54867 copy from the symbol referenced in the relocation to initialize the
54868 used variable.
54869 Patch by Piotr Bury <pbury@goahead.com>.
54870 * elf/Makefile: Add rules to build and tst-unique3.
54871 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54872 * elf/tst-unique3.cc: New file.
54873 * elf/tst-unique3.h: New file.
54874 * elf/tst-unique3lib.cc: New file.
54875 * elf/tst-unique3lib2.cc: New file.
54876
33f85a3f
UD
54877 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54878
03592fc7
MF
548792011-03-10 Mike Frysinger <vapier@gentoo.org>
54880
54881 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54882 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54883 to _start.
03592fc7 54884
6a5ee102
UD
548852011-03-06 Ulrich Drepper <drepper@gmail.com>
54886
54887 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54888 to-be-loaded object along a path to loader is ld.so.
54889
7e4ba49c
HJ
548902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54891 Ulrich Drepper <drepper@gmail.com>
54892
54893 * sysdeps/x86_64/memset.S: After aligning destination, code
54894 branches to different locations depending on the value of
54895 misalignment, when multiarch is enabled. Fix this.
54896
548972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54898
54899 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54900 Set _x86_64_preferred_memory_instruction for AMD processsors.
54901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54902 Set bit_Prefer_SSE_for_memop for AMD processors.
54903
13a804de
UD
549042011-03-04 Ulrich Drepper <drepper@gmail.com>
54905
54906 * libio/fmemopen.c (fmemopen): Optimize a bit.
54907
9d25c392
AS
549082011-03-03 Andreas Schwab <schwab@redhat.com>
54909
54910 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54911
a5543c6a
RM
549122011-03-03 Roland McGrath <roland@redhat.com>
54913
54914 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54915
012d35f7
DM
549162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54917
7e4ba49c 54918 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54919 __bzero_ultra1 instead of __memset_ultra1.
54920
4bff6e01
AS
549212011-02-23 Andreas Schwab <schwab@redhat.com>
54922 Ulrich Drepper <drepper@gmail.com>
54923
54924 [BZ #12509]
54925 * include/link.h (struct link_map): Add l_orig_initfini.
54926 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54927 returning unsuccessfully.
54928 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54929 close of a file loaded at startup, restore the original l_initfini
54930 list.
54931 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54932 list, store the pointer.
54933 * elf/Makefile ($(objpfx)noload-mem): New rule.
54934 (noload-ENV): Define.
54935 (tests): Add $(objpfx)noload-mem.
54936 * elf/noload.c: Include <memcheck.h>.
54937 (main): Call mtrace. Close all opened handles.
54938
f2092faf
AS
549392011-02-17 Andreas Schwab <schwab@redhat.com>
54940
54941 [BZ #12454]
54942 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54943 dependencies are missing.
54944
6c8a2e88
ST
549452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54946
f2092faf 54947 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54948 Hurd needs munmap.
54949 * sysdeps/mach/hurd/ifreq.h: New file.
54950
84a42118
PB
549512011-01-27 Petr Baudis <pasky@suse.cz>
54952 Ulrich Drepper <drepper@gmail.com>
54953
071f805e 54954 [BZ 12445]#
84a42118
PB
54955 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54956 to extend_alloca().
54957 * stdio-common/bug23.c: New file.
54958 * stdio-common/Makefile (tests): Add bug23.
54959
e23fe25b
AS
549602010-09-28 Andreas Schwab <schwab@redhat.com>
54961 Ulrich Drepper <drepper@gmail.com>
54962
54963 [BZ #12489]
54964 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54965 before performing relro protection. At old place add assertion
54966 to make sure nothing changed.
54967
d3f02e10
NS
549682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54969 Glauber de Oliveira Costa <glommer@gmail.com>
54970
54971 * elf/elf.h: Add new ARM TLS relocs.
54972
d55fd7a5
RA
549732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54974
54975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54976 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54977 cast from r3.
54978 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54979 'tests' variable.
54980 * sysdeps/wordsize-64/tst-writev.c: New file.
54981
2206397e
RA
549822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54983
54984 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54985 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54986 insns in _dl_start to prevent a TOC reference before relocs are
54987 resolved.
54988
e9433893
UD
549892011-02-15 Ulrich Drepper <drepper@gmail.com>
54990
54991 [BZ #12469]
54992 * Makeconfig: Remove RANLIB definition.
54993 * Makerules: Don't use RANLIB.
54994 * aclocal.m4: Remove ranlib test.
54995 * configure.in: No need to check for ranlib.
54996 * elf/rtld-Rules: Don't use RANLIB.
54997
f75286c6
ST
549982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54999
8e31c82d
ST
55000 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55001 protection macro.
55002 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55003 inclusion protection macro.
55004
f75286c6
ST
55005 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55006 SIGRTMIN and SIGRTMAX and print information in that case only when
55007 SIGRTMIN is defined.
55008
c1d0e639
JJ
550092011-02-11 Jakub Jelinek <jakub@redhat.com>
55010
55011 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55012 arginfo fn returning -1.
55013
55014 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55015 and thousands string is zero terminated.
55016
edf9294e
AS
550172011-02-03 Andreas Schwab <schwab@redhat.com>
55018
55019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55020 sysdeps/unix/sysv/linux/bits/socket.h.
55021
2b7e92df
ST
550222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55023
edf9294e
AS
55024 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55025 (__CPU_COUNT): Remove old macros.
55026 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55027 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55028 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55029 (__sched_cpualloc, __sched_cpufree): Add declarations.
55030
a4c7ea7b
UD
550312011-02-05 Ulrich Drepper <drepper@gmail.com>
55032
55033 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55034 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55035 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55036 (readdhstai): Return value of addhstaiX call.
55037 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55038 (addgrbyX): Return value returned by cache_addgr.
55039 (readdgrbyname): Return value returned by addgrbyX.
55040 (readdgrbygid): Likewise.
55041 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55042 (addpwbyX): Return value returned by cache_addpw.
55043 (readdpwbyname): Return value returned by addhstbyX.
55044 (readdpwbyuid): Likewise.
55045 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55046 (addservbyX): Return value returned by cache_addserv.
55047 (readdservbyname): Return value returned by addservbyX:
55048 (readdservbyport): Likewise.
55049 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55050 (addhstbyX): Return value returned by cache_addhst.
55051 (readdhstbyname): Return value returned by addhstbyX.
55052 (readdhstbyaddr): Likewise.
55053 (readdhstbynamev6): Likewise.
55054 (readdhstbyaddrv6): Likewise.
55055 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55056 (readdinitgroups): Return value returned by addinitgroupsX.
55057 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55058 (prune_cache): Keep track of timeout value of re-added entries.
55059 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55060 * nscd/nscd.h: Adjust prototypes of readd* functions.
55061
a0bf67cc
RM
550622011-02-04 Roland McGrath <roland@redhat.com>
55063
55064 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55065 (nis_stats): Likewise.
55066 * nis/nis_modify.c (nis_modify): Likewise.
55067 * nis/nis_remove.c (nis_remove): Likewise.
55068 * nis/nis_add.c (nis_add): Likewise.
55069
55070 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55071
55072 * posix/fnmatch_loop.c: Add some consts.
55073
55074 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55075
435b95eb
L
550762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55077
55078 [BZ #12460]
55079 * config.make.in (config-cflags-novzeroupper): Define.
55080 * configure.in: Substitute libc_cv_cc_novzeroupper.
55081 * elf/Makefile (AVX-CFLAGS): Define.
55082 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55083 (CFLAGS-tst-auditmod4a.c): Likewise.
55084 (CFLAGS-tst-auditmod4b.c): Likewise.
55085 (CFLAGS-tst-auditmod6b.c): Likewise.
55086 (CFLAGS-tst-auditmod6c.c): Likewise.
55087 (CFLAGS-tst-auditmod7b.c): Likewise.
55088 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55089
8517b15e
UD
550902011-02-02 Ulrich Drepper <drepper@gmail.com>
55091
55092 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55093 function to the callback.
55094 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55095
10a656fe
AS
550962011-02-02 Andreas Schwab <schwab@redhat.com>
55097
55098 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55099 of errno.
55100
968dad0a
UD
551012011-01-19 Ulrich Drepper <drepper@gmail.com>
55102
9f94d2ea 55103 [BZ #11724]
968dad0a
UD
55104 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55105 of constructors.
55106 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55107 of destructors.
55108 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55109
55110 [BZ #11724]
55111 * elf/Makefile: Add rules to build and run new test.
55112 * elf/tst-initorder.c: New file.
55113 * elf/tst-initorder.exp: New file.
55114 * elf/tst-initordera1.c: New file.
55115 * elf/tst-initordera2.c: New file.
55116 * elf/tst-initordera3.c: New file.
55117 * elf/tst-initordera4.c: New file.
55118 * elf/tst-initorderb1.c: New file.
55119 * elf/tst-initorderb2.c: New file.
55120 * elf/tst-order-a1.c: New file.
55121 * elf/tst-order-a2.c: New file.
55122 * elf/tst-order-a3.c: New file.
55123 * elf/tst-order-a4.c: New file.
55124 * elf/tst-order-b1.c: New file.
55125 * elf/tst-order-b2.c: New file.
55126 * elf/tst-order-main.c: New file.
55127 New test case by George Gensure <werkt0@gmail.com>.
55128
86e92359
UD
551292010-10-01 Andreas Schwab <schwab@redhat.com>
55130
55131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55132 decoding ACE if AI_CANONIDN.
55133
5d5732b0
UD
551342011-01-18 Ulrich Drepper <drepper@gmail.com>
55135
55136 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55137
a77e8cbc
UD
551382011-01-17 Ulrich Drepper <drepper@gmail.com>
55139
6392473f
UD
55140 * version.h (RELEASE): Bump for 2.13 release.
55141 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55142
620a0529
UD
55143 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55144
18ba70a5
UD
55145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55146 MADV_NOHUGEPAGE.
32465c3e
UD
55147 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55153
c0dafcf1
UD
55154 * posix/getconf.c: Update copyright year.
55155 * catgets/gencat.c: Likewise.
55156 * csu/version.c: Likewise.
55157 * debug/catchsegv.sh: Likewise.
55158 * debug/xtrace.sh: Likewise.
55159 * elf/ldconfig.c: Likewise.
55160 * elf/ldd.bash.in: Likewise.
55161 * elf/sprof.c (print_version): Likewise.
55162 * iconv/iconv_prog.c: Likewise.
55163 * iconv/iconvconfig.c: Likewise.
55164 * locale/programs/locale.c: Likewise.
55165 * locale/programs/localedef.c: Likewise.
55166 * malloc/memusage.sh: Likewise.
55167 * malloc/mtrace.pl: Likewise.
55168 * nscd/nscd.c (print_version): Likewise.
55169 * nss/getent.c: Likewise.
55170
a77e8cbc
UD
55171 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55172 PF_CAIF, and PF_ALG.
55173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55174
77e8bddf
AS
551752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55176
1f20b93a
AS
55177 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55178 (modules-names): Use them.
55179 (ifunc-test-modules, ifunc-pie-tests): Define.
55180 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55181 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55182 (test-extras): Likewise.
55183 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55184 $(compile-command.c).
55185 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55186 (all-built-dso): Define.
55187 (check-textrel.out, check-execstack.out): Depend on it.
55188
77e8bddf
AS
55189 * configure.in: Don't override --enable-multi-arch.
55190
bc425b33
UD
551912011-01-15 Ulrich Drepper <drepper@gmail.com>
55192
55193 [BZ #6812]
55194 * nscd/hstcache.c (tryagain): Define.
55195 (cache_addhst): Return tryagain not notfound for temporary errors.
55196 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55197 failed.
55198
794c3ad3
UD
551992011-01-14 Ulrich Drepper <drepper@gmail.com>
55200
70181fdd
UD
55201 [BZ #10563]
55202 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55203 to make the syscall.
55204 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55205
794c3ad3
UD
55206 [BZ #12378]
55207 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55208 and fall back to matching as normal character if the string ends before
55209 the matching ']' is found. This is what POSIX requires.
55210 * posix/testfnm.c: Adjust test result.
55211 * posix/globtest.sh: Adjust test result. Add new test.
55212 * posix/tst-fnmatch.input: Likewise.
55213 * posix/tst-fnmatch2.c: Add new test.
55214
68dc9497
AS
552152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55216
55217 * elf/Makefile (check-execstack): Revert last change. Depend on
55218 check-execstack.h.
55219 (check-execstack.h): New target.
55220 (generated): Add check-execstack.h.
55221 * elf/check-execstack.c: Include "check-execstack.h".
55222 (main): Revert last change.
55223 (handle_file): Return zero if GNU_STACK is absent and
55224 DEFAULT_STACK_PERMS doesn't include PF_X.
55225
451f001b
UD
552262011-01-13 Ulrich Drepper <drepper@gmail.com>
55227
cfa28e56
UD
55228 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55229 in child fails because the descriptor is already closed.
8cf8ce17
UD
55230 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55231 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55232 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55233
1086d70d
UD
55234 [BZ #12397]
55235 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55236 syscall.
55237
451f001b
UD
55238 [BZ #10484]
55239 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55240 temporary buffer used to handle multi lookups locally.
a85b5cb4 55241 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55242
08769175
UD
552432011-01-12 Ulrich Drepper <drepper@gmail.com>
55244
55245 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55246 loader is ld.so.
55247
5e49c52e
UD
552482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55249
55250 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55251 alignment for SSE2.
55252
60522a5f
UD
552532011-01-12 Ulrich Drepper <drepper@gmail.com>
55254
55255 [BZ #12394]
55256 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55257 characters. When rounding increased number of integer digits recompute
55258 number of groups.
55259 * stdio-common/tst-grouping.c: New file.
55260 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55261
f257bbd7
UD
552622011-01-09 Ulrich Drepper <drepper@gmail.com>
55263
55264 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55265 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55266
55267 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55268 void.
55269 * bits/select.h: Likewise.
55270
fa9c15cb
UD
552712011-01-08 Ulrich Drepper <drepper@gmail.com>
55272
55273 * po/ja.po: Update from translation team.
55274
16c2895f
DM
552752011-01-04 David S. Miller <davem@sunset.davemloft.net>
55276
55277 [BZ #11155]
55278 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55279 implementation just like for lxstat, fxstatat, et al.
55280
2543fef2
JM
552812010-12-27 Jim Meyering <meyering@redhat.com>
55282
55283 [BZ #12348]
55284 * posix/regexec.c (build_trtable): Return failure indication upon
55285 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55286
98727dbe
UD
552872010-12-25 Ulrich Drepper <drepper@gmail.com>
55288
5bd6dc5c
UD
55289 [BZ #12201]
55290 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55291 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55293 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55294
97983464
UD
55295 [BZ #12207]
55296 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55297
98727dbe
UD
55298 [BZ #12204]
55299 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55300 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55301
4a531bb0
L
553022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55303
55304 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55305 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55306 script has SORT_BY_INIT_PRIORITY.
55307 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55308 NO_CTORS_DTORS_SECTIONS is defined.
55309 * elf/soinit.c: Likewise.
55310 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55311 NO_CTORS_DTORS_SECTIONS is defined.
55312 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55313 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55314 * sysdeps/sh/init-first.c: Likewise.
55315 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55316
07eb4b71
UD
553172010-12-24 Ulrich Drepper <drepper@gmail.com>
55318
55319 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55320 always use the slow path.
55321
30950a5f
RA
553222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55323
55324 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55325 similar rule which adds the sysdep directories to the header search in
55326 order to pick up the correct platform stackinfo.h.
55327 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55328 perform test if it is, otherwise return successfully without testing.
55329 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55330 DEFAULT_STACK_PERMS define in stackinfo.h.
55331 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55332 defined in stackinfo.h.
55333 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55334 DEFAULT_STACK_PERMS defined in stackinfo.h.
55335 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55336 * sysdeps/ia64/stackinfo.h: Likewise.
55337 * sysdeps/s390/stackinfo.h: Likewise.
55338 * sysdeps/sh/stackinfo.h: Likewise.
55339 * sysdeps/sparc/stackinfo.h: Likewise.
55340 * sysdeps/x86_64/stackinfo.h: Likewise.
55341 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55342 PF_X for powerpc64. Retain PF_X for powerpc32.
55343
db753e2c
UD
553442010-12-19 Ulrich Drepper <drepper@gmail.com>
55345
14b697f7
UD
55346 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55347 accurately.
db753e2c
UD
55348 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55349 GETDENTS_64BIT_ALIGNED.
55350
28300719
UD
553512010-12-14 Ulrich Drepper <dreper@gmail.com>
55352
14b697f7 55353 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55354
4f197237
AS
553552010-12-10 Andreas Schwab <schwab@redhat.com>
55356
dbb0472f
AS
55357 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55358 _GNU_SOURCE.
55359
4f197237
AS
55360 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55361 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55362 Remove __restrict.
55363 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55364 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55365
fb88ac72
UD
553662010-12-09 Ulrich Drepper <drepper@gmail.com>
55367
55368 [BZ #11655]
55369 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55370 are initialized.
55371
42acbb92
JJ
553722010-12-09 Jakub Jelinek <jakub@redhat.com>
55373
55374 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55375
c038d98d
UD
553762010-12-03 Ulrich Drepper <drepper@gmail.com>
55377
55378 * po/it.po: Update from translation team.
55379
3a4a2499
L
553802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55381
55382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55383 unused codes.
55384
1e24cf6e
UD
553852010-11-30 Ulrich Drepper <drepper@gmail.com>
55386
55387 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55388
a7690819
AS
553892010-11-24 Andreas Schwab <schwab@redhat.com>
55390
55391 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55392 specially.
55393 (gaih_getanswer_slice): Likewise.
55394
3bf8d1b1
JJ
553952010-10-20 Jakub Jelinek <jakub@redhat.com>
55396
55397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55398
6db52fbb
PB
553992010-05-31 Petr Baudis <pasky@suse.cz>
55400
55401 [BZ #11149]
55402 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55403 silently even in the chroot mode.
55404
eaca7569
UD
554052010-11-22 Ulrich Drepper <drepper@gmail.com>
55406
55407 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55408 last patch a bit. Pretty printing
55409
3056dcdb
UD
554102010-05-31 Petr Baudis <pasky@suse.cz>
55411
55412 [BZ #10085]
55413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55414 initialization of skip_initgroups_dyn.
55415
cf7c9078
UD
554162010-11-19 Ulrich Drepper <drepper@gmail.com>
55417
55418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55420
a1fb5e3e
UD
554212010-11-16 Ulrich Drepper <drepper@gmail.com>
55422
55423 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55424
3540d66b
AS
554252010-11-11 Andreas Schwab <schwab@redhat.com>
55426
55427 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55428 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55429 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55430 ($(objpfx)tst-fnmatch-mem): New rule.
55431 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55432 * posix/tst-fnmatch.c (main): Call mtrace.
55433
13b69574
L
554342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55435
55436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55437 Support Intel processor model 6 and model 0x2c.
55438
da93d214
LM
554392010-11-10 Luis Machado <luisgpm@br.ibm.com>
55440
55441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55442 signed comparison.
55443
8ca52c6e
L
554442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55445
55446 [BZ #12205]
55447 * string/test-strncasecmp.c (check_result): New function.
55448 (do_one_test): Use it.
55449 (check1): New function.
55450 (test_main): Use it.
55451 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55452 Support strcasecmp and strncasecmp.
55453
69da074d
UD
554542010-11-08 Ulrich Drepper <drepper@gmail.com>
55455
55456 [BZ #12194]
55457 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55459
ff02d528
L
554602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55461
55462 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55463 IFUNC support.
55464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55465 memset-x86-64.
55466 * sysdeps/x86_64/multiarch/bzero.S: New file.
55467 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55468 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55469 * sysdeps/x86_64/multiarch/memset.S: New file.
55470 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55472 Set bit_Prefer_SSE_for_memop for Intel processors.
55473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55474 Define.
55475 (index_Prefer_SSE_for_memop): Define.
55476 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55477
344d0b54
LM
554782010-11-04 Luis Machado <luisgpm@br.ibm.com>
55479
55480 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55482
c0dde15b
UD
554832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55484
55485 [BZ #12191]
55486 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55487 (__x86_64_raw_data_cache_size_half): Likewise.
55488 (__x86_64_raw_shared_cache_size): Likewise.
55489 (__x86_64_raw_shared_cache_size_half): Likewise.
55490
55491 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55492 (__x86_64_raw_data_cache_size_half): Likewise.
55493 (__x86_64_raw_shared_cache_size): Likewise.
55494 (__x86_64_raw_shared_cache_size_half): Likewise.
55495 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55496 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55497 and __x86_64_raw_shared_cache_size_half. Round
55498 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55499 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55500 to multiple of 256 bytes.
55501
0e516e0e
MS
555022010-11-03 Ulrich Drepper <drepper@gmail.com>
55503
55504 [BZ #12167]
55505 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55506 of inacessible symlinks. Verify result of symlink before returning it.
55507 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55508 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55509
0e012e87
ER
555102010-10-28 Erich Ritz <erichritz@gmail.com>
55511
55512 * math/math.h (isinf): Fix typo in comment.
55513
de0ff7bc
UD
555142010-11-01 Ulrich Drepper <drepper@gmail.com>
55515
55516 * po/da.po: Update from translation team.
55517
fa41c84d
UD
555182010-10-26 Ulrich Drepper <drepper@gmail.com>
55519
55520 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55521 is added to the list.
55522
f0967738
AK
555232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55524 Ulrich Drepper <drepper@gmail.com>
55525
55526 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55527 the global list here. Move code to...
55528 (_dl_add_to_namespace_list): ...here. New function.
55529 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55530 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55531 * elf/dl-load.c (lose): Don't remove the element from the list.
55532 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55533 (_dl_map_object): Likewise.
55534
555352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55536
55537 [BZ #12159]
55538 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55539 into all bytes of SSE register.
55540 Patch by Richard Li <richardpku@gmail.com>.
55541
f0967738 555422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55543
55544 [BZ #12140]
55545 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55546 perturbing.
55547
d0b9e94f
MB
555482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55549
55550 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55551 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55555 submachine.
55556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55557
8e9f92e9
AS
555582010-10-22 Andreas Schwab <schwab@redhat.com>
55559
55560 * include/dlfcn.h (__RTLD_SECURE): Define.
55561 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55562 mode & __RTLD_SECURE instead.
55563 (open_path): Rename preloaded parameter to secure.
55564 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55565 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55566 * elf/dl-deps.c (openaux): Likewise.
55567 * elf/rtld.c (struct map_args): Remove is_preloaded.
55568 (map_doit): Don't use it.
55569 (dl_main): Likewise.
55570 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55571 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55572
bc96fbda
AS
555732010-09-09 Andreas Schwab <schwab@redhat.com>
55574
55575 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55576 (sysd-rules-targets): Remove duplicates.
55577 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55578 rtld-%.$o dependency.
55579
22cd1c9b
AS
555802010-10-18 Andreas Schwab <schwab@redhat.com>
55581
55582 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55583 _dl_map_object do it.
55584
18edac48
UD
555852010-10-19 Ulrich Drepper <drepper@gmail.com>
55586
55587 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55588 fast fma builtins, define the macros in the C99 standard.
55589 (FP_FAST_FMAF): Likewise.
55590 (FP_FAST_FMAL): Likewise.
55591 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55592
55593 * bits/mathdef.h: Update copyright year.
55594 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55595
d2050124
MM
555962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55597
55598 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55599 builtins, define the macros in the C99 standard.
55600 (FP_FAST_FMAF): Likewise.
55601 (FP_FAST_FMAL): Likewise.
55602 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55603 multiply/add.
55604 (FP_FAST_FMAF): Likewise.
55605
475facd1
JJ
556062010-10-15 Jakub Jelinek <jakub@redhat.com>
55607
55608 [BZ #3268]
55609 * math/libm-test.inc (fma_test): Some new testcases.
55610 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55611 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55612 y and infinite z. Do multiplication by C already in long double.
55613 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55615 y and infinite z. Do bitwise or of inexact bit into u.d.
55616 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55617 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55618 * sysdeps/i386/fpu/s_fma.S: Removed.
55619 * sysdeps/i386/fpu/s_fmal.S: Removed.
55620
7c08a05c
JJ
556212010-10-16 Jakub Jelinek <jakub@redhat.com>
55622
55623 [BZ #3268]
55624 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55626 computation is not scheduled after fetestexcept. Fix value
55627 of minimum denormal long double.
55628
f3f7372d
JJ
556292010-10-14 Jakub Jelinek <jakub@redhat.com>
55630
55631 [BZ #3268]
55632 * math/libm-test.inc (fma_test): Add some more tests.
55633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55634 correctly.
55635
14d43591
AS
556362010-10-15 Andreas Schwab <schwab@redhat.com>
55637
55638 * scripts/data/localplt-s390-linux-gnu.data: New file.
55639 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55640
5e908464
JJ
556412010-10-13 Jakub Jelinek <jakub@redhat.com>
55642
55643 [BZ #3268]
55644 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55645 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55646 instead of dbl-64.
55647 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55648 inlines.
55649 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55651 if one of x and y is very large and the other is subnormal.
55652 * sysdeps/s390/fpu/s_fmaf.c: New file.
55653 * sysdeps/s390/fpu/s_fma.c: New file.
55654 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55655 * sysdeps/powerpc/fpu/s_fma.S: New file.
55656 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55657 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55658 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55659
556602010-10-12 Jakub Jelinek <jakub@redhat.com>
55661
55662 [BZ #3268]
55663 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55664 fma tests.
55665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55666 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55667 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55668 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55669 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55670 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55671 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55672
b833d51f
UD
556732010-10-12 Ulrich Drepper <drepper@redhat.com>
55674
55675 [BZ #12078]
55676 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55677 * posix/bug-regex31.input: Add test case.
55678
1751705d
UD
556792010-10-11 Ulrich Drepper <drepper@gmail.com>
55680
e9b9cbf5
UD
55681 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55682 * posix/bug-regex31.input: New file.
55683
55684 [BZ #12078]
55685 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55686 (parse_sub_exp): Fix last change, use postorder.
55687
ef06edbe
UD
55688 * posix/bug-regex31.c: New file.
55689 * posix/Makefile: Add rules to build and run bug-regex31.
55690
a129c80d
UD
55691 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55692
55693 [BZ #12078]
55694 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55695
b76b818e
UD
55696 [BZ #12108]
55697 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55698 to have entries in sys_siglist.
55699
1751705d
UD
55700 [BZ #12093]
55701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55702 be NULL.
55703
9ff8d36f
JJ
557042010-10-07 Jakub Jelinek <jakub@redhat.com>
55705
55706 [BZ #3268]
55707 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55708 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55709 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55710 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55712 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55713 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55714 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55715 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55716 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55717 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55718 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55719 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55720 * math/ftestexcept.c (fetestexcept): Likewise.
55721 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55722 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55723 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55724 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55725 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55726 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55728
af325969
UD
557292010-10-11 Ulrich Drepper <drepper@gmail.com>
55730
c579b202 55731 [BZ #12107]
af325969
UD
55732 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55733 newline.
55734
67a67b95
UD
557352010-10-06 Ulrich Drepper <drepper@gmail.com>
55736
55737 * string/bug-strstr1.c: New file.
55738 * string/Makefile: Add rules to build and run bug-strstr1.
55739
5fb308bc
EB
557402010-10-05 Eric Blake <eblake@redhat.com>
55741
55742 [BZ #12092]
55743 * string/str-two-way.h (two_way_long_needle): Always clear memory
55744 when skipping input due to the shift table.
55745
45db99c7
UD
557462010-10-03 Ulrich Drepper <drepper@gmail.com>
55747
3b111893
UD
55748 [BZ #12005]
55749 * malloc/mcheck.c: Handle large requests.
55750
45db99c7
UD
55751 [BZ #12077]
55752 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55753 for strncmp and strncasecmp.
55754 * string/stratcliff.c: Add tests for strcmp and strncmp.
55755 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55756
cf7a1eb8
NI
557572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55758
55759 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55760 __set_fpscr.
55761
6484ba5e
AJ
557622010-09-30 Andreas Jaeger <aj@suse.de>
55763
55764 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55765 (CGROUP_SUPER_MAGIC): Define.
55766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55767 Handle btrfs and cgroup file systems.
55768 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55769 Likewise.
55770
91c42559
LM
557712010-09-27 Luis Machado <luisgpm@br.ibm.com>
55772
55773 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55774 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55775
87a97932
AK
557762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55777
55778 [BZ #12067]
55779 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55780 trying to locate the ELF header.
55781
c21cc9bc
AS
557822010-09-27 Andreas Schwab <schwab@redhat.com>
55783
55784 [BZ #11611]
55785 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55786 Mask out sign-bit copies when constructing f_fsid.
55787
315970f6
PB
557882010-09-24 Petr Baudis <pasky@suse.cz>
55789
55790 * debug/stack_chk_fail_local.c: Add missing licence exception.
55791 * debug/warning-nop.c: Likewise.
55792
1ac7a2c7
JM
557932010-09-15 Joseph Myers <joseph@codesourcery.com>
55794
55795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55796 implementing getdents64 using getdents syscall, set d_type if
55797 __ASSUME_GETDENTS32_D_TYPE.
55798
56801c50
AS
557992010-09-16 Andreas Schwab <schwab@redhat.com>
55800
55801 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55802 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55803
dda51327
UD
558042010-09-21 Ulrich Drepper <drepper@redhat.com>
55805
55806 [BZ #12037]
55807 * posix/unistd.h: Undo change of feature selection for ftruncate from
55808 2010-01-11.
55809
8ffcee4a
UD
558102010-09-20 Ulrich Drepper <drepper@redhat.com>
55811
a545ecd9 55812 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55813 detection.
55814
e24f0a8b
AS
558152010-09-20 Andreas Schwab <schwab@redhat.com>
55816
55817 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55818 fanotify_mark.
55819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55820
7291c56f
AS
558212010-09-14 Andreas Schwab <schwab@redhat.com>
55822
55823 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55824 variables after CHECK_SP call.
55825 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55826
bc5fb037
AS
558272010-09-13 Andreas Schwab <schwab@redhat.com>
55828 Ulrich Drepper <drepper@redhat.com>
55829
55830 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55831 re-relocationg ld.so.
55832 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55833 _dl_init_paths call.
55834 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55835 here anymore.
55836
e66e7419
UD
558372010-09-14 Ulrich Drepper <drepper@redhat.com>
55838
55839 * resolv/res_init.c (__res_vinit): Count the default server we added.
55840
c044aa75
CLT
558412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55842 Ulrich Drepper <drepper@redhat.com>
55843
55844 [BZ #11968]
55845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55846 (____longjmp_chk): Use %ebx for saving value across system call.
55847 Add unwind info.
55848
32cf4069
AS
558492010-09-06 Andreas Schwab <schwab@redhat.com>
55850
55851 * manual/Makefile: Don't mix pattern rules with normal rules.
55852
817328ee
AS
558532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55854
55855 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55856 operation.
55857 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55858 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55859 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55860 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55862 Likewise.
55863
29fddf61
UD
558642010-09-04 Ulrich Drepper <drepper@redhat.com>
55865
55866 [BZ #11979]
55867 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55868 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55869
0959ffc9
UD
558702010-09-02 Ulrich Drepper <drepper@redhat.com>
55871
55872 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55873 * sysdeps/x86_64/addmul_1.S: Likewise.
55874 * sysdeps/x86_64/lshift.S: Likewise.
55875 * sysdeps/x86_64/mul_1.S: Likewise.
55876 * sysdeps/x86_64/rshift.S: Likewise.
55877 * sysdeps/x86_64/sub_n.S: Likewise.
55878 * sysdeps/x86_64/submul_1.S: Likewise.
55879
ece29840
ST
558802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55881
0959ffc9
UD
55882 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55883 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55884 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55885 * bits/sched.h [__need_schedparam]
ece29840 55886 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55887 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55888 (__defined_schedparam): Define to 1.
ece29840
ST
55889 (__sched_param): New structure, identical to sched_param.
55890 (__need_schedparam): Undefine.
55891
e53a31fe
MF
558922010-08-31 Mike Frysinger <vapier@gentoo.org>
55893
fdc0c10d
MF
55894 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55895 (epoll_create1): Declare.
55896
e53a31fe
MF
55897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55898
a726d796
AS
558992010-08-31 Andreas Schwab <schwab@redhat.com>
55900
55901 [BZ #7066]
55902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55903 shifting retval into place.
55904
2f3e3dc7
UD
559052010-09-01 Ulrich Drepper <drepper@redhat.com>
55906
f2933da9
UD
55907 * nis/rpcsvc/nis.h: Update copyright notice.
55908 * nis/rpcsvc/nis.x: Likewise.
55909 * nis/rpcsvc/nis_callback.h: Likewise.
55910 * nis/rpcsvc/nis_callback.x: Likewise.
55911 * nis/rpcsvc/nis_object.x: Likewise.
55912 * nis/rpcsvc/nis_tags.h: Likewise.
55913 * nis/rpcsvc/yp.h: Likewise.
55914 * nis/rpcsvc/yp.x: Likewise.
55915 * nis/rpcsvc/ypupd.h: Likewise.
55916 * nis/yp_xdr.c: Likewise.
55917 * nis/ypupdate_xdr.c: Likewise.
55918
2f3e3dc7
UD
55919 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55920 mainly the body of pmap_getport. Add parameters to specify timeouts.
55921 (pmap_getport): Use __libc_rpc_getport.
55922 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55923 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55924 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55925
f3dcc2f9
AS
559262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55927
55928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55929 fanotify_mark.
55930
6d34eb5b
RM
559312010-08-27 Roland McGrath <roland@redhat.com>
55932
55933 * sysdeps/i386/i686/multiarch/Makefile
55934 (CFLAGS-varshift.c): New variable.
55935
9ea3de11
UD
559362010-08-27 Ulrich Drepper <drepper@redhat.com>
55937
c96d23fc
UD
55938 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55939 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55940
9ea3de11
UD
55941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55942
55943 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55944
623aac7f
L
559452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55946
55947 * sysdeps/x86_64/strlen.S: Unroll the loop.
55948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55949 strlen-sse2 strlen-sse2-bsf.
55950 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55951 __strlen_no_bsf if bit_Slow_BSF is set.
55952 (__strlen_sse42): Removed.
55953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55954 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55955
8b2b7715
RM
559562010-08-25 Roland McGrath <roland@redhat.com>
55957
55958 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55959 * sysdeps/x86_64/multiarch/varshift.c: New file.
55960 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55961 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55962 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55963 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55964
e73015f2
L
559652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55966
55967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55968 strlen-sse2 strlen-sse2-bsf.
55969 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55970 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55971 (__strlen_sse2): Removed.
55972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55975 bit_Slow_BSF for Atom.
55976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55977 (index_Slow_BSF): Define.
55978 (HAS_SLOW_BSF): Define.
55979
df24a73e
UD
559802010-08-25 Ulrich Drepper <drepper@redhat.com>
55981
55982 [BZ #10851]
55983 * resolv/res_init.c (__res_vinit): When no server address at all
55984 is given default to loopback.
55985
f2ac4868
RM
559862010-08-24 Roland McGrath <roland@redhat.com>
55987
09055553
RM
55988 * configure.in: Remove config-name.h generation.
55989 * configure: Regenerated.
55990 * config-name.in: File removed.
55991 * scripts/config-uname.sh: New file.
55992 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55993 ($(objdir)config-name.h): New target.
55994
f2ac4868
RM
55995 * sunrpc/rpc_parse.h: Avoid nested comment.
55996
73f27d5e
RH
559972010-08-24 Richard Henderson <rth@redhat.com>
55998 Ulrich Drepper <drepper@redhat.com>
55999 H.J. Lu <hongjiu.lu@intel.com>
56000
56001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56003 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56004 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56005 _mm_alignr_epi8 with _mm_loadu_si128.
56006 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56007 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56008 (__m128i_shift_right): Removed.
56009 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56010 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56011 * sysdeps/x86_64/multiarch/varshift.h: New file.
56012 * sysdeps/x86_64/multiarch/varshift.S: New file.
56013
84b9230c
MF
560142010-08-21 Mike Frysinger <vapier@gentoo.org>
56015
56016 * configure.in: Move assembler checks to before sysdep dir checking.
56017
9bbd0ddc
PB
560182010-08-20 Petr Baudis <pasky@suse.cz>
56019
56020 * LICENSES: Sync the sunrpc license.
56021
9da4bb31
UD
560222010-08-19 Ulrich Drepper <drepper@redhat.com>
56023
a7ab6ec8
UD
56024 * sunrpc/auth_des.c: Update copyright notice once again.
56025 * sunrpc/auth_none.c: Likewise.
56026 * sunrpc/auth_unix.c: Likewise.
56027 * sunrpc/authdes_prot.c: Likewise.
56028 * sunrpc/authuxprot.c: Likewise.
56029 * sunrpc/bindrsvprt.c: Likewise.
56030 * sunrpc/clnt_gen.c: Likewise.
56031 * sunrpc/clnt_perr.c: Likewise.
56032 * sunrpc/clnt_raw.c: Likewise.
56033 * sunrpc/clnt_simp.c: Likewise.
56034 * sunrpc/clnt_tcp.c: Likewise.
56035 * sunrpc/clnt_udp.c: Likewise.
56036 * sunrpc/clnt_unix.c: Likewise.
56037 * sunrpc/des_crypt.c: Likewise.
56038 * sunrpc/des_soft.c: Likewise.
56039 * sunrpc/get_myaddr.c: Likewise.
56040 * sunrpc/getrpcport.c: Likewise.
56041 * sunrpc/key_call.c: Likewise.
56042 * sunrpc/key_prot.c: Likewise.
56043 * sunrpc/openchild.c: Likewise.
56044 * sunrpc/pm_getmaps.c: Likewise.
56045 * sunrpc/pm_getport.c: Likewise.
56046 * sunrpc/pmap_clnt.c: Likewise.
56047 * sunrpc/pmap_prot.c: Likewise.
56048 * sunrpc/pmap_prot2.c: Likewise.
56049 * sunrpc/pmap_rmt.c: Likewise.
56050 * sunrpc/rpc/auth.h: Likewise.
56051 * sunrpc/rpc/auth_unix.h: Likewise.
56052 * sunrpc/rpc/clnt.h: Likewise.
56053 * sunrpc/rpc/des_crypt.h: Likewise.
56054 * sunrpc/rpc/key_prot.h: Likewise.
56055 * sunrpc/rpc/netdb.h: Likewise.
56056 * sunrpc/rpc/pmap_clnt.h: Likewise.
56057 * sunrpc/rpc/pmap_prot.h: Likewise.
56058 * sunrpc/rpc/pmap_rmt.h: Likewise.
56059 * sunrpc/rpc/rpc.h: Likewise.
56060 * sunrpc/rpc/rpc_des.h: Likewise.
56061 * sunrpc/rpc/rpc_msg.h: Likewise.
56062 * sunrpc/rpc/svc.h: Likewise.
56063 * sunrpc/rpc/svc_auth.h: Likewise.
56064 * sunrpc/rpc/types.h: Likewise.
56065 * sunrpc/rpc/xdr.h: Likewise.
56066 * sunrpc/rpc_clntout.c: Likewise.
56067 * sunrpc/rpc_cmsg.c: Likewise.
56068 * sunrpc/rpc_common.c: Likewise.
56069 * sunrpc/rpc_cout.c: Likewise.
56070 * sunrpc/rpc_dtable.c: Likewise.
56071 * sunrpc/rpc_hout.c: Likewise.
56072 * sunrpc/rpc_main.c: Likewise.
56073 * sunrpc/rpc_parse.c: Likewise.
56074 * sunrpc/rpc_parse.h: Likewise.
56075 * sunrpc/rpc_prot.c: Likewise.
56076 * sunrpc/rpc_sample.c: Likewise.
56077 * sunrpc/rpc_scan.c: Likewise.
56078 * sunrpc/rpc_scan.h: Likewise.
56079 * sunrpc/rpc_svcout.c: Likewise.
56080 * sunrpc/rpc_tblout.c: Likewise.
56081 * sunrpc/rpc_util.c: Likewise.
56082 * sunrpc/rpc_util.h: Likewise.
56083 * sunrpc/rpcinfo.c: Likewise.
56084 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56085 * sunrpc/rpcsvc/key_prot.x: Likewise.
56086 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56087 * sunrpc/rpcsvc/mount.x: Likewise.
56088 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56089 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56090 * sunrpc/rpcsvc/rex.x: Likewise.
56091 * sunrpc/rpcsvc/rstat.x: Likewise.
56092 * sunrpc/rpcsvc/rusers.x: Likewise.
56093 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56094 * sunrpc/rpcsvc/spray.x: Likewise.
56095 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56096 * sunrpc/rtime.c: Likewise.
56097 * sunrpc/svc.c: Likewise.
56098 * sunrpc/svc_auth.c: Likewise.
56099 * sunrpc/svc_authux.c: Likewise.
56100 * sunrpc/svc_raw.c: Likewise.
56101 * sunrpc/svc_run.c: Likewise.
56102 * sunrpc/svc_simple.c: Likewise.
56103 * sunrpc/svc_tcp.c: Likewise.
56104 * sunrpc/svc_udp.c: Likewise.
56105 * sunrpc/svc_unix.c: Likewise.
56106 * sunrpc/svcauth_des.c: Likewise.
56107 * sunrpc/xcrypt.c: Likewise.
56108 * sunrpc/xdr.c: Likewise.
56109 * sunrpc/xdr_array.c: Likewise.
56110 * sunrpc/xdr_float.c: Likewise.
56111 * sunrpc/xdr_mem.c: Likewise.
56112 * sunrpc/xdr_rec.c: Likewise.
56113 * sunrpc/xdr_ref.c: Likewise.
56114 * sunrpc/xdr_sizeof.c: Likewise.
56115 * sunrpc/xdr_stdio.c: Likewise.
56116
9da4bb31
UD
56117 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56118 handling.
56119
bdaa77bc
AS
561202010-08-19 Andreas Schwab <schwab@redhat.com>
56121
56122 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56123
fe2f79db
LM
561242010-08-19 Luis Machado <luisgpm@br.ibm.com>
56125
56126 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56127 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56128 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56129 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56131 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56133 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56135 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56136 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56137 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56138 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56139 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56140
b9b42ee0
AB
561412010-07-26 Anton Blanchard <anton@samba.org>
56142
56143 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56144 * malloc/arena.c (heap_trim): Likewise.
56145
1c06ba31
UD
561462010-08-16 Ulrich Drepper <drepper@redhat.com>
56147
56148 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56149 here. Not...
56150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56151 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56152
f8392f40
L
561532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56154
56155 * sysdeps/i386/elf/Makefile: New file.
56156
3162f12e
AS
561572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56158
56159 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56160 from fanotify_init.
56161 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56163
28c90b2c
UD
561642010-08-15 Ulrich Drepper <drepper@redhat.com>
56165
56166 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56167 of strncasecmp_l.
1feccb6c 56168 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56169
ca6bb004
UD
561702010-08-14 Ulrich Drepper <drepper@redhat.com>
56171
e9f82e0d
UD
56172 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56173 strncase_l-nonascii.
56174 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56175 Add strncase_l-ssse3.
56176 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56177 * sysdeps/x86_64/strcmp.S: Likewise.
56178 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56179 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56180 * sysdeps/x86_64/strncase.S: New file.
56181 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56182 * sysdeps/x86_64/strncase_l.S: New file.
56183 * string/Makefile (strop-tests): Add strncasecmp.
56184 * string/test-strncasecmp.c: New file.
56185
56186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56187 warning.
56188
ca6bb004
UD
56189 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56190 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56191
052fa7b3
AS
561922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56193
56194 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56195
962dba78
UD
561962010-08-12 Ulrich Drepper <drepper@redhat.com>
56197
56198 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56201
bebff237
AM
562022010-05-01 Alan Modra <amodra@gmail.com>
56203
56204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56205 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56206 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56207 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56208 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56209 tidying. Don't tail-call __sigjmp_save for static lib.
56210 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56211 save location.
56212 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56213 (CALL_MCOUNT): Add eh info, and nop after bl.
56214 (TAIL_CALL_SYSCALL_ERROR): New macro.
56215 (PSEUDO_RET): Use it.
56216 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56217 Correct save location of integer regs and cr.
56218 (_dl_profile_resolve): Correct cr save location. Delete nops
56219 after bl when SHARED. Reduce cfi size a little by better
56220 placement of cfi directives.
56221 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56222 make a stack frame. Instead use parm save area as a temp.
56223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56224 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56226 Don't make a stack frame for parent, use parm save area.
56227 Increase child stack frame to 112 bytes. Don't save unused reg,
56228 and adjust reg usage. Set up cfi on error recovery and
56229 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56231 (__makecontext): Add dummy nop after jump to exit.
56232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56233 Use correct parm save area and cr save, reduce stack frame.
56234 Correct cfi for possible PSEUDO_RET frame setup.
56235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56236 Branch to local label emitted by PSEUDO_RET rather than
56237 __syscall_error.
56238
02637374
AS
562392010-08-12 Andreas Schwab <schwab@redhat.com>
56240
56241 [BZ #11904]
56242 * locale/programs/locale.c (print_assignment): New function.
56243 (show_locale_vars): Use it.
56244
c3e2f19b
UD
562452010-08-11 Ulrich Drepper <drepper@redhat.com>
56246
3cdaa6ad
UD
56247 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56248 field.
56249 (struct statfs64): Likewise.
56250 (_STATFS_F_FLAGS): Define.
56251 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56253 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56254 (ST_VALID): Define locally.
56255 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56256 __statvfs_getflags, use the provided value.
56257 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56258 __ASSUME_STATFS_F_FLAGS.
56259
754f7da3
UD
56260 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56261
10b3bedc
UD
56262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56263 Add sys/fanotify.h.
56264 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56265 fanotify_mask for GLIBC_2.13.
56266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56267 fanotify_init and fanotify_mark.
56268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56269 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56270
c08fb0d7
UD
56271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56272 Add prlimit.
56273 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56274 prlimit64 for GLIBC_2.13.
56275 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56276 prlimit64.
56277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56278 syscall.
56279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56281 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56284 add prlimit alias.
56285 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56286
15bac72b
UD
56287 [BZ #11903]
56288 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56289 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56290
c3e2f19b
UD
56291 * nss/Makefile: Add rules to build and run tst-nss-test1.
56292 * shlib-versions: Add entry for libnss_test1.
56293 * nss/nss_test1.c: New file.
56294 * nss/tst-nss-test1.c: New file.
56295
56296 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56297 (__nss_configure_lookup): Set appropriate entry in
56298 __nss_configure_lookup to true.
56299 * nss/nsswitch.h: Define enum with indeces of databases in
56300 databases and __nss_database_custom arrays. Declare
56301 __nss_database_custom.
56302 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56303 to avoid using nscd when custom rules are installed.
56304 * nss/getXXbyYY_r.c: Likewise.
56305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56306
56307 * nss/nss_files/files-parse.c: Whitespace fixes.
56308
f15ce4d8
UD
563092010-08-09 Ulrich Drepper <drepper@redhat.com>
56310
56311 [BZ #11883]
56312 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56313 * posix/fnmatch_loop.c: Likewise.
56314
d22e4cc9
AK
563152010-07-17 Andi Kleen <ak@linux.intel.com>
56316
56317 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56318 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56319 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56320 * Versions.def [GLIBC_2.13]: Add.
56321
805bc17d
UD
563222010-08-06 Ulrich Drepper <drepper@redhat.com>
56323
56324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56325 Also fail if tpwd after pwuid call is NULL.
56326
5a42321d
ST
563272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56328
56329 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56330 when converting to ms.
56331
fd3ebeda
ST
563322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56333
56334 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56335 EOPNOTSUPP errors with ENOTTY.
56336 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56337 EOPNOTSUPP errors with ENOTTY.
56338
73507d3a
UD
563392010-07-31 Ulrich Drepper <drepper@redhat.com>
56340
56341 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56342 Add strcasecmp_l-ssse3.
56343 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56344 strcasecmp.
56345 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56348
fe36dd02
UD
563492010-07-30 Ulrich Drepper <drepper@redhat.com>
56350
66f6765a
UD
56351 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56352
42e08a54
UD
56353 * string/Makefile (strop-tests): Add strcasecmp.
56354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56355 strcasecmp_l-nonascii.
56356 (gen-as-const-headers): Add locale-defines.sym.
56357 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56358 * sysdeps/x86_64/strcasecmp.S: New file.
56359 * sysdeps/x86_64/strcasecmp_l.S: New file.
56360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56361 * sysdeps/x86_64/locale-defines.sym: New file.
56362 * string/test-strcasecmp.c: New file.
56363
fe36dd02
UD
56364 * string/test-strcasestr.c: Test both ends of the range of characters.
56365 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56366
48cbc0d6
RM
563672010-07-29 Roland McGrath <roland@redhat.com>
56368
76e6d6bc 56369 [BZ #11856]
48cbc0d6
RM
56370 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56371
880113d9
UD
563722010-07-27 Ulrich Drepper <drepper@redhat.com>
56373
56374 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56375 for ld.so.
56376
deb9cabb
AS
563772010-07-27 Andreas Schwab <schwab@redhat.com>
56378
56379 * manual/memory.texi (Malloc Tunable Parameters): Document
56380 M_PERTURB.
56381
1c7570ff
RM
563822010-07-26 Roland McGrath <roland@redhat.com>
56383
56384 [BZ #11840]
56385 * configure.in (-fgnu89-inline check): Set and substitute
56386 gnu89_inline, not libc_cv_gnu89_inline.
56387 * configure: Regenerated.
56388 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56389
24fb0f88
UD
563902010-07-26 Ulrich Drepper <drepper@redhat.com>
56391
56392 * string/test-strnlen.c: New file.
56393 * string/Makefile (strop-tests): Add strnlen.
56394 * string/tester.c (test_strnlen): Add a few more test cases.
56395 * string/tst-strlen.c: Better error reporting.
56396
56397 * sysdeps/x86_64/strnlen.S: New file.
56398
8e96b93a
UD
563992010-07-24 Ulrich Drepper <drepper@redhat.com>
56400
56401 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56402 lower-latency instructions.
56403
dbc676d4
UD
564042010-07-23 Ulrich Drepper <drepper@redhat.com>
56405
56406 * string/test-strcasestr.c: New file.
56407 * string/test-strstr.c: New file.
56408 * string/Makefile (strop-tests): Add strstr and strcasestr.
56409 * string/str-two-way.h: Don't undefine MAX.
56410 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56411
f6a31e0e
AS
564122010-07-21 Andreas Schwab <schwab@redhat.com>
56413
56414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56415 strcasestr-nonascii.
56416 (CFLAGS-strcasestr-nonascii.c): Define.
56417 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56419 Remove unused attribute.
56420
5dbc3b6c
RM
564212010-07-20 Roland McGrath <roland@redhat.com>
56422
56423 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56424 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56425 ld.so.cache was broken. With it, there is no way to disable dsocaps
56426 like LD_HWCAP_MASK can disable hwcaps.
56427
23d101d8
EPM
564282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56429
56430 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56431
cc9f2e47
UD
564322010-07-16 Ulrich Drepper <drepper@redhat.com>
56433
56434 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56435 call in strcasestr.
56436 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56437 __strcasestr_sse42_nonascii.
56438 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56439 strcasestr-nonascii.c.
56440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56441
77c1b069
LM
564422010-06-15 Luis Machado <luisgpm@br.ibm.com>
56443
56444 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56448
440566c3
UD
564492010-07-09 Ulrich Drepper <drepper@redhat.com>
56450
56451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56452 fcntl.
56453
5be9d05d
AS
564542010-07-06 Andreas Schwab <schwab@redhat.com>
56455
c30b7ee2 56456 [BZ #11577]
5be9d05d
AS
56457 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56458 dl_signal_cerror.
56459
8a492a67
UD
564602010-07-06 Ulrich Drepper <drepper@redhat.com>
56461
56462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56463 _PC_PIPE_BUF using F_GETPIPE_SZ.
56464
713df3d5
RM
564652010-07-05 Roland McGrath <roland@redhat.com>
56466
56467 * manual/arith.texi (Rounding Functions): Fix rint description
56468 implicit in round description.
56469
702e8f14
UD
564702010-07-02 Ulrich Drepper <drepper@redhat.com>
56471
56472 * elf/Makefile: Fix linking for a few tests to make recent linker
56473 happy.
56474
52ed8be9
AS
564752010-06-30 Andreas Schwab <schwab@redhat.com>
56476
56477 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56478 $(common-objpfx)libc_nonshared.a.
56479
f47c9a11
LM
564802010-06-21 Luis Machado <luisgpm@br.ibm.com>
56481
56482 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56483 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56484 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56485 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56486 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56487 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56488 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56489 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56504 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56505 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56506 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56507 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56508 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56509 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56510 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56511 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56512 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56513 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56514 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56515 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56530
6fb8cbcb
L
565312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56532
56533 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56534 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56535 * string/memmove.c (memmove): Renamed to ...
56536 (MEMMOVE): ...this. Default to memmove.
56537 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56538 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56539 (END_CHK): Define.
56540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56541 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56542 mempcpy-ssse3-back memmove-ssse3-back.
56543 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56546 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56547 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56548 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56549 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56550 * sysdeps/x86_64/multiarch/memmove.c: New file.
56551 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56552 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56553 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56554 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56555 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56557 Define.
56558 (index_Fast_Copy_Backward): Define.
56559 (HAS_ARCH_FEATURE): Define.
56560 (HAS_FAST_REP_STRING): Define.
56561 (HAS_FAST_COPY_BACKWARD): Define.
56562
4e733bac 565632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56564
56565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56566 Restore proper fallback handling.
56567
63c4ed22
UD
565682010-06-19 Ulrich Drepper <drepper@redhat.com>
56569
ac2b484c
UD
56570 [BZ #11701]
56571 * posix/group_member.c (__group_member): Correct checking loop.
56572
63c4ed22
UD
56573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56574 OOM in getpwuid_r correctly. Return error number when the caller
56575 should return, otherwise -1.
56576 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56577 call returning > 0 value.
56578 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56579
765ade4b
AS
565802010-06-07 Andreas Schwab <schwab@redhat.com>
56581
56582 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56583 libc_nonshared.a from targets in modules-names.
56584
80da2e09
KS
565852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56586
56587 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56588 requires it.
56589
158db122
LM
565902010-06-10 Luis Machado <luisgpm@br.ibm.com>
56591
56592 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56593 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56595 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56596
caa78cf8
AS
565972010-06-02 Andreas Schwab <schwab@redhat.com>
56598
56599 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56600
b2ef2c01
UD
566012010-06-14 Ulrich Drepper <drepper@redhat.com>
56602
56603 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56604 and F_GETPIPE_SZ.
56605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56611
fbd643b6
RM
566122010-06-14 Roland McGrath <roland@redhat.com>
56613
56614 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56615
f32f2869
JJ
566162010-06-07 Jakub Jelinek <jakub@redhat.com>
56617
56618 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56619 __REDIRECT followed by __THROW.
56620 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56621 * posix/getopt.h (getopt): Likewise.
56622
2a50c078
EPM
566232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56624
56625 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56626 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56627 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56628 in AT_FLAGS.
56629 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56630 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56631
eb5ad2eb
LM
566322010-05-28 Luis Machado <luisgpm@br.ibm.com>
56633
56634 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56635
3c88fe1e
L
566362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56637
56638 [BZ #11640]
56639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56640 Properly check family and model.
56641
d2f73151
TY
566422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56643
56644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56645
ebd2e13d
LM
566462010-05-24 Luis Machado <luisgpm@br.ibm.com>
56647
56648 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56649
b32b8b45
UD
566502010-05-21 Ulrich Drepper <drepper@redhat.com>
56651
56652 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56653 symbol reference.
56654
9acbe24d
AS
566552010-05-19 Andreas Schwab <schwab@redhat.com>
56656
56657 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56658 symbol reference.
56659
f0ccf6ea
AS
566602010-05-21 Andreas Schwab <schwab@redhat.com>
56661
3d04ff3a
AS
56662 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56663 and internal_recvmmsg.
56664 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56665 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56667 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56668
f0ccf6ea
AS
56669 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56670 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56671 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56672
5b08ac57
AS
566732010-05-20 Andreas Schwab <schwab@redhat.com>
56674
56675 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56676
4828935d
LM
566772010-05-17 Luis Machado <luisgpm@br.ibm.com>
56678
56679 POWER7 optimizations.
56680 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56681 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56682
373d545e
UD
566832010-05-19 Ulrich Drepper <drepper@redhat.com>
56684
56685 * version.h: Update for 2.13 development version.
56686
21a2b1ae
AS
566872010-05-12 Andrew Stubbs <ams@codesourcery.com>
56688
56689 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56690 exceptions. Return 0.
56691
3f7dcb2b
RM
566922010-05-07 Roland McGrath <roland@redhat.com>
56693
56694 * elf/ldconfig.c (main): Add a const.
56695
5f24d53a 566962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56697
a160f8d8
UD
56698 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56699 (args_options): Add no-idn option.
56700 (ahosts_keys_int): Add idn_flags to ai_flags.
56701 (parse_option): Handle 'i' option to clear idn_flags.
56702
5f24d53a
UD
56703 * malloc/malloc.c (_int_free): Possible race in the most recently
56704 added check. Only act on the data if no current modification
56705 happened.
265bb1ce
UD
56706
56707See ChangeLog.17 for earlier changes.